Uses of Class
com.azure.resourcemanager.compute.models.DiskCreateOption
Packages that use DiskCreateOption
Package
Description
Package containing the data models for Compute.
-
Uses of DiskCreateOption in com.azure.resourcemanager.compute.models
Subclasses with type arguments of type DiskCreateOption in com.azure.resourcemanager.compute.modelsModifier and TypeClassDescriptionfinal classThis enumerates the possible sources of a disk's creation.Fields in com.azure.resourcemanager.compute.models declared as DiskCreateOptionModifier and TypeFieldDescriptionstatic final DiskCreateOptionDiskCreateOption.ATTACHDisk will be attached to a VM.static final DiskCreateOptionDiskCreateOption.COPYCreate a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId.static final DiskCreateOptionDiskCreateOption.COPY_FROM_SAN_SNAPSHOTCreate a new disk by exporting from elastic san volume snapshot.static final DiskCreateOptionDiskCreateOption.COPY_STARTCreate 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.static final DiskCreateOptionDiskCreateOption.EMPTYCreate an empty data disk of a size given by diskSizeGB.static final DiskCreateOptionDiskCreateOption.FROM_IMAGECreate a new disk from a platform image specified by the given imageReference or galleryImageReference.static final DiskCreateOptionDiskCreateOption.IMPORTCreate a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId.static final DiskCreateOptionDiskCreateOption.IMPORT_SECURESimilar to Import create option.static final DiskCreateOptionDiskCreateOption.RESTORECreate a new disk by copying from a backup recovery point.static final DiskCreateOptionDiskCreateOption.UPLOADCreate a new disk by obtaining a write token and using it to directly upload the contents of the disk.static final DiskCreateOptionDiskCreateOption.UPLOAD_PREPARED_SECURESimilar to Upload create option.Methods in com.azure.resourcemanager.compute.models that return DiskCreateOptionModifier and TypeMethodDescriptionCreationData.createOption()Get the createOption property: This enumerates the possible sources of a disk's creation.Disk.creationMethod()Gets the disk creation method.Snapshot.creationMethod()Gets the snapshot creation method.static DiskCreateOptionDiskCreateOption.fromString(String name) Creates or finds a DiskCreateOption from its string representation.Methods in com.azure.resourcemanager.compute.models that return types with arguments of type DiskCreateOptionModifier and TypeMethodDescriptionstatic Collection<DiskCreateOption> DiskCreateOption.values()Gets known DiskCreateOption values.Methods in com.azure.resourcemanager.compute.models with parameters of type DiskCreateOptionModifier and TypeMethodDescriptionCreationData.withCreateOption(DiskCreateOption createOption) Set the createOption property: This enumerates the possible sources of a disk's creation.