Interface Disk.DefinitionStages.WithCreateAndSize

All Superinterfaces:
Creatable<Disk>, Disk.DefinitionStages.WithAvailabilityZone, Disk.DefinitionStages.WithCreate, Disk.DefinitionStages.WithDiskEncryption, Disk.DefinitionStages.WithHibernationSupport, Disk.DefinitionStages.WithHyperVGeneration, Disk.DefinitionStages.WithLogicalSectorSize, Disk.DefinitionStages.WithSku, HasName, Indexable, Resource.DefinitionWithTags<Disk.DefinitionStages.WithCreate>
All Known Subinterfaces:
Disk.Definition
Enclosing interface:
Disk.DefinitionStages

public static interface Disk.DefinitionStages.WithCreateAndSize extends Disk.DefinitionStages.WithCreate
The stage of the managed disk definition allowing to create the disk or optionally specify size.
  • Method Details

    • withSizeInGB

      Disk.DefinitionStages.WithCreate withSizeInGB(int sizeInGB)
      Specifies the disk size.
      Parameters:
      sizeInGB - the disk size in GB
      Returns:
      the next stage of the definition