Alibaba Cloud v3.37.0, May 15 23
Alibaba Cloud v3.37.0, May 15 23
alicloud.ecs.getEcsLaunchTemplates
Explore with Pulumi AI
This data source provides the Ecs Launch Templates of the current Alibaba Cloud user.
NOTE: Available in v1.120.0+.
Example Usage
Basic Usage
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 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
})
}
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()));
}
}
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)
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);
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:
- Enable
Details bool Default to
false
. Set it totrue
can output more details about resource attributes.- Ids List<string>
A list of Launch Template IDs.
- Launch
Template stringName The Launch Template Name.
- Name
Regex string A regex string to filter results by Launch Template name.
- Output
File string File name where to save data source results (after running
pulumi preview
).- Template
Resource stringGroup Id The template resource group id.
- Dictionary<string, object>
The template tags.
- Enable
Details bool Default to
false
. Set it totrue
can output more details about resource attributes.- Ids []string
A list of Launch Template IDs.
- Launch
Template stringName The Launch Template Name.
- Name
Regex string A regex string to filter results by Launch Template name.
- Output
File string File name where to save data source results (after running
pulumi preview
).- Template
Resource stringGroup Id The template resource group id.
- map[string]interface{}
The template tags.
- enable
Details Boolean Default to
false
. Set it totrue
can output more details about resource attributes.- ids List<String>
A list of Launch Template IDs.
- launch
Template StringName The Launch Template Name.
- name
Regex String A regex string to filter results by Launch Template name.
- output
File String File name where to save data source results (after running
pulumi preview
).- template
Resource StringGroup Id The template resource group id.
- Map<String,Object>
The template tags.
- enable
Details boolean Default to
false
. Set it totrue
can output more details about resource attributes.- ids string[]
A list of Launch Template IDs.
- launch
Template stringName The Launch Template Name.
- name
Regex string A regex string to filter results by Launch Template name.
- output
File string File name where to save data source results (after running
pulumi preview
).- template
Resource stringGroup Id The template resource group id.
- {[key: string]: any}
The template tags.
- enable_
details bool Default to
false
. Set it totrue
can output more details about resource attributes.- ids Sequence[str]
A list of Launch Template IDs.
- launch_
template_ strname 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_ strgroup_ id The template resource group id.
- Mapping[str, Any]
The template tags.
- enable
Details Boolean Default to
false
. Set it totrue
can output more details about resource attributes.- ids List<String>
A list of Launch Template IDs.
- launch
Template StringName The Launch Template Name.
- name
Regex String A regex string to filter results by Launch Template name.
- output
File String File name where to save data source results (after running
pulumi preview
).- template
Resource StringGroup Id The template resource group id.
- Map<Any>
The template tags.
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.
Ali Cloud. Ecs. Outputs. Get Ecs Launch Templates Template> - Enable
Details bool - Launch
Template stringName - Name
Regex string - Output
File string - Template
Resource stringGroup Id - Dictionary<string, object>
- Id string
The provider-assigned unique ID for this managed resource.
- Ids []string
- Names []string
- Templates
[]Get
Ecs Launch Templates Template - Enable
Details bool - Launch
Template stringName - Name
Regex string - Output
File string - Template
Resource stringGroup Id - map[string]interface{}
- id String
The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- templates
List<Get
Ecs Launch Templates Template> - enable
Details Boolean - launch
Template StringName - name
Regex String - output
File String - template
Resource StringGroup Id - Map<String,Object>
- id string
The provider-assigned unique ID for this managed resource.
- ids string[]
- names string[]
- templates
Get
Ecs Launch Templates Template[] - enable
Details boolean - launch
Template stringName - name
Regex string - output
File string - template
Resource stringGroup Id - {[key: string]: any}
- id str
The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- names Sequence[str]
- templates
Sequence[Get
Ecs Launch Templates Template] - enable_
details bool - launch_
template_ strname - name_
regex str - output_
file str - template_
resource_ strgroup_ id - Mapping[str, Any]
- id String
The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- templates List<Property Map>
- enable
Details Boolean - launch
Template StringName - name
Regex String - output
File String - template
Resource StringGroup Id - Map<Any>
Supporting Types
GetEcsLaunchTemplatesTemplate
- Auto
Release stringTime Instance auto release time.
- Created
By string CreatedBy.
- Data
Disks List<Pulumi.Ali Cloud. Ecs. Inputs. Get Ecs Launch Templates Template Data Disk> The list of data disks created with instance.
- Default
Version intNumber The Default Version Number.
- Deployment
Set stringId The Deployment Set Id.
- Description string
System disk description.
- Enable
Vm boolOs Config Whether to enable the instance operating system configuration.
- Host
Name string Instance host name.
- Id string
The ID of the Launch Template.
- Image
Id string The Image Id.
- Image
Owner stringAlias Mirror source.
- Instance
Charge stringType Internet bandwidth billing method.
- Instance
Name string The Instance Name.
- Instance
Type string Instance type.
- Internet
Charge stringType Internet bandwidth billing method.
- Internet
Max intBandwidth In The maximum inbound bandwidth from the Internet network, measured in Mbit/s.
- Internet
Max intBandwidth Out Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s.
- Io
Optimized string Whether it is an I/O-optimized instance or not.
- Key
Pair stringName The name of the key pair.
- Latest
Version intNumber The Latest Version Number.
- Launch
Template stringId The ID of the Launch Template.
- Launch
Template stringName The Launch Template Name.
- Modified
Time string The Modified Time.
- Network
Interfaces List<Pulumi.Ali Cloud. Ecs. Inputs. Get Ecs Launch Templates Template Network Interface> The list of network interfaces created with instance.
- Network
Type string 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 stringAddress The private IP address of the instance.
- Ram
Role stringName The RAM role name of the instance.
- Resource
Group stringId The ID of the resource group to which to assign the instance, Elastic Block Storage (EBS) device, and ENI.
- Security
Enhancement stringStrategy Whether or not to activate the security enhancement feature and install network security software free of charge.
- Security
Group stringId The security group ID.
- Security
Group List<string>Ids The security group IDs.
- Spot
Duration string The protection period of the preemptible instance.
- Spot
Price doubleLimit Sets the maximum hourly instance price.
- Spot
Strategy string The spot strategy for a Pay-As-You-Go instance.
- System
Disks List<Pulumi.Ali Cloud. Ecs. Inputs. Get Ecs Launch Templates Template System Disk> The System Disk.
- Dictionary<string, object>
The template tags.
- User
Data string The User Data.
- Version
Description string The Version Description.
- Vpc
Id string VpcId.
- Vswitch
Id string The vswitch id.
- Zone
Id string The Zone Id.
- Auto
Release stringTime Instance auto release time.
- Created
By string CreatedBy.
- Data
Disks []GetEcs Launch Templates Template Data Disk The list of data disks created with instance.
- Default
Version intNumber The Default Version Number.
- Deployment
Set stringId The Deployment Set Id.
- Description string
System disk description.
- Enable
Vm boolOs Config Whether to enable the instance operating system configuration.
- Host
Name string Instance host name.
- Id string
The ID of the Launch Template.
- Image
Id string The Image Id.
- Image
Owner stringAlias Mirror source.
- Instance
Charge stringType Internet bandwidth billing method.
- Instance
Name string The Instance Name.
- Instance
Type string Instance type.
- Internet
Charge stringType Internet bandwidth billing method.
- Internet
Max intBandwidth In The maximum inbound bandwidth from the Internet network, measured in Mbit/s.
- Internet
Max intBandwidth Out Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s.
- Io
Optimized string Whether it is an I/O-optimized instance or not.
- Key
Pair stringName The name of the key pair.
- Latest
Version intNumber The Latest Version Number.
- Launch
Template stringId The ID of the Launch Template.
- Launch
Template stringName The Launch Template Name.
- Modified
Time string The Modified Time.
- Network
Interfaces []GetEcs Launch Templates Template Network Interface The list of network interfaces created with instance.
- Network
Type string 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 stringAddress The private IP address of the instance.
- Ram
Role stringName The RAM role name of the instance.
- Resource
Group stringId The ID of the resource group to which to assign the instance, Elastic Block Storage (EBS) device, and ENI.
- Security
Enhancement stringStrategy Whether or not to activate the security enhancement feature and install network security software free of charge.
- Security
Group stringId The security group ID.
- Security
Group []stringIds The security group IDs.
- Spot
Duration string The protection period of the preemptible instance.
- Spot
Price float64Limit Sets the maximum hourly instance price.
- Spot
Strategy string The spot strategy for a Pay-As-You-Go instance.
- System
Disks []GetEcs Launch Templates Template System Disk The System Disk.
- map[string]interface{}
The template tags.
- User
Data string The User Data.
- Version
Description string The Version Description.
- Vpc
Id string VpcId.
- Vswitch
Id string The vswitch id.
- Zone
Id string The Zone Id.
- auto
Release StringTime Instance auto release time.
- created
By String CreatedBy.
- data
Disks List<GetEcs Launch Templates Template Data Disk> The list of data disks created with instance.
- default
Version IntegerNumber The Default Version Number.
- deployment
Set StringId The Deployment Set Id.
- description String
System disk description.
- enable
Vm BooleanOs Config Whether to enable the instance operating system configuration.
- host
Name String Instance host name.
- id String
The ID of the Launch Template.
- image
Id String The Image Id.
- image
Owner StringAlias Mirror source.
- instance
Charge StringType Internet bandwidth billing method.
- instance
Name String The Instance Name.
- instance
Type String Instance type.
- internet
Charge StringType Internet bandwidth billing method.
- internet
Max IntegerBandwidth In The maximum inbound bandwidth from the Internet network, measured in Mbit/s.
- internet
Max IntegerBandwidth Out Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s.
- io
Optimized String Whether it is an I/O-optimized instance or not.
- key
Pair StringName The name of the key pair.
- latest
Version IntegerNumber The Latest Version Number.
- launch
Template StringId The ID of the Launch Template.
- launch
Template StringName The Launch Template Name.
- modified
Time String The Modified Time.
- network
Interfaces List<GetEcs Launch Templates Template Network Interface> The list of network interfaces created with instance.
- network
Type String Network type of the instance.
- password
Inherit Boolean Whether to use the password preset by the mirror.
- period Integer
The subscription period of the instance.
- private
Ip StringAddress The private IP address of the instance.
- ram
Role StringName The RAM role name of the instance.
- resource
Group StringId The ID of the resource group to which to assign the instance, Elastic Block Storage (EBS) device, and ENI.
- security
Enhancement StringStrategy Whether or not to activate the security enhancement feature and install network security software free of charge.
- security
Group StringId The security group ID.
- security
Group List<String>Ids The security group IDs.
- spot
Duration String The protection period of the preemptible instance.
- spot
Price DoubleLimit Sets the maximum hourly instance price.
- spot
Strategy String The spot strategy for a Pay-As-You-Go instance.
- system
Disks List<GetEcs Launch Templates Template System Disk> The System Disk.
- Map<String,Object>
The template tags.
- user
Data String The User Data.
- version
Description String The Version Description.
- vpc
Id String VpcId.
- vswitch
Id String The vswitch id.
- zone
Id String The Zone Id.
- auto
Release stringTime Instance auto release time.
- created
By string CreatedBy.
- data
Disks GetEcs Launch Templates Template Data Disk[] The list of data disks created with instance.
- default
Version numberNumber The Default Version Number.
- deployment
Set stringId The Deployment Set Id.
- description string
System disk description.
- enable
Vm booleanOs Config Whether to enable the instance operating system configuration.
- host
Name string Instance host name.
- id string
The ID of the Launch Template.
- image
Id string The Image Id.
- image
Owner stringAlias Mirror source.
- instance
Charge stringType Internet bandwidth billing method.
- instance
Name string The Instance Name.
- instance
Type string Instance type.
- internet
Charge stringType Internet bandwidth billing method.
- internet
Max numberBandwidth In The maximum inbound bandwidth from the Internet network, measured in Mbit/s.
- internet
Max numberBandwidth Out Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s.
- io
Optimized string Whether it is an I/O-optimized instance or not.
- key
Pair stringName The name of the key pair.
- latest
Version numberNumber The Latest Version Number.
- launch
Template stringId The ID of the Launch Template.
- launch
Template stringName The Launch Template Name.
- modified
Time string The Modified Time.
- network
Interfaces GetEcs Launch Templates Template Network Interface[] The list of network interfaces created with instance.
- network
Type string Network type of the instance.
- password
Inherit boolean Whether to use the password preset by the mirror.
- period number
The subscription period of the instance.
- private
Ip stringAddress The private IP address of the instance.
- ram
Role stringName The RAM role name of the instance.
- resource
Group stringId The ID of the resource group to which to assign the instance, Elastic Block Storage (EBS) device, and ENI.
- security
Enhancement stringStrategy Whether or not to activate the security enhancement feature and install network security software free of charge.
- security
Group stringId The security group ID.
- security
Group string[]Ids The security group IDs.
- spot
Duration string The protection period of the preemptible instance.
- spot
Price numberLimit Sets the maximum hourly instance price.
- spot
Strategy string The spot strategy for a Pay-As-You-Go instance.
- system
Disks GetEcs Launch Templates Template System Disk[] The System Disk.
- {[key: string]: any}
The template tags.
- user
Data string The User Data.
- version
Description string The Version Description.
- vpc
Id string VpcId.
- vswitch
Id string The vswitch id.
- zone
Id string The Zone Id.
- auto_
release_ strtime Instance auto release time.
- created_
by str CreatedBy.
- data_
disks Sequence[GetEcs Launch Templates Template Data Disk] The list of data disks created with instance.
- default_
version_ intnumber The Default Version Number.
- deployment_
set_ strid The Deployment Set Id.
- description str
System disk description.
- enable_
vm_ boolos_ config 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_ stralias Mirror source.
- instance_
charge_ strtype Internet bandwidth billing method.
- instance_
name str The Instance Name.
- instance_
type str Instance type.
- internet_
charge_ strtype Internet bandwidth billing method.
- internet_
max_ intbandwidth_ in The maximum inbound bandwidth from the Internet network, measured in Mbit/s.
- internet_
max_ intbandwidth_ out 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_ strname The name of the key pair.
- latest_
version_ intnumber The Latest Version Number.
- launch_
template_ strid The ID of the Launch Template.
- launch_
template_ strname The Launch Template Name.
- modified_
time str The Modified Time.
- network_
interfaces Sequence[GetEcs Launch Templates Template Network Interface] 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_ straddress The private IP address of the instance.
- ram_
role_ strname The RAM role name of the instance.
- resource_
group_ strid The ID of the resource group to which to assign the instance, Elastic Block Storage (EBS) device, and ENI.
- security_
enhancement_ strstrategy Whether or not to activate the security enhancement feature and install network security software free of charge.
- security_
group_ strid The security group ID.
- security_
group_ Sequence[str]ids The security group IDs.
- spot_
duration str The protection period of the preemptible instance.
- spot_
price_ floatlimit Sets the maximum hourly instance price.
- spot_
strategy str The spot strategy for a Pay-As-You-Go instance.
- system_
disks Sequence[GetEcs Launch Templates Template System Disk] The System Disk.
- 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.
- auto
Release StringTime Instance auto release time.
- created
By String CreatedBy.
- data
Disks List<Property Map> The list of data disks created with instance.
- default
Version NumberNumber The Default Version Number.
- deployment
Set StringId The Deployment Set Id.
- description String
System disk description.
- enable
Vm BooleanOs Config Whether to enable the instance operating system configuration.
- host
Name String Instance host name.
- id String
The ID of the Launch Template.
- image
Id String The Image Id.
- image
Owner StringAlias Mirror source.
- instance
Charge StringType Internet bandwidth billing method.
- instance
Name String The Instance Name.
- instance
Type String Instance type.
- internet
Charge StringType Internet bandwidth billing method.
- internet
Max NumberBandwidth In The maximum inbound bandwidth from the Internet network, measured in Mbit/s.
- internet
Max NumberBandwidth Out Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s.
- io
Optimized String Whether it is an I/O-optimized instance or not.
- key
Pair StringName The name of the key pair.
- latest
Version NumberNumber The Latest Version Number.
- launch
Template StringId The ID of the Launch Template.
- launch
Template StringName The Launch Template Name.
- modified
Time String The Modified Time.
- network
Interfaces List<Property Map> The list of network interfaces created with instance.
- network
Type String Network type of the instance.
- password
Inherit Boolean Whether to use the password preset by the mirror.
- period Number
The subscription period of the instance.
- private
Ip StringAddress The private IP address of the instance.
- ram
Role StringName The RAM role name of the instance.
- resource
Group StringId The ID of the resource group to which to assign the instance, Elastic Block Storage (EBS) device, and ENI.
- security
Enhancement StringStrategy Whether or not to activate the security enhancement feature and install network security software free of charge.
- security
Group StringId The security group ID.
- security
Group List<String>Ids The security group IDs.
- spot
Duration String The protection period of the preemptible instance.
- spot
Price NumberLimit Sets the maximum hourly instance price.
- spot
Strategy String The spot strategy for a Pay-As-You-Go instance.
- system
Disks List<Property Map> The System Disk.
- Map<Any>
The template tags.
- user
Data String The User Data.
- version
Description String The Version Description.
- vpc
Id String VpcId.
- vswitch
Id String The vswitch id.
- zone
Id String The Zone Id.
GetEcsLaunchTemplatesTemplateDataDisk
- Category string
The category of the system disk.
- Delete
With boolInstance Specifies whether to release the system disk when the instance is released.
- Description string
System disk description.
- Encrypted bool
Encrypted the data in this disk.
- Name string
System disk name.
- Performance
Level string The performance level of the ESSD used as the system disk.
- Size int
Size of the system disk, measured in GB.
- Snapshot
Id 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 system disk.
- Delete
With boolInstance Specifies whether to release the system disk when the instance is released.
- Description string
System disk description.
- Encrypted bool
Encrypted the data in this disk.
- Name string
System disk name.
- Performance
Level string The performance level of the ESSD used as the system disk.
- Size int
Size of the system disk, measured in GB.
- Snapshot
Id 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 system disk.
- delete
With BooleanInstance Specifies whether to release the system disk when the instance is released.
- description String
System disk description.
- encrypted Boolean
Encrypted the data in this disk.
- name String
System disk name.
- performance
Level String The performance level of the ESSD used as the system disk.
- size Integer
Size of the system disk, measured in GB.
- snapshot
Id 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 system disk.
- delete
With booleanInstance Specifies whether to release the system disk when the instance is released.
- description string
System disk description.
- encrypted boolean
Encrypted the data in this disk.
- name string
System disk name.
- performance
Level string The performance level of the ESSD used as the system disk.
- size number
Size of the system disk, measured in GB.
- snapshot
Id 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 system disk.
- delete_
with_ boolinstance Specifies whether to release the system disk when the instance is released.
- description str
System disk description.
- encrypted bool
Encrypted the data in this disk.
- 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.
- 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 system disk.
- delete
With BooleanInstance Specifies whether to release the system disk when the instance is released.
- description String
System disk description.
- encrypted Boolean
Encrypted the data in this disk.
- name String
System disk name.
- performance
Level String The performance level of the ESSD used as the system disk.
- size Number
Size of the system disk, measured in GB.
- snapshot
Id 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
System disk description.
- Name string
System disk name.
- Primary
Ip string The primary private IP address of the ENI.
- Security
Group stringId The security group ID.
- Vswitch
Id string The vswitch id.
- Description string
System disk description.
- Name string
System disk name.
- Primary
Ip string The primary private IP address of the ENI.
- Security
Group stringId The security group ID.
- Vswitch
Id string The vswitch id.
- description String
System disk description.
- name String
System disk name.
- primary
Ip String The primary private IP address of the ENI.
- security
Group StringId The security group ID.
- vswitch
Id String The vswitch id.
- description string
System disk description.
- name string
System disk name.
- primary
Ip string The primary private IP address of the ENI.
- security
Group stringId The security group ID.
- vswitch
Id string The vswitch id.
- description str
System disk description.
- name str
System disk name.
- primary_
ip str The primary private IP address of the ENI.
- security_
group_ strid The security group ID.
- vswitch_
id str The vswitch id.
- description String
System disk description.
- name String
System disk name.
- primary
Ip String The primary private IP address of the ENI.
- security
Group StringId The security group ID.
- vswitch
Id String The vswitch id.
GetEcsLaunchTemplatesTemplateSystemDisk
- Category string
The category of the system disk.
- Delete
With boolInstance 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.
- Performance
Level 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.
- Delete
With boolInstance 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.
- Performance
Level 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.
- delete
With BooleanInstance 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.
- performance
Level 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.
- delete
With booleanInstance 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.
- performance
Level 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_ boolinstance 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.
- delete
With BooleanInstance 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.
- performance
Level 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.