Queries Smart Access Gateway (SAG) instances that are not associated with a flow log in a specific region.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeUnbindFlowLogSags

The operation that you want to perform. Set the value to DescribeUnbindFlowLogSags.

RegionId String Yes cn-shanghai

The ID of the region where the SAG instances are deployed.

You can call the DescribeRegions operation to query the most recent region list.

Response parameters

Parameter Type Example Description
RequestId String C850C10E-9856-45FF-8640-80288BA467DF

The ID of the request.

Count Integer 20

The total number of the SAG instances.

Sags Array of Sag

The list of the SAG instances.

Sag
Description String desctest

The description of the SAG instance.

SmartAGId String sag-tzirqx07bvcngm****

The ID of the SAG instance.

Name String sj1000-yf-01

The name of the SAG instance.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeUnbindFlowLogSags
&RegionId=cn-shanghai
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeUnbindFlowLogSagsResponse>
    <Sags>
        <Sag>
            <Name>jialiang_1000_test_2</Name>
            <SmartAGId>sag-0v3pmd7qpnvx5f****</SmartAGId>
        </Sag>
        <Sag>
            <Name>ccn-bvt-china-0-0625-023417</Name>
            <SmartAGId>sag-0wxbzaf623oz8a****</SmartAGId>
        </Sag>
        <Sag>
            <SmartAGId>sag-13wvoucmn6tjqm****</SmartAGId>
        </Sag>
        <Sag>
            <Name>sj1000-joe-04</Name>
            <SmartAGId>sag-1ihuk7d1qskqk0****</SmartAGId>
        </Sag>
        <Sag>
            <Name>ccn-bvt-china-0-0625-023333</Name>
            <SmartAGId>sag-1tvzazjggo0vac****</SmartAGId>
        </Sag>
        <Sag>
            <Name>joe-casetest-0808</Name>
            <SmartAGId>sag-2c9nradcadqceg****</SmartAGId>
        </Sag>
        <Sag>
            <Name>sj1000-joe_01</Name>
            <SmartAGId>sag-2d102o7focaqxo****</SmartAGId>
        </Sag>
        <Sag>
            <Name>sag1000-b5</Name>
            <SmartAGId>sag-60q4iaq068nxt2****</SmartAGId>
        </Sag>
        <Sag>
            <Name>ccn-bvt-china-0-0625-022008</Name>
            <SmartAGId>sag-6m5684w9mhcgzz****</SmartAGId>
        </Sag>
        <Sag>
            <Name>ccn-bvt-china-0-0426-005047</Name>
            <SmartAGId>sag-6t4pxotq7rfz6w****</SmartAGId>
        </Sag>
        <Sag>
            <Name>sag-1000-rd-test-env1</Name>
            <SmartAGId>sag-8gocbtkbp9b52c****</SmartAGId>
        </Sag>
        <Sag>
            <Name>tianye-test-vbr</Name>
            <SmartAGId>sag-8z7hn75tubgac2****</SmartAGId>
        </Sag>
        <Sag>
            <Name>sj1000-joe-05</Name>
            <SmartAGId>sag-d866xl31k8lleb****</SmartAGId>
        </Sag>
        <Sag>
            <Name>sag1000_box6</Name>
            <SmartAGId>sag-dztg1lco3aacpu****</SmartAGId>
        </Sag>
        <Sag>
            <Name>sag1000-ha-for-case</Name>
            <SmartAGId>sag-ewmmi6fcq3gldu****</SmartAGId>
        </Sag>
        <Sag>
            <Name>ccn-bvt-china-0-0613-003734</Name>
            <SmartAGId>sag-fckt58zc4j4b8o****</SmartAGId>
        </Sag>
        <Sag>
            <Name>sag-sec-2</Name>
            <SmartAGId>sag-h4j0klyvprxta5****</SmartAGId>
        </Sag>
        <Sag>
            <Name>sn-sag1000-2018-11-08-17-27-11</Name>
            <SmartAGId>sag-h79g3zs0q7nk9f****</SmartAGId>
        </Sag>
        <Sag>
            <Name>sag1000_sh_upgrade</Name>
            <SmartAGId>sag-mrrrlh3xgpyipu****</SmartAGId>
        </Sag>
        <Sag>
            <Name>ccn-bvt-china-0-0625-021924</Name>
            <SmartAGId>sag-ruia2xefxbdm5e****</SmartAGId>
        </Sag>
        <Sag>
            <Name>chengxi_bigbox_cn</Name>
            <SmartAGId>sag-sb7t1efidyc5d5****</SmartAGId>
        </Sag>
        <Sag>
            <Name>sj1000-joe_03</Name>
            <SmartAGId>sag-srgxemiqbyzdxf****</SmartAGId>
        </Sag>
        <Sag>
            <Name>sj1000-yf-01</Name>
            <SmartAGId>sag-tzirqx07bvcngm****</SmartAGId>
        </Sag>
        <Sag>
            <Name>ccn-bvt-china-0-0426-005001</Name>
            <SmartAGId>sag-xboakpuqext95x****</SmartAGId>
        </Sag>
    </Sags>
    <Count>20</Count>
    <RequestId>C850C10E-9856-45FF-8640-80288BA467DF</RequestId>
</DescribeUnbindFlowLogSagsResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "Sags" : {
    "Sag" : [ {
      "Name" : "jialiang_1000_test_2",
      "SmartAGId" : "sag-0v3pmd7qpnvx5f****"
    }, {
      "Name" : "ccn-bvt-china-0-0625-023417",
      "SmartAGId" : "sag-0wxbzaf623oz8a****"
    }, {
      "SmartAGId" : "sag-13wvoucmn6tjqm****"
    }, {
      "Name" : "sj1000-joe-04",
      "SmartAGId" : "sag-1ihuk7d1qskqk0****"
    }, {
      "Name" : "ccn-bvt-china-0-0625-023333",
      "SmartAGId" : "sag-1tvzazjggo0vac****"
    }, {
      "Name" : "joe-casetest-0808",
      "SmartAGId" : "sag-2c9nradcadqceg****"
    }, {
      "Name" : "sj1000-joe_01",
      "SmartAGId" : "sag-2d102o7focaqxo****"
    }, {
      "Name" : "sag1000-b5",
      "SmartAGId" : "sag-60q4iaq068nxt2****"
    }, {
      "Name" : "ccn-bvt-china-0-0625-022008",
      "SmartAGId" : "sag-6m5684w9mhcgzz****"
    }, {
      "Name" : "ccn-bvt-china-0-0426-005047",
      "SmartAGId" : "sag-6t4pxotq7rfz6w****"
    }, {
      "Name" : "sag-1000-rd-test-env1",
      "SmartAGId" : "sag-8gocbtkbp9b52c****"
    }, {
      "Name" : "tianye-test-vbr",
      "SmartAGId" : "sag-8z7hn75tubgac2****"
    }, {
      "Name" : "sj1000-joe-05",
      "SmartAGId" : "sag-d866xl31k8lleb****"
    }, {
      "Name" : "sag1000_box6",
      "SmartAGId" : "sag-dztg1lco3aacpu****"
    }, {
      "Name" : "sag1000-ha-for-case",
      "SmartAGId" : "sag-ewmmi6fcq3gldu****"
    }, {
      "Name" : "ccn-bvt-china-0-0613-003734",
      "SmartAGId" : "sag-fckt58zc4j4b8o****"
    }, {
      "Name" : "sag-sec-2",
      "SmartAGId" : "sag-h4j0klyvprxta5****"
    }, {
      "Name" : "sn-sag1000-2018-11-08-17-27-11",
      "SmartAGId" : "sag-h79g3zs0q7nk9f****"
    }, {
      "Name" : "sag1000_sh_upgrade",
      "SmartAGId" : "sag-mrrrlh3xgpyipu****"
    }, {
      "Name" : "ccn-bvt-china-0-0625-021924",
      "SmartAGId" : "sag-ruia2xefxbdm5e****"
    }, {
      "Name" : "chengxi_bigbox_cn",
      "SmartAGId" : "sag-sb7t1efidyc5d5****"
    }, {
      "Name" : "sj1000-joe_03",
      "SmartAGId" : "sag-srgxemiqbyzdxf****"
    }, {
      "Name" : "sj1000-yf-01",
      "SmartAGId" : "sag-tzirqx07bvcngm****"
    }, {
      "Name" : "ccn-bvt-china-0-0426-005001",
      "SmartAGId" : "sag-xboakpuqext95x****"
    } ]
  },
  "Count" : 20,
  "RequestId" : "C850C10E-9856-45FF-8640-80288BA467DF"
}

