다음을 통해 공유


AppConfigurationStoreCollection.CreateOrUpdate Method

Definition

Creates a configuration store with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}
  • Operation Id: ConfigurationStores_Create
  • Default Api Version: 2023-03-01
  • Resource: AppConfigurationStoreResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppConfiguration.AppConfigurationStoreResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string configStoreName, Azure.ResourceManager.AppConfiguration.AppConfigurationStoreData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.AppConfiguration.AppConfigurationStoreData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppConfiguration.AppConfigurationStoreResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.AppConfiguration.AppConfigurationStoreData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppConfiguration.AppConfigurationStoreResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, configStoreName As String, data As AppConfigurationStoreData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of AppConfigurationStoreResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

configStoreName
String

The name of the configuration store.

data
AppConfigurationStoreData

The parameters for creating a configuration store.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

configStoreName or data is null.

Applies to