### YamlMime:JavaType inheritedMembers: - com.microsoft.azure.management.resources.fluentcore.arm.models.HasId.id() - com.microsoft.azure.management.resources.fluentcore.model.HasInner.inner() - com.microsoft.azure.management.resources.fluentcore.model.Indexable.key() - com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager.manager() - com.microsoft.azure.management.resources.fluentcore.arm.models.HasName.name() - com.microsoft.azure.management.resources.fluentcore.model.Refreshable.refresh() - com.microsoft.azure.management.resources.fluentcore.model.Refreshable.refreshAsync() - com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.region() - com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.regionName() - com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup.resourceGroupName() - com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.tags() - com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.type() - com.microsoft.azure.management.resources.fluentcore.model.Updatable.update() methods: - fullName: com.microsoft.azure.management.compute.Disk.availabilityZones() name: availabilityZones() nameWithType: Disk.availabilityZones() returns: description:

the availability zones assigned to the disk

type: Set<> syntax: public Set availabilityZones() uid: com.microsoft.azure.management.compute.Disk.availabilityZones() - fullName: com.microsoft.azure.management.compute.Disk.creationMethod() name: creationMethod() nameWithType: Disk.creationMethod() returns: description:

the disk creation method

type: syntax: public DiskCreateOption creationMethod() uid: com.microsoft.azure.management.compute.Disk.creationMethod() - fullName: com.microsoft.azure.management.compute.Disk.grantAccess(int accessDurationInSeconds) name: grantAccess(int accessDurationInSeconds) nameWithType: Disk.grantAccess(int accessDurationInSeconds) parameters: - description:

the access duration in seconds

name: accessDurationInSeconds type: returns: description:

the read-only SAS URI to the disk

type: summary: >-

Grants access to the disk.

syntax: public String grantAccess(int accessDurationInSeconds) uid: com.microsoft.azure.management.compute.Disk.grantAccess(int) - fullName: com.microsoft.azure.management.compute.Disk.grantAccessAsync(int accessDurationInSeconds) name: grantAccessAsync(int accessDurationInSeconds) nameWithType: Disk.grantAccessAsync(int accessDurationInSeconds) parameters: - description:

the access duration in seconds

name: accessDurationInSeconds type: returns: description:

a representation of the deferred computation of this call returning a read-only SAS URI to the disk

type: summary: >-

Grants access to the disk asynchronously.

syntax: public Observable grantAccessAsync(int accessDurationInSeconds) uid: com.microsoft.azure.management.compute.Disk.grantAccessAsync(int) - fullName: com.microsoft.azure.management.compute.Disk.grantAccessAsync(int accessDurationInSeconds, ServiceCallback callback) name: grantAccessAsync(int accessDurationInSeconds, ServiceCallback callback) nameWithType: Disk.grantAccessAsync(int accessDurationInSeconds, ServiceCallback callback) parameters: - description:

the access duration in seconds

name: accessDurationInSeconds type: - description:

the callback to call on success or failure, containing a read-only SAS URI to the disk, if successful

name: callback type: returns: description:

a handle to cancel the request

type: summary: >-

Grants access to the disk asynchronously.

syntax: public ServiceFuture grantAccessAsync(int accessDurationInSeconds, ServiceCallback callback) uid: com.microsoft.azure.management.compute.Disk.grantAccessAsync(int,ServiceCallback) - fullName: com.microsoft.azure.management.compute.Disk.isAttachedToVirtualMachine() name: isAttachedToVirtualMachine() nameWithType: Disk.isAttachedToVirtualMachine() returns: description:

true if the disk is attached to a virtual machine, otherwise false

type: syntax: public boolean isAttachedToVirtualMachine() uid: com.microsoft.azure.management.compute.Disk.isAttachedToVirtualMachine() - fullName: com.microsoft.azure.management.compute.Disk.osType() name: osType() nameWithType: Disk.osType() returns: description:

the type of the operating system on the disk

type: syntax: public OperatingSystemTypes osType() uid: com.microsoft.azure.management.compute.Disk.osType() - fullName: com.microsoft.azure.management.compute.Disk.revokeAccess() name: revokeAccess() nameWithType: Disk.revokeAccess() summary:

Revokes access granted to the disk.

syntax: public void revokeAccess() uid: com.microsoft.azure.management.compute.Disk.revokeAccess() - fullName: com.microsoft.azure.management.compute.Disk.revokeAccessAsync() name: revokeAccessAsync() nameWithType: Disk.revokeAccessAsync() returns: description:

a representation of the deferred computation of this call

type: summary: >-

Revokes access granted to the disk asynchronously.

syntax: public Completable revokeAccessAsync() uid: com.microsoft.azure.management.compute.Disk.revokeAccessAsync() - fullName: com.microsoft.azure.management.compute.Disk.revokeAccessAsync(ServiceCallback callback) name: revokeAccessAsync(ServiceCallback callback) nameWithType: Disk.revokeAccessAsync(ServiceCallback callback) parameters: - description:

the callback to call on success or failure

name: callback type: returns: description:

a handle to cancel the request

type: summary: >-

Revokes access granted to the disk asynchronously.

syntax: public ServiceFuture revokeAccessAsync(ServiceCallback callback) uid: com.microsoft.azure.management.compute.Disk.revokeAccessAsync(ServiceCallback) - fullName: com.microsoft.azure.management.compute.Disk.sizeInGB() name: sizeInGB() nameWithType: Disk.sizeInGB() returns: description:

disk size in GB

type: syntax: public int sizeInGB() uid: com.microsoft.azure.management.compute.Disk.sizeInGB() - fullName: com.microsoft.azure.management.compute.Disk.sku() name: sku() nameWithType: Disk.sku() returns: description:

the disk SKU

type: syntax: public DiskSkuTypes sku() uid: com.microsoft.azure.management.compute.Disk.sku() - fullName: com.microsoft.azure.management.compute.Disk.source() name: source() nameWithType: Disk.source() returns: description:

the details of the source from which the disk is created

type: syntax: public CreationSource source() uid: com.microsoft.azure.management.compute.Disk.source() - fullName: com.microsoft.azure.management.compute.Disk.virtualMachineId() name: virtualMachineId() nameWithType: Disk.virtualMachineId() returns: description:

the resource ID of the virtual machine this disk is attached to, or null if the disk is in a detached state

type: syntax: public String virtualMachineId() uid: com.microsoft.azure.management.compute.Disk.virtualMachineId() nameWithType: Disk syntax: public interface Disk extends GroupableResource,Refreshable,Updatable type: interface uid: com.microsoft.azure.management.compute.Disk fullName: com.microsoft.azure.management.compute.Disk name: Disk package: com.microsoft.azure.management.compute summary:

An immutable client-side representation of an Azure managed disk.

metadata: {}