1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. ecp
  5. getInstances
Alibaba Cloud v3.54.0 published on Wednesday, Apr 24, 2024 by Pulumi

alicloud.ecp.getInstances

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.54.0 published on Wednesday, Apr 24, 2024 by Pulumi

    This data source provides the Ecp Instances of the current Alibaba Cloud user.

    NOTE: Available in v1.158.0+.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const default = alicloud.ecp.getZones({});
    const defaultGetInstanceTypes = alicloud.ecp.getInstanceTypes({});
    const countSize = _default.then(_default => _default.zones).length;
    const zoneId = Promise.all([_default, countSize]).then(([_default, countSize]) => _default.zones[countSize - 1].zoneId);
    const instanceTypeCountSize = defaultGetInstanceTypes.then(defaultGetInstanceTypes => defaultGetInstanceTypes.instanceTypes).length;
    const instanceType = Promise.all([defaultGetInstanceTypes, instanceTypeCountSize]).then(([defaultGetInstanceTypes, instanceTypeCountSize]) => defaultGetInstanceTypes.instanceTypes[instanceTypeCountSize - 1].instanceType);
    const defaultGetNetworks = alicloud.vpc.getNetworks({
        nameRegex: "default-NODELETING",
    });
    const defaultGetSwitches = defaultGetNetworks.then(defaultGetNetworks => alicloud.vpc.getSwitches({
        vpcId: defaultGetNetworks.ids?.[0],
        zoneId: zoneId,
    }));
    const group = new alicloud.ecs.SecurityGroup("group", {
        name: name,
        vpcId: defaultGetNetworks.then(defaultGetNetworks => defaultGetNetworks.ids?.[0]),
    });
    const defaultKeyPair = new alicloud.ecp.KeyPair("default", {
        keyPairName: name,
        publicKeyBody: "ssh-rsa AAAAB3Nza12345678qwertyuudsfsg",
    });
    const defaultInstance = new alicloud.ecp.Instance("default", {
        instanceName: name,
        description: name,
        force: true,
        keyPairName: defaultKeyPair.keyPairName,
        vswitchId: defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.ids?.[0]),
        imageId: "android_9_0_0_release_2851157_20211201.vhd",
        instanceType: Promise.all([defaultGetInstanceTypes, instanceTypeCountSize]).then(([defaultGetInstanceTypes, instanceTypeCountSize]) => defaultGetInstanceTypes.instanceTypes[instanceTypeCountSize - 1].instanceType),
        paymentType: "PayAsYouGo",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    default = alicloud.ecp.get_zones()
    default_get_instance_types = alicloud.ecp.get_instance_types()
    count_size = len(default.zones)
    zone_id = default.zones[count_size - 1].zone_id
    instance_type_count_size = len(default_get_instance_types.instance_types)
    instance_type = default_get_instance_types.instance_types[instance_type_count_size - 1].instance_type
    default_get_networks = alicloud.vpc.get_networks(name_regex="default-NODELETING")
    default_get_switches = alicloud.vpc.get_switches(vpc_id=default_get_networks.ids[0],
        zone_id=zone_id)
    group = alicloud.ecs.SecurityGroup("group",
        name=name,
        vpc_id=default_get_networks.ids[0])
    default_key_pair = alicloud.ecp.KeyPair("default",
        key_pair_name=name,
        public_key_body="ssh-rsa AAAAB3Nza12345678qwertyuudsfsg")
    default_instance = alicloud.ecp.Instance("default",
        instance_name=name,
        description=name,
        force=True,
        key_pair_name=default_key_pair.key_pair_name,
        vswitch_id=default_get_switches.ids[0],
        image_id="android_9_0_0_release_2851157_20211201.vhd",
        instance_type=default_get_instance_types.instance_types[instance_type_count_size - 1].instance_type,
        payment_type="PayAsYouGo")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecp"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_default, err := ecp.GetZones(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		defaultGetInstanceTypes, err := ecp.GetInstanceTypes(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		countSize := len(_default.Zones)
    		zoneId := _default.Zones[countSize-1].ZoneId
    		instanceTypeCountSize := len(defaultGetInstanceTypes.InstanceTypes)
    		_ := defaultGetInstanceTypes.InstanceTypes[instanceTypeCountSize-1].InstanceType
    		defaultGetNetworks, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{
    			NameRegex: pulumi.StringRef("default-NODELETING"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		defaultGetSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{
    			VpcId:  pulumi.StringRef(defaultGetNetworks.Ids[0]),
    			ZoneId: pulumi.StringRef(zoneId),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = ecs.NewSecurityGroup(ctx, "group", &ecs.SecurityGroupArgs{
    			Name:  pulumi.Any(name),
    			VpcId: pulumi.String(defaultGetNetworks.Ids[0]),
    		})
    		if err != nil {
    			return err
    		}
    		defaultKeyPair, err := ecp.NewKeyPair(ctx, "default", &ecp.KeyPairArgs{
    			KeyPairName:   pulumi.Any(name),
    			PublicKeyBody: pulumi.String("ssh-rsa AAAAB3Nza12345678qwertyuudsfsg"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = ecp.NewInstance(ctx, "default", &ecp.InstanceArgs{
    			InstanceName: pulumi.Any(name),
    			Description:  pulumi.Any(name),
    			Force:        pulumi.Bool(true),
    			KeyPairName:  defaultKeyPair.KeyPairName,
    			VswitchId:    pulumi.String(defaultGetSwitches.Ids[0]),
    			ImageId:      pulumi.String("android_9_0_0_release_2851157_20211201.vhd"),
    			InstanceType: defaultGetInstanceTypes.InstanceTypes[instanceTypeCountSize-1].InstanceType,
    			PaymentType:  pulumi.String("PayAsYouGo"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = AliCloud.Ecp.GetZones.Invoke();
    
        var defaultGetInstanceTypes = AliCloud.Ecp.GetInstanceTypes.Invoke();
    
        var countSize = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones)).Length;
    
        var zoneId = Output.Tuple(@default, countSize).Apply(values =>
        {
            var @default = values.Item1;
            var countSize = values.Item2;
            return @default.Apply(getZonesResult => getZonesResult.Zones)[countSize - 1].ZoneId;
        });
    
        var instanceTypeCountSize = defaultGetInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes).Length;
    
        var instanceType = Output.Tuple(defaultGetInstanceTypes, instanceTypeCountSize).Apply(values =>
        {
            var defaultGetInstanceTypes = values.Item1;
            var instanceTypeCountSize = values.Item2;
            return defaultGetInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes)[instanceTypeCountSize - 1].InstanceType;
        });
    
        var defaultGetNetworks = AliCloud.Vpc.GetNetworks.Invoke(new()
        {
            NameRegex = "default-NODELETING",
        });
    
        var defaultGetSwitches = AliCloud.Vpc.GetSwitches.Invoke(new()
        {
            VpcId = defaultGetNetworks.Apply(getNetworksResult => getNetworksResult.Ids[0]),
            ZoneId = zoneId,
        });
    
        var @group = new AliCloud.Ecs.SecurityGroup("group", new()
        {
            Name = name,
            VpcId = defaultGetNetworks.Apply(getNetworksResult => getNetworksResult.Ids[0]),
        });
    
        var defaultKeyPair = new AliCloud.Ecp.KeyPair("default", new()
        {
            KeyPairName = name,
            PublicKeyBody = "ssh-rsa AAAAB3Nza12345678qwertyuudsfsg",
        });
    
        var defaultInstance = new AliCloud.Ecp.Instance("default", new()
        {
            InstanceName = name,
            Description = name,
            Force = true,
            KeyPairName = defaultKeyPair.KeyPairName,
            VswitchId = defaultGetSwitches.Apply(getSwitchesResult => getSwitchesResult.Ids[0]),
            ImageId = "android_9_0_0_release_2851157_20211201.vhd",
            InstanceType = Output.Tuple(defaultGetInstanceTypes, instanceTypeCountSize).Apply(values =>
            {
                var defaultGetInstanceTypes = values.Item1;
                var instanceTypeCountSize = values.Item2;
                return defaultGetInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes)[instanceTypeCountSize - 1].InstanceType;
            }),
            PaymentType = "PayAsYouGo",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.ecp.EcpFunctions;
    import com.pulumi.alicloud.ecp.inputs.GetZonesArgs;
    import com.pulumi.alicloud.ecp.inputs.GetInstanceTypesArgs;
    import com.pulumi.alicloud.vpc.VpcFunctions;
    import com.pulumi.alicloud.vpc.inputs.GetNetworksArgs;
    import com.pulumi.alicloud.vpc.inputs.GetSwitchesArgs;
    import com.pulumi.alicloud.ecs.SecurityGroup;
    import com.pulumi.alicloud.ecs.SecurityGroupArgs;
    import com.pulumi.alicloud.ecp.KeyPair;
    import com.pulumi.alicloud.ecp.KeyPairArgs;
    import com.pulumi.alicloud.ecp.Instance;
    import com.pulumi.alicloud.ecp.InstanceArgs;
    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 default = EcpFunctions.getZones();
    
            final var defaultGetInstanceTypes = EcpFunctions.getInstanceTypes();
    
            final var countSize = default_.zones().length();
    
            final var zoneId = default_.zones()[countSize - 1].zoneId();
    
            final var instanceTypeCountSize = defaultGetInstanceTypes.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()).length();
    
            final var instanceType = defaultGetInstanceTypes.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes())[instanceTypeCountSize - 1].instanceType();
    
            final var defaultGetNetworks = VpcFunctions.getNetworks(GetNetworksArgs.builder()
                .nameRegex("default-NODELETING")
                .build());
    
            final var defaultGetSwitches = VpcFunctions.getSwitches(GetSwitchesArgs.builder()
                .vpcId(defaultGetNetworks.applyValue(getNetworksResult -> getNetworksResult.ids()[0]))
                .zoneId(zoneId)
                .build());
    
            var group = new SecurityGroup("group", SecurityGroupArgs.builder()        
                .name(name)
                .vpcId(defaultGetNetworks.applyValue(getNetworksResult -> getNetworksResult.ids()[0]))
                .build());
    
            var defaultKeyPair = new KeyPair("defaultKeyPair", KeyPairArgs.builder()        
                .keyPairName(name)
                .publicKeyBody("ssh-rsa AAAAB3Nza12345678qwertyuudsfsg")
                .build());
    
            var defaultInstance = new Instance("defaultInstance", InstanceArgs.builder()        
                .instanceName(name)
                .description(name)
                .force("true")
                .keyPairName(defaultKeyPair.keyPairName())
                .vswitchId(defaultGetSwitches.applyValue(getSwitchesResult -> getSwitchesResult.ids()[0]))
                .imageId("android_9_0_0_release_2851157_20211201.vhd")
                .instanceType(defaultGetInstanceTypes.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes())[instanceTypeCountSize - 1].instanceType())
                .paymentType("PayAsYouGo")
                .build());
    
        }
    }
    
    Coming soon!
    

    Using getInstances

    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 getInstances(args: GetInstancesArgs, opts?: InvokeOptions): Promise<GetInstancesResult>
    function getInstancesOutput(args: GetInstancesOutputArgs, opts?: InvokeOptions): Output<GetInstancesResult>
    def get_instances(enable_details: Optional[bool] = None,
                      ids: Optional[Sequence[str]] = None,
                      image_id: Optional[str] = None,
                      instance_name: Optional[str] = None,
                      instance_type: Optional[str] = None,
                      key_pair_name: Optional[str] = None,
                      name_regex: Optional[str] = None,
                      output_file: Optional[str] = None,
                      payment_type: Optional[str] = None,
                      resolution: Optional[str] = None,
                      status: Optional[str] = None,
                      zone_id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetInstancesResult
    def get_instances_output(enable_details: Optional[pulumi.Input[bool]] = None,
                      ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                      image_id: Optional[pulumi.Input[str]] = None,
                      instance_name: Optional[pulumi.Input[str]] = None,
                      instance_type: Optional[pulumi.Input[str]] = None,
                      key_pair_name: Optional[pulumi.Input[str]] = None,
                      name_regex: Optional[pulumi.Input[str]] = None,
                      output_file: Optional[pulumi.Input[str]] = None,
                      payment_type: Optional[pulumi.Input[str]] = None,
                      resolution: Optional[pulumi.Input[str]] = None,
                      status: Optional[pulumi.Input[str]] = None,
                      zone_id: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetInstancesResult]
    func GetInstances(ctx *Context, args *GetInstancesArgs, opts ...InvokeOption) (*GetInstancesResult, error)
    func GetInstancesOutput(ctx *Context, args *GetInstancesOutputArgs, opts ...InvokeOption) GetInstancesResultOutput

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

    public static class GetInstances 
    {
        public static Task<GetInstancesResult> InvokeAsync(GetInstancesArgs args, InvokeOptions? opts = null)
        public static Output<GetInstancesResult> Invoke(GetInstancesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInstancesResult> getInstances(GetInstancesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:ecp/getInstances:getInstances
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EnableDetails bool
    Ids List<string>
    A list of Ecp Instances IDs.
    ImageId string
    The ID Of The Image.
    InstanceName string
    The name of the instance. It must be 2 to 128 characters in length and must start with an uppercase letter or Chinese. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
    InstanceType string
    Instance Type.
    KeyPairName string
    The name of the key pair of the mobile phone instance.
    NameRegex string
    A regex string to filter results by mobile phone name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    PaymentType string
    The payment type.Valid values: PayAsYouGo,Subscription
    Resolution string
    The selected resolution for the cloud mobile phone instance.
    Status string
    Instance status. Valid values: Pending, Running, Starting, Stopped, Stopping .
    ZoneId string
    EnableDetails bool
    Ids []string
    A list of Ecp Instances IDs.
    ImageId string
    The ID Of The Image.
    InstanceName string
    The name of the instance. It must be 2 to 128 characters in length and must start with an uppercase letter or Chinese. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
    InstanceType string
    Instance Type.
    KeyPairName string
    The name of the key pair of the mobile phone instance.
    NameRegex string
    A regex string to filter results by mobile phone name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    PaymentType string
    The payment type.Valid values: PayAsYouGo,Subscription
    Resolution string
    The selected resolution for the cloud mobile phone instance.
    Status string
    Instance status. Valid values: Pending, Running, Starting, Stopped, Stopping .
    ZoneId string
    enableDetails Boolean
    ids List<String>
    A list of Ecp Instances IDs.
    imageId String
    The ID Of The Image.
    instanceName String
    The name of the instance. It must be 2 to 128 characters in length and must start with an uppercase letter or Chinese. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
    instanceType String
    Instance Type.
    keyPairName String
    The name of the key pair of the mobile phone instance.
    nameRegex String
    A regex string to filter results by mobile phone name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    paymentType String
    The payment type.Valid values: PayAsYouGo,Subscription
    resolution String
    The selected resolution for the cloud mobile phone instance.
    status String
    Instance status. Valid values: Pending, Running, Starting, Stopped, Stopping .
    zoneId String
    enableDetails boolean
    ids string[]
    A list of Ecp Instances IDs.
    imageId string
    The ID Of The Image.
    instanceName string
    The name of the instance. It must be 2 to 128 characters in length and must start with an uppercase letter or Chinese. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
    instanceType string
    Instance Type.
    keyPairName string
    The name of the key pair of the mobile phone instance.
    nameRegex string
    A regex string to filter results by mobile phone name.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    paymentType string
    The payment type.Valid values: PayAsYouGo,Subscription
    resolution string
    The selected resolution for the cloud mobile phone instance.
    status string
    Instance status. Valid values: Pending, Running, Starting, Stopped, Stopping .
    zoneId string
    enable_details bool
    ids Sequence[str]
    A list of Ecp Instances IDs.
    image_id str
    The ID Of The Image.
    instance_name str
    The name of the instance. It must be 2 to 128 characters in length and must start with an uppercase letter or Chinese. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
    instance_type str
    Instance Type.
    key_pair_name str
    The name of the key pair of the mobile phone instance.
    name_regex str
    A regex string to filter results by mobile phone name.
    output_file str
    File name where to save data source results (after running pulumi preview).
    payment_type str
    The payment type.Valid values: PayAsYouGo,Subscription
    resolution str
    The selected resolution for the cloud mobile phone instance.
    status str
    Instance status. Valid values: Pending, Running, Starting, Stopped, Stopping .
    zone_id str
    enableDetails Boolean
    ids List<String>
    A list of Ecp Instances IDs.
    imageId String
    The ID Of The Image.
    instanceName String
    The name of the instance. It must be 2 to 128 characters in length and must start with an uppercase letter or Chinese. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-). The default value is the InstanceId of the instance.
    instanceType String
    Instance Type.
    keyPairName String
    The name of the key pair of the mobile phone instance.
    nameRegex String
    A regex string to filter results by mobile phone name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    paymentType String
    The payment type.Valid values: PayAsYouGo,Subscription
    resolution String
    The selected resolution for the cloud mobile phone instance.
    status String
    Instance status. Valid values: Pending, Running, Starting, Stopped, Stopping .
    zoneId String

    getInstances Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    Instances List<Pulumi.AliCloud.Ecp.Outputs.GetInstancesInstance>
    Names List<string>
    EnableDetails bool
    ImageId string
    InstanceName string
    InstanceType string
    KeyPairName string
    NameRegex string
    OutputFile string
    PaymentType string
    Resolution string
    Status string
    ZoneId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    Instances []GetInstancesInstance
    Names []string
    EnableDetails bool
    ImageId string
    InstanceName string
    InstanceType string
    KeyPairName string
    NameRegex string
    OutputFile string
    PaymentType string
    Resolution string
    Status string
    ZoneId string
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    instances List<GetInstancesInstance>
    names List<String>
    enableDetails Boolean
    imageId String
    instanceName String
    instanceType String
    keyPairName String
    nameRegex String
    outputFile String
    paymentType String
    resolution String
    status String
    zoneId String
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    instances GetInstancesInstance[]
    names string[]
    enableDetails boolean
    imageId string
    instanceName string
    instanceType string
    keyPairName string
    nameRegex string
    outputFile string
    paymentType string
    resolution string
    status string
    zoneId string
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    instances Sequence[GetInstancesInstance]
    names Sequence[str]
    enable_details bool
    image_id str
    instance_name str
    instance_type str
    key_pair_name str
    name_regex str
    output_file str
    payment_type str
    resolution str
    status str
    zone_id str
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    instances List<Property Map>
    names List<String>
    enableDetails Boolean
    imageId String
    instanceName String
    instanceType String
    keyPairName String
    nameRegex String
    outputFile String
    paymentType String
    resolution String
    status String
    zoneId String

    Supporting Types

    GetInstancesInstance

    Description string
    Instance Description.
    Id string
    The ID of the Instance.
    ImageId string
    The ID Of The Image.
    InstanceId string
    InstanceId.
    InstanceName string
    Instance Name.
    InstanceType string
    Instance Type.
    KeyPairName string
    The Key Name.
    PaymentType string
    The payment type.Valid values: PayAsYouGo,Subscription
    Resolution string
    Resolution.
    SecurityGroupId string
    Security Group ID.
    Status string
    Instance Status.
    VncUrl string
    VNC login address.
    VswitchId string
    The vswitch id.
    ZoneId string
    Description string
    Instance Description.
    Id string
    The ID of the Instance.
    ImageId string
    The ID Of The Image.
    InstanceId string
    InstanceId.
    InstanceName string
    Instance Name.
    InstanceType string
    Instance Type.
    KeyPairName string
    The Key Name.
    PaymentType string
    The payment type.Valid values: PayAsYouGo,Subscription
    Resolution string
    Resolution.
    SecurityGroupId string
    Security Group ID.
    Status string
    Instance Status.
    VncUrl string
    VNC login address.
    VswitchId string
    The vswitch id.
    ZoneId string
    description String
    Instance Description.
    id String
    The ID of the Instance.
    imageId String
    The ID Of The Image.
    instanceId String
    InstanceId.
    instanceName String
    Instance Name.
    instanceType String
    Instance Type.
    keyPairName String
    The Key Name.
    paymentType String
    The payment type.Valid values: PayAsYouGo,Subscription
    resolution String
    Resolution.
    securityGroupId String
    Security Group ID.
    status String
    Instance Status.
    vncUrl String
    VNC login address.
    vswitchId String
    The vswitch id.
    zoneId String
    description string
    Instance Description.
    id string
    The ID of the Instance.
    imageId string
    The ID Of The Image.
    instanceId string
    InstanceId.
    instanceName string
    Instance Name.
    instanceType string
    Instance Type.
    keyPairName string
    The Key Name.
    paymentType string
    The payment type.Valid values: PayAsYouGo,Subscription
    resolution string
    Resolution.
    securityGroupId string
    Security Group ID.
    status string
    Instance Status.
    vncUrl string
    VNC login address.
    vswitchId string
    The vswitch id.
    zoneId string
    description str
    Instance Description.
    id str
    The ID of the Instance.
    image_id str
    The ID Of The Image.
    instance_id str
    InstanceId.
    instance_name str
    Instance Name.
    instance_type str
    Instance Type.
    key_pair_name str
    The Key Name.
    payment_type str
    The payment type.Valid values: PayAsYouGo,Subscription
    resolution str
    Resolution.
    security_group_id str
    Security Group ID.
    status str
    Instance Status.
    vnc_url str
    VNC login address.
    vswitch_id str
    The vswitch id.
    zone_id str
    description String
    Instance Description.
    id String
    The ID of the Instance.
    imageId String
    The ID Of The Image.
    instanceId String
    InstanceId.
    instanceName String
    Instance Name.
    instanceType String
    Instance Type.
    keyPairName String
    The Key Name.
    paymentType String
    The payment type.Valid values: PayAsYouGo,Subscription
    resolution String
    Resolution.
    securityGroupId String
    Security Group ID.
    status String
    Instance Status.
    vncUrl String
    VNC login address.
    vswitchId String
    The vswitch id.
    zoneId String

    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.54.0 published on Wednesday, Apr 24, 2024 by Pulumi