Domain name for API request: as.tencentcloudapi.com.
This API (DescribeLaunchConfigurations) is used to query the information of launch configurations.
Filter
.Limit
and 20 by default) of launch configurations of the current user will be returned.A maximum of 20 requests can be initiated per second for this API.
Note: This API supports Finance regions. If the common parameter Region is a Finance region, a domain name with the Finance region needs to be specified, for example: as.ap-shanghai-fsi.tencentcloudapi.com
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common parameter. The value used for this API: DescribeLaunchConfigurations. |
Version | Yes | String | Common parameter. The value used for this API: 2018-04-19. |
Region | Yes | String | Common parameter. For more information, please see the list of regions supported by the product. |
LaunchConfigurationIds.N | No | Array of String | Queries by one or more launch configuration IDs in the format of asc-ouy1ax38 . The maximum quantity per request is 100. This parameter does not support specifying both LaunchConfigurationIds and Filters at the same time. |
Filters.N | No | Array of Filter | Filters. The maximum number of Filters in each request is 10. The upper limit for Filter.Values is 5. This parameter cannot specify LaunchConfigurationIds and Filters at the same time. |
Limit | No | Integer | Number of returned results. Default value: 20. Maximum value: 100. For more information on Limit , see the relevant section in the API overview. |
Offset | No | Integer | Offset. Default value: 0. For more information on Offset , see the relevant section in the API overview. |
Parameter Name | Type | Description |
---|---|---|
TotalCount | Integer | Number of eligible launch configurations. |
LaunchConfigurationSet | Array of LaunchConfiguration | List of launch configuration details. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://as.tencentcloudapi.com/?Action=DescribeLaunchConfigurations
&Filters.0.Name=launch-configuration-id
&Filters.0.Values.0=asc-l7rduvv0
&<common request parameters>
{
"Response": {
"TotalCount": 1,
"LaunchConfigurationSet": [
{
"ProjectId": 0,
"LaunchConfigurationId": "asc-l7rduvv0",
"VersionNumber": 1,
"LaunchConfigurationName": "lc2",
"AutoScalingGroupAbstractSet": [],
"InstanceType": "S2.SMALL2",
"InstanceTypes": [
"S2.SMALL2"
],
"InstanceChargeType": "POSTPAID_BY_HOUR",
"InstanceMarketOptions": null,
"SystemDisk": {
"DiskType": "LOCAL_BASIC",
"DiskSize": 50
},
"DataDisks": [
{
"DiskType": "LOCAL_BASIC",
"DiskSize": 50
}
],
"LoginSettings": {
"KeyIds": []
},
"InternetAccessible": {
"InternetChargeType": "BANDWIDTH_POSTPAID_BY_HOUR",
"InternetMaxBandwidthOut": 1,
"PublicIpAssigned": true
},
"SecurityGroupIds": [],
"EnhancedService": {
"SecurityService": {
"Enabled": true
},
"MonitorService": {
"Enabled": true
}
},
"UserData": null,
"CreatedTime": "2018-05-03T03:23:10Z",
"UpdatedTime": "2018-05-03T03:23:10Z"
}
],
"RequestId": "15f9582f-72ff-4b5f-91b6-ff905782391b"
}
}
https://as.tencentcloudapi.com/?Action=DescribeLaunchConfigurations
&LaunchConfigurationIds.0=asc-l7rduvv0
&LaunchConfigurationIds.1=asc-2ejax3t8
&<common request parameters>
{
"Response": {
"TotalCount": 2,
"LaunchConfigurationSet": [
{
"ProjectId": 0,
"LaunchConfigurationId": "asc-2ejax3t8",
"VersionNumber": 1,
"LaunchConfigurationName": "lc1",
"AutoScalingGroupAbstractSet": [],
"InstanceType": "D1.2XLARGE32",
"InstanceTypes": [
"D1.2XLARGE32"
],
"InstanceChargeType": "POSTPAID_BY_HOUR",
"InstanceMarketOptions": null,
"SystemDisk": {
"DiskType": "LOCAL_BASIC",
"DiskSize": 50
},
"DataDisks": [],
"LoginSettings": {
"KeyIds": []
},
"InternetAccessible": {
"InternetChargeType": "TRAFFIC_POSTPAID_BY_HOUR",
"InternetMaxBandwidthOut": 0,
"PublicIpAssigned": false
},
"SecurityGroupIds": [],
"EnhancedService": {
"SecurityService": {
"Enabled": true
},
"MonitorService": {
"Enabled": true
}
},
"UserData": null,
"CreatedTime": "2018-05-03T06:37:48Z",
"UpdatedTime": "2018-05-03T06:37:48Z"
},
{
"ProjectId": 0,
"LaunchConfigurationId": "asc-l7rduvv0",
"VersionNumber": 1,
"LaunchConfigurationName": "lc2",
"AutoScalingGroupAbstractSet": [],
"InstanceType": "S2.SMALL2",
"InstanceTypes": [
"S2.SMALL2"
],
"InstanceChargeType": "POSTPAID_BY_HOUR",
"InstanceMarketOptions": null,
"SystemDisk": {
"DiskType": "LOCAL_BASIC",
"DiskSize": 50
},
"DataDisks": [
{
"DiskType": "LOCAL_BASIC",
"DiskSize": 50
}
],
"LoginSettings": {
"KeyIds": []
},
"InternetAccessible": {
"InternetChargeType": "BANDWIDTH_POSTPAID_BY_HOUR",
"InternetMaxBandwidthOut": 1,
"PublicIpAssigned": true
},
"SecurityGroupIds": [],
"EnhancedService": {
"SecurityService": {
"Enabled": true
},
"MonitorService": {
"Enabled": true
}
},
"UserData": null,
"CreatedTime": "2018-05-03T03:23:10Z",
"UpdatedTime": "2018-05-03T03:23:10Z"
}
],
"RequestId": "f7dd68bc-d5e3-4a43-92a5-bde6d8fe9bd4"
}
}
This tool allows online call, signature authentication, SDK code generation and quick search of APIs to greatly improve the efficiency of using TencentCloud APIs.
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InvalidFilter | Invalid filter. |
InvalidLaunchConfiguration | Invalid launch configuration. |
InvalidLaunchConfigurationId | The launch configuration ID is invalid. |
InvalidParameterConflict | The two parameters specified conflict and cannot co-exist. |
InvalidPermission | The account does not support this operation. |
Was this page helpful?