Share via


BackupProtectionIntentCollection Class

Definition

A class representing a collection of BackupProtectionIntentResource and their operations. Each BackupProtectionIntentResource in the collection will belong to the same instance of ResourceGroupResource. To get a BackupProtectionIntentCollection instance call the GetBackupProtectionIntents method from an instance of ResourceGroupResource.

public class BackupProtectionIntentCollection : Azure.ResourceManager.ArmCollection
type BackupProtectionIntentCollection = class
    inherit ArmCollection
Public Class BackupProtectionIntentCollection
Inherits ArmCollection
Inheritance
BackupProtectionIntentCollection

Constructors

BackupProtectionIntentCollection()

Initializes a new instance of the BackupProtectionIntentCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, String, String, BackupProtectionIntentData, CancellationToken)

Create Intent for Enabling backup of an item. This is a synchronous operation.

  • Request Path: /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/backupProtectionIntent/{intentObjectName}
  • Operation Id: ProtectionIntent_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, String, String, BackupProtectionIntentData, CancellationToken)

Create Intent for Enabling backup of an item. This is a synchronous operation.

  • Request Path: /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/backupProtectionIntent/{intentObjectName}
  • Operation Id: ProtectionIntent_CreateOrUpdate
Exists(String, String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/backupProtectionIntent/{intentObjectName}
  • Operation Id: ProtectionIntent_Get
ExistsAsync(String, String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/backupProtectionIntent/{intentObjectName}
  • Operation Id: ProtectionIntent_Get
Get(String, String, String, CancellationToken)

Provides the details of the protection intent up item. This is an asynchronous operation. To know the status of the operation, call the GetItemOperationResult API.

  • Request Path: /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/backupProtectionIntent/{intentObjectName}
  • Operation Id: ProtectionIntent_Get
GetAsync(String, String, String, CancellationToken)

Provides the details of the protection intent up item. This is an asynchronous operation. To know the status of the operation, call the GetItemOperationResult API.

  • Request Path: /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/backupProtectionIntent/{intentObjectName}
  • Operation Id: ProtectionIntent_Get
GetIfExists(String, String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/backupProtectionIntent/{intentObjectName}
  • Operation Id: ProtectionIntent_Get
GetIfExistsAsync(String, String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/backupProtectionIntent/{intentObjectName}
  • Operation Id: ProtectionIntent_Get
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Applies to