Share via


MockableRecoveryServicesBackupResourceGroupResource.GetBackupProtectionIntents Method

Definition

Overloads

GetBackupProtectionIntents()

Gets a collection of BackupProtectionIntentResources in the ResourceGroupResource.

GetBackupProtectionIntents(String, String, String, CancellationToken)

Provides a pageable list of all intents that are present within a vault.

  • Request Path: /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupProtectionIntents
  • Operation Id: BackupProtectionIntent_List

GetBackupProtectionIntents()

Source:
MockableRecoveryServicesBackupResourceGroupResource.cs

Gets a collection of BackupProtectionIntentResources in the ResourceGroupResource.

public virtual Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionIntentCollection GetBackupProtectionIntents ();
abstract member GetBackupProtectionIntents : unit -> Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionIntentCollection
override this.GetBackupProtectionIntents : unit -> Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionIntentCollection
Public Overridable Function GetBackupProtectionIntents () As BackupProtectionIntentCollection

Returns

An object representing collection of BackupProtectionIntentResources and their operations over a BackupProtectionIntentResource.

Applies to

GetBackupProtectionIntents(String, String, String, CancellationToken)

Source:
MockableRecoveryServicesBackupResourceGroupResource.cs

Provides a pageable list of all intents that are present within a vault.

  • Request Path: /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupProtectionIntents
  • Operation Id: BackupProtectionIntent_List
public virtual Azure.Pageable<Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionIntentResource> GetBackupProtectionIntents (string vaultName, string filter = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBackupProtectionIntents : string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionIntentResource>
override this.GetBackupProtectionIntents : string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionIntentResource>
Public Overridable Function GetBackupProtectionIntents (vaultName As String, Optional filter As String = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of BackupProtectionIntentResource)

Parameters

vaultName
String

The name of the recovery services vault.

filter
String

OData filter options.

skipToken
String

skipToken Filter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of BackupProtectionIntentResource that may take multiple service requests to iterate over.

Exceptions

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

vaultName is null.

Applies to