Class GetDisksDiskResult
Inheritance
Inherited Members
Namespace: Pulumi.AliCloud.Ecs.Outputs
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class GetDisksDiskResult
Fields
View SourceAttachedTime
Disk attachment time.
Declaration
public readonly string AttachedTime
Field Value
| Type | Description |
|---|---|
| System.String |
AvailabilityZone
Availability zone of the disk.
Declaration
public readonly string AvailabilityZone
Field Value
| Type | Description |
|---|---|
| System.String |
Category
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 readonly string Category
Field Value
| Type | Description |
|---|---|
| System.String |
CreationTime
Disk creation time.
Declaration
public readonly string CreationTime
Field Value
| Type | Description |
|---|---|
| System.String |
Description
Disk description.
Declaration
public readonly string Description
Field Value
| Type | Description |
|---|---|
| System.String |
DetachedTime
Disk detachment time.
Declaration
public readonly string DetachedTime
Field Value
| Type | Description |
|---|---|
| System.String |
Encrypted
Indicate whether the disk is encrypted or not. Possible values: on and off.
Declaration
public readonly string Encrypted
Field Value
| Type | Description |
|---|---|
| System.String |
ExpirationTime
Disk expiration time.
Declaration
public readonly string ExpirationTime
Field Value
| Type | Description |
|---|---|
| System.String |
Id
ID of the disk.
Declaration
public readonly string Id
Field Value
| Type | Description |
|---|---|
| System.String |
ImageId
ID of the image from which the disk is created. It is null unless the disk is created using an image.
Declaration
public readonly string ImageId
Field Value
| Type | Description |
|---|---|
| System.String |
InstanceId
Filter the results by the specified ECS instance ID.
Declaration
public readonly string InstanceId
Field Value
| Type | Description |
|---|---|
| System.String |
Name
Disk name.
Declaration
public readonly string Name
Field Value
| Type | Description |
|---|---|
| System.String |
RegionId
Region ID the disk belongs to.
Declaration
public readonly string RegionId
Field Value
| Type | Description |
|---|---|
| System.String |
ResourceGroupId
The Id of resource group which the disk belongs.
Declaration
public readonly string ResourceGroupId
Field Value
| Type | Description |
|---|---|
| System.String |
Size
Disk size in GiB.
Declaration
public readonly int Size
Field Value
| Type | Description |
|---|---|
| System.Int32 |
SnapshotId
Snapshot used to create the disk. It is null if no snapshot is used to create the disk.
Declaration
public readonly string SnapshotId
Field Value
| Type | Description |
|---|---|
| System.String |
Status
Current status. Possible values: In_use, Available, Attaching, Detaching, Creating and ReIniting.
Declaration
public readonly string Status
Field 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 readonly ImmutableDictionary<string, object> Tags
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableDictionary<System.String, System.Object> |
Type
Disk type. Possible values: system and data.
Declaration
public readonly string Type
Field Value
| Type | Description |
|---|---|
| System.String |