Share via


MockableComputeArmClient.GetDiskAccessResource(ResourceIdentifier) Method

Definition

Gets an object representing a DiskAccessResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a DiskAccessResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Compute.DiskAccessResource GetDiskAccessResource (Azure.Core.ResourceIdentifier id);
abstract member GetDiskAccessResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.DiskAccessResource
override this.GetDiskAccessResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.DiskAccessResource
Public Overridable Function GetDiskAccessResource (id As ResourceIdentifier) As DiskAccessResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a DiskAccessResource object.

Applies to