com.pulumi.azurenative.compute.enums.DiskCreateOption Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.compute.enums;
import com.pulumi.core.annotations.EnumType;
import java.lang.String;
import java.util.Objects;
import java.util.StringJoiner;
/**
* This enumerates the possible sources of a disk's creation.
*
*/
@EnumType
public enum DiskCreateOption {
/**
* Create an empty data disk of a size given by diskSizeGB.
*
*/
Empty("Empty"),
/**
* Disk will be attached to a VM.
*
*/
Attach("Attach"),
/**
* Create a new disk from a platform image specified by the given imageReference or galleryImageReference.
*
*/
FromImage("FromImage"),
/**
* Create a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId.
*
*/
Import("Import"),
/**
* Create a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId.
*
*/
Copy("Copy"),
/**
* Create a new disk by copying from a backup recovery point.
*
*/
Restore("Restore"),
/**
* Create a new disk by obtaining a write token and using it to directly upload the contents of the disk.
*
*/
Upload("Upload"),
/**
* Create a new disk by using a deep copy process, where the resource creation is considered complete only after all data has been copied from the source.
*
*/
CopyStart("CopyStart"),
/**
* Similar to Import create option. Create a new Trusted Launch VM or Confidential VM supported disk by importing additional blob for VM guest state specified by securityDataUri in storage account specified by storageAccountId
*
*/
ImportSecure("ImportSecure"),
/**
* Similar to Upload create option. Create a new Trusted Launch VM or Confidential VM supported disk and upload using write token in both disk and VM guest state
*
*/
UploadPreparedSecure("UploadPreparedSecure");
private final String value;
DiskCreateOption(String value) {
this.value = Objects.requireNonNull(value);
}
@EnumType.Converter
public String getValue() {
return this.value;
}
@Override
public java.lang.String toString() {
return new StringJoiner(", ", "DiskCreateOption[", "]")
.add("value='" + this.value + "'")
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy