Share via


MockableComputeArmClient.GetDiskImageResource(ResourceIdentifier) Method

Definition

Gets an object representing a DiskImageResource 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 DiskImageResourceResourceIdentifier from its components.

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a DiskImageResource object.

Applies to