Share via


MockableRecoveryServicesBackupResourceGroupResource.GetBackupProtectionPolicies Method

Definition

Gets a collection of BackupProtectionPolicyResources in the ResourceGroupResource.

public virtual Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionPolicyCollection GetBackupProtectionPolicies (string vaultName);
abstract member GetBackupProtectionPolicies : string -> Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionPolicyCollection
override this.GetBackupProtectionPolicies : string -> Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionPolicyCollection
Public Overridable Function GetBackupProtectionPolicies (vaultName As String) As BackupProtectionPolicyCollection

Parameters

vaultName
String

The name of the recovery services vault.

Returns

An object representing collection of BackupProtectionPolicyResources and their operations over a BackupProtectionPolicyResource.

Exceptions

vaultName is null.

vaultName is an empty string, and was expected to be non-empty.

Applies to