Disk Interface
Implementações
public interface Disk
extends GroupableResource<ComputeManager,DiskInner>, Refreshable<Disk>, Updatable<Update>
Uma representação imutável do lado do cliente de um disco gerenciado do Azure.
Resumo do método
Modificador e tipo | Método e descrição |
---|---|
abstract
Set<Availability |
availabilityZones() |
abstract
Disk |
creationMethod() |
abstract Encryption | encryption() |
abstract
Encryption |
encryptionSettings() |
abstract String |
grantAccess(int accessDurationInSeconds)
Concede acesso ao disco. |
abstract Mono<String> |
grantAccessAsync(int accessDurationInSeconds)
Concede acesso ao disco de forma assíncrona. |
abstract boolean | isAttachedToVirtualMachine() |
abstract boolean | isHibernationSupported() |
abstract Integer | logicalSectorSizeInBytes() |
abstract
Operating |
osType() |
abstract void |
revokeAccess()
Revoga o acesso concedido ao disco. |
abstract Mono<Void> |
revokeAccessAsync()
Revoga o acesso concedido ao disco de forma assíncrona. |
abstract long | sizeInByte() |
abstract int | sizeInGB() |
abstract
Disk |
sku() |
abstract
Creation |
source() |
abstract String | virtualMachineId() |
Detalhes do 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 acesso ao disco.
Parameters:
Returns:
grantAccessAsync
public abstract Mono
Concede acesso ao disco de forma assíncrona.
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()
Revoga o acesso concedido ao disco.
revokeAccessAsync
public abstract Mono
Revoga o acesso concedido ao disco de forma assíncrona.
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:
Aplica-se a
Azure SDK for Java