Class GetInstancesArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Ecs
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class GetInstancesArgs : InvokeArgs
Constructors
View SourceGetInstancesArgs()
Declaration
public GetInstancesArgs()
Properties
View SourceAvailabilityZone
Availability zone where instances are located.
Declaration
public string AvailabilityZone { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Ids
A list of ECS instance IDs.
Declaration
public List<string> Ids { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<System.String> |
ImageId
The image ID of some ECS instance used.
Declaration
public string ImageId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
NameRegex
A regex string to filter results by instance name.
Declaration
public string NameRegex { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
OutputFile
Declaration
public string OutputFile { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
RamRoleName
The RAM role name which the instance attaches.
Declaration
public string RamRoleName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ResourceGroupId
The Id of resource group which the instance belongs.
Declaration
public string ResourceGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Status
Instance status. Valid values: "Creating", "Starting", "Running", "Stopping" and "Stopped". If undefined, all statuses are considered.
Declaration
public string Status { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Tags
A map of tags assigned to the ECS instances. It must be in the format:
data "alicloud.ecs.getInstances" "taggedInstances" {
tags = {
tagKey1 = "tagValue1",
tagKey2 = "tagValue2"
}
}
Declaration
public Dictionary<string, object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.Dictionary<System.String, System.Object> |
VpcId
ID of the VPC linked to the instances.
Declaration
public string VpcId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
VswitchId
ID of the VSwitch linked to the instances.
Declaration
public string VswitchId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |