Share via


MockableComputeArmClient.GetSnapshotResource(ResourceIdentifier) Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SnapshotResource object.

Applies to