Disk Interface
Implements
public interface Disk
extends GroupableResource<ComputeManager,DiskInner>, Refreshable<Disk>, Updatable<Update>
An immutable client-side representation of an Azure managed disk.
Method Summary
Method Details
availabilityZones
public abstract Set
Returns:
creationMethod
public abstract DiskCreateOption creationMethod()
Returns:
encryption
public abstract Encryption encryption()
Returns:
encryptionSettings
public abstract EncryptionSettingsCollection encryptionSettings()
Returns:
grantAccess
public abstract String grantAccess(int accessDurationInSeconds)
Grants access to the disk.
Parameters:
Returns:
grantAccessAsync
public abstract Mono
Grants access to the disk asynchronously.
Parameters:
Returns:
hyperVGeneration
public abstract HyperVGeneration hyperVGeneration()
Returns:
isAttachedToVirtualMachine
public abstract boolean isAttachedToVirtualMachine()
Returns:
isHibernationSupported
public abstract boolean isHibernationSupported()
Returns:
logicalSectorSizeInBytes
public abstract Integer logicalSectorSizeInBytes()
Returns:
osType
public abstract OperatingSystemTypes osType()
Returns:
publicNetworkAccess
public abstract PublicNetworkAccess publicNetworkAccess()
Whether the disk can be accessed from public network.
Returns:
revokeAccess
public abstract void revokeAccess()
Revokes access granted to the disk.
revokeAccessAsync
public abstract Mono
Revokes access granted to the disk asynchronously.
Returns:
sizeInByte
public abstract long sizeInByte()
Returns:
sizeInGB
public abstract int sizeInGB()
Returns:
sku
public abstract DiskSkuTypes sku()
Returns:
source
public abstract CreationSource source()
Returns:
virtualMachineId
public abstract String virtualMachineId()
Returns: