Share via


BackupProtectionContainerCollection Class

Definition

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

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

Constructors

BackupProtectionContainerCollection()

Initializes a new instance of the BackupProtectionContainerCollection 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, BackupProtectionContainerData, CancellationToken)

Registers the container with Recovery Services vault. This is an asynchronous operation. To track the operation status, use location header to call get latest status of the operation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}
  • Operation Id: ProtectionContainers_Register
CreateOrUpdateAsync(WaitUntil, String, String, String, BackupProtectionContainerData, CancellationToken)

Registers the container with Recovery Services vault. This is an asynchronous operation. To track the operation status, use location header to call get latest status of the operation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}
  • Operation Id: ProtectionContainers_Register
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}/protectionContainers/{containerName}
  • Operation Id: ProtectionContainers_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}/protectionContainers/{containerName}
  • Operation Id: ProtectionContainers_Get
Get(String, String, String, CancellationToken)

Gets details of the specific container registered to your Recovery Services Vault.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}
  • Operation Id: ProtectionContainers_Get
GetAsync(String, String, String, CancellationToken)

Gets details of the specific container registered to your Recovery Services Vault.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}
  • Operation Id: ProtectionContainers_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}/protectionContainers/{containerName}
  • Operation Id: ProtectionContainers_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}/protectionContainers/{containerName}
  • Operation Id: ProtectionContainers_Get
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Applies to