Alibaba Cloud v3.88.0 published on Saturday, Nov 1, 2025 by Pulumi
alicloud.ecs.getEcsKeyPairs
Start a Neo task
Explain and create an alicloud.ecs.getEcsKeyPairs resource
This data source provides the Ecs Key Pairs of the current Alibaba Cloud user.
NOTE: Available since v1.121.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const _default = alicloud.resourcemanager.getResourceGroups({});
const defaultEcsKeyPair = new alicloud.ecs.EcsKeyPair("default", {
keyPairName: name,
publicKey: "ssh-rsa AAAAB3Nza12345678qwertyuudsfsg",
resourceGroupId: _default.then(_default => _default.ids?.[1]),
tags: {
Created: "TF",
For: "KeyPair",
},
});
const ids = alicloud.ecs.getEcsKeyPairsOutput({
ids: [defaultEcsKeyPair.id],
});
export const ecsKeyPairId0 = ids.apply(ids => ids.pairs?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default = alicloud.resourcemanager.get_resource_groups()
default_ecs_key_pair = alicloud.ecs.EcsKeyPair("default",
key_pair_name=name,
public_key="ssh-rsa AAAAB3Nza12345678qwertyuudsfsg",
resource_group_id=default.ids[1],
tags={
"Created": "TF",
"For": "KeyPair",
})
ids = alicloud.ecs.get_ecs_key_pairs_output(ids=[default_ecs_key_pair.id])
pulumi.export("ecsKeyPairId0", ids.pairs[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_default, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{}, nil)
if err != nil {
return err
}
defaultEcsKeyPair, err := ecs.NewEcsKeyPair(ctx, "default", &ecs.EcsKeyPairArgs{
KeyPairName: pulumi.String(name),
PublicKey: pulumi.String("ssh-rsa AAAAB3Nza12345678qwertyuudsfsg"),
ResourceGroupId: pulumi.String(_default.Ids[1]),
Tags: pulumi.StringMap{
"Created": pulumi.String("TF"),
"For": pulumi.String("KeyPair"),
},
})
if err != nil {
return err
}
ids := ecs.GetEcsKeyPairsOutput(ctx, ecs.GetEcsKeyPairsOutputArgs{
Ids: pulumi.StringArray{
defaultEcsKeyPair.ID(),
},
}, nil)
ctx.Export("ecsKeyPairId0", ids.ApplyT(func(ids ecs.GetEcsKeyPairsResult) (*string, error) {
return &ids.Pairs[0].Id, nil
}).(pulumi.StringPtrOutput))
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var @default = AliCloud.ResourceManager.GetResourceGroups.Invoke();
var defaultEcsKeyPair = new AliCloud.Ecs.EcsKeyPair("default", new()
{
KeyPairName = name,
PublicKey = "ssh-rsa AAAAB3Nza12345678qwertyuudsfsg",
ResourceGroupId = @default.Apply(@default => @default.Apply(getResourceGroupsResult => getResourceGroupsResult.Ids[1])),
Tags =
{
{ "Created", "TF" },
{ "For", "KeyPair" },
},
});
var ids = AliCloud.Ecs.GetEcsKeyPairs.Invoke(new()
{
Ids = new[]
{
defaultEcsKeyPair.Id,
},
});
return new Dictionary<string, object?>
{
["ecsKeyPairId0"] = ids.Apply(getEcsKeyPairsResult => getEcsKeyPairsResult.Pairs[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.resourcemanager.ResourcemanagerFunctions;
import com.pulumi.alicloud.resourcemanager.inputs.GetResourceGroupsArgs;
import com.pulumi.alicloud.ecs.EcsKeyPair;
import com.pulumi.alicloud.ecs.EcsKeyPairArgs;
import com.pulumi.alicloud.ecs.EcsFunctions;
import com.pulumi.alicloud.ecs.inputs.GetEcsKeyPairsArgs;
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 config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
final var default = ResourcemanagerFunctions.getResourceGroups(GetResourceGroupsArgs.builder()
.build());
var defaultEcsKeyPair = new EcsKeyPair("defaultEcsKeyPair", EcsKeyPairArgs.builder()
.keyPairName(name)
.publicKey("ssh-rsa AAAAB3Nza12345678qwertyuudsfsg")
.resourceGroupId(default_.ids()[1])
.tags(Map.ofEntries(
Map.entry("Created", "TF"),
Map.entry("For", "KeyPair")
))
.build());
final var ids = EcsFunctions.getEcsKeyPairs(GetEcsKeyPairsArgs.builder()
.ids(defaultEcsKeyPair.id())
.build());
ctx.export("ecsKeyPairId0", ids.applyValue(_ids -> _ids.pairs()[0].id()));
}
}
configuration:
name:
type: string
default: terraform-example
resources:
defaultEcsKeyPair:
type: alicloud:ecs:EcsKeyPair
name: default
properties:
keyPairName: ${name}
publicKey: ssh-rsa AAAAB3Nza12345678qwertyuudsfsg
resourceGroupId: ${default.ids[1]}
tags:
Created: TF
For: KeyPair
variables:
default:
fn::invoke:
function: alicloud:resourcemanager:getResourceGroups
arguments: {}
ids:
fn::invoke:
function: alicloud:ecs:getEcsKeyPairs
arguments:
ids:
- ${defaultEcsKeyPair.id}
outputs:
ecsKeyPairId0: ${ids.pairs[0].id}
Using getEcsKeyPairs
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 getEcsKeyPairs(args: GetEcsKeyPairsArgs, opts?: InvokeOptions): Promise<GetEcsKeyPairsResult>
function getEcsKeyPairsOutput(args: GetEcsKeyPairsOutputArgs, opts?: InvokeOptions): Output<GetEcsKeyPairsResult>def get_ecs_key_pairs(finger_print: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
resource_group_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
opts: Optional[InvokeOptions] = None) -> GetEcsKeyPairsResult
def get_ecs_key_pairs_output(finger_print: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
resource_group_id: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEcsKeyPairsResult]func GetEcsKeyPairs(ctx *Context, args *GetEcsKeyPairsArgs, opts ...InvokeOption) (*GetEcsKeyPairsResult, error)
func GetEcsKeyPairsOutput(ctx *Context, args *GetEcsKeyPairsOutputArgs, opts ...InvokeOption) GetEcsKeyPairsResultOutput> Note: This function is named GetEcsKeyPairs in the Go SDK.
public static class GetEcsKeyPairs
{
public static Task<GetEcsKeyPairsResult> InvokeAsync(GetEcsKeyPairsArgs args, InvokeOptions? opts = null)
public static Output<GetEcsKeyPairsResult> Invoke(GetEcsKeyPairsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEcsKeyPairsResult> getEcsKeyPairs(GetEcsKeyPairsArgs args, InvokeOptions options)
public static Output<GetEcsKeyPairsResult> getEcsKeyPairs(GetEcsKeyPairsArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:ecs/getEcsKeyPairs:getEcsKeyPairs
arguments:
# arguments dictionaryThe following arguments are supported:
- Finger
Print string - The fingerprint of the key pair.
- Ids List<string>
- A list of Key Pair IDs.
- Name
Regex string - A regex string to filter results by Key Pair name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Resource
Group stringId - The ID of the resource group.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Finger
Print string - The fingerprint of the key pair.
- Ids []string
- A list of Key Pair IDs.
- Name
Regex string - A regex string to filter results by Key Pair name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Resource
Group stringId - The ID of the resource group.
- map[string]string
- A mapping of tags to assign to the resource.
- finger
Print String - The fingerprint of the key pair.
- ids List<String>
- A list of Key Pair IDs.
- name
Regex String - A regex string to filter results by Key Pair name.
- output
File String - File name where to save data source results (after running
pulumi preview). - resource
Group StringId - The ID of the resource group.
- Map<String,String>
- A mapping of tags to assign to the resource.
- finger
Print string - The fingerprint of the key pair.
- ids string[]
- A list of Key Pair IDs.
- name
Regex string - A regex string to filter results by Key Pair name.
- output
File string - File name where to save data source results (after running
pulumi preview). - resource
Group stringId - The ID of the resource group.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- finger_
print str - The fingerprint of the key pair.
- ids Sequence[str]
- A list of Key Pair IDs.
- name_
regex str - A regex string to filter results by Key Pair name.
- output_
file str - File name where to save data source results (after running
pulumi preview). - resource_
group_ strid - The ID of the resource group.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- finger
Print String - The fingerprint of the key pair.
- ids List<String>
- A list of Key Pair IDs.
- name
Regex String - A regex string to filter results by Key Pair name.
- output
File String - File name where to save data source results (after running
pulumi preview). - resource
Group StringId - The ID of the resource group.
- Map<String>
- A mapping of tags to assign to the resource.
getEcsKeyPairs Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Key
Pairs List<Pulumi.Ali Cloud. Ecs. Outputs. Get Ecs Key Pairs Key Pair> - (Deprecated since v1.121.0) A list of Ecs Key Pairs. Each element contains the following attributes:
- Names List<string>
- A list of Key Pair names.
- Pairs
List<Pulumi.
Ali Cloud. Ecs. Outputs. Get Ecs Key Pairs Pair> - A list of Ecs Key Pairs. Each element contains the following attributes:
- Finger
Print string - The fingerprint of the Key Pair.
- Name
Regex string - Output
File string - Resource
Group stringId - The ID of the resource group.
- Dictionary<string, string>
- The tags of the Key Pair.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Key
Pairs []GetEcs Key Pairs Key Pair - (Deprecated since v1.121.0) A list of Ecs Key Pairs. Each element contains the following attributes:
- Names []string
- A list of Key Pair names.
- Pairs
[]Get
Ecs Key Pairs Pair - A list of Ecs Key Pairs. Each element contains the following attributes:
- Finger
Print string - The fingerprint of the Key Pair.
- Name
Regex string - Output
File string - Resource
Group stringId - The ID of the resource group.
- map[string]string
- The tags of the Key Pair.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- key
Pairs List<GetEcs Key Pairs Key Pair> - (Deprecated since v1.121.0) A list of Ecs Key Pairs. Each element contains the following attributes:
- names List<String>
- A list of Key Pair names.
- pairs
List<Get
Ecs Key Pairs Pair> - A list of Ecs Key Pairs. Each element contains the following attributes:
- finger
Print String - The fingerprint of the Key Pair.
- name
Regex String - output
File String - resource
Group StringId - The ID of the resource group.
- Map<String,String>
- The tags of the Key Pair.
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- key
Pairs GetEcs Key Pairs Key Pair[] - (Deprecated since v1.121.0) A list of Ecs Key Pairs. Each element contains the following attributes:
- names string[]
- A list of Key Pair names.
- pairs
Get
Ecs Key Pairs Pair[] - A list of Ecs Key Pairs. Each element contains the following attributes:
- finger
Print string - The fingerprint of the Key Pair.
- name
Regex string - output
File string - resource
Group stringId - The ID of the resource group.
- {[key: string]: string}
- The tags of the Key Pair.
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- key_
pairs Sequence[GetEcs Key Pairs Key Pair] - (Deprecated since v1.121.0) A list of Ecs Key Pairs. Each element contains the following attributes:
- names Sequence[str]
- A list of Key Pair names.
- pairs
Sequence[Get
Ecs Key Pairs Pair] - A list of Ecs Key Pairs. Each element contains the following attributes:
- finger_
print str - The fingerprint of the Key Pair.
- name_
regex str - output_
file str - resource_
group_ strid - The ID of the resource group.
- Mapping[str, str]
- The tags of the Key Pair.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- key
Pairs List<Property Map> - (Deprecated since v1.121.0) A list of Ecs Key Pairs. Each element contains the following attributes:
- names List<String>
- A list of Key Pair names.
- pairs List<Property Map>
- A list of Ecs Key Pairs. Each element contains the following attributes:
- finger
Print String - The fingerprint of the Key Pair.
- name
Regex String - output
File String - resource
Group StringId - The ID of the resource group.
- Map<String>
- The tags of the Key Pair.
Supporting Types
GetEcsKeyPairsKeyPair
- Finger
Print string - The fingerprint of the key pair.
- Id string
- The ID of the Key Pair.
- Instances
List<Pulumi.
Ali Cloud. Ecs. Inputs. Get Ecs Key Pairs Key Pair Instance> - A list of ECS instances that has been bound this Key Pair.
- Key
Name string - The name of the key pair.
- Key
Pair stringName - The name of the Key Pair.
- Resource
Group stringId - The ID of the resource group.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Finger
Print string - The fingerprint of the key pair.
- Id string
- The ID of the Key Pair.
- Instances
[]Get
Ecs Key Pairs Key Pair Instance - A list of ECS instances that has been bound this Key Pair.
- Key
Name string - The name of the key pair.
- Key
Pair stringName - The name of the Key Pair.
- Resource
Group stringId - The ID of the resource group.
- map[string]string
- A mapping of tags to assign to the resource.
- finger
Print String - The fingerprint of the key pair.
- id String
- The ID of the Key Pair.
- instances
List<Get
Ecs Key Pairs Key Pair Instance> - A list of ECS instances that has been bound this Key Pair.
- key
Name String - The name of the key pair.
- key
Pair StringName - The name of the Key Pair.
- resource
Group StringId - The ID of the resource group.
- Map<String,String>
- A mapping of tags to assign to the resource.
- finger
Print string - The fingerprint of the key pair.
- id string
- The ID of the Key Pair.
- instances
Get
Ecs Key Pairs Key Pair Instance[] - A list of ECS instances that has been bound this Key Pair.
- key
Name string - The name of the key pair.
- key
Pair stringName - The name of the Key Pair.
- resource
Group stringId - The ID of the resource group.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- finger_
print str - The fingerprint of the key pair.
- id str
- The ID of the Key Pair.
- instances
Sequence[Get
Ecs Key Pairs Key Pair Instance] - A list of ECS instances that has been bound this Key Pair.
- key_
name str - The name of the key pair.
- key_
pair_ strname - The name of the Key Pair.
- resource_
group_ strid - The ID of the resource group.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- finger
Print String - The fingerprint of the key pair.
- id String
- The ID of the Key Pair.
- instances List<Property Map>
- A list of ECS instances that has been bound this Key Pair.
- key
Name String - The name of the key pair.
- key
Pair StringName - The name of the Key Pair.
- resource
Group StringId - The ID of the resource group.
- Map<String>
- A mapping of tags to assign to the resource.
GetEcsKeyPairsKeyPairInstance
- Availability
Zone string - The zone ID of the instance.
- Description string
- The description of the ECS instance.
- Image
Id string - The image ID of the instance.
- Instance
Id string - The ID of the ECS instance.
- Instance
Name string - The name of the ECS instance.
- Instance
Type string - The instance type of the instance.
- Key
Name string - The name of the key pair.
- Private
Ip string - The private IP address of the ECS instance.
- Public
Ip string - The public IP address or EIP of the ECS instance.
- Region
Id string - The region ID of the instance.
- Status string
- The status of the instance.
- Vswitch
Id string - The ID of the vSwitch.
- Availability
Zone string - The zone ID of the instance.
- Description string
- The description of the ECS instance.
- Image
Id string - The image ID of the instance.
- Instance
Id string - The ID of the ECS instance.
- Instance
Name string - The name of the ECS instance.
- Instance
Type string - The instance type of the instance.
- Key
Name string - The name of the key pair.
- Private
Ip string - The private IP address of the ECS instance.
- Public
Ip string - The public IP address or EIP of the ECS instance.
- Region
Id string - The region ID of the instance.
- Status string
- The status of the instance.
- Vswitch
Id string - The ID of the vSwitch.
- availability
Zone String - The zone ID of the instance.
- description String
- The description of the ECS instance.
- image
Id String - The image ID of the instance.
- instance
Id String - The ID of the ECS instance.
- instance
Name String - The name of the ECS instance.
- instance
Type String - The instance type of the instance.
- key
Name String - The name of the key pair.
- private
Ip String - The private IP address of the ECS instance.
- public
Ip String - The public IP address or EIP of the ECS instance.
- region
Id String - The region ID of the instance.
- status String
- The status of the instance.
- vswitch
Id String - The ID of the vSwitch.
- availability
Zone string - The zone ID of the instance.
- description string
- The description of the ECS instance.
- image
Id string - The image ID of the instance.
- instance
Id string - The ID of the ECS instance.
- instance
Name string - The name of the ECS instance.
- instance
Type string - The instance type of the instance.
- key
Name string - The name of the key pair.
- private
Ip string - The private IP address of the ECS instance.
- public
Ip string - The public IP address or EIP of the ECS instance.
- region
Id string - The region ID of the instance.
- status string
- The status of the instance.
- vswitch
Id string - The ID of the vSwitch.
- availability_
zone str - The zone ID of the instance.
- description str
- The description of the ECS instance.
- image_
id str - The image ID of the instance.
- instance_
id str - The ID of the ECS instance.
- instance_
name str - The name of the ECS instance.
- instance_
type str - The instance type of the instance.
- key_
name str - The name of the key pair.
- private_
ip str - The private IP address of the ECS instance.
- public_
ip str - The public IP address or EIP of the ECS instance.
- region_
id str - The region ID of the instance.
- status str
- The status of the instance.
- vswitch_
id str - The ID of the vSwitch.
- availability
Zone String - The zone ID of the instance.
- description String
- The description of the ECS instance.
- image
Id String - The image ID of the instance.
- instance
Id String - The ID of the ECS instance.
- instance
Name String - The name of the ECS instance.
- instance
Type String - The instance type of the instance.
- key
Name String - The name of the key pair.
- private
Ip String - The private IP address of the ECS instance.
- public
Ip String - The public IP address or EIP of the ECS instance.
- region
Id String - The region ID of the instance.
- status String
- The status of the instance.
- vswitch
Id String - The ID of the vSwitch.
GetEcsKeyPairsPair
- Finger
Print string - The fingerprint of the key pair.
- Id string
- The ID of the Key Pair.
- Instances
List<Pulumi.
Ali Cloud. Ecs. Inputs. Get Ecs Key Pairs Pair Instance> - A list of ECS instances that has been bound this Key Pair.
- Key
Name string - The name of the key pair.
- Key
Pair stringName - The name of the Key Pair.
- Resource
Group stringId - The ID of the resource group.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Finger
Print string - The fingerprint of the key pair.
- Id string
- The ID of the Key Pair.
- Instances
[]Get
Ecs Key Pairs Pair Instance - A list of ECS instances that has been bound this Key Pair.
- Key
Name string - The name of the key pair.
- Key
Pair stringName - The name of the Key Pair.
- Resource
Group stringId - The ID of the resource group.
- map[string]string
- A mapping of tags to assign to the resource.
- finger
Print String - The fingerprint of the key pair.
- id String
- The ID of the Key Pair.
- instances
List<Get
Ecs Key Pairs Pair Instance> - A list of ECS instances that has been bound this Key Pair.
- key
Name String - The name of the key pair.
- key
Pair StringName - The name of the Key Pair.
- resource
Group StringId - The ID of the resource group.
- Map<String,String>
- A mapping of tags to assign to the resource.
- finger
Print string - The fingerprint of the key pair.
- id string
- The ID of the Key Pair.
- instances
Get
Ecs Key Pairs Pair Instance[] - A list of ECS instances that has been bound this Key Pair.
- key
Name string - The name of the key pair.
- key
Pair stringName - The name of the Key Pair.
- resource
Group stringId - The ID of the resource group.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- finger_
print str - The fingerprint of the key pair.
- id str
- The ID of the Key Pair.
- instances
Sequence[Get
Ecs Key Pairs Pair Instance] - A list of ECS instances that has been bound this Key Pair.
- key_
name str - The name of the key pair.
- key_
pair_ strname - The name of the Key Pair.
- resource_
group_ strid - The ID of the resource group.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- finger
Print String - The fingerprint of the key pair.
- id String
- The ID of the Key Pair.
- instances List<Property Map>
- A list of ECS instances that has been bound this Key Pair.
- key
Name String - The name of the key pair.
- key
Pair StringName - The name of the Key Pair.
- resource
Group StringId - The ID of the resource group.
- Map<String>
- A mapping of tags to assign to the resource.
GetEcsKeyPairsPairInstance
- Availability
Zone string - The zone ID of the instance.
- Description string
- The description of the ECS instance.
- Image
Id string - The image ID of the instance.
- Instance
Id string - The ID of the ECS instance.
- Instance
Name string - The name of the ECS instance.
- Instance
Type string - The instance type of the instance.
- Key
Name string - The name of the key pair.
- Private
Ip string - The private IP address of the ECS instance.
- Public
Ip string - The public IP address or EIP of the ECS instance.
- Region
Id string - The region ID of the instance.
- Status string
- The status of the instance.
- Vswitch
Id string - The ID of the vSwitch.
- Availability
Zone string - The zone ID of the instance.
- Description string
- The description of the ECS instance.
- Image
Id string - The image ID of the instance.
- Instance
Id string - The ID of the ECS instance.
- Instance
Name string - The name of the ECS instance.
- Instance
Type string - The instance type of the instance.
- Key
Name string - The name of the key pair.
- Private
Ip string - The private IP address of the ECS instance.
- Public
Ip string - The public IP address or EIP of the ECS instance.
- Region
Id string - The region ID of the instance.
- Status string
- The status of the instance.
- Vswitch
Id string - The ID of the vSwitch.
- availability
Zone String - The zone ID of the instance.
- description String
- The description of the ECS instance.
- image
Id String - The image ID of the instance.
- instance
Id String - The ID of the ECS instance.
- instance
Name String - The name of the ECS instance.
- instance
Type String - The instance type of the instance.
- key
Name String - The name of the key pair.
- private
Ip String - The private IP address of the ECS instance.
- public
Ip String - The public IP address or EIP of the ECS instance.
- region
Id String - The region ID of the instance.
- status String
- The status of the instance.
- vswitch
Id String - The ID of the vSwitch.
- availability
Zone string - The zone ID of the instance.
- description string
- The description of the ECS instance.
- image
Id string - The image ID of the instance.
- instance
Id string - The ID of the ECS instance.
- instance
Name string - The name of the ECS instance.
- instance
Type string - The instance type of the instance.
- key
Name string - The name of the key pair.
- private
Ip string - The private IP address of the ECS instance.
- public
Ip string - The public IP address or EIP of the ECS instance.
- region
Id string - The region ID of the instance.
- status string
- The status of the instance.
- vswitch
Id string - The ID of the vSwitch.
- availability_
zone str - The zone ID of the instance.
- description str
- The description of the ECS instance.
- image_
id str - The image ID of the instance.
- instance_
id str - The ID of the ECS instance.
- instance_
name str - The name of the ECS instance.
- instance_
type str - The instance type of the instance.
- key_
name str - The name of the key pair.
- private_
ip str - The private IP address of the ECS instance.
- public_
ip str - The public IP address or EIP of the ECS instance.
- region_
id str - The region ID of the instance.
- status str
- The status of the instance.
- vswitch_
id str - The ID of the vSwitch.
- availability
Zone String - The zone ID of the instance.
- description String
- The description of the ECS instance.
- image
Id String - The image ID of the instance.
- instance
Id String - The ID of the ECS instance.
- instance
Name String - The name of the ECS instance.
- instance
Type String - The instance type of the instance.
- key
Name String - The name of the key pair.
- private
Ip String - The private IP address of the ECS instance.
- public
Ip String - The public IP address or EIP of the ECS instance.
- region
Id String - The region ID of the instance.
- status String
- The status of the instance.
- vswitch
Id String - The ID of the vSwitch.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
