Share via


SiteRecoveryVaultSettingCollection Class

Definition

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

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

Constructors

SiteRecoveryVaultSettingCollection()

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

The operation to configure vault setting.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultSettings/{vaultSettingName}
  • Operation Id: ReplicationVaultSetting_Create
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryVaultSettingResource
CreateOrUpdateAsync(WaitUntil, String, SiteRecoveryVaultSettingCreateOrUpdateContent, CancellationToken)

The operation to configure vault setting.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultSettings/{vaultSettingName}
  • Operation Id: ReplicationVaultSetting_Create
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryVaultSettingResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultSettings/{vaultSettingName}
  • Operation Id: ReplicationVaultSetting_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryVaultSettingResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultSettings/{vaultSettingName}
  • Operation Id: ReplicationVaultSetting_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryVaultSettingResource
Get(String, CancellationToken)

Gets the vault setting. This includes the Migration Hub connection settings.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultSettings/{vaultSettingName}
  • Operation Id: ReplicationVaultSetting_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryVaultSettingResource
GetAll(CancellationToken)

Gets the list of vault setting. This includes the Migration Hub connection settings.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultSettings
  • Operation Id: ReplicationVaultSetting_List
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryVaultSettingResource
GetAllAsync(CancellationToken)

Gets the list of vault setting. This includes the Migration Hub connection settings.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultSettings
  • Operation Id: ReplicationVaultSetting_List
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryVaultSettingResource
GetAsync(String, CancellationToken)

Gets the vault setting. This includes the Migration Hub connection settings.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultSettings/{vaultSettingName}
  • Operation Id: ReplicationVaultSetting_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryVaultSettingResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultSettings/{vaultSettingName}
  • Operation Id: ReplicationVaultSetting_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryVaultSettingResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultSettings/{vaultSettingName}
  • Operation Id: ReplicationVaultSetting_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryVaultSettingResource
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<SiteRecoveryVaultSettingResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteRecoveryVaultSettingResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to