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.
- Name
Regex string A regex string to filter results by instance name.
- Output
File 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.
Ali Cloud. Drds. Outputs. Get Instances Instance> A list of DRDS instances.
- Name
Regex string - Output
File 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
[]Get
Instances Instance A list of DRDS instances.
- Name
Regex string - Output
File 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
Get
Instances Instance[] A list of DRDS instances.
- name
Regex string - output
File 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[Get
Instances Instance] 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.
- Create
Time int Creation time of the instance.
- Description string
The DRDS instance description.
- Id string
The ID of the DRDS instance.
- Network
Type string Classicfor public classic network orVPCfor private network.- Status string
Status of the instance.
- Type string
The DRDS Instance type.
- Version int
The DRDS Instance version.
- Zone
Id string Zone ID the instance belongs to.
- Create
Time int Creation time of the instance.
- Description string
The DRDS instance description.
- Id string
The ID of the DRDS instance.
- Network
Type string Classicfor public classic network orVPCfor private network.- Status string
Status of the instance.
- Type string
The DRDS Instance type.
- Version int
The DRDS Instance version.
- Zone
Id string Zone ID the instance belongs to.
- create
Time number Creation time of the instance.
- description string
The DRDS instance description.
- id string
The ID of the DRDS instance.
- network
Type string Classicfor public classic network orVPCfor private network.- status string
Status of the instance.
- type string
The DRDS Instance type.
- version number
The DRDS Instance version.
- zone
Id 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 Classicfor public classic network orVPCfor 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
alicloudTerraform Provider.