createAccessControlGroup
- Print
- PDF
createAccessControlGroup
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Can be used in a VPC environment.
Overview
This creates an ACG.
Request
Request parameters
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region code You can decide the region in which an ACG will be created. regionCode can be obtained through the getRegionList action. Default: Select the first region of the getRegionList search results | |
vpcNo | Yes | String | VPC number This determines the VPC in which an ACG will be created. vpcNo can be obtained through the getVpcList action. | |
accessControlGroupName | No | String | Min : 3, Max : 30 Only lower case characters, numbers, and special character (-) are allowed, and it has to start with an English letter. It must end with an English letter or number. | The name of the ACG to be created Default: NAVER Cloud Platform automatically grants it. |
accessControlGroupDescription | No | String | Min : 0, Max : 1000 Bytes | The description about the ACG to be created |
responseFormatType | No | String | Format type of the response results Options : xml | json Default : xml |
Response
Response body
Example
Request Example
GET {API_URL}/createAccessControlGroup
?regionCode=KR
&vpcNo=***04
&accessControlGroupName=test-***
Response Example
<createAccessControlGroupResponse>
<requestId>cf08459a-2f8e-4a73-9b1c-cc31d74466ae</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<accessControlGroupList>
<accessControlGroup>
<accessControlGroupNo>***63</accessControlGroupNo>
<accessControlGroupName>test-***</accessControlGroupName>
<isDefault>false</isDefault>
<vpcNo>***04</vpcNo>
<accessControlGroupStatus>
<code>RUN</code>
<codeName>run</codeName>
</accessControlGroupStatus>
<accessControlGroupDescription></accessControlGroupDescription>
</accessControlGroup>
</accessControlGroupList>
</createAccessControlGroupResponse>
Was this article helpful?