MockableRecoveryServicesBackupArmClient.GetBackupProtectedItemResource Method

Definition

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

public virtual Azure.ResourceManager.RecoveryServicesBackup.BackupProtectedItemResource GetBackupProtectedItemResource (Azure.Core.ResourceIdentifier id);
abstract member GetBackupProtectedItemResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.RecoveryServicesBackup.BackupProtectedItemResource
override this.GetBackupProtectedItemResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.RecoveryServicesBackup.BackupProtectedItemResource
Public Overridable Function GetBackupProtectedItemResource (id As ResourceIdentifier) As BackupProtectedItemResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a BackupProtectedItemResource object.

Applies to