Udostępnij za pośrednictwem


AppConfigurationExtensions.GetAppConfigurationStores Method

Definition

Overloads

GetAppConfigurationStores(ResourceGroupResource)

Gets a collection of AppConfigurationStoreResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAppConfigurationStores() instead.

GetAppConfigurationStores(SubscriptionResource, String, CancellationToken)

Lists the configuration stores for a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/configurationStores
  • Operation Id: ConfigurationStores_List
  • Default Api Version: 2023-03-01
  • Resource: AppConfigurationStoreResource

GetAppConfigurationStores(ResourceGroupResource)

Source:
AppConfigurationExtensions.cs
Source:
AppConfigurationExtensions.cs

Gets a collection of AppConfigurationStoreResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAppConfigurationStores() instead.

public static Azure.ResourceManager.AppConfiguration.AppConfigurationStoreCollection GetAppConfigurationStores (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetAppConfigurationStores : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.AppConfiguration.AppConfigurationStoreCollection
<Extension()>
Public Function GetAppConfigurationStores (resourceGroupResource As ResourceGroupResource) As AppConfigurationStoreCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of AppConfigurationStoreResources and their operations over a AppConfigurationStoreResource.

Exceptions

resourceGroupResource is null.

Applies to

GetAppConfigurationStores(SubscriptionResource, String, CancellationToken)

Source:
AppConfigurationExtensions.cs
Source:
AppConfigurationExtensions.cs

Lists the configuration stores for a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/configurationStores
  • Operation Id: ConfigurationStores_List
  • Default Api Version: 2023-03-01
  • Resource: AppConfigurationStoreResource
public static Azure.Pageable<Azure.ResourceManager.AppConfiguration.AppConfigurationStoreResource> GetAppConfigurationStores (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAppConfigurationStores : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppConfiguration.AppConfigurationStoreResource>
<Extension()>
Public Function GetAppConfigurationStores (subscriptionResource As SubscriptionResource, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AppConfigurationStoreResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

skipToken
String

A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of AppConfigurationStoreResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to