Share via


MockableDataProtectionBackupArmClient.GetResourceGuardResource Method

Definition

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

public virtual Azure.ResourceManager.DataProtectionBackup.ResourceGuardResource GetResourceGuardResource (Azure.Core.ResourceIdentifier id);
abstract member GetResourceGuardResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.DataProtectionBackup.ResourceGuardResource
override this.GetResourceGuardResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.DataProtectionBackup.ResourceGuardResource
Public Overridable Function GetResourceGuardResource (id As ResourceIdentifier) As ResourceGuardResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ResourceGuardResource object.

Applies to