MockableDataProtectionBackupArmClient.GetDataProtectionBackupPolicyResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a DataProtectionBackupPolicyResource object.

Applies to