getAccessControlRuleList
- Print
- PDF
getAccessControlRuleList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
Searching access control rule list
Description
Search access control rule list.
Request Parameters
Parameter Name | Requiredness | Type | Limitation | Description |
---|---|---|---|---|
accessControlGroupConfigurationNo | Yes | String | Access control group configuration No. to search |
Response Data Type
- AccessControlRuleList type
AccessControlRuleList extends CommonResponse |
---|
private Integer totalRows; |
private List |
AccessControlRule |
---|
private String accessControlRuleConfigurationNo; |
private CommonCode protocolType; |
private String sourceIp; |
private String sourceAccessControlRuleConfigurationNo; |
private String sourceAccessControlRuleName; |
private String destinationPort; |
private String accessControlRuleDescription; |
Examples
Request
ncloud server getAccessControlRuleList --accessControlGroupConfigurationNo 5895
Response
{
"getAccessControlRuleListResponse": {
"requestId": "4dff1af9-2d71-4e2b-8812-e78530673b93",
"returnCode": "0",
"returnMessage": "success",
"totalRows": 2,
"accessControlRuleList": [
{
"accessControlRuleConfigurationNo": "11927",
"protocolType": {
"code": "TCP",
"codeName": "tcp"
},
"sourceIp": "",
"sourceAccessControlRuleConfigurationNo": "5895",
"sourceAccessControlRuleName": "cloud-mssql-8i2f",
"destinationPort": "1433",
"accessControlRuleDescription": "for the DB service itself (automatically created, don\u0027t delete it)"
},
{
"accessControlRuleConfigurationNo": "11928",
"protocolType": {
"code": "TCP",
"codeName": "tcp"
},
"sourceIp": "",
"sourceAccessControlRuleConfigurationNo": "5895",
"sourceAccessControlRuleName": "cloud-mssql-8i2f",
"destinationPort": "5022",
"accessControlRuleDescription": "for the DB service itself (automatically created, don\u0027t delete it)"
}
]
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<getAccessControlRuleListResponse>
<requestId>4dff1af9-2d71-4e2b-8812-e78530673b93</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>2</totalRows>
<accessControlRuleList>
<accessControlRuleConfigurationNo>11927</accessControlRuleConfigurationNo>
<protocolType>
<code>TCP</code>
<codeName>tcp</codeName>
</protocolType>
<sourceIp></sourceIp>
<sourceAccessControlRuleConfigurationNo>5895</sourceAccessControlRuleConfigurationNo>
<sourceAccessControlRuleName>cloud-mssql-8i2f</sourceAccessControlRuleName>
<destinationPort>1433</destinationPort>
<accessControlRuleDescription>for the DB service itself (automatically created, don't delete it)</accessControlRuleDescription>
</accessControlRuleList>
<accessControlRuleList>
<accessControlRuleConfigurationNo>11928</accessControlRuleConfigurationNo>
<protocolType>
<code>TCP</code>
<codeName>tcp</codeName>
</protocolType>
<sourceIp></sourceIp>
<sourceAccessControlRuleConfigurationNo>5895</sourceAccessControlRuleConfigurationNo>
<sourceAccessControlRuleName>cloud-mssql-8i2f</sourceAccessControlRuleName>
<destinationPort>5022</destinationPort>
<accessControlRuleDescription>for the DB service itself (automatically created, don't delete it)</accessControlRuleDescription>
</accessControlRuleList>
</getAccessControlRuleListResponse>
Was this article helpful?