Class CreationDataResponse
- java.lang.Object
-
- com.pulumi.azurenative.compute.outputs.CreationDataResponse
-
public final class CreationDataResponse extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreationDataResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreationDataResponse.Builder
builder()
static CreationDataResponse.Builder
builder(CreationDataResponse defaults)
java.lang.String
createOption()
java.util.Optional<ImageDiskReferenceResponse>
galleryImageReference()
java.util.Optional<ImageDiskReferenceResponse>
imageReference()
java.util.Optional<java.lang.Integer>
logicalSectorSize()
java.util.Optional<java.lang.Boolean>
performancePlus()
java.util.Optional<java.lang.String>
securityDataUri()
java.util.Optional<java.lang.String>
sourceResourceId()
java.lang.String
sourceUniqueId()
java.util.Optional<java.lang.String>
sourceUri()
java.util.Optional<java.lang.String>
storageAccountId()
java.util.Optional<java.lang.Double>
uploadSizeBytes()
-
-
-
Method Detail
-
createOption
public java.lang.String createOption()
- Returns:
- This enumerates the possible sources of a disk's creation.
-
galleryImageReference
public java.util.Optional<ImageDiskReferenceResponse> galleryImageReference()
- Returns:
- Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
-
imageReference
public java.util.Optional<ImageDiskReferenceResponse> imageReference()
- Returns:
- Disk source information for PIR or user images.
-
logicalSectorSize
public java.util.Optional<java.lang.Integer> logicalSectorSize()
- Returns:
- Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
-
performancePlus
public java.util.Optional<java.lang.Boolean> performancePlus()
- Returns:
- Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.
-
securityDataUri
public java.util.Optional<java.lang.String> securityDataUri()
- Returns:
- If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
-
sourceResourceId
public java.util.Optional<java.lang.String> sourceResourceId()
- Returns:
- If createOption is Copy, this is the ARM id of the source snapshot or disk.
-
sourceUniqueId
public java.lang.String sourceUniqueId()
- Returns:
- If this field is set, this is the unique id identifying the source of this resource.
-
sourceUri
public java.util.Optional<java.lang.String> sourceUri()
- Returns:
- If createOption is Import, this is the URI of a blob to be imported into a managed disk.
-
storageAccountId
public java.util.Optional<java.lang.String> storageAccountId()
- Returns:
- Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
-
uploadSizeBytes
public java.util.Optional<java.lang.Double> uploadSizeBytes()
- Returns:
- If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).
-
builder
public static CreationDataResponse.Builder builder()
-
builder
public static CreationDataResponse.Builder builder(CreationDataResponse defaults)
-
-