Condividi tramite


BackupEngineCollection Class

Definition

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

public class BackupEngineCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.RecoveryServicesBackup.BackupEngineResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesBackup.BackupEngineResource>
type BackupEngineCollection = class
    inherit ArmCollection
    interface seq<BackupEngineResource>
    interface IEnumerable
    interface IAsyncEnumerable<BackupEngineResource>
Public Class BackupEngineCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of BackupEngineResource), IEnumerable(Of BackupEngineResource)
Inheritance
BackupEngineCollection
Implements

Constructors

BackupEngineCollection()

Initializes a new instance of the BackupEngineCollection 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

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}/backupEngines/{backupEngineName}
  • Operation Id: BackupEngines_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}/backupEngines/{backupEngineName}
  • Operation Id: BackupEngines_Get
Get(String, String, String, CancellationToken)

Returns backup management server registered to Recovery Services Vault.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines/{backupEngineName}
  • Operation Id: BackupEngines_Get
GetAll(String, String, CancellationToken)

Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines
  • Operation Id: BackupEngines_List
GetAllAsync(String, String, CancellationToken)

Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines
  • Operation Id: BackupEngines_List
GetAsync(String, String, String, CancellationToken)

Returns backup management server registered to Recovery Services Vault.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines/{backupEngineName}
  • Operation Id: BackupEngines_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}/backupEngines/{backupEngineName}
  • Operation Id: BackupEngines_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}/backupEngines/{backupEngineName}
  • Operation Id: BackupEngines_Get
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<BackupEngineResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<BackupEngineResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to