1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. ecs
  5. getEcsLaunchTemplates
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

alicloud.ecs.getEcsLaunchTemplates

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

    This data source provides the Ecs Launch Templates of the current Alibaba Cloud user.

    NOTE: Available in v1.120.0+.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const example = alicloud.ecs.getEcsLaunchTemplates({
        ids: ["lt-bp1a469uxxxxxx"],
        nameRegex: "your_launch_name",
    });
    export const firstEcsLaunchTemplateId = example.then(example => example.templates?.[0]?.id);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    example = alicloud.ecs.get_ecs_launch_templates(ids=["lt-bp1a469uxxxxxx"],
        name_regex="your_launch_name")
    pulumi.export("firstEcsLaunchTemplateId", example.templates[0].id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := ecs.GetEcsLaunchTemplates(ctx, &ecs.GetEcsLaunchTemplatesArgs{
    			Ids: []string{
    				"lt-bp1a469uxxxxxx",
    			},
    			NameRegex: pulumi.StringRef("your_launch_name"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("firstEcsLaunchTemplateId", example.Templates[0].Id)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = AliCloud.Ecs.GetEcsLaunchTemplates.Invoke(new()
        {
            Ids = new[]
            {
                "lt-bp1a469uxxxxxx",
            },
            NameRegex = "your_launch_name",
        });
    
        return new Dictionary<string, object?>
        {
            ["firstEcsLaunchTemplateId"] = example.Apply(getEcsLaunchTemplatesResult => getEcsLaunchTemplatesResult.Templates[0]?.Id),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.ecs.EcsFunctions;
    import com.pulumi.alicloud.ecs.inputs.GetEcsLaunchTemplatesArgs;
    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 example = EcsFunctions.getEcsLaunchTemplates(GetEcsLaunchTemplatesArgs.builder()
                .ids("lt-bp1a469uxxxxxx")
                .nameRegex("your_launch_name")
                .build());
    
            ctx.export("firstEcsLaunchTemplateId", example.applyValue(getEcsLaunchTemplatesResult -> getEcsLaunchTemplatesResult.templates()[0].id()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: alicloud:ecs:getEcsLaunchTemplates
          Arguments:
            ids:
              - lt-bp1a469uxxxxxx
            nameRegex: your_launch_name
    outputs:
      firstEcsLaunchTemplateId: ${example.templates[0].id}
    

    Using getEcsLaunchTemplates

    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 getEcsLaunchTemplates(args: GetEcsLaunchTemplatesArgs, opts?: InvokeOptions): Promise<GetEcsLaunchTemplatesResult>
    function getEcsLaunchTemplatesOutput(args: GetEcsLaunchTemplatesOutputArgs, opts?: InvokeOptions): Output<GetEcsLaunchTemplatesResult>
    def get_ecs_launch_templates(enable_details: Optional[bool] = None,
                                 ids: Optional[Sequence[str]] = None,
                                 launch_template_name: Optional[str] = None,
                                 name_regex: Optional[str] = None,
                                 output_file: Optional[str] = None,
                                 template_resource_group_id: Optional[str] = None,
                                 template_tags: Optional[Mapping[str, Any]] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetEcsLaunchTemplatesResult
    def get_ecs_launch_templates_output(enable_details: Optional[pulumi.Input[bool]] = None,
                                 ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                 launch_template_name: Optional[pulumi.Input[str]] = None,
                                 name_regex: Optional[pulumi.Input[str]] = None,
                                 output_file: Optional[pulumi.Input[str]] = None,
                                 template_resource_group_id: Optional[pulumi.Input[str]] = None,
                                 template_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetEcsLaunchTemplatesResult]
    func GetEcsLaunchTemplates(ctx *Context, args *GetEcsLaunchTemplatesArgs, opts ...InvokeOption) (*GetEcsLaunchTemplatesResult, error)
    func GetEcsLaunchTemplatesOutput(ctx *Context, args *GetEcsLaunchTemplatesOutputArgs, opts ...InvokeOption) GetEcsLaunchTemplatesResultOutput

    > Note: This function is named GetEcsLaunchTemplates in the Go SDK.

    public static class GetEcsLaunchTemplates 
    {
        public static Task<GetEcsLaunchTemplatesResult> InvokeAsync(GetEcsLaunchTemplatesArgs args, InvokeOptions? opts = null)
        public static Output<GetEcsLaunchTemplatesResult> Invoke(GetEcsLaunchTemplatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEcsLaunchTemplatesResult> getEcsLaunchTemplates(GetEcsLaunchTemplatesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:ecs/getEcsLaunchTemplates:getEcsLaunchTemplates
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EnableDetails bool
    Default to false. Set it to true can output more details about resource attributes.
    Ids List<string>
    A list of Launch Template IDs.
    LaunchTemplateName string
    The Launch Template Name.
    NameRegex string
    A regex string to filter results by Launch Template name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    TemplateResourceGroupId string
    The template resource group id.
    TemplateTags Dictionary<string, object>
    EnableDetails bool
    Default to false. Set it to true can output more details about resource attributes.
    Ids []string
    A list of Launch Template IDs.
    LaunchTemplateName string
    The Launch Template Name.
    NameRegex string
    A regex string to filter results by Launch Template name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    TemplateResourceGroupId string
    The template resource group id.
    TemplateTags map[string]interface{}
    enableDetails Boolean
    Default to false. Set it to true can output more details about resource attributes.
    ids List<String>
    A list of Launch Template IDs.
    launchTemplateName String
    The Launch Template Name.
    nameRegex String
    A regex string to filter results by Launch Template name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    templateResourceGroupId String
    The template resource group id.
    templateTags Map<String,Object>
    enableDetails boolean
    Default to false. Set it to true can output more details about resource attributes.
    ids string[]
    A list of Launch Template IDs.
    launchTemplateName string
    The Launch Template Name.
    nameRegex string
    A regex string to filter results by Launch Template name.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    templateResourceGroupId string
    The template resource group id.
    templateTags {[key: string]: any}
    enable_details bool
    Default to false. Set it to true can output more details about resource attributes.
    ids Sequence[str]
    A list of Launch Template IDs.
    launch_template_name str
    The Launch Template Name.
    name_regex str
    A regex string to filter results by Launch Template name.
    output_file str
    File name where to save data source results (after running pulumi preview).
    template_resource_group_id str
    The template resource group id.
    template_tags Mapping[str, Any]
    enableDetails Boolean
    Default to false. Set it to true can output more details about resource attributes.
    ids List<String>
    A list of Launch Template IDs.
    launchTemplateName String
    The Launch Template Name.
    nameRegex String
    A regex string to filter results by Launch Template name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    templateResourceGroupId String
    The template resource group id.
    templateTags Map<Any>

    getEcsLaunchTemplates Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    Names List<string>
    Templates List<Pulumi.AliCloud.Ecs.Outputs.GetEcsLaunchTemplatesTemplate>
    EnableDetails bool
    LaunchTemplateName string
    NameRegex string
    OutputFile string
    TemplateResourceGroupId string
    TemplateTags Dictionary<string, object>
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    Names []string
    Templates []GetEcsLaunchTemplatesTemplate
    EnableDetails bool
    LaunchTemplateName string
    NameRegex string
    OutputFile string
    TemplateResourceGroupId string
    TemplateTags map[string]interface{}
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    names List<String>
    templates List<GetEcsLaunchTemplatesTemplate>
    enableDetails Boolean
    launchTemplateName String
    nameRegex String
    outputFile String
    templateResourceGroupId String
    templateTags Map<String,Object>
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    names string[]
    templates GetEcsLaunchTemplatesTemplate[]
    enableDetails boolean
    launchTemplateName string
    nameRegex string
    outputFile string
    templateResourceGroupId string
    templateTags {[key: string]: any}
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    names Sequence[str]
    templates Sequence[GetEcsLaunchTemplatesTemplate]
    enable_details bool
    launch_template_name str
    name_regex str
    output_file str
    template_resource_group_id str
    template_tags Mapping[str, Any]
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    names List<String>
    templates List<Property Map>
    enableDetails Boolean
    launchTemplateName String
    nameRegex String
    outputFile String
    templateResourceGroupId String
    templateTags Map<Any>

    Supporting Types

    GetEcsLaunchTemplatesTemplate

    AutoReleaseTime string
    Instance auto release time.
    CreatedBy string
    CreatedBy.
    DataDisks List<Pulumi.AliCloud.Ecs.Inputs.GetEcsLaunchTemplatesTemplateDataDisk>
    The list of data disks created with instance.
    DefaultVersionNumber int
    The Default Version Number.
    DeploymentSetId string
    The Deployment Set Id.
    Description string
    The Description of Template.
    EnableVmOsConfig bool
    Whether to enable the instance operating system configuration.
    HostName string
    Instance host name.
    Id string
    The ID of the Launch Template.
    ImageId string
    The Image Id.
    ImageOwnerAlias string
    Mirror source.
    InstanceChargeType string
    Internet bandwidth billing method.
    InstanceName string
    The Instance Name.
    InstanceType string
    Instance type.
    InternetChargeType string
    Internet bandwidth billing method.
    InternetMaxBandwidthIn int
    The maximum inbound bandwidth from the Internet network, measured in Mbit/s.
    InternetMaxBandwidthOut int
    Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s.
    IoOptimized string
    Whether it is an I/O-optimized instance or not.
    KeyPairName string
    The name of the key pair.
    LatestVersionNumber int
    The Latest Version Number.
    LaunchTemplateId string
    The ID of the Launch Template.
    LaunchTemplateName string
    The Launch Template Name.
    ModifiedTime string
    The Modified Time.
    NetworkInterfaces List<Pulumi.AliCloud.Ecs.Inputs.GetEcsLaunchTemplatesTemplateNetworkInterface>
    The list of network interfaces created with instance.
    NetworkType string
    Network type of the instance.
    PasswordInherit bool
    Whether to use the password preset by the mirror.
    Period int
    The subscription period of the instance.
    PrivateIpAddress string
    The private IP address of the instance.
    RamRoleName string
    The RAM role name of the instance.
    ResourceGroupId string
    The ID of the resource group to which to assign the instance, Elastic Block Storage (EBS) device, and ENI.
    SecurityEnhancementStrategy string
    Whether or not to activate the security enhancement feature and install network security software free of charge.
    SecurityGroupId string
    The security group ID.
    SecurityGroupIds List<string>
    The security group IDs.
    SpotDuration string
    The protection period of the preemptible instance.
    SpotPriceLimit double
    Sets the maximum hourly instance price.
    SpotStrategy string
    The spot strategy for a Pay-As-You-Go instance.
    SystemDisks List<Pulumi.AliCloud.Ecs.Inputs.GetEcsLaunchTemplatesTemplateSystemDisk>
    The System Disk.
    TemplateTags Dictionary<string, object>
    The template tags.
    UserData string
    The User Data.
    VersionDescription string
    The Version Description.
    VpcId string
    VpcId.
    VswitchId string
    The vswitch id.
    ZoneId string
    The Zone Id.
    AutoReleaseTime string
    Instance auto release time.
    CreatedBy string
    CreatedBy.
    DataDisks []GetEcsLaunchTemplatesTemplateDataDisk
    The list of data disks created with instance.
    DefaultVersionNumber int
    The Default Version Number.
    DeploymentSetId string
    The Deployment Set Id.
    Description string
    The Description of Template.
    EnableVmOsConfig bool
    Whether to enable the instance operating system configuration.
    HostName string
    Instance host name.
    Id string
    The ID of the Launch Template.
    ImageId string
    The Image Id.
    ImageOwnerAlias string
    Mirror source.
    InstanceChargeType string
    Internet bandwidth billing method.
    InstanceName string
    The Instance Name.
    InstanceType string
    Instance type.
    InternetChargeType string
    Internet bandwidth billing method.
    InternetMaxBandwidthIn int
    The maximum inbound bandwidth from the Internet network, measured in Mbit/s.
    InternetMaxBandwidthOut int
    Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s.
    IoOptimized string
    Whether it is an I/O-optimized instance or not.
    KeyPairName string
    The name of the key pair.
    LatestVersionNumber int
    The Latest Version Number.
    LaunchTemplateId string
    The ID of the Launch Template.
    LaunchTemplateName string
    The Launch Template Name.
    ModifiedTime string
    The Modified Time.
    NetworkInterfaces []GetEcsLaunchTemplatesTemplateNetworkInterface
    The list of network interfaces created with instance.
    NetworkType string
    Network type of the instance.
    PasswordInherit bool
    Whether to use the password preset by the mirror.
    Period int
    The subscription period of the instance.
    PrivateIpAddress string
    The private IP address of the instance.
    RamRoleName string
    The RAM role name of the instance.
    ResourceGroupId string
    The ID of the resource group to which to assign the instance, Elastic Block Storage (EBS) device, and ENI.
    SecurityEnhancementStrategy string
    Whether or not to activate the security enhancement feature and install network security software free of charge.
    SecurityGroupId string
    The security group ID.
    SecurityGroupIds []string
    The security group IDs.
    SpotDuration string
    The protection period of the preemptible instance.
    SpotPriceLimit float64
    Sets the maximum hourly instance price.
    SpotStrategy string
    The spot strategy for a Pay-As-You-Go instance.
    SystemDisks []GetEcsLaunchTemplatesTemplateSystemDisk
    The System Disk.
    TemplateTags map[string]interface{}
    The template tags.
    UserData string
    The User Data.
    VersionDescription string
    The Version Description.
    VpcId string
    VpcId.
    VswitchId string
    The vswitch id.
    ZoneId string
    The Zone Id.
    autoReleaseTime String
    Instance auto release time.
    createdBy String
    CreatedBy.
    dataDisks List<GetEcsLaunchTemplatesTemplateDataDisk>
    The list of data disks created with instance.
    defaultVersionNumber Integer
    The Default Version Number.
    deploymentSetId String
    The Deployment Set Id.
    description String
    The Description of Template.
    enableVmOsConfig Boolean
    Whether to enable the instance operating system configuration.
    hostName String
    Instance host name.
    id String
    The ID of the Launch Template.
    imageId String
    The Image Id.
    imageOwnerAlias String
    Mirror source.
    instanceChargeType String
    Internet bandwidth billing method.
    instanceName String
    The Instance Name.
    instanceType String
    Instance type.
    internetChargeType String
    Internet bandwidth billing method.
    internetMaxBandwidthIn Integer
    The maximum inbound bandwidth from the Internet network, measured in Mbit/s.
    internetMaxBandwidthOut Integer
    Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s.
    ioOptimized String
    Whether it is an I/O-optimized instance or not.
    keyPairName String
    The name of the key pair.
    latestVersionNumber Integer
    The Latest Version Number.
    launchTemplateId String
    The ID of the Launch Template.
    launchTemplateName String
    The Launch Template Name.
    modifiedTime String
    The Modified Time.
    networkInterfaces List<GetEcsLaunchTemplatesTemplateNetworkInterface>
    The list of network interfaces created with instance.
    networkType String
    Network type of the instance.
    passwordInherit Boolean
    Whether to use the password preset by the mirror.
    period Integer
    The subscription period of the instance.
    privateIpAddress String
    The private IP address of the instance.
    ramRoleName String
    The RAM role name of the instance.
    resourceGroupId String
    The ID of the resource group to which to assign the instance, Elastic Block Storage (EBS) device, and ENI.
    securityEnhancementStrategy String
    Whether or not to activate the security enhancement feature and install network security software free of charge.
    securityGroupId String
    The security group ID.
    securityGroupIds List<String>
    The security group IDs.
    spotDuration String
    The protection period of the preemptible instance.
    spotPriceLimit Double
    Sets the maximum hourly instance price.
    spotStrategy String
    The spot strategy for a Pay-As-You-Go instance.
    systemDisks List<GetEcsLaunchTemplatesTemplateSystemDisk>
    The System Disk.
    templateTags Map<String,Object>
    The template tags.
    userData String
    The User Data.
    versionDescription String
    The Version Description.
    vpcId String
    VpcId.
    vswitchId String
    The vswitch id.
    zoneId String
    The Zone Id.
    autoReleaseTime string
    Instance auto release time.
    createdBy string
    CreatedBy.
    dataDisks GetEcsLaunchTemplatesTemplateDataDisk[]
    The list of data disks created with instance.
    defaultVersionNumber number
    The Default Version Number.
    deploymentSetId string
    The Deployment Set Id.
    description string
    The Description of Template.
    enableVmOsConfig boolean
    Whether to enable the instance operating system configuration.
    hostName string
    Instance host name.
    id string
    The ID of the Launch Template.
    imageId string
    The Image Id.
    imageOwnerAlias string
    Mirror source.
    instanceChargeType string
    Internet bandwidth billing method.
    instanceName string
    The Instance Name.
    instanceType string
    Instance type.
    internetChargeType string
    Internet bandwidth billing method.
    internetMaxBandwidthIn number
    The maximum inbound bandwidth from the Internet network, measured in Mbit/s.
    internetMaxBandwidthOut number
    Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s.
    ioOptimized string
    Whether it is an I/O-optimized instance or not.
    keyPairName string
    The name of the key pair.
    latestVersionNumber number
    The Latest Version Number.
    launchTemplateId string
    The ID of the Launch Template.
    launchTemplateName string
    The Launch Template Name.
    modifiedTime string
    The Modified Time.
    networkInterfaces GetEcsLaunchTemplatesTemplateNetworkInterface[]
    The list of network interfaces created with instance.
    networkType string
    Network type of the instance.
    passwordInherit boolean
    Whether to use the password preset by the mirror.
    period number
    The subscription period of the instance.
    privateIpAddress string
    The private IP address of the instance.
    ramRoleName string
    The RAM role name of the instance.
    resourceGroupId string
    The ID of the resource group to which to assign the instance, Elastic Block Storage (EBS) device, and ENI.
    securityEnhancementStrategy string
    Whether or not to activate the security enhancement feature and install network security software free of charge.
    securityGroupId string
    The security group ID.
    securityGroupIds string[]
    The security group IDs.
    spotDuration string
    The protection period of the preemptible instance.
    spotPriceLimit number
    Sets the maximum hourly instance price.
    spotStrategy string
    The spot strategy for a Pay-As-You-Go instance.
    systemDisks GetEcsLaunchTemplatesTemplateSystemDisk[]
    The System Disk.
    templateTags {[key: string]: any}
    The template tags.
    userData string
    The User Data.
    versionDescription string
    The Version Description.
    vpcId string
    VpcId.
    vswitchId string
    The vswitch id.
    zoneId string
    The Zone Id.
    auto_release_time str
    Instance auto release time.
    created_by str
    CreatedBy.
    data_disks Sequence[GetEcsLaunchTemplatesTemplateDataDisk]
    The list of data disks created with instance.
    default_version_number int
    The Default Version Number.
    deployment_set_id str
    The Deployment Set Id.
    description str
    The Description of Template.
    enable_vm_os_config bool
    Whether to enable the instance operating system configuration.
    host_name str
    Instance host name.
    id str
    The ID of the Launch Template.
    image_id str
    The Image Id.
    image_owner_alias str
    Mirror source.
    instance_charge_type str
    Internet bandwidth billing method.
    instance_name str
    The Instance Name.
    instance_type str
    Instance type.
    internet_charge_type str
    Internet bandwidth billing method.
    internet_max_bandwidth_in int
    The maximum inbound bandwidth from the Internet network, measured in Mbit/s.
    internet_max_bandwidth_out int
    Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s.
    io_optimized str
    Whether it is an I/O-optimized instance or not.
    key_pair_name str
    The name of the key pair.
    latest_version_number int
    The Latest Version Number.
    launch_template_id str
    The ID of the Launch Template.
    launch_template_name str
    The Launch Template Name.
    modified_time str
    The Modified Time.
    network_interfaces Sequence[GetEcsLaunchTemplatesTemplateNetworkInterface]
    The list of network interfaces created with instance.
    network_type str
    Network type of the instance.
    password_inherit bool
    Whether to use the password preset by the mirror.
    period int
    The subscription period of the instance.
    private_ip_address str
    The private IP address of the instance.
    ram_role_name str
    The RAM role name of the instance.
    resource_group_id str
    The ID of the resource group to which to assign the instance, Elastic Block Storage (EBS) device, and ENI.
    security_enhancement_strategy str
    Whether or not to activate the security enhancement feature and install network security software free of charge.
    security_group_id str
    The security group ID.
    security_group_ids Sequence[str]
    The security group IDs.
    spot_duration str
    The protection period of the preemptible instance.
    spot_price_limit float
    Sets the maximum hourly instance price.
    spot_strategy str
    The spot strategy for a Pay-As-You-Go instance.
    system_disks Sequence[GetEcsLaunchTemplatesTemplateSystemDisk]
    The System Disk.
    template_tags Mapping[str, Any]
    The template tags.
    user_data str
    The User Data.
    version_description str
    The Version Description.
    vpc_id str
    VpcId.
    vswitch_id str
    The vswitch id.
    zone_id str
    The Zone Id.
    autoReleaseTime String
    Instance auto release time.
    createdBy String
    CreatedBy.
    dataDisks List<Property Map>
    The list of data disks created with instance.
    defaultVersionNumber Number
    The Default Version Number.
    deploymentSetId String
    The Deployment Set Id.
    description String
    The Description of Template.
    enableVmOsConfig Boolean
    Whether to enable the instance operating system configuration.
    hostName String
    Instance host name.
    id String
    The ID of the Launch Template.
    imageId String
    The Image Id.
    imageOwnerAlias String
    Mirror source.
    instanceChargeType String
    Internet bandwidth billing method.
    instanceName String
    The Instance Name.
    instanceType String
    Instance type.
    internetChargeType String
    Internet bandwidth billing method.
    internetMaxBandwidthIn Number
    The maximum inbound bandwidth from the Internet network, measured in Mbit/s.
    internetMaxBandwidthOut Number
    Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s.
    ioOptimized String
    Whether it is an I/O-optimized instance or not.
    keyPairName String
    The name of the key pair.
    latestVersionNumber Number
    The Latest Version Number.
    launchTemplateId String
    The ID of the Launch Template.
    launchTemplateName String
    The Launch Template Name.
    modifiedTime String
    The Modified Time.
    networkInterfaces List<Property Map>
    The list of network interfaces created with instance.
    networkType String
    Network type of the instance.
    passwordInherit Boolean
    Whether to use the password preset by the mirror.
    period Number
    The subscription period of the instance.
    privateIpAddress String
    The private IP address of the instance.
    ramRoleName String
    The RAM role name of the instance.
    resourceGroupId String
    The ID of the resource group to which to assign the instance, Elastic Block Storage (EBS) device, and ENI.
    securityEnhancementStrategy String
    Whether or not to activate the security enhancement feature and install network security software free of charge.
    securityGroupId String
    The security group ID.
    securityGroupIds List<String>
    The security group IDs.
    spotDuration String
    The protection period of the preemptible instance.
    spotPriceLimit Number
    Sets the maximum hourly instance price.
    spotStrategy String
    The spot strategy for a Pay-As-You-Go instance.
    systemDisks List<Property Map>
    The System Disk.
    templateTags Map<Any>
    The template tags.
    userData String
    The User Data.
    versionDescription String
    The Version Description.
    vpcId String
    VpcId.
    vswitchId String
    The vswitch id.
    zoneId String
    The Zone Id.

    GetEcsLaunchTemplatesTemplateDataDisk

    Category string
    The category of the disk.
    DeleteWithInstance bool
    Indicates whether the data disk is released with the instance.
    Description string
    The description of the data disk.
    Encrypted bool
    Encrypted the data in this disk.
    Name string
    The name of the data disk.
    PerformanceLevel string
    PerformanceLevel.
    Size int
    The performance level of the ESSD used as the data disk.
    SnapshotId string
    The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk.
    Category string
    The category of the disk.
    DeleteWithInstance bool
    Indicates whether the data disk is released with the instance.
    Description string
    The description of the data disk.
    Encrypted bool
    Encrypted the data in this disk.
    Name string
    The name of the data disk.
    PerformanceLevel string
    PerformanceLevel.
    Size int
    The performance level of the ESSD used as the data disk.
    SnapshotId string
    The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk.
    category String
    The category of the disk.
    deleteWithInstance Boolean
    Indicates whether the data disk is released with the instance.
    description String
    The description of the data disk.
    encrypted Boolean
    Encrypted the data in this disk.
    name String
    The name of the data disk.
    performanceLevel String
    PerformanceLevel.
    size Integer
    The performance level of the ESSD used as the data disk.
    snapshotId String
    The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk.
    category string
    The category of the disk.
    deleteWithInstance boolean
    Indicates whether the data disk is released with the instance.
    description string
    The description of the data disk.
    encrypted boolean
    Encrypted the data in this disk.
    name string
    The name of the data disk.
    performanceLevel string
    PerformanceLevel.
    size number
    The performance level of the ESSD used as the data disk.
    snapshotId string
    The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk.
    category str
    The category of the disk.
    delete_with_instance bool
    Indicates whether the data disk is released with the instance.
    description str
    The description of the data disk.
    encrypted bool
    Encrypted the data in this disk.
    name str
    The name of the data disk.
    performance_level str
    PerformanceLevel.
    size int
    The performance level of the ESSD used as the data disk.
    snapshot_id str
    The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk.
    category String
    The category of the disk.
    deleteWithInstance Boolean
    Indicates whether the data disk is released with the instance.
    description String
    The description of the data disk.
    encrypted Boolean
    Encrypted the data in this disk.
    name String
    The name of the data disk.
    performanceLevel String
    PerformanceLevel.
    size Number
    The performance level of the ESSD used as the data disk.
    snapshotId String
    The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk.

    GetEcsLaunchTemplatesTemplateNetworkInterface

    Description string
    The ENI description.
    Name string
    The ENI name.
    PrimaryIp string
    The primary private IP address of the ENI.
    SecurityGroupId string
    The security group ID must be one in the same VPC.
    VswitchId string
    The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches.
    Description string
    The ENI description.
    Name string
    The ENI name.
    PrimaryIp string
    The primary private IP address of the ENI.
    SecurityGroupId string
    The security group ID must be one in the same VPC.
    VswitchId string
    The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches.
    description String
    The ENI description.
    name String
    The ENI name.
    primaryIp String
    The primary private IP address of the ENI.
    securityGroupId String
    The security group ID must be one in the same VPC.
    vswitchId String
    The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches.
    description string
    The ENI description.
    name string
    The ENI name.
    primaryIp string
    The primary private IP address of the ENI.
    securityGroupId string
    The security group ID must be one in the same VPC.
    vswitchId string
    The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches.
    description str
    The ENI description.
    name str
    The ENI name.
    primary_ip str
    The primary private IP address of the ENI.
    security_group_id str
    The security group ID must be one in the same VPC.
    vswitch_id str
    The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches.
    description String
    The ENI description.
    name String
    The ENI name.
    primaryIp String
    The primary private IP address of the ENI.
    securityGroupId String
    The security group ID must be one in the same VPC.
    vswitchId String
    The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches.

    GetEcsLaunchTemplatesTemplateSystemDisk

    Category string
    The category of the system disk.
    DeleteWithInstance bool
    Specifies whether to release the system disk when the instance is released.
    Description string
    System disk description.
    Iops string
    The Iops.
    Name string
    System disk name.
    PerformanceLevel string
    The performance level of the ESSD used as the system disk.
    Size int
    Size of the system disk, measured in GB.
    Category string
    The category of the system disk.
    DeleteWithInstance bool
    Specifies whether to release the system disk when the instance is released.
    Description string
    System disk description.
    Iops string
    The Iops.
    Name string
    System disk name.
    PerformanceLevel string
    The performance level of the ESSD used as the system disk.
    Size int
    Size of the system disk, measured in GB.
    category String
    The category of the system disk.
    deleteWithInstance Boolean
    Specifies whether to release the system disk when the instance is released.
    description String
    System disk description.
    iops String
    The Iops.
    name String
    System disk name.
    performanceLevel String
    The performance level of the ESSD used as the system disk.
    size Integer
    Size of the system disk, measured in GB.
    category string
    The category of the system disk.
    deleteWithInstance boolean
    Specifies whether to release the system disk when the instance is released.
    description string
    System disk description.
    iops string
    The Iops.
    name string
    System disk name.
    performanceLevel string
    The performance level of the ESSD used as the system disk.
    size number
    Size of the system disk, measured in GB.
    category str
    The category of the system disk.
    delete_with_instance bool
    Specifies whether to release the system disk when the instance is released.
    description str
    System disk description.
    iops str
    The Iops.
    name str
    System disk name.
    performance_level str
    The performance level of the ESSD used as the system disk.
    size int
    Size of the system disk, measured in GB.
    category String
    The category of the system disk.
    deleteWithInstance Boolean
    Specifies whether to release the system disk when the instance is released.
    description String
    System disk description.
    iops String
    The Iops.
    name String
    System disk name.
    performanceLevel String
    The performance level of the ESSD used as the system disk.
    size Number
    Size of the system disk, measured in GB.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi