Network Policy
List network policies¶
Create a network policy¶
POST/api/v2/network-policies
Create a network policy
For more information
Go to the SQL command page to view more information about arguments, options, privileges requirements, and usage guidelines.
クエリパラメーター¶
| パラメーター | 説明 |
|---|---|
| createMode string | Query parameter allowing support for different modes of resource creation. Possible values include:
|
応答¶
| コード | 説明 |
|---|---|
| 200 | Successful request. |
| 202 |
Fetch a network policy¶
Delete a network policy¶
DELETE/api/v2/network-policies/{name}
Delete a network policy
For more information
Go to the SQL command page to view more information about arguments, options, privileges requirements, and usage guidelines.
クエリパラメーター¶
| パラメーター | 説明 |
|---|---|
| ifExists boolean | Query parameter that specifies how to handle the request for a resource that does not exist:
|
応答¶
| コード | 説明 |
|---|---|
| 200 | |
| 202 |