All Products
Search
Document Center

Web Application Firewall:DescribeHybridCloudUnassignedMachines

Last Updated:Nov 15, 2024

Queries servers that are not assigned to a hybrid cloud cluster.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-waf:DescribeHybridCloudUnassignedMachinesget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The ID of the Web Application Firewall (WAF) instance.

Note You can call the DescribeInstance operation to query the ID of the WAF instance.
waf_v3prepaid_public_cn-5yd****7009
ClusterIdintegerYes

The ID of the hybrid cloud cluster.

123
IpstringNo

The IP address of the server.

1.X.X.1
HostNamestringNo

The host name.

online-xagent1
PageSizeintegerNo

The number of entries per page. Default value: 10.

10
PageNumberintegerNo

The page number. Default value: 1.

1
ResourceManagerResourceGroupIdstringNo

The ID of the Alibaba Cloud resource group.

rg-acfm***q
RegionIdstringNo

The region in which the WAF instance is deployed. Valid values:

  • cn-hangzhou: Chinese mainland.
  • ap-southeast-1: outside the Chinese mainland.
cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

3EBCFCE9-4A3C-5E01-915D-691B****510A
UnassignedMachinesarray<object>

The servers that are not assigned to the hybrid cloud cluster.

UnassignedMachinesobject

The server that is not assigned to the hybrid cloud cluster.

HostNamestring

The host name.

online-xagent1
Ipstring

The IP address of the server.

1.X.X.1
Cpulong

The number of CPU cores.

16
Memorylong

The memory size. Unit: KB. A conversion factor of 1,000 is used.

31580872
CustomNamestring

The name of the node.

exampleName
Macstring

The media access control (MAC) address of the device.

00163e2686ac
Midstring

The ID of the node.

78db009ab6cf055a9085f9f4****ae3a
TotalCountlong

The total number of entries returned.

28

Examples

Sample success responses

JSONformat

{
  "RequestId": "3EBCFCE9-4A3C-5E01-915D-691B****510A",
  "UnassignedMachines": [
    {
      "HostName": "online-xagent1\n",
      "Ip": "1.X.X.1\n",
      "Cpu": 16,
      "Memory": 31580872,
      "CustomName": "exampleName",
      "Mac": "00163e2686ac",
      "Mid": "78db009ab6cf055a9085f9f4****ae3a"
    }
  ],
  "TotalCount": 28
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-08-29The request parameters of the API has changedView Change Details