Error codes

HttpCode Error code Error message Description
400 DependencyViolation.FlowLog This FlowLog instance is bound to an SAG instance. The error message returned because the flow log is associated with an SAG instance.
400 IncorrectStatus.FlowLog The current FlowLog instance status does not support this operation. The error message returned because the status of the flow log does not support this operation.
400 InvalidFlowLogId.NotFound The specified FlowLogId does not exist. The error message returned because the specified flow log (FlowLogId) does not exist.
400 MissingParam.FlowLogId Specify the FlowLogId parameter. The error message returned because the ID (FlowLogId) of the flow log is not specified.
400 OperationFailed.AssociateFlowLog The operation failed. The specified SAG instance has already been associated with another FlowLog instance. The error message returned because the specified SAG instance is associated with another flow log.
400 OperationUnsupported.AssociateFlowLog You cannot bind the SAG device of the current version or model to a FlowLog instance. The error message returned because the version or type of the SAG device does not support this operation.
400 QuotaExceeded.Flowlog The maximum number of FlowLog instances is exceeded. The error message returned because the number of flow logs that you specified has reached the upper limit.
400 IllegalParam.ActiveAging The specified ActiveAging is invalid. The error message returned because the specified time interval (ActiveAging) at which log data of active connections is collected is invalid.
400 IllegalParam.InactiveAging The specified InactiveAging is invalid. The error message returned because the specified time interval (InactiveAging) at which log data of inactive connections is collected is invalid.
400 IllegalParam.NetflowServerIp The specified NetflowServerIp is invalid. The error message returned because the specified IP address (NetflowServerIp) of the NetFlow collector is invalid.
400 IllegalParam.NetflowServerPort The specified NetflowServerPort is invalid. The error message returned because the specified port (NetflowServerPort) of the NetFlow collector is invalid.
400 IllegalParam.NetflowVersion The specified NetflowVersion is invalid. The error message returned because the specified NetFlow version (NetflowVersion) is invalid.
400 IllegalParam.OutputType The specified OutputType is invalid. The error message returned because the specified storage location (OutputType) of the flow log is invalid.
400 IllegalParam.RegionId The specified RegionId is invalid. The error message returned because the specified ID (RegionId) of the region is invalid.
400 IllegalParam.SlsRegionId The specified SlsRegionId is invalid. The error message returned because the specified ID (SlsRegionId) of the region where Log Service is deployed is invalid.
400 IllegalParam.Status The specified Status parameter is invalid. The error message returned because the specified status (Status) of the flow log is invalid.
403 Forbidden User not authorized to operate on the specified resource. The error message returned because you do not have the permissions to manage the specified resource.
403 MissingParameter The input parameter is missing, please check your input. The error message returned because one or more required parameters are not set. Check whether you have set all required parameters.
403 InvalidParameter The specified parameter is invalid. The error message returned because a parameter is set to an invalid value.
403 InternalError An internal server error occurred. The error message returned because an internal server error has occurred.

For a list of error codes, visit the API Error Center.