Compartilhar via


Disk.UpdateStages.WithDiskSharing Interface

public static interface Disk.UpdateStages.WithDiskSharing

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

Method Summary

Modifier and Type Method and Description
abstract Update 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.Update 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 update

Applies to