DeleteLaunchConfiguration

Last updated: 2019-07-16 18:55:08

1. API Description

API request domain name: as.tencentcloudapi.com.

This API (DeleteLaunchConfiguration) deletes the specified launch configuration.

  • If the launch configuration is active in a scaling group, it cannot be deleted.

Default API request frequency limit: 10 times/second.

Note: This API supports financial availability zones. Because financial availability zones and non-financial availability zones are isolated. When specifying a financial availability zone (e.g., ap-shanghai-fsi) in the Region (a common parameter), you should also choose the financial availability zone preferably in the same region as that one specified in Region for the domain, such as as.ap-shanghai-fsi.tencentcloudapi.com.

2. Input Parameters

The following parameters are required for requesting this API, including action-specific parameters and common parameters. For more information about common parameters for all requests, see Common Request Parameters.

Parameter name Required Type Description
Action Yes String Common parameter; the value for this API: DeleteLaunchConfiguration
Version Yes String Common parameter; the value for this API: 2018-04-19
Region Yes String Common parameters; for details, see the Region List.
LaunchConfigurationId Yes String ID of the launch configuration to be deleted.

3. Output Parameters

Parameter name Type Description
RequestId String The unique request ID which is returned for each request. The RequestId for the current request needs to be provided when troubleshooting

4. Sample

Deleting a Launch Configuration

Input Sample Code

https://as.tencentcloudapi.com/?Action=DeleteLaunchConfiguration
&LaunchConfigurationId=asc-fdz8j7dh
&<Common request parameter>

Output Sample Code

{
    "Response": {
        "RequestId": "dfc4da00-b643-405c-bb4f-d590cfa48b92"
    }
}

5. Developer Resources

API Explorer

This tool provides various capabilities such as online call, signature verification, SDK code generation, and quick API retrieval that significantly reduce the difficulty of using TencentCloud API.

SDK

TencentCloud API 3.0 comes with a set of complementary development toolkits (SDKs) that support multiple programming languages and make it easier to call the APIs.

TCCLI

6. Error Codes

Only the error codes related to this API are listed below. For other error codes, see Common Error Codes.

Error Code Description
InvalidLaunchConfiguration Invalid launch configuration.
InvalidLaunchConfigurationId The launch configuration ID is invalid.
InvalidLaunchConfigurationId.InUse The launch configuration is in use.
InvalidLaunchConfigurationId.NotFound The launch configuration was not found.