GetInstances

The alicloud.drds.Instance data source provides a collection of DRDS instances available in Alibaba Cloud account. Filters support regular expression for the instance name, searches by tags, and other filters which are listed below.

NOTE: Available in 1.35.0+.

Using GetInstances

function getInstances(args: GetInstancesArgs, opts?: InvokeOptions): Promise<GetInstancesResult>
function  get_instances(ids=None, name_regex=None, output_file=None, opts=None)
func GetInstances(ctx *Context, args *GetInstancesArgs, opts ...InvokeOption) (*GetInstancesResult, error)
public static class GetInstances {
    public static Task<GetInstancesResult> InvokeAsync(GetInstancesArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Ids List<string>

A list of DRDS instance IDs.

NameRegex string

A regex string to filter results by instance name.

OutputFile string
Ids []string

A list of DRDS instance IDs.

NameRegex string

A regex string to filter results by instance name.

OutputFile string
ids string[]

A list of DRDS instance IDs.

nameRegex string

A regex string to filter results by instance name.

outputFile string
ids List[str]

A list of DRDS instance IDs.

name_regex str

A regex string to filter results by instance name.

output_file str

GetInstances Result

The following output properties are available:

Descriptions List<string>

A list of DRDS descriptions.

Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>

A list of DRDS instance IDs.

Instances List<Pulumi.AliCloud.Drds.Outputs.GetInstancesInstance>

A list of DRDS instances.

NameRegex string
OutputFile string
Descriptions []string

A list of DRDS descriptions.

Id string

The provider-assigned unique ID for this managed resource.

Ids []string

A list of DRDS instance IDs.

Instances []GetInstancesInstance

A list of DRDS instances.

NameRegex string
OutputFile string
descriptions string[]

A list of DRDS descriptions.

id string

The provider-assigned unique ID for this managed resource.

ids string[]

A list of DRDS instance IDs.

instances GetInstancesInstance[]

A list of DRDS instances.

nameRegex string
outputFile string
descriptions List[str]

A list of DRDS descriptions.

id str

The provider-assigned unique ID for this managed resource.

ids List[str]

A list of DRDS instance IDs.

instances List[GetInstancesInstance]

A list of DRDS instances.

name_regex str
output_file str

Supporting Types

GetInstancesInstance

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

CreateTime int

Creation time of the instance.

Description string

The DRDS instance description.

Id string

The ID of the DRDS instance.

NetworkType string

Classic for public classic network or VPC for private network.

Status string

Status of the instance.

Type string

The DRDS Instance type.

Version int

The DRDS Instance version.

ZoneId string

Zone ID the instance belongs to.

CreateTime int

Creation time of the instance.

Description string

The DRDS instance description.

Id string

The ID of the DRDS instance.

NetworkType string

Classic for public classic network or VPC for private network.

Status string

Status of the instance.

Type string

The DRDS Instance type.

Version int

The DRDS Instance version.

ZoneId string

Zone ID the instance belongs to.

createTime number

Creation time of the instance.

description string

The DRDS instance description.

id string

The ID of the DRDS instance.

networkType string

Classic for public classic network or VPC for private network.

status string

Status of the instance.

type string

The DRDS Instance type.

version number

The DRDS Instance version.

zoneId string

Zone ID the instance belongs to.

create_time float

Creation time of the instance.

description str

The DRDS instance description.

id str

The ID of the DRDS instance.

network_type str

Classic for public classic network or VPC for private network.

status str

Status of the instance.

type str

The DRDS Instance type.

version float

The DRDS Instance version.

zone_id str

Zone ID the instance belongs to.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.