Freigeben über


Disk.DefinitionStages.WithDiskSharing Interface

public static interface Disk.DefinitionStages.WithDiskSharing

The stage of disk definition allowing to configure managed disk sharing settings.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withMaximumShares(int maximumShares)

Sets the maximum number of VMs that can attach to the disk at the same time.

Method Details

withMaximumShares

public abstract 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

Applies to