Share via


AppConfigurationReplicaCollection Class

Definition

A class representing a collection of AppConfigurationReplicaResource and their operations. Each AppConfigurationReplicaResource in the collection will belong to the same instance of AppConfigurationStoreResource. To get an AppConfigurationReplicaCollection instance call the GetAppConfigurationReplicas method from an instance of AppConfigurationStoreResource.

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

Constructors

AppConfigurationReplicaCollection()

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

Creates a replica with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/replicas/{replicaName}
  • Operation Id: Replicas_Create
  • Default Api Version: 2023-03-01
  • Resource: AppConfigurationReplicaResource
CreateOrUpdateAsync(WaitUntil, String, AppConfigurationReplicaData, CancellationToken)

Creates a replica with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/replicas/{replicaName}
  • Operation Id: Replicas_Create
  • Default Api Version: 2023-03-01
  • Resource: AppConfigurationReplicaResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/replicas/{replicaName}
  • Operation Id: Replicas_Get
  • Default Api Version: 2023-03-01
  • Resource: AppConfigurationReplicaResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/replicas/{replicaName}
  • Operation Id: Replicas_Get
  • Default Api Version: 2023-03-01
  • Resource: AppConfigurationReplicaResource
Get(String, CancellationToken)

Gets the properties of the specified replica.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/replicas/{replicaName}
  • Operation Id: Replicas_Get
  • Default Api Version: 2023-03-01
  • Resource: AppConfigurationReplicaResource
GetAll(String, CancellationToken)

Lists the replicas for a given configuration store.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/replicas
  • Operation Id: Replicas_ListByConfigurationStore
  • Default Api Version: 2023-03-01
  • Resource: AppConfigurationReplicaResource
GetAllAsync(String, CancellationToken)

Lists the replicas for a given configuration store.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/replicas
  • Operation Id: Replicas_ListByConfigurationStore
  • Default Api Version: 2023-03-01
  • Resource: AppConfigurationReplicaResource
GetAsync(String, CancellationToken)

Gets the properties of the specified replica.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/replicas/{replicaName}
  • Operation Id: Replicas_Get
  • Default Api Version: 2023-03-01
  • Resource: AppConfigurationReplicaResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/replicas/{replicaName}
  • Operation Id: Replicas_Get
  • Default Api Version: 2023-03-01
  • Resource: AppConfigurationReplicaResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/replicas/{replicaName}
  • Operation Id: Replicas_Get
  • Default Api Version: 2023-03-01
  • Resource: AppConfigurationReplicaResource
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<AppConfigurationReplicaResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AppConfigurationReplicaResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to