azure.mgmt.appconfiguration.models module

exception azure.mgmt.appconfiguration.models.ErrorException(deserialize, response, *args)[source]

Bases: msrest.exceptions.HttpOperationError

Server responsed with exception of type: ‘Error’.

Parameters
  • deserialize – A deserializer

  • response – Server response to be deserialized.

class azure.mgmt.appconfiguration.models.ApiKey(**kwargs)[source]

Bases: msrest.serialization.Model

An API key used for authenticating with a configuration store endpoint.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – The key ID.

  • name (str) – A name for the key describing its usage.

  • value (str) – The value of the key that is used for authentication purposes.

  • connection_string (str) – A connection string that can be used by supporting clients for authentication.

  • last_modified (datetime) – The last time any of the key’s properties were modified.

  • read_only (bool) – Whether this key can only be used for read operations.

class azure.mgmt.appconfiguration.models.CheckNameAvailabilityParameters(*, name: str, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters used for checking whether a resource name is available.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Parameters

name (str) – Required. The name to check for availability.

Variables

type (str) – Required. The resource type to check for name availability. Default value: “Microsoft.AppConfiguration/configurationStores” .

type = 'Microsoft.AppConfiguration/configurationStores'
class azure.mgmt.appconfiguration.models.ConfigurationStore(*, location: str, sku, tags=None, identity=None, encryption=None, **kwargs)[source]

Bases: azure.mgmt.appconfiguration.models._models_py3.Resource

The configuration store along with all resource properties. The Configuration Store will have all information to begin utilizing it.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – The resource ID.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource.

  • provisioning_state (str or ProvisioningState) – The provisioning state of the configuration store. Possible values include: ‘Creating’, ‘Updating’, ‘Deleting’, ‘Succeeded’, ‘Failed’, ‘Canceled’

  • creation_date (datetime) – The creation date of configuration store.

  • endpoint (str) – The DNS endpoint where the configuration store API will be available.

Parameters
  • location (str) – Required. The location of the resource. This cannot be changed after the resource is created.

  • tags (dict[str, str]) – The tags of the resource.

  • identity (ResourceIdentity) – The managed identity information, if configured.

  • encryption (EncryptionProperties) – The encryption settings of the configuration store.

  • sku (Sku) – Required. The sku of the configuration store.

class azure.mgmt.appconfiguration.models.ConfigurationStoreUpdateParameters(*, encryption=None, identity=None, sku=None, tags=None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters for updating a configuration store.

Parameters
  • encryption (EncryptionProperties) – The encryption settings of the configuration store.

  • identity (ResourceIdentity) – The managed identity information for the configuration store.

  • sku (Sku) – The SKU of the configuration store.

  • tags (dict[str, str]) – The ARM resource tags.

class azure.mgmt.appconfiguration.models.EncryptionProperties(*, key_vault_properties=None, **kwargs)[source]

Bases: msrest.serialization.Model

The encryption settings for a configuration store.

Parameters

key_vault_properties (KeyVaultProperties) – Key vault properties.

class azure.mgmt.appconfiguration.models.Error(*, code: str = None, message: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

AppConfiguration error object.

Parameters
  • code (str) – Error code.

  • message (str) – Error message.

class azure.mgmt.appconfiguration.models.KeyValue(**kwargs)[source]

Bases: msrest.serialization.Model

The result of a request to retrieve a key-value from the specified configuration store.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • key (str) – The primary identifier of a key-value. The key is used in unison with the label to uniquely identify a key-value.

  • label (str) – A value used to group key-values. The label is used in unison with the key to uniquely identify a key-value.

  • value (str) – The value of the key-value.

  • content_type (str) – The content type of the key-value’s value. Providing a proper content-type can enable transformations of values when they are retrieved by applications.

  • e_tag (str) – An ETag indicating the state of a key-value within a configuration store.

  • last_modified (datetime) – The last time a modifying operation was performed on the given key-value.

  • locked (bool) – A value indicating whether the key-value is locked. A locked key-value may not be modified until it is unlocked.

  • tags (dict[str, str]) – A dictionary of tags that can help identify what a key-value may be applicable for.

class azure.mgmt.appconfiguration.models.KeyVaultProperties(*, key_identifier: str = None, identity_client_id: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Settings concerning key vault encryption for a configuration store.

Parameters
  • key_identifier (str) – The URI of the key vault key used to encrypt data.

  • identity_client_id (str) – The client id of the identity which will be used to access key vault.

class azure.mgmt.appconfiguration.models.ListKeyValueParameters(*, key: str, label: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters used to list a configuration store key-value.

All required parameters must be populated in order to send to Azure.

Parameters
  • key (str) – Required. The key to retrieve.

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

class azure.mgmt.appconfiguration.models.NameAvailabilityStatus(**kwargs)[source]

Bases: msrest.serialization.Model

The result of a request to check the availability of a resource name.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • name_available (bool) – The value indicating whether the resource name is available.

  • message (str) – If any, the error message that provides more detail for the reason that the name is not available.

  • reason (str) – If any, the reason that the name is not available.

class azure.mgmt.appconfiguration.models.OperationDefinition(*, name: str = None, display=None, **kwargs)[source]

Bases: msrest.serialization.Model

The definition of a configuration store operation.

Parameters
  • name (str) – Operation name: {provider}/{resource}/{operation}.

  • display (OperationDefinitionDisplay) – The display information for the configuration store operation.

class azure.mgmt.appconfiguration.models.OperationDefinitionDisplay(*, resource: str = None, operation: str = None, description: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

The display information for a configuration store operation.

Variables are only populated by the server, and will be ignored when sending a request.

Variables

provider (str) – The resource provider name: Microsoft App Configuration.”

Parameters
  • resource (str) – The resource on which the operation is performed.

  • operation (str) – The operation that users can perform.

  • description (str) – The description for the operation.

class azure.mgmt.appconfiguration.models.PrivateEndpoint(*, id: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Private endpoint which a connection belongs to.

Parameters

id (str) – The resource Id for private endpoint

class azure.mgmt.appconfiguration.models.PrivateEndpointConnection(*, private_link_service_connection_state, private_endpoint=None, **kwargs)[source]

Bases: msrest.serialization.Model

A private endpoint connection.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – The resource ID.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource.

  • provisioning_state (str or ProvisioningState) – The provisioning status of the private endpoint connection. Possible values include: ‘Creating’, ‘Updating’, ‘Deleting’, ‘Succeeded’, ‘Failed’, ‘Canceled’

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

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

class azure.mgmt.appconfiguration.models.PrivateLinkResource(**kwargs)[source]

Bases: msrest.serialization.Model

A resource that supports private link capabilities.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – The resource ID.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource.

  • group_id (str) – The private link resource group id.

  • required_members (list[str]) – The private link resource required member names.

class azure.mgmt.appconfiguration.models.PrivateLinkServiceConnectionState(*, status=None, description: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

The state of a private link service connection.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • status (str or ConnectionStatus) – The private link service connection status. Possible values include: ‘Pending’, ‘Approved’, ‘Rejected’, ‘Disconnected’

  • description (str) – The private link service connection description.

Variables

actions_required (str or ActionsRequired) – Any action that is required beyond basic workflow (approve/ reject/ disconnect). Possible values include: ‘None’, ‘Recreate’

class azure.mgmt.appconfiguration.models.RegenerateKeyParameters(*, id: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters used to regenerate an API key.

Parameters

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

class azure.mgmt.appconfiguration.models.Resource(*, location: str, tags=None, **kwargs)[source]

Bases: msrest.serialization.Model

An Azure resource.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – The resource ID.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource.

Parameters
  • location (str) – Required. The location of the resource. This cannot be changed after the resource is created.

  • tags (dict[str, str]) – The tags of the resource.

class azure.mgmt.appconfiguration.models.ResourceIdentity(*, type=None, user_assigned_identities=None, **kwargs)[source]

Bases: msrest.serialization.Model

An identity that can be associated with a resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • type (str or IdentityType) – The type of managed identity used. The type ‘SystemAssigned, UserAssigned’ includes both an implicitly created identity and a set of user-assigned identities. The type ‘None’ will remove any identities. Possible values include: ‘None’, ‘SystemAssigned’, ‘UserAssigned’, ‘SystemAssigned, UserAssigned’

  • user_assigned_identities (dict[str, UserIdentity]) – The list of user-assigned identities associated with the resource. The user-assigned identity dictionary keys will be ARM resource ids in the form: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}’.

Variables
  • principal_id (str) – The principal id of the identity. This property will only be provided for a system-assigned identity.

  • tenant_id (str) – The tenant id associated with the resource’s identity. This property will only be provided for a system-assigned identity.

class azure.mgmt.appconfiguration.models.Sku(*, name: str, **kwargs)[source]

Bases: msrest.serialization.Model

Describes a configuration store SKU.

All required parameters must be populated in order to send to Azure.

Parameters

name (str) – Required. The SKU name of the configuration store.

class azure.mgmt.appconfiguration.models.UserIdentity(**kwargs)[source]

Bases: msrest.serialization.Model

A resource identity that is managed by the user of the service.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • principal_id (str) – The principal ID of the user-assigned identity.

  • client_id (str) – The client ID of the user-assigned identity.

class azure.mgmt.appconfiguration.models.ConfigurationStorePaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of ConfigurationStore object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.appconfiguration.models.ApiKeyPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of ApiKey object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.appconfiguration.models.OperationDefinitionPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of OperationDefinition object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.appconfiguration.models.PrivateEndpointConnectionPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of PrivateEndpointConnection object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.appconfiguration.models.PrivateLinkResourcePaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of PrivateLinkResource object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.appconfiguration.models.IdentityType[source]

Bases: str, enum.Enum

An enumeration.

none = 'None'
system_assigned = 'SystemAssigned'
system_assigned_user_assigned = 'SystemAssigned, UserAssigned'
user_assigned = 'UserAssigned'
class azure.mgmt.appconfiguration.models.ProvisioningState[source]

Bases: str, enum.Enum

An enumeration.

canceled = 'Canceled'
creating = 'Creating'
deleting = 'Deleting'
failed = 'Failed'
succeeded = 'Succeeded'
updating = 'Updating'
class azure.mgmt.appconfiguration.models.ConnectionStatus[source]

Bases: str, enum.Enum

An enumeration.

approved = 'Approved'
disconnected = 'Disconnected'
pending = 'Pending'
rejected = 'Rejected'
class azure.mgmt.appconfiguration.models.ActionsRequired[source]

Bases: str, enum.Enum

An enumeration.

none = 'None'
recreate = 'Recreate'