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