Interface Disk.DefinitionStages.WithDiskSharing

All Known Subinterfaces:
Disk.Definition, Disk.DefinitionStages.WithCreate, Disk.DefinitionStages.WithCreateAndSize
Enclosing interface:
Disk.DefinitionStages

public static interface Disk.DefinitionStages.WithDiskSharing
The stage of disk definition allowing to configure managed disk sharing settings.
  • Method Summary

    Modifier and Type
    Method
    Description
    withMaximumShares(int maximumShares)
    Sets the maximum number of VMs that can attach to the disk at the same time.
  • Method Details

    • withMaximumShares

      Disk.DefinitionStages.WithCreate withMaximumShares(int maximumShares)
      Sets the maximum number of VMs that can attach to the disk at the same time.
      Parameters:
      maximumShares - the maximum number of VMs that can attach to the disk at the same time
      Returns:
      the next stage of the definition