Share via


MockableNetAppArmClient.GetSnapshotPolicyResource(ResourceIdentifier) Method

Definition

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

public virtual Azure.ResourceManager.NetApp.SnapshotPolicyResource GetSnapshotPolicyResource (Azure.Core.ResourceIdentifier id);
abstract member GetSnapshotPolicyResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.NetApp.SnapshotPolicyResource
override this.GetSnapshotPolicyResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.NetApp.SnapshotPolicyResource
Public Overridable Function GetSnapshotPolicyResource (id As ResourceIdentifier) As SnapshotPolicyResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SnapshotPolicyResource object.

Applies to