ListCloudGtmInstances

Updated at:

Retrieves a list of Global Traffic Manager (GTM) 3.0 instances based on the specified parameters.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

alidns:ListCloudGtmInstances

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

AcceptLanguage

string

No

The language of the response. Valid values:

  • zh-CN: Chinese

  • en-US: English

en-US

ClientToken

string

No

The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the value is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.

1ae05db4-10e7-11ef-b126-00163e24****

PageNumber

integer

Yes

The page number. Starting value: 1. Default value: 1.

1

PageSize

integer

Yes

The paging Settings for a paged query specify the number of entries per page. Maximum value: 100. Default value: 20.

20

InstanceId

string

No

The GTM instance ID.

gtm-cn-jmp3qnw****

InstanceName

string

No

The name of the instance, which helps identify the business purpose of the instance.

test

ChargeType

string

No

The billing method of the instance.

postpay/prepay

Response elements

Element

Type

Description

Example

object

RequestId

string

The ID of the request.

536E9CAD-DB30-4647-AC87-AA5CC38C5382

PageNumber

integer

The page number. Starting value: 1. Default value: 1.

1

PageSize

integer

The paging Settings for a paged query specify the number of entries per page. Maximum value: 100. Default value: 20.

20

TotalPages

integer

The total number of pages returned.

1

TotalItems

integer

The total number of instances.

15

Instances

object

Instance

array<object>

The list of instances.

object

The instance information.

InstanceId

string

The GTM instance ID.

gtm-cn-jmp3qnw****

InstanceName

string

The name of the instance.

test

CreateTime

string

The time when the instance was created. The time is displayed in UTC in the YYYY-MM-DDTHH:mmZ format.

2024-03-15T01:46Z

CreateTimestamp

integer

The timestamp of when the instance was created.

1231298343343

UpdateTime

string

The time when the instance was last updated. The time is displayed in UTC in the YYYY-MM-DDTHH:mmZ format.

2024-03-15T01:46Z

UpdateTimestamp

integer

The timestamp of when the instance was last updated.

1231298343343

VersionCode

string

The edition of the GTM instance. Valid values:

  • standard: Standard Edition

  • ultimate: Ultimate Edition

ultimate

CommodityCode

string

The commodity code. Valid values:

  • dns_gtm_public_cn: the commodity code for Alibaba Cloud China site

  • dns_gtm_public_intl: the commodity code for Alibaba Cloud International site

dns_gtm_public_cn

MonthlySmsQuota

integer

The monthly SMS quota. SMS is supported only on the Alibaba Cloud China site and is not supported on the Alibaba Cloud International site.

1000

MonitorTaskQuota

integer

The quota for monitoring probe tasks.

100

ExpireTimestamp

integer

The timestamp of when the instance expires.

1231298343343

ExpireTime

string

The time when the instance expires. The time is displayed in UTC in the YYYY-MM-DDTHH:mmZ format.

2024-03-15T01:46Z

ScheduleDomainName

string

The access domain name of the GTM instance. The format is the host record of the access domain name (the value of the ScheduleHostname parameter) plus the primary domain name or subdomain name (the value of the ScheduleZoneName parameter).

www.example.com

MonthlySmsUsed

integer

The number of SMS messages sent in the current month. SMS is supported only on the Alibaba Cloud China site and is not supported on the Alibaba Cloud International site.

100

MonthlyEmailUsed

integer

The number of emails sent in the current month.

50

MonthlyWebhookUsed

integer

The number of webhooks sent in the current month.

80

ChargeType

string

The billing method of the instance.

postpay / prepay

Examples

Success response

JSON format

{
  "RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
  "PageNumber": 1,
  "PageSize": 20,
  "TotalPages": 1,
  "TotalItems": 15,
  "Instances": {
    "Instance": [
      {
        "InstanceId": "gtm-cn-jmp3qnw****",
        "InstanceName": "test",
        "CreateTime": "2024-03-15T01:46Z",
        "CreateTimestamp": 1231298343343,
        "UpdateTime": "2024-03-15T01:46Z\n",
        "UpdateTimestamp": 1231298343343,
        "VersionCode": "ultimate",
        "CommodityCode": "dns_gtm_public_cn",
        "MonthlySmsQuota": 1000,
        "MonitorTaskQuota": 100,
        "ExpireTimestamp": 1231298343343,
        "ExpireTime": "2024-03-15T01:46Z",
        "ScheduleDomainName": "www.example.com",
        "MonthlySmsUsed": 100,
        "MonthlyEmailUsed": 50,
        "MonthlyWebhookUsed": 80,
        "ChargeType": "postpay / prepay"
      }
    ]
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.