Megosztás a következőn keresztül:


RecoveryServicesBackupExtensions.GetBackupProtectionIntents Method

Definition

Overloads

GetBackupProtectionIntents(ResourceGroupResource)

Gets a collection of BackupProtectionIntentResources in the ResourceGroupResource. MockingTo mock this method, please mock GetBackupProtectionIntents() instead.

GetBackupProtectionIntents(ResourceGroupResource, 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(ResourceGroupResource)

Source:
RecoveryServicesBackupExtensions.cs

Gets a collection of BackupProtectionIntentResources in the ResourceGroupResource. MockingTo mock this method, please mock GetBackupProtectionIntents() instead.

public static Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionIntentCollection GetBackupProtectionIntents (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetBackupProtectionIntents : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionIntentCollection
<Extension()>
Public Function GetBackupProtectionIntents (resourceGroupResource As ResourceGroupResource) As BackupProtectionIntentCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

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

Exceptions

resourceGroupResource is null.

Applies to

GetBackupProtectionIntents(ResourceGroupResource, String, String, String, CancellationToken)

Source:
RecoveryServicesBackupExtensions.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 static Azure.Pageable<Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionIntentResource> GetBackupProtectionIntents (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string vaultName, string filter = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetBackupProtectionIntents : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionIntentResource>
<Extension()>
Public Function GetBackupProtectionIntents (resourceGroupResource As ResourceGroupResource, vaultName As String, Optional filter As String = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of BackupProtectionIntentResource)

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

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.

resourceGroupResource or vaultName is null.

Applies to