Package com.pulumi.alicloud.ecs.outputs
Class GetDisksDisk
- java.lang.Object
-
- com.pulumi.alicloud.ecs.outputs.GetDisksDisk
-
public final class GetDisksDisk extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetDisksDisk.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
attachedTime()
java.lang.String
autoSnapshotPolicyId()
java.lang.String
availabilityZone()
static GetDisksDisk.Builder
builder()
static GetDisksDisk.Builder
builder(GetDisksDisk defaults)
java.lang.String
category()
java.lang.String
creationTime()
java.lang.Boolean
deleteAutoSnapshot()
java.lang.Boolean
deleteWithInstance()
java.lang.String
description()
java.lang.String
detachedTime()
java.lang.String
device()
java.lang.String
diskId()
java.lang.String
diskName()
java.lang.String
diskType()
java.lang.Boolean
enableAutomatedSnapshotPolicy()
java.lang.Boolean
enableAutoSnapshot()
java.lang.String
encrypted()
java.lang.String
expiredTime()
java.lang.String
id()
java.lang.String
imageId()
java.lang.String
instanceId()
java.lang.Integer
iops()
java.lang.Integer
iopsRead()
java.lang.Integer
iopsWrite()
java.lang.String
kmsKeyId()
java.lang.Integer
mountInstanceNum()
java.util.List<GetDisksDiskMountInstance>
mountInstances()
java.lang.String
name()
java.util.List<GetDisksDiskOperationLock>
operationLocks()
java.lang.String
paymentType()
java.lang.String
performanceLevel()
java.lang.Boolean
portable()
java.lang.String
productCode()
java.lang.String
regionId()
java.lang.String
resourceGroupId()
java.lang.Integer
size()
java.lang.String
snapshotId()
java.lang.String
status()
java.util.Map<java.lang.String,java.lang.Object>
tags()
java.lang.String
type()
java.lang.String
zoneId()
-
-
-
Method Detail
-
attachedTime
public java.lang.String attachedTime()
- Returns:
- Disk attachment time.
-
autoSnapshotPolicyId
public java.lang.String autoSnapshotPolicyId()
-
availabilityZone
public java.lang.String availabilityZone()
- Returns:
- Availability zone of the disk.
-
category
public java.lang.String category()
- Returns:
- 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).
-
creationTime
public java.lang.String creationTime()
- Returns:
- Disk creation time.
-
deleteAutoSnapshot
public java.lang.Boolean deleteAutoSnapshot()
-
deleteWithInstance
public java.lang.Boolean deleteWithInstance()
-
description
public java.lang.String description()
- Returns:
- Disk description.
-
detachedTime
public java.lang.String detachedTime()
- Returns:
- Disk detachment time.
-
device
public java.lang.String device()
-
diskId
public java.lang.String diskId()
-
diskName
public java.lang.String diskName()
-
diskType
public java.lang.String diskType()
-
enableAutoSnapshot
public java.lang.Boolean enableAutoSnapshot()
-
enableAutomatedSnapshotPolicy
public java.lang.Boolean enableAutomatedSnapshotPolicy()
-
encrypted
public java.lang.String encrypted()
- Returns:
- Indicate whether the disk is encrypted or not. Possible values: `on` and `off`.
-
expiredTime
public java.lang.String expiredTime()
-
id
public java.lang.String id()
- Returns:
- ID of the disk.
-
imageId
public java.lang.String imageId()
- Returns:
- ID of the image from which the disk is created. It is null unless the disk is created using an image.
-
instanceId
public java.lang.String instanceId()
- Returns:
- Filter the results by the specified ECS instance ID.
-
iops
public java.lang.Integer iops()
-
iopsRead
public java.lang.Integer iopsRead()
-
iopsWrite
public java.lang.Integer iopsWrite()
-
kmsKeyId
public java.lang.String kmsKeyId()
-
mountInstanceNum
public java.lang.Integer mountInstanceNum()
-
mountInstances
public java.util.List<GetDisksDiskMountInstance> mountInstances()
-
name
public java.lang.String name()
- Returns:
- Disk name.
-
operationLocks
public java.util.List<GetDisksDiskOperationLock> operationLocks()
-
paymentType
public java.lang.String paymentType()
-
performanceLevel
public java.lang.String performanceLevel()
-
portable
public java.lang.Boolean portable()
-
productCode
public java.lang.String productCode()
-
regionId
public java.lang.String regionId()
- Returns:
- Region ID the disk belongs to.
-
resourceGroupId
public java.lang.String resourceGroupId()
- Returns:
- The Id of resource group which the disk belongs.
-
size
public java.lang.Integer size()
- Returns:
- Disk size in GiB.
-
snapshotId
public java.lang.String snapshotId()
- Returns:
- Snapshot used to create the disk. It is null if no snapshot is used to create the disk.
-
status
public java.lang.String status()
- Returns:
- Current status. Possible values: `In_use`, `Available`, `Attaching`, `Detaching`, `Creating` and `ReIniting`.
-
tags
public java.util.Map<java.lang.String,java.lang.Object> tags()
- Returns:
- A map of tags assigned to the disks. It must be in the format: ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.ecs.EcsFunctions; import com.pulumi.alicloud.ecs.inputs.GetDisksArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var disksDs = EcsFunctions.getDisks(GetDisksArgs.builder() .tags(Map.ofEntries( Map.entry("tagKey1", "tagValue1"), Map.entry("tagKey2", "tagValue2") )) .build()); } } ```
-
type
public java.lang.String type()
- Returns:
- Disk type. Possible values: `system` and `data`.
-
zoneId
public java.lang.String zoneId()
-
builder
public static GetDisksDisk.Builder builder()
-
builder
public static GetDisksDisk.Builder builder(GetDisksDisk defaults)
-
-