tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getAsScalingConfigs
Start a Neo task
Explain and create a tencentcloud.getAsScalingConfigs resource
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query scaling configuration information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const asConfigs = tencentcloud.getAsScalingConfigs({
configurationId: "asc-oqio4yyj",
resultOutputFile: "my_test_path",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
as_configs = tencentcloud.get_as_scaling_configs(configuration_id="asc-oqio4yyj",
result_output_file="my_test_path")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetAsScalingConfigs(ctx, &tencentcloud.GetAsScalingConfigsArgs{
ConfigurationId: pulumi.StringRef("asc-oqio4yyj"),
ResultOutputFile: pulumi.StringRef("my_test_path"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var asConfigs = Tencentcloud.GetAsScalingConfigs.Invoke(new()
{
ConfigurationId = "asc-oqio4yyj",
ResultOutputFile = "my_test_path",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetAsScalingConfigsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var asConfigs = TencentcloudFunctions.getAsScalingConfigs(GetAsScalingConfigsArgs.builder()
.configurationId("asc-oqio4yyj")
.resultOutputFile("my_test_path")
.build());
}
}
variables:
asConfigs:
fn::invoke:
function: tencentcloud:getAsScalingConfigs
arguments:
configurationId: asc-oqio4yyj
resultOutputFile: my_test_path
Using getAsScalingConfigs
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAsScalingConfigs(args: GetAsScalingConfigsArgs, opts?: InvokeOptions): Promise<GetAsScalingConfigsResult>
function getAsScalingConfigsOutput(args: GetAsScalingConfigsOutputArgs, opts?: InvokeOptions): Output<GetAsScalingConfigsResult>def get_as_scaling_configs(configuration_id: Optional[str] = None,
configuration_name: Optional[str] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAsScalingConfigsResult
def get_as_scaling_configs_output(configuration_id: Optional[pulumi.Input[str]] = None,
configuration_name: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAsScalingConfigsResult]func GetAsScalingConfigs(ctx *Context, args *GetAsScalingConfigsArgs, opts ...InvokeOption) (*GetAsScalingConfigsResult, error)
func GetAsScalingConfigsOutput(ctx *Context, args *GetAsScalingConfigsOutputArgs, opts ...InvokeOption) GetAsScalingConfigsResultOutput> Note: This function is named GetAsScalingConfigs in the Go SDK.
public static class GetAsScalingConfigs
{
public static Task<GetAsScalingConfigsResult> InvokeAsync(GetAsScalingConfigsArgs args, InvokeOptions? opts = null)
public static Output<GetAsScalingConfigsResult> Invoke(GetAsScalingConfigsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAsScalingConfigsResult> getAsScalingConfigs(GetAsScalingConfigsArgs args, InvokeOptions options)
public static Output<GetAsScalingConfigsResult> getAsScalingConfigs(GetAsScalingConfigsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getAsScalingConfigs:getAsScalingConfigs
arguments:
# arguments dictionaryThe following arguments are supported:
- Configuration
Id string - Launch configuration ID.
- Configuration
Name string - Launch configuration name.
- Id string
- Result
Output stringFile - Used to save results.
- Configuration
Id string - Launch configuration ID.
- Configuration
Name string - Launch configuration name.
- Id string
- Result
Output stringFile - Used to save results.
- configuration
Id String - Launch configuration ID.
- configuration
Name String - Launch configuration name.
- id String
- result
Output StringFile - Used to save results.
- configuration
Id string - Launch configuration ID.
- configuration
Name string - Launch configuration name.
- id string
- result
Output stringFile - Used to save results.
- configuration_
id str - Launch configuration ID.
- configuration_
name str - Launch configuration name.
- id str
- result_
output_ strfile - Used to save results.
- configuration
Id String - Launch configuration ID.
- configuration
Name String - Launch configuration name.
- id String
- result
Output StringFile - Used to save results.
getAsScalingConfigs Result
The following output properties are available:
- Configuration
Lists List<GetAs Scaling Configs Configuration List> - A list of configuration. Each element contains the following attributes:
- Id string
- Configuration
Id string - Launch configuration ID.
- Configuration
Name string - Launch configuration name.
- Result
Output stringFile
- Configuration
Lists []GetAs Scaling Configs Configuration List - A list of configuration. Each element contains the following attributes:
- Id string
- Configuration
Id string - Launch configuration ID.
- Configuration
Name string - Launch configuration name.
- Result
Output stringFile
- configuration
Lists List<GetAs Scaling Configs Configuration List> - A list of configuration. Each element contains the following attributes:
- id String
- configuration
Id String - Launch configuration ID.
- configuration
Name String - Launch configuration name.
- result
Output StringFile
- configuration
Lists GetAs Scaling Configs Configuration List[] - A list of configuration. Each element contains the following attributes:
- id string
- configuration
Id string - Launch configuration ID.
- configuration
Name string - Launch configuration name.
- result
Output stringFile
- configuration_
lists Sequence[GetAs Scaling Configs Configuration List] - A list of configuration. Each element contains the following attributes:
- id str
- configuration_
id str - Launch configuration ID.
- configuration_
name str - Launch configuration name.
- result_
output_ strfile
- configuration
Lists List<Property Map> - A list of configuration. Each element contains the following attributes:
- id String
- configuration
Id String - Launch configuration ID.
- configuration
Name String - Launch configuration name.
- result
Output StringFile
Supporting Types
GetAsScalingConfigsConfigurationList
- Configuration
Id string - Launch configuration ID.
- Configuration
Name string - Launch configuration name.
- Create
Time string - The time when the launch configuration was created.
- Data
Disks List<GetAs Scaling Configs Configuration List Data Disk> - Configurations of data disk.
- Disk
Type stringPolicy - Policy of cloud disk type.
- Enhanced
Monitor boolService - Whether to activate cloud monitor service.
- Enhanced
Security boolService - Whether to activate cloud security service.
- Image
Id string - ID of available image, for example
img-8toqc6s3. - Dictionary<string, string>
- A tag list associates with an instance.
- Instance
Types List<string> - Instance type list of the scaling configuration.
- Internet
Charge stringType - Charge types for network traffic.
- Internet
Max doubleBandwidth Out - Max bandwidth of Internet access in Mbps.
- Key
Ids List<string> - ID list of login keys.
- Project
Id double - ID of the project to which the configuration belongs. Default value is 0.
- Public
Ip boolAssigned - Specify whether to assign an Internet IP address.
- Security
Group List<string>Ids - Security groups to which the instance belongs.
- Status string
- Current status of a launch configuration.
- System
Disk doubleSize - System disk size of the scaling configuration in GB.
- System
Disk stringType - System disk category of the scaling configuration.
- User
Data string - Base64-encoded User Data text.
- Version
Number double - Version Number.
- Configuration
Id string - Launch configuration ID.
- Configuration
Name string - Launch configuration name.
- Create
Time string - The time when the launch configuration was created.
- Data
Disks []GetAs Scaling Configs Configuration List Data Disk - Configurations of data disk.
- Disk
Type stringPolicy - Policy of cloud disk type.
- Enhanced
Monitor boolService - Whether to activate cloud monitor service.
- Enhanced
Security boolService - Whether to activate cloud security service.
- Image
Id string - ID of available image, for example
img-8toqc6s3. - map[string]string
- A tag list associates with an instance.
- Instance
Types []string - Instance type list of the scaling configuration.
- Internet
Charge stringType - Charge types for network traffic.
- Internet
Max float64Bandwidth Out - Max bandwidth of Internet access in Mbps.
- Key
Ids []string - ID list of login keys.
- Project
Id float64 - ID of the project to which the configuration belongs. Default value is 0.
- Public
Ip boolAssigned - Specify whether to assign an Internet IP address.
- Security
Group []stringIds - Security groups to which the instance belongs.
- Status string
- Current status of a launch configuration.
- System
Disk float64Size - System disk size of the scaling configuration in GB.
- System
Disk stringType - System disk category of the scaling configuration.
- User
Data string - Base64-encoded User Data text.
- Version
Number float64 - Version Number.
- configuration
Id String - Launch configuration ID.
- configuration
Name String - Launch configuration name.
- create
Time String - The time when the launch configuration was created.
- data
Disks List<GetAs Scaling Configs Configuration List Data Disk> - Configurations of data disk.
- disk
Type StringPolicy - Policy of cloud disk type.
- enhanced
Monitor BooleanService - Whether to activate cloud monitor service.
- enhanced
Security BooleanService - Whether to activate cloud security service.
- image
Id String - ID of available image, for example
img-8toqc6s3. - Map<String,String>
- A tag list associates with an instance.
- instance
Types List<String> - Instance type list of the scaling configuration.
- internet
Charge StringType - Charge types for network traffic.
- internet
Max DoubleBandwidth Out - Max bandwidth of Internet access in Mbps.
- key
Ids List<String> - ID list of login keys.
- project
Id Double - ID of the project to which the configuration belongs. Default value is 0.
- public
Ip BooleanAssigned - Specify whether to assign an Internet IP address.
- security
Group List<String>Ids - Security groups to which the instance belongs.
- status String
- Current status of a launch configuration.
- system
Disk DoubleSize - System disk size of the scaling configuration in GB.
- system
Disk StringType - System disk category of the scaling configuration.
- user
Data String - Base64-encoded User Data text.
- version
Number Double - Version Number.
- configuration
Id string - Launch configuration ID.
- configuration
Name string - Launch configuration name.
- create
Time string - The time when the launch configuration was created.
- data
Disks GetAs Scaling Configs Configuration List Data Disk[] - Configurations of data disk.
- disk
Type stringPolicy - Policy of cloud disk type.
- enhanced
Monitor booleanService - Whether to activate cloud monitor service.
- enhanced
Security booleanService - Whether to activate cloud security service.
- image
Id string - ID of available image, for example
img-8toqc6s3. - {[key: string]: string}
- A tag list associates with an instance.
- instance
Types string[] - Instance type list of the scaling configuration.
- internet
Charge stringType - Charge types for network traffic.
- internet
Max numberBandwidth Out - Max bandwidth of Internet access in Mbps.
- key
Ids string[] - ID list of login keys.
- project
Id number - ID of the project to which the configuration belongs. Default value is 0.
- public
Ip booleanAssigned - Specify whether to assign an Internet IP address.
- security
Group string[]Ids - Security groups to which the instance belongs.
- status string
- Current status of a launch configuration.
- system
Disk numberSize - System disk size of the scaling configuration in GB.
- system
Disk stringType - System disk category of the scaling configuration.
- user
Data string - Base64-encoded User Data text.
- version
Number number - Version Number.
- configuration_
id str - Launch configuration ID.
- configuration_
name str - Launch configuration name.
- create_
time str - The time when the launch configuration was created.
- data_
disks Sequence[GetAs Scaling Configs Configuration List Data Disk] - Configurations of data disk.
- disk_
type_ strpolicy - Policy of cloud disk type.
- enhanced_
monitor_ boolservice - Whether to activate cloud monitor service.
- enhanced_
security_ boolservice - Whether to activate cloud security service.
- image_
id str - ID of available image, for example
img-8toqc6s3. - Mapping[str, str]
- A tag list associates with an instance.
- instance_
types Sequence[str] - Instance type list of the scaling configuration.
- internet_
charge_ strtype - Charge types for network traffic.
- internet_
max_ floatbandwidth_ out - Max bandwidth of Internet access in Mbps.
- key_
ids Sequence[str] - ID list of login keys.
- project_
id float - ID of the project to which the configuration belongs. Default value is 0.
- public_
ip_ boolassigned - Specify whether to assign an Internet IP address.
- security_
group_ Sequence[str]ids - Security groups to which the instance belongs.
- status str
- Current status of a launch configuration.
- system_
disk_ floatsize - System disk size of the scaling configuration in GB.
- system_
disk_ strtype - System disk category of the scaling configuration.
- user_
data str - Base64-encoded User Data text.
- version_
number float - Version Number.
- configuration
Id String - Launch configuration ID.
- configuration
Name String - Launch configuration name.
- create
Time String - The time when the launch configuration was created.
- data
Disks List<Property Map> - Configurations of data disk.
- disk
Type StringPolicy - Policy of cloud disk type.
- enhanced
Monitor BooleanService - Whether to activate cloud monitor service.
- enhanced
Security BooleanService - Whether to activate cloud security service.
- image
Id String - ID of available image, for example
img-8toqc6s3. - Map<String>
- A tag list associates with an instance.
- instance
Types List<String> - Instance type list of the scaling configuration.
- internet
Charge StringType - Charge types for network traffic.
- internet
Max NumberBandwidth Out - Max bandwidth of Internet access in Mbps.
- key
Ids List<String> - ID list of login keys.
- project
Id Number - ID of the project to which the configuration belongs. Default value is 0.
- public
Ip BooleanAssigned - Specify whether to assign an Internet IP address.
- security
Group List<String>Ids - Security groups to which the instance belongs.
- status String
- Current status of a launch configuration.
- system
Disk NumberSize - System disk size of the scaling configuration in GB.
- system
Disk StringType - System disk category of the scaling configuration.
- user
Data String - Base64-encoded User Data text.
- version
Number Number - Version Number.
GetAsScalingConfigsConfigurationListDataDisk
- Delete
With boolInstance - Indicates whether the disk remove after instance terminated.
- Disk
Size double - Volume of disk in GB. Default is
0. - Disk
Type string - Type of disk.
- Snapshot
Id string - Data disk snapshot ID.
- Delete
With boolInstance - Indicates whether the disk remove after instance terminated.
- Disk
Size float64 - Volume of disk in GB. Default is
0. - Disk
Type string - Type of disk.
- Snapshot
Id string - Data disk snapshot ID.
- delete
With BooleanInstance - Indicates whether the disk remove after instance terminated.
- disk
Size Double - Volume of disk in GB. Default is
0. - disk
Type String - Type of disk.
- snapshot
Id String - Data disk snapshot ID.
- delete
With booleanInstance - Indicates whether the disk remove after instance terminated.
- disk
Size number - Volume of disk in GB. Default is
0. - disk
Type string - Type of disk.
- snapshot
Id string - Data disk snapshot ID.
- delete_
with_ boolinstance - Indicates whether the disk remove after instance terminated.
- disk_
size float - Volume of disk in GB. Default is
0. - disk_
type str - Type of disk.
- snapshot_
id str - Data disk snapshot ID.
- delete
With BooleanInstance - Indicates whether the disk remove after instance terminated.
- disk
Size Number - Volume of disk in GB. Default is
0. - disk
Type String - Type of disk.
- snapshot
Id String - Data disk snapshot ID.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
