Udostępnij za pośrednictwem


AppConfigurationKeyValueCollection Class

Definition

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

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

Constructors

AppConfigurationKeyValueCollection()

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

Creates a key-value. NOTE: This operation is intended for use in ARM Template deployments. For all other scenarios involving App Configuration key-values the data plane API should be used instead.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}
  • Operation Id: KeyValues_CreateOrUpdate
  • Default Api Version: 2023-03-01
  • Resource: AppConfigurationKeyValueResource
CreateOrUpdateAsync(WaitUntil, String, AppConfigurationKeyValueData, CancellationToken)

Creates a key-value. NOTE: This operation is intended for use in ARM Template deployments. For all other scenarios involving App Configuration key-values the data plane API should be used instead.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets the properties of the specified key-value. NOTE: This operation is intended for use in ARM Template deployments. For all other scenarios involving App Configuration key-values the data plane API should be used instead.

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

Gets the properties of the specified key-value. NOTE: This operation is intended for use in ARM Template deployments. For all other scenarios involving App Configuration key-values the data plane API should be used instead.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()
Obsolete.

Returns an enumerator that iterates through a collection.

IEnumerable<AppConfigurationKeyValueResource>.GetEnumerator()
Obsolete.

Returns an enumerator that iterates through the collection.

Applies to