All Products
Search
Document Center

Elastic Compute Service:DescribeDeploymentSetSupportedInstanceTypeFamily

更新時間:Dec 23, 2024

Queries the instance families that support different deployment strategies. When you call this operation, specify parameters, such as RegionId and Strategy, in the request.

Operation description

Usage notes

For information about instance families, see Overview of instance families.

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

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

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

cn-hangzhou
StrategystringNo

The deployment strategy. Valid values:

  • Availability: high availability strategy
  • AvailabilityGroup: high availability group strategy
  • LowLatency: low latency strategy

Default value: Availability.

Availability

Response parameters

ParameterTypeDescriptionExample
object
InstanceTypeFamiliesstring

The instance families that support the deployment strategy.

ecs.i2g,ecs.i1,ecs.i2ne,ecs.i2gne
RequestIdstring

The request ID.

473469C7-AA6F-4DC5-B7DB-A3DC7DE1****

Examples

Sample success responses

JSONformat

{
  "InstanceTypeFamilies": "ecs.i2g,ecs.i1,ecs.i2ne,ecs.i2gne",
  "RequestId": "473469C7-AA6F-4DC5-B7DB-A3DC7DE1****"
}

Error codes

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

Change history

Change timeSummary of changesOperation
2023-04-26The request parameters of the API has changedView Change Details