getAccessControlRuleList
    • PDF

    getAccessControlRuleList

    • PDF

    記事の要約

    概要

    アクセス制御RULEリスト照会

    説明

    アクセス制御RULEリストを照会します。

    リクエストパラメータ

    パラメータ名必須タイプ制約事項説明
    accessControlGroupConfigurationNoYesString照会するアクセス制御グループ(ACG) 設定番号

    レスポンスデータタイプ

    • AccessControlRuleListタイプ
    AccessControlRuleList extends CommonResponse
    private Integer totalRows;
    private List accessControlGroupServerInstanceList = new ArrayList();
    AccessControlRule
    private String accessControlRuleConfigurationNo;
    private CommonCode protocolType;
    private String sourceIp;
    private String sourceAccessControlRuleConfigurationNo;
    private String sourceAccessControlRuleName;
    private String destinationPort;
    private String accessControlRuleDescription;

    例示

    呼び出し

    ncloud server getAccessControlRuleList --accessControlGroupConfigurationNo 5895
    

    レスポンス

    {
      "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&#x27;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&#x27;t delete it)</accessControlRuleDescription>
      </accessControlRuleList>
    </getAccessControlRuleListResponse>
    

    この記事は役に立ちましたか?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.