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.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
This document describes the parameters for Signature V1. It's recommended to use the V3 signature, which provides higher security. Note that for Signature V3, the common parameters need to be placed in the HTTP Header. See details.
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
&LaunchConfigurationIds.0=asc-fa28v4in
&LaunchConfigurationIds.1=asc-g9uwgyvx
&<Common request parameters>
{
"Response": {
"TotalCount": 2,
"LaunchConfigurationSet": [
{
"ProjectId": 0,
"LaunchConfigurationId": "asc-fa28v4in",
"VersionNumber": 2,
"LaunchConfigurationName": "lc1",
"LaunchConfigurationStatus": "NORMAL",
"AutoScalingGroupAbstractSet": [],
"InstanceType": "S3.MEDIUM4",
"InstanceTypes": [
"S3.MEDIUM4"
],
"LastOperationInstanceTypesCheckPolicy": "ANY",
"ImageId": "img-eb30mz89",
"InstanceChargeType": "POSTPAID_BY_HOUR",
"InstanceMarketOptions": null,
"DiskTypePolicy": "ORIGINAL",
"SystemDisk": {
"DiskType": "CLOUD_PREMIUM",
"DiskSize": 50
},
"DataDisks": [
{
"DiskType": "CLOUD_PREMIUM",
"DiskSize": 10,
"SnapshotId": null,
"DeleteWithInstance": false
}
],
"LoginSettings": {
"KeyIds": []
},
"InternetAccessible": {
"InternetChargeType": "TRAFFIC_POSTPAID_BY_HOUR",
"InternetMaxBandwidthOut": 0,
"PublicIpAssigned": false,
"BandwidthPackageId": null
},
"SecurityGroupIds": [],
"EnhancedService": {
"SecurityService": {
"Enabled": true
},
"MonitorService": {
"Enabled": true
}
},
"UserData": null,
"InstanceTags": [],
"CreatedTime": "2022-03-03T02:36:12Z",
"UpdatedTime": "2022-03-03T06:49:31Z",
"CamRoleName": "",
"HostNameSettings": {
"HostName": null,
"HostNameStyle": null
},
"InstanceNameSettings": {
"InstanceName": "",
"InstanceNameStyle": ""
},
"InstanceChargePrepaid": {
"Period": 0,
"RenewFlag": ""
}
},
{
"ProjectId": 0,
"LaunchConfigurationId": "asc-g9uwgyvx",
"VersionNumber": 1,
"LaunchConfigurationName": "lc2",
"LaunchConfigurationStatus": "NORMAL",
"AutoScalingGroupAbstractSet": [],
"InstanceType": "S3.MEDIUM4",
"InstanceTypes": [
"S3.MEDIUM4"
],
"LastOperationInstanceTypesCheckPolicy": "ANY",
"ImageId": "img-eb30mz89",
"InstanceChargeType": "POSTPAID_BY_HOUR",
"InstanceMarketOptions": null,
"DiskTypePolicy": "ORIGINAL",
"SystemDisk": {
"DiskType": "CLOUD_PREMIUM",
"DiskSize": 50
},
"DataDisks": [
{
"DiskType": "CLOUD_PREMIUM",
"DiskSize": 40,
"SnapshotId": null,
"DeleteWithInstance": null
}
],
"LoginSettings": {
"KeyIds": []
},
"InternetAccessible": {
"InternetChargeType": "TRAFFIC_POSTPAID_BY_HOUR",
"InternetMaxBandwidthOut": 0,
"PublicIpAssigned": false,
"BandwidthPackageId": null
},
"SecurityGroupIds": [],
"EnhancedService": {
"SecurityService": {
"Enabled": true
},
"MonitorService": {
"Enabled": true
}
},
"UserData": null,
"InstanceTags": [],
"CreatedTime": "2022-03-02T02:25:12Z",
"UpdatedTime": "2022-03-02T02:25:12Z",
"CamRoleName": "",
"HostNameSettings": {
"HostName": null,
"HostNameStyle": null
},
"InstanceNameSettings": {
"InstanceName": "",
"InstanceNameStyle": ""
},
"InstanceChargePrepaid": {
"Period": 0,
"RenewFlag": ""
}
}
],
"RequestId": "0d4514d4-e277-4f0f-bc85-8b7377a71980"
}
}
Filters
https://as.tencentcloudapi.com/?Action=DescribeLaunchConfigurations
&Filters.0.Name=launch-configuration-id
&Filters.0.Values.0=asc-fa28v4in
&<Common request parameters>
{
"Response": {
"TotalCount": 1,
"LaunchConfigurationSet": [
{
"ProjectId": 0,
"LaunchConfigurationId": "asc-fa28v4in",
"VersionNumber": 2,
"LaunchConfigurationName": "lc1",
"LaunchConfigurationStatus": "NORMAL",
"AutoScalingGroupAbstractSet": [],
"InstanceType": "S3.MEDIUM4",
"InstanceTypes": [
"S3.MEDIUM4"
],
"LastOperationInstanceTypesCheckPolicy": "ANY",
"ImageId": "img-eb30mz89",
"InstanceChargeType": "POSTPAID_BY_HOUR",
"InstanceMarketOptions": null,
"DiskTypePolicy": "ORIGINAL",
"SystemDisk": {
"DiskType": "CLOUD_PREMIUM",
"DiskSize": 50
},
"DataDisks": [
{
"DiskType": "CLOUD_PREMIUM",
"DiskSize": 10,
"SnapshotId": null,
"DeleteWithInstance": false
}
],
"LoginSettings": {
"KeyIds": []
},
"InternetAccessible": {
"InternetChargeType": "TRAFFIC_POSTPAID_BY_HOUR",
"InternetMaxBandwidthOut": 0,
"PublicIpAssigned": false,
"BandwidthPackageId": null
},
"SecurityGroupIds": [],
"EnhancedService": {
"SecurityService": {
"Enabled": true
},
"MonitorService": {
"Enabled": true
}
},
"UserData": null,
"InstanceTags": [],
"CreatedTime": "2022-03-03T02:36:12Z",
"UpdatedTime": "2022-03-03T06:49:31Z",
"CamRoleName": "",
"HostNameSettings": {
"HostName": null,
"HostNameStyle": null
},
"InstanceNameSettings": {
"InstanceName": "",
"InstanceNameStyle": ""
},
"InstanceChargePrepaid": {
"Period": 0,
"RenewFlag": ""
}
}
],
"RequestId": "923dd24c-e492-4bdb-90be-1d3bd4bfe8a5"
}
}
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 |
---|---|
InvalidLaunchConfiguration | Invalid launch configuration. |
InvalidLaunchConfigurationId | The launch configuration ID is invalid. |
InvalidParameterConflict | The two parameters specified conflict and cannot co-exist. |
InvalidParameterValue.InvalidFilter | Invalid filter condition. |
InvalidParameterValue.InvalidLaunchConfigurationId | Invalid launch configuration ID. |
InvalidPermission | The account does not support this operation. |
Was this page helpful?