Class GetDisksArgs
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 GetDisksArgs : InvokeArgs
Constructors
View SourceGetDisksArgs()
Declaration
public GetDisksArgs()
Properties
View SourceCategory
Disk category. Possible values: cloud (basic cloud disk), cloud_efficiency (ultra cloud disk), ephemeral_ssd (local SSD cloud disk), cloud_ssd (SSD cloud disk), and cloud_essd (ESSD cloud disk).
Declaration
public string Category { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Encrypted
Indicate whether the disk is encrypted or not. Possible values: on and off.
Declaration
public string Encrypted { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Ids
A list of disks IDs.
Declaration
public List<string> Ids { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<System.String> |
InstanceId
Filter the results by the specified ECS instance ID.
Declaration
public string InstanceId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
NameRegex
A regex string to filter results by disk 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 |
ResourceGroupId
The Id of resource group which the disk belongs.
Declaration
public string ResourceGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Tags
A map of tags assigned to the disks. It must be in the format:
data "alicloud.ecs.getDisks" "disks_ds" {
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> |
Type
Disk type. Possible values: system and data.
Declaration
public string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |