azure.mgmt.appconfiguration.operations module

class azure.mgmt.appconfiguration.operations.ConfigurationStoresOperations(client, config, serializer, deserializer)[source]

Bases: object

ConfigurationStoresOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – The client API version. Constant value: “2019-11-01-preview”.

create(resource_group_name, config_store_name, config_store_creation_parameters, custom_headers=None, raw=False, polling=True, **operation_config)[source]

Creates a configuration store with the specified parameters.

Parameters
  • resource_group_name (str) – The name of the resource group to which the container registry belongs.

  • config_store_name (str) – The name of the configuration store.

  • config_store_creation_parameters (ConfigurationStore) – The parameters for creating a configuration store.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response

  • polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

Returns

An instance of LROPoller that returns ConfigurationStore or ClientRawResponse<ConfigurationStore> if raw==True

Return type

AzureOperationPoller[ConfigurationStore] or AzureOperationPoller[ClientRawResponse[ConfigurationStore]]

Raises

ErrorException

delete(resource_group_name, config_store_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]

Deletes a configuration store.

Parameters
  • resource_group_name (str) – The name of the resource group to which the container registry belongs.

  • config_store_name (str) – The name of the configuration store.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response

  • polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

Returns

An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True

Return type

AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]

Raises

ErrorException

get(resource_group_name, config_store_name, custom_headers=None, raw=False, **operation_config)[source]

Gets the properties of the specified configuration store.

Parameters
  • resource_group_name (str) – The name of the resource group to which the container registry belongs.

  • config_store_name (str) – The name of the configuration store.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

ConfigurationStore or ClientRawResponse if raw=true

Return type

ConfigurationStore or ClientRawResponse

Raises

ErrorException

list(skip_token=None, custom_headers=None, raw=False, **operation_config)[source]

Lists the configuration stores for a given subscription.

Parameters
  • skip_token (str) – 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.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of ConfigurationStore

Return type

ConfigurationStorePaged[ConfigurationStore]

Raises

ErrorException

list_by_resource_group(resource_group_name, skip_token=None, custom_headers=None, raw=False, **operation_config)[source]

Lists the configuration stores for a given resource group.

Parameters
  • resource_group_name (str) – The name of the resource group to which the container registry belongs.

  • skip_token (str) – 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.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of ConfigurationStore

Return type

ConfigurationStorePaged[ConfigurationStore]

Raises

ErrorException

list_key_value(resource_group_name, config_store_name, key, label=None, custom_headers=None, raw=False, **operation_config)[source]

Lists a configuration store key-value.

Parameters
  • resource_group_name (str) – The name of the resource group to which the container registry belongs.

  • config_store_name (str) – The name of the configuration store.

  • key (str) – The key to retrieve.

  • label (str) – The label of the key.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

KeyValue or ClientRawResponse if raw=true

Return type

KeyValue or ClientRawResponse

Raises

ErrorException

list_keys(resource_group_name, config_store_name, skip_token=None, custom_headers=None, raw=False, **operation_config)[source]

Lists the access key for the specified configuration store.

Parameters
  • resource_group_name (str) – The name of the resource group to which the container registry belongs.

  • config_store_name (str) – The name of the configuration store.

  • skip_token (str) – 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.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of ApiKey

Return type

ApiKeyPaged[ApiKey]

Raises

ErrorException

regenerate_key(resource_group_name, config_store_name, id=None, custom_headers=None, raw=False, **operation_config)[source]

Regenerates an access key for the specified configuration store.

Parameters
  • resource_group_name (str) – The name of the resource group to which the container registry belongs.

  • config_store_name (str) – The name of the configuration store.

  • id (str) – The id of the key to regenerate.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

ApiKey or ClientRawResponse if raw=true

Return type

ApiKey or ClientRawResponse

Raises

ErrorException

update(resource_group_name, config_store_name, config_store_update_parameters, custom_headers=None, raw=False, polling=True, **operation_config)[source]

Updates a configuration store with the specified parameters.

Parameters
  • resource_group_name (str) – The name of the resource group to which the container registry belongs.

  • config_store_name (str) – The name of the configuration store.

  • config_store_update_parameters (ConfigurationStoreUpdateParameters) – The parameters for updating a configuration store.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response

  • polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

Returns

An instance of LROPoller that returns ConfigurationStore or ClientRawResponse<ConfigurationStore> if raw==True

Return type

AzureOperationPoller[ConfigurationStore] or AzureOperationPoller[ClientRawResponse[ConfigurationStore]]

Raises

ErrorException

models = <module 'azure.mgmt.appconfiguration.models' from '/home/vsts/work/1/s/sdk/appconfiguration/azure-mgmt-appconfiguration/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/appconfiguration/models/__init__.py'>
class azure.mgmt.appconfiguration.operations.Operations(client, config, serializer, deserializer)[source]

Bases: object

Operations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – The client API version. Constant value: “2019-11-01-preview”.

check_name_availability(name, custom_headers=None, raw=False, **operation_config)[source]

Checks whether the configuration store name is available for use.

Parameters
  • name (str) – The name to check for availability.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

NameAvailabilityStatus or ClientRawResponse if raw=true

Return type

NameAvailabilityStatus or ClientRawResponse

Raises

ErrorException

list(skip_token=None, custom_headers=None, raw=False, **operation_config)[source]

Lists the operations available from this provider.

Parameters
  • skip_token (str) – 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.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of OperationDefinition

Return type

OperationDefinitionPaged[OperationDefinition]

Raises

ErrorException

models = <module 'azure.mgmt.appconfiguration.models' from '/home/vsts/work/1/s/sdk/appconfiguration/azure-mgmt-appconfiguration/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/appconfiguration/models/__init__.py'>
class azure.mgmt.appconfiguration.operations.PrivateEndpointConnectionsOperations(client, config, serializer, deserializer)[source]

Bases: object

PrivateEndpointConnectionsOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – The client API version. Constant value: “2019-11-01-preview”.

create_or_update(resource_group_name, config_store_name, private_endpoint_connection_name, private_link_service_connection_state, private_endpoint=None, custom_headers=None, raw=False, polling=True, **operation_config)[source]

Update the state of the specified private endpoint connection associated with the configuration store.

Parameters
  • resource_group_name (str) – The name of the resource group to which the container registry belongs.

  • config_store_name (str) – The name of the configuration store.

  • private_endpoint_connection_name (str) – Private endpoint connection name

  • private_link_service_connection_state (PrivateLinkServiceConnectionState) – A collection of information about the state of the connection between service consumer and provider.

  • private_endpoint (PrivateEndpoint) – The resource of private endpoint.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response

  • polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

Returns

An instance of LROPoller that returns PrivateEndpointConnection or ClientRawResponse<PrivateEndpointConnection> if raw==True

Return type

AzureOperationPoller[PrivateEndpointConnection] or AzureOperationPoller[ClientRawResponse[PrivateEndpointConnection]]

Raises

ErrorException

delete(resource_group_name, config_store_name, private_endpoint_connection_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]

Deletes a private endpoint connection.

Parameters
  • resource_group_name (str) – The name of the resource group to which the container registry belongs.

  • config_store_name (str) – The name of the configuration store.

  • private_endpoint_connection_name (str) – Private endpoint connection name

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response

  • polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

Returns

An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True

Return type

AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]

Raises

ErrorException

get(resource_group_name, config_store_name, private_endpoint_connection_name, custom_headers=None, raw=False, **operation_config)[source]

Gets the specified private endpoint connection associated with the configuration store.

Parameters
  • resource_group_name (str) – The name of the resource group to which the container registry belongs.

  • config_store_name (str) – The name of the configuration store.

  • private_endpoint_connection_name (str) – Private endpoint connection name

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

PrivateEndpointConnection or ClientRawResponse if raw=true

Return type

PrivateEndpointConnection or ClientRawResponse

Raises

ErrorException

list_by_configuration_store(resource_group_name, config_store_name, custom_headers=None, raw=False, **operation_config)[source]

Lists all private endpoint connections for a configuration store.

Parameters
  • resource_group_name (str) – The name of the resource group to which the container registry belongs.

  • config_store_name (str) – The name of the configuration store.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of PrivateEndpointConnection

Return type

PrivateEndpointConnectionPaged[PrivateEndpointConnection]

Raises

ErrorException

models = <module 'azure.mgmt.appconfiguration.models' from '/home/vsts/work/1/s/sdk/appconfiguration/azure-mgmt-appconfiguration/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/appconfiguration/models/__init__.py'>
class azure.mgmt.appconfiguration.operations.PrivateLinkResourcesOperations(client, config, serializer, deserializer)[source]

Bases: object

PrivateLinkResourcesOperations operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – The client API version. Constant value: “2019-11-01-preview”.

get(resource_group_name, config_store_name, group_name, custom_headers=None, raw=False, **operation_config)[source]

Gets a private link resource that need to be created for a configuration store.

Parameters
  • resource_group_name (str) – The name of the resource group to which the container registry belongs.

  • config_store_name (str) – The name of the configuration store.

  • group_name (str) – The name of the private link resource group.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

PrivateLinkResource or ClientRawResponse if raw=true

Return type

PrivateLinkResource or ClientRawResponse

Raises

ErrorException

list_by_configuration_store(resource_group_name, config_store_name, custom_headers=None, raw=False, **operation_config)[source]

Gets the private link resources that need to be created for a configuration store.

Parameters
  • resource_group_name (str) – The name of the resource group to which the container registry belongs.

  • config_store_name (str) – The name of the configuration store.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of PrivateLinkResource

Return type

PrivateLinkResourcePaged[PrivateLinkResource]

Raises

ErrorException

models = <module 'azure.mgmt.appconfiguration.models' from '/home/vsts/work/1/s/sdk/appconfiguration/azure-mgmt-appconfiguration/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/appconfiguration/models/__init__.py'>