Create policy

以 Markdown 格式查看

Create a new policy (10-policies.md endpoint 2).

请求

Policy to create
configmap from strings to any可选
enabledboolean可选
namestring可选
priorityinteger可选
typestring可选

响应

Created
appliedTolist of strings
comingSoonboolean
configmap from strings to any
createdAtstring
descriptionstring
detailsstring
enabledboolean
idstring
namestring
priorityinteger
readonlyboolean
ruleslist of objects
tierstring
typestring
updatedAtstring

错误

401
Unauthorized Error
409
Conflict Error
422
Unprocessable Entity Error
500
Internal Server Error