Disk Interfaz
Implementaciones
public interface Disk
extends GroupableResource<ComputeManager,DiskInner>, Refreshable<Disk>, Updatable<Update>
Representación inmutable del lado cliente de un disco administrado de Azure.
Resumen del método
Modificador y tipo | Método y descripción |
---|---|
abstract
Set<Availability |
availabilityZones() |
abstract
Disk |
creationMethod() |
abstract Encryption | encryption() |
abstract
Encryption |
encryptionSettings() |
abstract String |
grantAccess(int accessDurationInSeconds)
Concede acceso al disco. |
abstract Mono<String> |
grantAccessAsync(int accessDurationInSeconds)
Concede acceso al disco de forma asincrónica. |
abstract boolean | isAttachedToVirtualMachine() |
abstract boolean | isHibernationSupported() |
abstract Integer | logicalSectorSizeInBytes() |
abstract
Operating |
osType() |
abstract void |
revokeAccess()
Revoca el acceso concedido al disco. |
abstract Mono<Void> |
revokeAccessAsync()
Revoca el acceso concedido al disco de forma asincrónica. |
abstract long | sizeInByte() |
abstract int | sizeInGB() |
abstract
Disk |
sku() |
abstract
Creation |
source() |
abstract String | virtualMachineId() |
Detalles del método
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)
Concede acceso al disco.
Parameters:
Returns:
grantAccessAsync
public abstract Mono
Concede acceso al disco de forma asincrónica.
Parameters:
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:
revokeAccess
public abstract void revokeAccess()
Revoca el acceso concedido al disco.
revokeAccessAsync
public abstract Mono
Revoca el acceso concedido al disco de forma asincrónica.
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:
Se aplica a
Azure SDK for Java