1.9.2. Paths
1.9.2.1. Create a policy リンクのコピーリンクがクリップボードにコピーされました!
POST /policy.open-cluster-management.io/v1/v1alpha1/namespaces/{namespace}/policies/{policy_name}
POST /policy.open-cluster-management.io/v1/v1alpha1/namespaces/{namespace}/policies/{policy_name}
1.9.2.1.1. Description リンクのコピーリンクがクリップボードにコピーされました!
Create a policy.
1.9.2.1.2. Parameters リンクのコピーリンクがクリップボードにコピーされました!
| Type | Name | Description | Schema |
|---|---|---|---|
| Header |
COOKIE | Authorization: Bearer {ACCESS_TOKEN} ; ACCESS_TOKEN is the user access token. | string |
| Path |
namespace | Namespace that you want to use, for example, default. | string |
| Body |
body | Parameters describing the policy to be created. |
1.9.2.1.3. Responses リンクのコピーリンクがクリップボードにコピーされました!
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | Success | No Content |
| 403 | Access forbidden | No Content |
| 404 | Resource not found | No Content |
| 500 | Internal service error | No Content |
| 503 | Service unavailable | No Content |
1.9.2.1.4. Consumes リンクのコピーリンクがクリップボードにコピーされました!
-
application/json
1.9.2.1.5. Tags リンクのコピーリンクがクリップボードにコピーされました!
- policy.open-cluster-management.io