Share via


MockableRecoveryServicesBackupArmClient.GetBackupProtectionContainerResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a BackupProtectionContainerResource object.

Applies to