다음을 통해 공유


AppConfigurationExtensions.GetAppConfigurationStoreAsync Method

Definition

Gets the properties of the specified configuration store.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}
  • Operation Id: ConfigurationStores_Get
  • Default Api Version: 2023-03-01
  • Resource: AppConfigurationStoreResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppConfiguration.AppConfigurationStoreResource>> GetAppConfigurationStoreAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string configStoreName, System.Threading.CancellationToken cancellationToken = default);
static member GetAppConfigurationStoreAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppConfiguration.AppConfigurationStoreResource>>
<Extension()>
Public Function GetAppConfigurationStoreAsync (resourceGroupResource As ResourceGroupResource, configStoreName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppConfigurationStoreResource))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

configStoreName
String

The name of the configuration store.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or configStoreName is null.

configStoreName is an empty string, and was expected to be non-empty.

Applies to