Skip navigation links
com.tencentcloudapi.cvm.v20170312.models

Class DescribeInstancesRequest

Returns:
Filters Filters
  • `zone` - String - Optional - Filter by the availability zone.
  • `project-id` - Integer - Optional - Filter by the project ID. You can query the list of created projects by calling `DescribeProject` or logging in to the [CVM console](https://console.cloud.tencent.com/cvm/index). You can also call `AddProject` to create projects.
  • `host-id` - String - Optional - Filter by the CDH instance ID. Format: `host-xxxxxxxx`.
  • `vpc-id` - String - Optional - Filter by the VPC ID. Format: `vpc-xxxxxxxx`.
  • `subnet-id` - String - Optional - Filter by the subnet ID. Format: `subnet-xxxxxxxx`.
  • `instance-id` - String - Optional - Filter by the instance ID. Format: `ins-xxxxxxxx`. `security-group-id` - String - Optional - Filter by the security group ID. Format: `sg-8jlk3f3r`. `instance-name` - String - Optional - Filter by the instance name. `instance-charge-type` - String - Optional - Filter by the instance billing method. `POSTPAID_BY_HOUR`: pay-as-you-go | `CDHPAID`: You are only billed for [CDH](https://intl.cloud.tencent.com/document/product/416?from_cn_redirect=1) instances, not the CVMs running on the [CDH](https://intl.cloud.tencent.com/document/product/416?from_cn_redirect=1) instances. `private-ip-address` - String - Optional - Filter by the private IP address of the instance's primary ENI. `public-ip-address` - String - Optional - Filter by the public IP address of the instance's primary ENI, including the IP addresses automatically assigned during the instance creation and the EIPs manually associated after the instance creation.
  • `tag-key` - String - Optional - Filter by the tag key.
  • `tag-value` - String - Optional - Filter by the tag value.
  • `tag:tag-key` - String - Optional - Filter by the tag key-value pair. Replace `tag-key` with the actual tag keys. See example 2.
  • Each request can have up to 10 `Filters` and 5 `Filters.Values`. You cannot specify `InstanceIds` and `Filters` at the same time.
    Parameters:
    Filters - Filters
  • `zone` - String - Optional - Filter by the availability zone.
  • `project-id` - Integer - Optional - Filter by the project ID. You can query the list of created projects by calling `DescribeProject` or logging in to the [CVM console](https://console.cloud.tencent.com/cvm/index). You can also call `AddProject` to create projects.
  • `host-id` - String - Optional - Filter by the CDH instance ID. Format: `host-xxxxxxxx`.
  • `vpc-id` - String - Optional - Filter by the VPC ID. Format: `vpc-xxxxxxxx`.
  • `subnet-id` - String - Optional - Filter by the subnet ID. Format: `subnet-xxxxxxxx`.
  • `instance-id` - String - Optional - Filter by the instance ID. Format: `ins-xxxxxxxx`. `security-group-id` - String - Optional - Filter by the security group ID. Format: `sg-8jlk3f3r`. `instance-name` - String - Optional - Filter by the instance name. `instance-charge-type` - String - Optional - Filter by the instance billing method. `POSTPAID_BY_HOUR`: pay-as-you-go | `CDHPAID`: You are only billed for [CDH](https://intl.cloud.tencent.com/document/product/416?from_cn_redirect=1) instances, not the CVMs running on the [CDH](https://intl.cloud.tencent.com/document/product/416?from_cn_redirect=1) instances. `private-ip-address` - String - Optional - Filter by the private IP address of the instance's primary ENI. `public-ip-address` - String - Optional - Filter by the public IP address of the instance's primary ENI, including the IP addresses automatically assigned during the instance creation and the EIPs manually associated after the instance creation.
  • `tag-key` - String - Optional - Filter by the tag key.
  • `tag-value` - String - Optional - Filter by the tag value.
  • `tag:tag-key` - String - Optional - Filter by the tag key-value pair. Replace `tag-key` with the actual tag keys. See example 2.
  • Each request can have up to 10 `Filters` and 5 `Filters.Values`. You cannot specify `InstanceIds` and `Filters` at the same time.
    Skip navigation links

    Copyright © 2023. All rights reserved.