MockableRecoveryServicesBackupResourceGroupResource.GetBackupProtectionPolicies Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.