Create Quota Policy
- Print
- PDF
Create Quota Policy
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
You can create a new quota policy.
API URL
"https://organization.apigw.ntruss.com/open-api/v1/policy"
Method: POST
Requests
Headers
Go to the creation guide of the NAVER Cloud Platform authentication key and signature
Header name | Description | Remarks |
---|---|---|
x-ncp-apigw-timestamp | This is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC. If the time difference compared to the APIGW server is more than 5 minutes, the request is considered invalid. | Ncloud common |
x-ncp-iam-access-key | This is the Access Key ID value issued by NAVER Cloud Platform portal. | Ncloud common |
x-ncp-apigw-signature-v2 | This is the signature encrypted with Access Key ID value and Secret Key. | Ncloud common |
Request Body
{
"organizationGroupNoList": [
321,
322
],
"policyDesc": "NewPolicyO1 Description",
"policyName": "NewPolicyO1",
"resourceQuotaList": [
{
"regionNo": 1,
"resourceDetailList": [
{
"generationCode": "G1",
"productRestrictCount": 1,
"productTypeCode": "STAND",
"productTypeDetailCode": "STAND"
}
],
"resourceRestrictCount": 1,
"resourceTypeCode": "SVR"
}
]
}
Item | Requirement status | Type | Description |
---|---|---|---|
organizationGroupNoList | false | json array | List of applicable organization group numbers |
policyName | true | string | Quota Policy name |
policyDesc | true | string | Description of Quota Policy |
resourceQuotaList | true | json array | Resource list |
resourceQuotaList.regionNo | true | integer | Region number |
resourceQuotaList.resourceTypeCode | true | string | Resource type |
resourceQuotaList.resourceRestrictCount | true | integer | Resource use limit |
resourceQuotaList.resourceDetailList | true | json array | Detailed resource list |
resourceQuotaList.resourceDetailList.generationCode | false | string | Generation classification |
resourceQuotaList.resourceDetailList.productTypeCode | false | string | Product type code |
resourceQuotaList.resourceDetailList.productTypeDetailCode | false | stringa | Detailed product code |
resourceQuotaList.resourceDetailList.productRestrictCount | false | integer | Maximum product limit value |
Response
Response Body
{
"policyNo": 368
}
Item | Requirement status | Type | Description |
---|---|---|---|
policyNo | true | string | Quota Policy number |
Response Error
See the Organization error code section of the Organization overview.
Was this article helpful?