azure.mgmt.appcontainers.models module
- class azure.mgmt.appcontainers.models.AccessMode(*values)[source]
-
Access mode for storage.
- READ_ONLY = 'ReadOnly'
- READ_WRITE = 'ReadWrite'
- class azure.mgmt.appcontainers.models.Action(*values)[source]
-
Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny.
- ALLOW = 'Allow'
- DENY = 'Deny'
- class azure.mgmt.appcontainers.models.ActiveRevisionsMode(*values)[source]
-
ActiveRevisionsMode controls how active revisions are handled for the Container app:
- class azure.mgmt.appcontainers.models.Affinity(*values)[source]
-
Sticky Session Affinity.
- NONE = 'none'
- STICKY = 'sticky'
- class azure.mgmt.appcontainers.models.AllowedAudiencesValidation(*, allowed_audiences: List[str] | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the Allowed Audiences validation flow.
- class azure.mgmt.appcontainers.models.AllowedPrincipals(*, groups: List[str] | None = None, identities: List[str] | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the Azure Active Directory allowed principals.
- class azure.mgmt.appcontainers.models.AppLogsConfiguration(*, destination: str | None = None, log_analytics_configuration: _models.LogAnalyticsConfiguration | None = None, **kwargs: Any)[source]
Bases:
ModelConfiguration of application logs.
- Variables:
destination (str) – Logs destination, can be ‘log-analytics’, ‘azure-monitor’ or ‘none’.
log_analytics_configuration (LogAnalyticsConfiguration) – Log Analytics configuration, must only be provided when destination is configured as ‘log-analytics’.
- Keyword Arguments:
destination (str) – Logs destination, can be ‘log-analytics’, ‘azure-monitor’ or ‘none’.
log_analytics_configuration (LogAnalyticsConfiguration) – Log Analytics configuration, must only be provided when destination is configured as ‘log-analytics’.
- class azure.mgmt.appcontainers.models.AppProtocol(*values)[source]
-
Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http.
- GRPC = 'grpc'
- HTTP = 'http'
- class azure.mgmt.appcontainers.models.AppRegistration(*, app_id: str | None = None, app_secret_setting_name: str | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the app registration for providers that have app ids and app secrets.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.Apple(*, enabled: bool | None = None, registration: _models.AppleRegistration | None = None, login: _models.LoginScopes | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the Apple provider.
- Variables:
enabled (bool) –
<code>false</code>if the Apple provider should not be enabled despite the set registration; otherwise,<code>true</code>.registration (AppleRegistration) – The configuration settings of the Apple registration.
login (LoginScopes) – The configuration settings of the login flow.
- Keyword Arguments:
enabled (bool) –
<code>false</code>if the Apple provider should not be enabled despite the set registration; otherwise,<code>true</code>.registration (AppleRegistration) – The configuration settings of the Apple registration.
login (LoginScopes) – The configuration settings of the login flow.
- class azure.mgmt.appcontainers.models.AppleRegistration(*, client_id: str | None = None, client_secret_setting_name: str | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the registration for the Apple provider.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.Applicability(*values)[source]
-
indicates whether the profile is default for the location.
- CUSTOM = 'Custom'
- LOCATION_DEFAULT = 'LocationDefault'
- class azure.mgmt.appcontainers.models.AuthConfig(*, platform: _models.AuthPlatform | None = None, global_validation: _models.GlobalValidation | None = None, identity_providers: _models.IdentityProviders | None = None, login: _models.Login | None = None, http_settings: _models.HttpSettings | None = None, encryption_settings: _models.EncryptionSettings | None = None, **kwargs: Any)[source]
Bases:
ProxyResourceConfiguration settings for the Azure ContainerApp Service Authentication / Authorization feature.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
platform (AuthPlatform) – The configuration settings of the platform of ContainerApp Service Authentication/Authorization.
global_validation (GlobalValidation) – The configuration settings that determines the validation flow of users using Service Authentication/Authorization.
identity_providers (IdentityProviders) – The configuration settings of each of the identity providers used to configure ContainerApp Service Authentication/Authorization.
login (Login) – The configuration settings of the login flow of users using ContainerApp Service Authentication/Authorization.
http_settings (HttpSettings) – The configuration settings of the HTTP requests for authentication and authorization requests made against ContainerApp Service Authentication/Authorization.
encryption_settings (EncryptionSettings) – The configuration settings of the secrets references of encryption key and signing key for ContainerApp Service Authentication/Authorization.
- Keyword Arguments:
platform (AuthPlatform) – The configuration settings of the platform of ContainerApp Service Authentication/Authorization.
global_validation (GlobalValidation) – The configuration settings that determines the validation flow of users using Service Authentication/Authorization.
identity_providers (IdentityProviders) – The configuration settings of each of the identity providers used to configure ContainerApp Service Authentication/Authorization.
login (Login) – The configuration settings of the login flow of users using ContainerApp Service Authentication/Authorization.
http_settings (HttpSettings) – The configuration settings of the HTTP requests for authentication and authorization requests made against ContainerApp Service Authentication/Authorization.
encryption_settings (EncryptionSettings) – The configuration settings of the secrets references of encryption key and signing key for ContainerApp Service Authentication/Authorization.
- class azure.mgmt.appcontainers.models.AuthConfigCollection(*, value: List[_models.AuthConfig], **kwargs: Any)[source]
Bases:
ModelAuthConfig collection ARM 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 server.
- Variables:
value (list[AuthConfig]) – Collection of resources. Required.
next_link (str) – Link to next page of resources.
- Keyword Arguments:
value (list[AuthConfig]) – Collection of resources. Required.
- class azure.mgmt.appcontainers.models.AuthPlatform(*, enabled: bool | None = None, runtime_version: str | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the platform of ContainerApp Service Authentication/Authorization.
- Variables:
enabled (bool) –
<code>true</code>if the Authentication / Authorization feature is enabled for the current app; otherwise,<code>false</code>.runtime_version (str) – The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
- Keyword Arguments:
enabled (bool) –
<code>true</code>if the Authentication / Authorization feature is enabled for the current app; otherwise,<code>false</code>.runtime_version (str) – The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
- class azure.mgmt.appcontainers.models.AvailableOperations(*, value: List[_models.OperationDetail] | None = None, next_link: str | None = None, **kwargs: Any)[source]
Bases:
ModelAvailable operations of the service.
- Variables:
value (list[OperationDetail]) – Collection of available operation details.
next_link (str) – URL client should use to fetch the next page (per server side paging). It’s null for now, added for future use.
- Keyword Arguments:
value (list[OperationDetail]) – Collection of available operation details.
next_link (str) – URL client should use to fetch the next page (per server side paging). It’s null for now, added for future use.
- class azure.mgmt.appcontainers.models.AvailableWorkloadProfile(*, location: str | None = None, properties: _models.AvailableWorkloadProfileProperties | None = None, **kwargs: Any)[source]
Bases:
ProxyResourceA workload profile with specific hardware configure to run container apps.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
location (str) – Region of the workload profile.
properties (AvailableWorkloadProfileProperties) – Revision resource specific properties.
- Keyword Arguments:
location (str) – Region of the workload profile.
properties (AvailableWorkloadProfileProperties) – Revision resource specific properties.
- class azure.mgmt.appcontainers.models.AvailableWorkloadProfileProperties(*, category: str | None = None, applicability: str | _models.Applicability | None = None, cores: int | None = None, memory_gi_b: int | None = None, gpus: int | None = None, display_name: str | None = None, **kwargs: Any)[source]
Bases:
ModelRevision resource specific properties.
- Variables:
category (str) – Used to categorize workload profiles.
applicability (str or Applicability) – indicates whether the profile is default for the location. Known values are: “LocationDefault” and “Custom”.
cores (int) – Number of cores in CPU.
memory_gi_b (int) – Memory in GiB.
gpus (int) – Number of GPUs.
display_name (str) – The everyday name of the workload profile.
- Keyword Arguments:
category (str) – Used to categorize workload profiles.
applicability (str or Applicability) – indicates whether the profile is default for the location. Known values are: “LocationDefault” and “Custom”.
cores (int) – Number of cores in CPU.
memory_gi_b (int) – Memory in GiB.
gpus (int) – Number of GPUs.
display_name (str) – The everyday name of the workload profile.
- class azure.mgmt.appcontainers.models.AvailableWorkloadProfilesCollection(*, value: List[_models.AvailableWorkloadProfile], **kwargs: Any)[source]
Bases:
ModelCollection of available workload profiles in the location.
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 server.
- Variables:
value (list[AvailableWorkloadProfile]) – Collection of workload profiles. Required.
next_link (str) – Link to next page of resources.
- Keyword Arguments:
value (list[AvailableWorkloadProfile]) – Collection of workload profiles. Required.
- class azure.mgmt.appcontainers.models.AzureActiveDirectory(*, enabled: bool | None = None, registration: _models.AzureActiveDirectoryRegistration | None = None, login: _models.AzureActiveDirectoryLogin | None = None, validation: _models.AzureActiveDirectoryValidation | None = None, is_auto_provisioned: bool | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the Azure Active directory provider.
- Variables:
enabled (bool) –
<code>false</code>if the Azure Active Directory provider should not be enabled despite the set registration; otherwise,<code>true</code>.registration (AzureActiveDirectoryRegistration) – The configuration settings of the Azure Active Directory app registration.
login (AzureActiveDirectoryLogin) – The configuration settings of the Azure Active Directory login flow.
validation (AzureActiveDirectoryValidation) – The configuration settings of the Azure Active Directory token validation flow.
is_auto_provisioned (bool) – Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling. This is an internal flag primarily intended to support the Azure Management Portal. Users should not read or write to this property.
- Keyword Arguments:
enabled (bool) –
<code>false</code>if the Azure Active Directory provider should not be enabled despite the set registration; otherwise,<code>true</code>.registration (AzureActiveDirectoryRegistration) – The configuration settings of the Azure Active Directory app registration.
login (AzureActiveDirectoryLogin) – The configuration settings of the Azure Active Directory login flow.
validation (AzureActiveDirectoryValidation) – The configuration settings of the Azure Active Directory token validation flow.
is_auto_provisioned (bool) – Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling. This is an internal flag primarily intended to support the Azure Management Portal. Users should not read or write to this property.
- class azure.mgmt.appcontainers.models.AzureActiveDirectoryLogin(*, login_parameters: List[str] | None = None, disable_www_authenticate: bool | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the Azure Active Directory login flow.
- Variables:
login_parameters (list[str]) – Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form “key=value”.
disable_www_authenticate (bool) –
<code>true</code>if the www-authenticate provider should be omitted from the request; otherwise,<code>false</code>.
- Keyword Arguments:
login_parameters (list[str]) – Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form “key=value”.
disable_www_authenticate (bool) –
<code>true</code>if the www-authenticate provider should be omitted from the request; otherwise,<code>false</code>.
- class azure.mgmt.appcontainers.models.AzureActiveDirectoryRegistration(*, open_id_issuer: str | None = None, client_id: str | None = None, client_secret_setting_name: str | None = None, client_secret_certificate_thumbprint: str | None = None, client_secret_certificate_subject_alternative_name: str | None = None, client_secret_certificate_issuer: str | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the Azure Active Directory app registration.
- Variables:
open_id_issuer (str) – The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://login.microsoftonline.com/v2.0/{tenant-guid}/. This URI is a case-sensitive identifier for the token issuer. More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html.
client_id (str) – The Client ID of this relying party application, known as the client_id. This setting is required for enabling OpenID Connection authentication with Azure Active Directory or other 3rd party OpenID Connect providers. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html.
client_secret_setting_name (str) – The app setting name that contains the client secret of the relying party application.
client_secret_certificate_thumbprint (str) – An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as a replacement for the Client Secret. It is also optional.
client_secret_certificate_subject_alternative_name (str) – An alternative to the client secret thumbprint, that is the subject alternative name of a certificate used for signing purposes. This property acts as a replacement for the Client Secret Certificate Thumbprint. It is also optional.
client_secret_certificate_issuer (str) – An alternative to the client secret thumbprint, that is the issuer of a certificate used for signing purposes. This property acts as a replacement for the Client Secret Certificate Thumbprint. It is also optional.
- Keyword Arguments:
open_id_issuer (str) – The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://login.microsoftonline.com/v2.0/{tenant-guid}/. This URI is a case-sensitive identifier for the token issuer. More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html.
client_id (str) – The Client ID of this relying party application, known as the client_id. This setting is required for enabling OpenID Connection authentication with Azure Active Directory or other 3rd party OpenID Connect providers. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html.
client_secret_setting_name (str) – The app setting name that contains the client secret of the relying party application.
client_secret_certificate_thumbprint (str) – An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as a replacement for the Client Secret. It is also optional.
client_secret_certificate_subject_alternative_name (str) – An alternative to the client secret thumbprint, that is the subject alternative name of a certificate used for signing purposes. This property acts as a replacement for the Client Secret Certificate Thumbprint. It is also optional.
client_secret_certificate_issuer (str) – An alternative to the client secret thumbprint, that is the issuer of a certificate used for signing purposes. This property acts as a replacement for the Client Secret Certificate Thumbprint. It is also optional.
- class azure.mgmt.appcontainers.models.AzureActiveDirectoryValidation(*, jwt_claim_checks: _models.JwtClaimChecks | None = None, allowed_audiences: List[str] | None = None, default_authorization_policy: _models.DefaultAuthorizationPolicy | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the Azure Active Directory token validation flow.
- Variables:
jwt_claim_checks (JwtClaimChecks) – The configuration settings of the checks that should be made while validating the JWT Claims.
allowed_audiences (list[str]) – The list of audiences that can make successful authentication/authorization requests.
default_authorization_policy (DefaultAuthorizationPolicy) – The configuration settings of the default authorization policy.
- Keyword Arguments:
jwt_claim_checks (JwtClaimChecks) – The configuration settings of the checks that should be made while validating the JWT Claims.
allowed_audiences (list[str]) – The list of audiences that can make successful authentication/authorization requests.
default_authorization_policy (DefaultAuthorizationPolicy) – The configuration settings of the default authorization policy.
- class azure.mgmt.appcontainers.models.AzureCredentials(*, client_id: str | None = None, client_secret: str | None = None, tenant_id: str | None = None, kind: str | None = None, subscription_id: str | None = None, **kwargs: Any)[source]
Bases:
ModelContainer App credentials.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.AzureFileProperties(*, account_name: str | None = None, account_key: str | None = None, access_mode: str | _models.AccessMode | None = None, share_name: str | None = None, **kwargs: Any)[source]
Bases:
ModelAzure File Properties.
- Variables:
account_name (str) – Storage account name for azure file.
account_key (str) – Storage account key for azure file.
access_mode (str or AccessMode) – Access mode for storage. Known values are: “ReadOnly” and “ReadWrite”.
share_name (str) – Azure file share name.
- Keyword Arguments:
account_name (str) – Storage account name for azure file.
account_key (str) – Storage account key for azure file.
access_mode (str or AccessMode) – Access mode for storage. Known values are: “ReadOnly” and “ReadWrite”.
share_name (str) – Azure file share name.
- class azure.mgmt.appcontainers.models.AzureStaticWebApps(*, enabled: bool | None = None, registration: _models.AzureStaticWebAppsRegistration | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the Azure Static Web Apps provider.
- Variables:
enabled (bool) –
<code>false</code>if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise,<code>true</code>.registration (AzureStaticWebAppsRegistration) – The configuration settings of the Azure Static Web Apps registration.
- Keyword Arguments:
enabled (bool) –
<code>false</code>if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise,<code>true</code>.registration (AzureStaticWebAppsRegistration) – The configuration settings of the Azure Static Web Apps registration.
- class azure.mgmt.appcontainers.models.AzureStaticWebAppsRegistration(*, client_id: str | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the registration for the Azure Static Web Apps provider.
- class azure.mgmt.appcontainers.models.BaseContainer(*, image: str | None = None, name: str | None = None, command: List[str] | None = None, args: List[str] | None = None, env: List[_models.EnvironmentVar] | None = None, resources: _models.ContainerResources | None = None, volume_mounts: List[_models.VolumeMount] | None = None, **kwargs: Any)[source]
Bases:
ModelContainer App base container definition.
- Variables:
image (str) – Container image tag.
name (str) – Custom container name.
env (list[EnvironmentVar]) – Container environment variables.
resources (ContainerResources) – Container resource requirements.
volume_mounts (list[VolumeMount]) – Container volume mounts.
- Keyword Arguments:
image (str) – Container image tag.
name (str) – Custom container name.
env (list[EnvironmentVar]) – Container environment variables.
resources (ContainerResources) – Container resource requirements.
volume_mounts (list[VolumeMount]) – Container volume mounts.
- class azure.mgmt.appcontainers.models.BillingMeter(*, location: str | None = None, properties: _models.BillingMeterProperties | None = None, **kwargs: Any)[source]
Bases:
ProxyResourceBilling meter.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
location (str) – Region for the billing meter.
properties (BillingMeterProperties) – Revision resource specific properties.
- Keyword Arguments:
location (str) – Region for the billing meter.
properties (BillingMeterProperties) – Revision resource specific properties.
- class azure.mgmt.appcontainers.models.BillingMeterCollection(*, value: List[_models.BillingMeter], **kwargs: Any)[source]
Bases:
ModelCollection of billing meters.
All required parameters must be populated in order to send to server.
- Variables:
value (list[BillingMeter]) – Collection of billing meters. Required.
- Keyword Arguments:
value (list[BillingMeter]) – Collection of billing meters. Required.
- class azure.mgmt.appcontainers.models.BillingMeterProperties(*, category: str | None = None, meter_type: str | None = None, display_name: str | None = None, **kwargs: Any)[source]
Bases:
ModelRevision resource specific properties.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.BindingType(*values)[source]
-
Custom Domain binding type.
- DISABLED = 'Disabled'
- SNI_ENABLED = 'SniEnabled'
- class azure.mgmt.appcontainers.models.BlobStorageTokenStore(*, sas_url_setting_name: str, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the storage of the tokens if blob storage is used.
All required parameters must be populated in order to send to server.
- class azure.mgmt.appcontainers.models.Certificate(*, location: str, tags: Dict[str, str] | None = None, properties: _models.CertificateProperties | None = None, **kwargs: Any)[source]
Bases:
TrackedResourceCertificate used for Custom Domain bindings of Container Apps in a Managed Environment.
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 server.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
location (str) – The geo-location where the resource lives. Required.
properties (CertificateProperties) – Certificate resource specific properties.
- Keyword Arguments:
location (str) – The geo-location where the resource lives. Required.
properties (CertificateProperties) – Certificate resource specific properties.
- class azure.mgmt.appcontainers.models.CertificateCollection(*, value: List[_models.Certificate], **kwargs: Any)[source]
Bases:
ModelCollection of Certificates.
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 server.
- Variables:
value (list[Certificate]) – Collection of resources. Required.
next_link (str) – Link to next page of resources.
- Keyword Arguments:
value (list[Certificate]) – Collection of resources. Required.
- class azure.mgmt.appcontainers.models.CertificateKeyVaultProperties(*, identity: str | None = None, key_vault_url: str | None = None, **kwargs: Any)[source]
Bases:
ModelProperties for a certificate stored in a Key Vault.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.CertificatePatch(*, tags: Dict[str, str] | None = None, **kwargs: Any)[source]
Bases:
ModelA certificate to update.
- class azure.mgmt.appcontainers.models.CertificateProperties(*, certificate_key_vault_properties: _models.CertificateKeyVaultProperties | None = None, password: str | None = None, value: bytes | None = None, **kwargs: Any)[source]
Bases:
ModelCertificate resource specific properties.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
provisioning_state (str or CertificateProvisioningState) – Provisioning state of the certificate. Known values are: “Succeeded”, “Failed”, “Canceled”, “DeleteFailed”, and “Pending”.
certificate_key_vault_properties (CertificateKeyVaultProperties) – Properties for a certificate stored in a Key Vault.
password (str) – Certificate password.
subject_name (str) – Subject name of the certificate.
subject_alternative_names (list[str]) – Subject alternative names the certificate applies to.
value (bytes) – PFX or PEM blob.
issuer (str) – Certificate issuer.
issue_date (datetime) – Certificate issue Date.
expiration_date (datetime) – Certificate expiration date.
thumbprint (str) – Certificate thumbprint.
valid (bool) – Is the certificate valid?.
public_key_hash (str) – Public key hash.
- Keyword Arguments:
certificate_key_vault_properties (CertificateKeyVaultProperties) – Properties for a certificate stored in a Key Vault.
password (str) – Certificate password.
value (bytes) – PFX or PEM blob.
- class azure.mgmt.appcontainers.models.CertificateProvisioningState(*values)[source]
-
Provisioning state of the certificate.
- CANCELED = 'Canceled'
- DELETE_FAILED = 'DeleteFailed'
- FAILED = 'Failed'
- PENDING = 'Pending'
- SUCCEEDED = 'Succeeded'
- class azure.mgmt.appcontainers.models.CheckNameAvailabilityReason(*values)[source]
-
The reason why the given name is not available.
- ALREADY_EXISTS = 'AlreadyExists'
- INVALID = 'Invalid'
- class azure.mgmt.appcontainers.models.CheckNameAvailabilityRequest(*, name: str | None = None, type: str | None = None, **kwargs: Any)[source]
Bases:
ModelThe check availability request body.
- class azure.mgmt.appcontainers.models.CheckNameAvailabilityResponse(*, name_available: bool | None = None, reason: str | _models.CheckNameAvailabilityReason | None = None, message: str | None = None, **kwargs: Any)[source]
Bases:
ModelThe check availability result.
- Variables:
name_available (bool) – Indicates if the resource name is available.
reason (str or CheckNameAvailabilityReason) – The reason why the given name is not available. Known values are: “Invalid” and “AlreadyExists”.
message (str) – Detailed reason why the given name is available.
- Keyword Arguments:
name_available (bool) – Indicates if the resource name is available.
reason (str or CheckNameAvailabilityReason) – The reason why the given name is not available. Known values are: “Invalid” and “AlreadyExists”.
message (str) – Detailed reason why the given name is available.
- class azure.mgmt.appcontainers.models.ClientRegistration(*, client_id: str | None = None, client_secret_setting_name: str | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the app registration for providers that have client ids and client secrets.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.Configuration(*, secrets: List[_models.Secret] | None = None, active_revisions_mode: str | _models.ActiveRevisionsMode = 'Single', ingress: _models.Ingress | None = None, registries: List[_models.RegistryCredentials] | None = None, dapr: _models.Dapr | None = None, runtime: _models.Runtime | None = None, max_inactive_revisions: int | None = None, service: _models.Service | None = None, identity_settings: List[_models.IdentitySettings] | None = None, **kwargs: Any)[source]
Bases:
ModelNon versioned Container App configuration properties that define the mutable settings of a Container app.
- Variables:
secrets (list[Secret]) – Collection of secrets used by a Container app.
active_revisions_mode (str or ActiveRevisionsMode) –
ActiveRevisionsMode controls how active revisions are handled for the Container app:
- Multiple: multiple revisions can be active.
- Single: Only one
revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.</item></list>. Known values are: “Multiple” and “Single”.
ingress (Ingress) – Ingress configurations.
registries (list[RegistryCredentials]) – Collection of private container registry credentials for containers used by the Container app.
dapr (Dapr) – Dapr configuration for the Container App.
runtime (Runtime) – App runtime configuration for the Container App.
max_inactive_revisions (int) – Optional. Max inactive revisions a Container App can have.
service (Service) – Container App to be a dev Container App Service.
identity_settings (list[IdentitySettings]) – Optional settings for Managed Identities that are assigned to the Container App. If a Managed Identity is not specified here, default settings will be used.
- Keyword Arguments:
secrets (list[Secret]) – Collection of secrets used by a Container app.
active_revisions_mode (str or ActiveRevisionsMode) –
ActiveRevisionsMode controls how active revisions are handled for the Container app:
- Multiple: multiple revisions can be active.
- Single: Only one
revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.</item></list>. Known values are: “Multiple” and “Single”.
ingress (Ingress) – Ingress configurations.
registries (list[RegistryCredentials]) – Collection of private container registry credentials for containers used by the Container app.
dapr (Dapr) – Dapr configuration for the Container App.
runtime (Runtime) – App runtime configuration for the Container App.
max_inactive_revisions (int) – Optional. Max inactive revisions a Container App can have.
service (Service) – Container App to be a dev Container App Service.
identity_settings (list[IdentitySettings]) – Optional settings for Managed Identities that are assigned to the Container App. If a Managed Identity is not specified here, default settings will be used.
- class azure.mgmt.appcontainers.models.ConnectedEnvironment(*, location: str, tags: Dict[str, str] | None = None, extended_location: _models.ExtendedLocation | None = None, static_ip: str | None = None, dapr_ai_connection_string: str | None = None, custom_domain_configuration: _models.CustomDomainConfiguration | None = None, **kwargs: Any)[source]
Bases:
TrackedResourceAn environment for Kubernetes cluster specialized for web workloads by Azure App Service.
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 server.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
location (str) – The geo-location where the resource lives. Required.
extended_location (ExtendedLocation) – The complex type of the extended location.
provisioning_state (str or ConnectedEnvironmentProvisioningState) – Provisioning state of the Kubernetes Environment. Known values are: “Succeeded”, “Failed”, “Canceled”, “Waiting”, “InitializationInProgress”, “InfrastructureSetupInProgress”, “InfrastructureSetupComplete”, and “ScheduledForDelete”.
deployment_errors (str) – Any errors that occurred during deployment or deployment validation.
default_domain (str) – Default Domain Name for the cluster.
static_ip (str) – Static IP of the connectedEnvironment.
dapr_ai_connection_string (str) – Application Insights connection string used by Dapr to export Service to Service communication telemetry.
custom_domain_configuration (CustomDomainConfiguration) – Custom domain configuration for the environment.
- Keyword Arguments:
location (str) – The geo-location where the resource lives. Required.
extended_location (ExtendedLocation) – The complex type of the extended location.
static_ip (str) – Static IP of the connectedEnvironment.
dapr_ai_connection_string (str) – Application Insights connection string used by Dapr to export Service to Service communication telemetry.
custom_domain_configuration (CustomDomainConfiguration) – Custom domain configuration for the environment.
- class azure.mgmt.appcontainers.models.ConnectedEnvironmentCollection(*, value: List[_models.ConnectedEnvironment] | None = None, **kwargs: Any)[source]
Bases:
ModelCollection of connectedEnvironments.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
value (list[ConnectedEnvironment]) – Collection of resources.
next_link (str) – Link to next page of resources.
- Keyword Arguments:
value (list[ConnectedEnvironment]) – Collection of resources.
- class azure.mgmt.appcontainers.models.ConnectedEnvironmentProvisioningState(*values)[source]
-
Provisioning state of the Kubernetes Environment.
- CANCELED = 'Canceled'
- FAILED = 'Failed'
- INFRASTRUCTURE_SETUP_COMPLETE = 'InfrastructureSetupComplete'
- INFRASTRUCTURE_SETUP_IN_PROGRESS = 'InfrastructureSetupInProgress'
- INITIALIZATION_IN_PROGRESS = 'InitializationInProgress'
- SCHEDULED_FOR_DELETE = 'ScheduledForDelete'
- SUCCEEDED = 'Succeeded'
- WAITING = 'Waiting'
- class azure.mgmt.appcontainers.models.ConnectedEnvironmentStorage(*, properties: _models.ConnectedEnvironmentStorageProperties | None = None, **kwargs: Any)[source]
Bases:
ProxyResourceStorage resource for connectedEnvironment.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
properties (ConnectedEnvironmentStorageProperties) – Storage properties.
- Keyword Arguments:
properties (ConnectedEnvironmentStorageProperties) – Storage properties.
- class azure.mgmt.appcontainers.models.ConnectedEnvironmentStorageProperties(*, azure_file: _models.AzureFileProperties | None = None, **kwargs: Any)[source]
Bases:
ModelStorage properties.
- Variables:
azure_file (AzureFileProperties) – Azure file properties.
- Keyword Arguments:
azure_file (AzureFileProperties) – Azure file properties.
- class azure.mgmt.appcontainers.models.ConnectedEnvironmentStoragesCollection(*, value: List[_models.ConnectedEnvironmentStorage], **kwargs: Any)[source]
Bases:
ModelCollection of Storage for Environments.
All required parameters must be populated in order to send to server.
- Variables:
value (list[ConnectedEnvironmentStorage]) – Collection of storage resources. Required.
- Keyword Arguments:
value (list[ConnectedEnvironmentStorage]) – Collection of storage resources. Required.
- class azure.mgmt.appcontainers.models.Container(*, image: str | None = None, name: str | None = None, command: List[str] | None = None, args: List[str] | None = None, env: List[_models.EnvironmentVar] | None = None, resources: _models.ContainerResources | None = None, volume_mounts: List[_models.VolumeMount] | None = None, probes: List[_models.ContainerAppProbe] | None = None, **kwargs: Any)[source]
Bases:
BaseContainerContainer App container definition.
- Variables:
image (str) – Container image tag.
name (str) – Custom container name.
env (list[EnvironmentVar]) – Container environment variables.
resources (ContainerResources) – Container resource requirements.
volume_mounts (list[VolumeMount]) – Container volume mounts.
probes (list[ContainerAppProbe]) – List of probes for the container.
- Keyword Arguments:
image (str) – Container image tag.
name (str) – Custom container name.
env (list[EnvironmentVar]) – Container environment variables.
resources (ContainerResources) – Container resource requirements.
volume_mounts (list[VolumeMount]) – Container volume mounts.
probes (list[ContainerAppProbe]) – List of probes for the container.
- class azure.mgmt.appcontainers.models.ContainerApp(*, location: str, tags: Dict[str, str] | None = None, extended_location: _models.ExtendedLocation | None = None, identity: _models.ManagedServiceIdentity | None = None, managed_by: str | None = None, managed_environment_id: str | None = None, environment_id: str | None = None, workload_profile_name: str | None = None, configuration: _models.Configuration | None = None, template: _models.Template | None = None, **kwargs: Any)[source]
Bases:
TrackedResourceContainer App.
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 server.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
location (str) – The geo-location where the resource lives. Required.
extended_location (ExtendedLocation) – The complex type of the extended location.
identity (ManagedServiceIdentity) – managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.
managed_by (str) – The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
provisioning_state (str or ContainerAppProvisioningState) – Provisioning state of the Container App. Known values are: “InProgress”, “Succeeded”, “Failed”, “Canceled”, and “Deleting”.
running_status (str or ContainerAppRunningStatus) – Running status of the Container App. Known values are: “Progressing”, “Running”, “Stopped”, “Suspended”, and “Ready”.
managed_environment_id (str) – Deprecated. Resource ID of the Container App’s environment.
environment_id (str) – Resource ID of environment.
workload_profile_name (str) – Workload profile name to pin for container app execution.
latest_revision_name (str) – Name of the latest revision of the Container App.
latest_ready_revision_name (str) – Name of the latest ready revision of the Container App.
latest_revision_fqdn (str) – Fully Qualified Domain Name of the latest revision of the Container App.
custom_domain_verification_id (str) – Id used to verify domain name ownership.
configuration (Configuration) – Non versioned Container App configuration properties.
template (Template) – Container App versioned application definition.
outbound_ip_addresses (list[str]) – Outbound IP Addresses for container app.
event_stream_endpoint (str) – The endpoint of the eventstream of the container app.
- Keyword Arguments:
location (str) – The geo-location where the resource lives. Required.
extended_location (ExtendedLocation) – The complex type of the extended location.
identity (ManagedServiceIdentity) – managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.
managed_by (str) – The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
managed_environment_id (str) – Deprecated. Resource ID of the Container App’s environment.
environment_id (str) – Resource ID of environment.
workload_profile_name (str) – Workload profile name to pin for container app execution.
configuration (Configuration) – Non versioned Container App configuration properties.
template (Template) – Container App versioned application definition.
- class azure.mgmt.appcontainers.models.ContainerAppAuthToken(*, location: str, tags: Dict[str, str] | None = None, **kwargs: Any)[source]
Bases:
TrackedResourceContainer App Auth Token.
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 server.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
location (str) – The geo-location where the resource lives. Required.
token (str) – Auth token value.
expires (datetime) – Token expiration date.
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.ContainerAppCollection(*, value: List[_models.ContainerApp], **kwargs: Any)[source]
Bases:
ModelContainer App collection ARM 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 server.
- Variables:
value (list[ContainerApp]) – Collection of resources. Required.
next_link (str) – Link to next page of resources.
- Keyword Arguments:
value (list[ContainerApp]) – Collection of resources. Required.
- class azure.mgmt.appcontainers.models.ContainerAppContainerRunningState(*values)[source]
-
Current running state of the container.
- RUNNING = 'Running'
- TERMINATED = 'Terminated'
- WAITING = 'Waiting'
- class azure.mgmt.appcontainers.models.ContainerAppJobExecutions(*, value: List[_models.JobExecution], **kwargs: Any)[source]
Bases:
ModelContainer App executions collection ARM 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 server.
- Variables:
value (list[JobExecution]) – Collection of resources. Required.
next_link (str) – Link to next page of resources.
- Keyword Arguments:
value (list[JobExecution]) – Collection of resources. Required.
- class azure.mgmt.appcontainers.models.ContainerAppProbe(*, failure_threshold: int | None = None, http_get: _models.ContainerAppProbeHttpGet | None = None, initial_delay_seconds: int | None = None, period_seconds: int | None = None, success_threshold: int | None = None, tcp_socket: _models.ContainerAppProbeTcpSocket | None = None, termination_grace_period_seconds: int | None = None, timeout_seconds: int | None = None, type: str | _models.Type | None = None, **kwargs: Any)[source]
Bases:
ModelProbe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
- Variables:
failure_threshold (int) – Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
http_get (ContainerAppProbeHttpGet) – HTTPGet specifies the http request to perform.
initial_delay_seconds (int) – Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
period_seconds (int) – How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
success_threshold (int) – Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
tcp_socket (ContainerAppProbeTcpSocket) – TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
termination_grace_period_seconds (int) – Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod’s terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour).
timeout_seconds (int) – Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
type (str or Type) – The type of probe. Known values are: “Liveness”, “Readiness”, and “Startup”.
- Keyword Arguments:
failure_threshold (int) – Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
http_get (ContainerAppProbeHttpGet) – HTTPGet specifies the http request to perform.
initial_delay_seconds (int) – Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
period_seconds (int) – How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
success_threshold (int) – Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
tcp_socket (ContainerAppProbeTcpSocket) – TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
termination_grace_period_seconds (int) – Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod’s terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour).
timeout_seconds (int) – Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
type (str or Type) – The type of probe. Known values are: “Liveness”, “Readiness”, and “Startup”.
- class azure.mgmt.appcontainers.models.ContainerAppProbeHttpGet(*, port: int, host: str | None = None, http_headers: List[_models.ContainerAppProbeHttpGetHttpHeadersItem] | None = None, path: str | None = None, scheme: str | _models.Scheme | None = None, **kwargs: Any)[source]
Bases:
ModelHTTPGet specifies the http request to perform.
All required parameters must be populated in order to send to server.
- Variables:
host (str) – Host name to connect to, defaults to the pod IP. You probably want to set “Host” in httpHeaders instead.
http_headers (list[ContainerAppProbeHttpGetHttpHeadersItem]) – Custom headers to set in the request. HTTP allows repeated headers.
path (str) – Path to access on the HTTP server.
port (int) – Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. Required.
scheme (str or Scheme) – Scheme to use for connecting to the host. Defaults to HTTP. Known values are: “HTTP” and “HTTPS”.
- Keyword Arguments:
host (str) – Host name to connect to, defaults to the pod IP. You probably want to set “Host” in httpHeaders instead.
http_headers (list[ContainerAppProbeHttpGetHttpHeadersItem]) – Custom headers to set in the request. HTTP allows repeated headers.
path (str) – Path to access on the HTTP server.
port (int) – Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. Required.
scheme (str or Scheme) – Scheme to use for connecting to the host. Defaults to HTTP. Known values are: “HTTP” and “HTTPS”.
- class azure.mgmt.appcontainers.models.ContainerAppProbeHttpGetHttpHeadersItem(*, name: str, value: str, **kwargs: Any)[source]
Bases:
ModelHTTPHeader describes a custom header to be used in HTTP probes.
All required parameters must be populated in order to send to server.
- class azure.mgmt.appcontainers.models.ContainerAppProbeTcpSocket(*, port: int, host: str | None = None, **kwargs: Any)[source]
Bases:
ModelTCPSocket specifies an action involving a TCP port. TCP hooks not yet supported.
All required parameters must be populated in order to send to server.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.ContainerAppProvisioningState(*values)[source]
-
Provisioning state of the Container App.
- CANCELED = 'Canceled'
- DELETING = 'Deleting'
- FAILED = 'Failed'
- IN_PROGRESS = 'InProgress'
- SUCCEEDED = 'Succeeded'
- class azure.mgmt.appcontainers.models.ContainerAppReplicaRunningState(*values)[source]
-
Current running state of the replica.
- NOT_RUNNING = 'NotRunning'
- RUNNING = 'Running'
- UNKNOWN = 'Unknown'
- class azure.mgmt.appcontainers.models.ContainerAppRunningStatus(*values)[source]
-
Running status of the Container App.
- PROGRESSING = 'Progressing'
Container App is transitioning between Stopped and Running states.
- READY = 'Ready'
Container App Job is in Ready state.
- RUNNING = 'Running'
Container App is in Running state.
- STOPPED = 'Stopped'
Container App is in Stopped state.
- SUSPENDED = 'Suspended'
Container App Job is in Suspended state.
- class azure.mgmt.appcontainers.models.ContainerAppSecret(**kwargs: Any)[source]
Bases:
ModelContainer App Secret.
Variables are only populated by the server, and will be ignored when sending a request.
- class azure.mgmt.appcontainers.models.ContainerResources(*, cpu: float | None = None, memory: str | None = None, **kwargs: Any)[source]
Bases:
ModelContainer App container resource requirements.
Variables are only populated by the server, and will be ignored when sending a request.
- class azure.mgmt.appcontainers.models.ContainerType(*values)[source]
-
The container type of the sessions.
- CUSTOM_CONTAINER = 'CustomContainer'
- PYTHON_LTS = 'PythonLTS'
- class azure.mgmt.appcontainers.models.CookieExpiration(*, convention: str | _models.CookieExpirationConvention | None = None, time_to_expiration: str | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the session cookie’s expiration.
- Variables:
convention (str or CookieExpirationConvention) – The convention used when determining the session cookie’s expiration. Known values are: “FixedTime” and “IdentityProviderDerived”.
time_to_expiration (str) – The time after the request is made when the session cookie should expire.
- Keyword Arguments:
convention (str or CookieExpirationConvention) – The convention used when determining the session cookie’s expiration. Known values are: “FixedTime” and “IdentityProviderDerived”.
time_to_expiration (str) – The time after the request is made when the session cookie should expire.
- class azure.mgmt.appcontainers.models.CookieExpirationConvention(*values)[source]
-
The convention used when determining the session cookie’s expiration.
- FIXED_TIME = 'FixedTime'
- IDENTITY_PROVIDER_DERIVED = 'IdentityProviderDerived'
- class azure.mgmt.appcontainers.models.CorsPolicy(*, allowed_origins: List[str], allowed_methods: List[str] | None = None, allowed_headers: List[str] | None = None, expose_headers: List[str] | None = None, max_age: int | None = None, allow_credentials: bool | None = None, **kwargs: Any)[source]
Bases:
ModelCross-Origin-Resource-Sharing policy.
All required parameters must be populated in order to send to server.
- Variables:
allowed_origins (list[str]) – Specifies the content for the access-control-allow-origins header. Required.
allowed_methods (list[str]) – Specifies the content for the access-control-allow-methods header.
allowed_headers (list[str]) – Specifies the content for the access-control-allow-headers header.
expose_headers (list[str]) – Specifies the content for the access-control-expose-headers header.
max_age (int) – Specifies the content for the access-control-max-age header.
allow_credentials (bool) – Specifies whether the resource allows credentials.
- Keyword Arguments:
allowed_origins (list[str]) – Specifies the content for the access-control-allow-origins header. Required.
allowed_methods (list[str]) – Specifies the content for the access-control-allow-methods header.
allowed_headers (list[str]) – Specifies the content for the access-control-allow-headers header.
expose_headers (list[str]) – Specifies the content for the access-control-expose-headers header.
max_age (int) – Specifies the content for the access-control-max-age header.
allow_credentials (bool) – Specifies whether the resource allows credentials.
- class azure.mgmt.appcontainers.models.CreatedByType(*values)[source]
-
The type of identity that created the resource.
- APPLICATION = 'Application'
- KEY = 'Key'
- MANAGED_IDENTITY = 'ManagedIdentity'
- USER = 'User'
- class azure.mgmt.appcontainers.models.CustomContainerTemplate(*, registry_credentials: _models.SessionRegistryCredentials | None = None, containers: List[_models.SessionContainer] | None = None, ingress: _models.SessionIngress | None = None, **kwargs: Any)[source]
Bases:
ModelCustom container configuration.
- Variables:
registry_credentials (SessionRegistryCredentials) – Private container registry credentials for containers used by the sessions of the session pool.
containers (list[SessionContainer]) – List of container definitions for the sessions of the session pool.
ingress (SessionIngress) – Session pool ingress configuration.
- Keyword Arguments:
registry_credentials (SessionRegistryCredentials) – Private container registry credentials for containers used by the sessions of the session pool.
containers (list[SessionContainer]) – List of container definitions for the sessions of the session pool.
ingress (SessionIngress) – Session pool ingress configuration.
- class azure.mgmt.appcontainers.models.CustomDomain(*, name: str, binding_type: str | _models.BindingType | None = None, certificate_id: str | None = None, **kwargs: Any)[source]
Bases:
ModelCustom Domain of a Container App.
All required parameters must be populated in order to send to server.
- Variables:
name (str) – Hostname. Required.
binding_type (str or BindingType) – Custom Domain binding type. Known values are: “Disabled” and “SniEnabled”.
certificate_id (str) – Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- Keyword Arguments:
name (str) – Hostname. Required.
binding_type (str or BindingType) – Custom Domain binding type. Known values are: “Disabled” and “SniEnabled”.
certificate_id (str) – Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- class azure.mgmt.appcontainers.models.CustomDomainConfiguration(*, dns_suffix: str | None = None, certificate_key_vault_properties: _models.CertificateKeyVaultProperties | None = None, certificate_value: bytes | None = None, certificate_password: str | None = None, **kwargs: Any)[source]
Bases:
ModelConfiguration properties for apps environment custom domain.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
custom_domain_verification_id (str) – Id used to verify domain name ownership.
dns_suffix (str) – Dns suffix for the environment domain.
certificate_key_vault_properties (CertificateKeyVaultProperties) – Certificate stored in Azure Key Vault.
certificate_value (bytes) – PFX or PEM blob.
certificate_password (str) – Certificate password.
expiration_date (datetime) – Certificate expiration date.
thumbprint (str) – Certificate thumbprint.
subject_name (str) – Subject name of the certificate.
- Keyword Arguments:
dns_suffix (str) – Dns suffix for the environment domain.
certificate_key_vault_properties (CertificateKeyVaultProperties) – Certificate stored in Azure Key Vault.
certificate_value (bytes) – PFX or PEM blob.
certificate_password (str) – Certificate password.
- class azure.mgmt.appcontainers.models.CustomHostnameAnalysisResult(*, c_name_records: List[str] | None = None, txt_records: List[str] | None = None, a_records: List[str] | None = None, alternate_c_name_records: List[str] | None = None, alternate_txt_records: List[str] | None = None, **kwargs: Any)[source]
Bases:
ModelCustom domain analysis.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
host_name (str) – Host name that was analyzed.
is_hostname_already_verified (bool) –
<code>true</code>if hostname is already verified; otherwise,<code>false</code>.custom_domain_verification_test (str or DnsVerificationTestResult) – DNS verification test result. Known values are: “Passed”, “Failed”, and “Skipped”.
custom_domain_verification_failure_info (CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo) – Raw failure information if DNS verification fails.
has_conflict_on_managed_environment (bool) –
<code>true</code>if there is a conflict on the Container App’s managed environment; otherwise,<code>false</code>.conflict_with_environment_custom_domain (bool) –
<code>true</code>if there is a conflict on the Container App’s managed environment level custom domain; otherwise,<code>false</code>.conflicting_container_app_resource_id (str) – Name of the conflicting Container App on the Managed Environment if it’s within the same subscription.
c_name_records (list[str]) – CName records visible for this hostname.
txt_records (list[str]) – TXT records visible for this hostname.
a_records (list[str]) – A records visible for this hostname.
alternate_c_name_records (list[str]) – Alternate CName records visible for this hostname.
alternate_txt_records (list[str]) – Alternate TXT records visible for this hostname.
- Keyword Arguments:
c_name_records (list[str]) – CName records visible for this hostname.
txt_records (list[str]) – TXT records visible for this hostname.
a_records (list[str]) – A records visible for this hostname.
alternate_c_name_records (list[str]) – Alternate CName records visible for this hostname.
alternate_txt_records (list[str]) – Alternate TXT records visible for this hostname.
- class azure.mgmt.appcontainers.models.CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo(*, details: List[_models.CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem] | None = None, **kwargs: Any)[source]
Bases:
ModelRaw failure information if DNS verification fails.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
code (str) – Standardized string to programmatically identify the error.
message (str) – Detailed error description and debugging information.
target (str) – Detailed error description and debugging information.
details (list[CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem]) – Details or the error.
- Keyword Arguments:
details (list[CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem] # pylint: disable=line-too-long) – Details or the error.
- class azure.mgmt.appcontainers.models.CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem(**kwargs: Any)[source]
Bases:
ModelDetailed errors.
Variables are only populated by the server, and will be ignored when sending a request.
- class azure.mgmt.appcontainers.models.CustomOpenIdConnectProvider(*, enabled: bool | None = None, registration: _models.OpenIdConnectRegistration | None = None, login: _models.OpenIdConnectLogin | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the custom Open ID Connect provider.
- Variables:
enabled (bool) –
<code>false</code>if the custom Open ID provider provider should not be enabled; otherwise,<code>true</code>.registration (OpenIdConnectRegistration) – The configuration settings of the app registration for the custom Open ID Connect provider.
login (OpenIdConnectLogin) – The configuration settings of the login flow of the custom Open ID Connect provider.
- Keyword Arguments:
enabled (bool) –
<code>false</code>if the custom Open ID provider provider should not be enabled; otherwise,<code>true</code>.registration (OpenIdConnectRegistration) – The configuration settings of the app registration for the custom Open ID Connect provider.
login (OpenIdConnectLogin) – The configuration settings of the login flow of the custom Open ID Connect provider.
- class azure.mgmt.appcontainers.models.CustomScaleRule(*, type: str | None = None, metadata: Dict[str, str] | None = None, auth: List[_models.ScaleRuleAuth] | None = None, identity: str | None = None, **kwargs: Any)[source]
Bases:
ModelContainer App container Custom scaling rule.
- Variables:
type (str) – Type of the custom scale rule eg: azure-servicebus, redis etc.
metadata (dict[str, str]) – Metadata properties to describe custom scale rule.
auth (list[ScaleRuleAuth]) – Authentication secrets for the custom scale rule.
identity (str) – The resource ID of a user-assigned managed identity that is assigned to the Container App, or ‘system’ for system-assigned identity.
- Keyword Arguments:
type (str) – Type of the custom scale rule eg: azure-servicebus, redis etc.
metadata (dict[str, str]) – Metadata properties to describe custom scale rule.
auth (list[ScaleRuleAuth]) – Authentication secrets for the custom scale rule.
identity (str) – The resource ID of a user-assigned managed identity that is assigned to the Container App, or ‘system’ for system-assigned identity.
- class azure.mgmt.appcontainers.models.Dapr(*, enabled: bool = False, app_id: str | None = None, app_protocol: str | _models.AppProtocol = 'http', app_port: int | None = None, http_read_buffer_size: int | None = None, http_max_request_size: int | None = None, log_level: str | _models.LogLevel | None = None, enable_api_logging: bool | None = None, **kwargs: Any)[source]
Bases:
ModelContainer App Dapr configuration.
- Variables:
enabled (bool) – Boolean indicating if the Dapr side car is enabled.
app_id (str) – Dapr application identifier.
app_protocol (str or AppProtocol) – Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http. Known values are: “http” and “grpc”.
app_port (int) – Tells Dapr which port your application is listening on.
http_read_buffer_size (int) – Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
http_max_request_size (int) – Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
log_level (str or LogLevel) – Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info. Known values are: “info”, “debug”, “warn”, and “error”.
enable_api_logging (bool) – Enables API logging for the Dapr sidecar.
- Keyword Arguments:
enabled (bool) – Boolean indicating if the Dapr side car is enabled.
app_id (str) – Dapr application identifier.
app_protocol (str or AppProtocol) – Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http. Known values are: “http” and “grpc”.
app_port (int) – Tells Dapr which port your application is listening on.
http_read_buffer_size (int) – Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
http_max_request_size (int) – Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
log_level (str or LogLevel) – Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info. Known values are: “info”, “debug”, “warn”, and “error”.
enable_api_logging (bool) – Enables API logging for the Dapr sidecar.
- class azure.mgmt.appcontainers.models.DaprComponent(*, component_type: str | None = None, version: str | None = None, ignore_errors: bool = False, init_timeout: str | None = None, secrets: List[_models.Secret] | None = None, secret_store_component: str | None = None, metadata: List[_models.DaprMetadata] | None = None, scopes: List[str] | None = None, **kwargs: Any)[source]
Bases:
ProxyResourceDapr Component.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
component_type (str) – Component type.
version (str) – Component version.
ignore_errors (bool) – Boolean describing if the component errors are ignores.
init_timeout (str) – Initialization timeout.
secrets (list[Secret]) – Collection of secrets used by a Dapr component.
secret_store_component (str) – Name of a Dapr component to retrieve component secrets from.
metadata (list[DaprMetadata]) – Component metadata.
scopes (list[str]) – Names of container apps that can use this Dapr component.
- Keyword Arguments:
component_type (str) – Component type.
version (str) – Component version.
ignore_errors (bool) – Boolean describing if the component errors are ignores.
init_timeout (str) – Initialization timeout.
secrets (list[Secret]) – Collection of secrets used by a Dapr component.
secret_store_component (str) – Name of a Dapr component to retrieve component secrets from.
metadata (list[DaprMetadata]) – Component metadata.
scopes (list[str]) – Names of container apps that can use this Dapr component.
- class azure.mgmt.appcontainers.models.DaprComponentsCollection(*, value: List[_models.DaprComponent], **kwargs: Any)[source]
Bases:
ModelDapr Components ARM 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 server.
- Variables:
value (list[DaprComponent]) – Collection of resources. Required.
next_link (str) – Link to next page of resources.
- Keyword Arguments:
value (list[DaprComponent]) – Collection of resources. Required.
- class azure.mgmt.appcontainers.models.DaprConfiguration(**kwargs: Any)[source]
Bases:
ModelConfiguration properties Dapr component.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
version (str) – The version of Dapr.
- class azure.mgmt.appcontainers.models.DaprMetadata(*, name: str | None = None, value: str | None = None, secret_ref: str | None = None, **kwargs: Any)[source]
Bases:
ModelDapr component metadata.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.DaprSecret(**kwargs: Any)[source]
Bases:
ModelDapr component Secret for ListSecrets Action.
Variables are only populated by the server, and will be ignored when sending a request.
- class azure.mgmt.appcontainers.models.DaprSecretsCollection(*, value: List[_models.DaprSecret], **kwargs: Any)[source]
Bases:
ModelDapr component Secrets Collection for ListSecrets Action.
All required parameters must be populated in order to send to server.
- Variables:
value (list[DaprSecret]) – Collection of secrets used by a Dapr component. Required.
- Keyword Arguments:
value (list[DaprSecret]) – Collection of secrets used by a Dapr component. Required.
- class azure.mgmt.appcontainers.models.DefaultAuthorizationPolicy(*, allowed_principals: _models.AllowedPrincipals | None = None, allowed_applications: List[str] | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the Azure Active Directory default authorization policy.
- Variables:
allowed_principals (AllowedPrincipals) – The configuration settings of the Azure Active Directory allowed principals.
allowed_applications (list[str]) – The configuration settings of the Azure Active Directory allowed applications.
- Keyword Arguments:
allowed_principals (AllowedPrincipals) – The configuration settings of the Azure Active Directory allowed principals.
allowed_applications (list[str]) – The configuration settings of the Azure Active Directory allowed applications.
- class azure.mgmt.appcontainers.models.DefaultErrorResponse(**kwargs: Any)[source]
Bases:
ModelApp Service error response.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
error (DefaultErrorResponseError) – Error model.
- class azure.mgmt.appcontainers.models.DefaultErrorResponseError(*, details: List[_models.DefaultErrorResponseErrorDetailsItem] | None = None, **kwargs: Any)[source]
Bases:
ModelError model.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
code (str) – Standardized string to programmatically identify the error.
message (str) – Detailed error description and debugging information.
target (str) – Detailed error description and debugging information.
details (list[DefaultErrorResponseErrorDetailsItem]) – Details or the error.
innererror (str) – More information to debug error.
- Keyword Arguments:
details (list[DefaultErrorResponseErrorDetailsItem]) – Details or the error.
- class azure.mgmt.appcontainers.models.DefaultErrorResponseErrorDetailsItem(**kwargs: Any)[source]
Bases:
ModelDetailed errors.
Variables are only populated by the server, and will be ignored when sending a request.
- class azure.mgmt.appcontainers.models.DiagnosticDataProviderMetadata(*, provider_name: str | None = None, property_bag: List[_models.DiagnosticDataProviderMetadataPropertyBagItem] | None = None, **kwargs: Any)[source]
Bases:
ModelDetails of a diagnostics data provider.
- Variables:
provider_name (str) – Name of data provider.
property_bag (list[DiagnosticDataProviderMetadataPropertyBagItem]) – Collection of properties.
- Keyword Arguments:
provider_name (str) – Name of data provider.
property_bag (list[DiagnosticDataProviderMetadataPropertyBagItem]) – Collection of properties.
- class azure.mgmt.appcontainers.models.DiagnosticDataProviderMetadataPropertyBagItem(*, name: str | None = None, value: str | None = None, **kwargs: Any)[source]
Bases:
ModelProperty details.
- class azure.mgmt.appcontainers.models.DiagnosticDataTableResponseColumn(*, column_name: str | None = None, data_type: str | None = None, column_type: str | None = None, **kwargs: Any)[source]
Bases:
ModelDiagnostics data column.
- class azure.mgmt.appcontainers.models.DiagnosticDataTableResponseObject(*, table_name: str | None = None, columns: List[_models.DiagnosticDataTableResponseColumn] | None = None, rows: List[MutableMapping[str, Any]] | None = None, **kwargs: Any)[source]
Bases:
ModelDiagnostics data table.
- Variables:
table_name (str) – Table name.
columns (list[DiagnosticDataTableResponseColumn]) – Columns in the table.
rows (list[JSON]) – Rows in the table.
- Keyword Arguments:
table_name (str) – Table name.
columns (list[DiagnosticDataTableResponseColumn]) – Columns in the table.
rows (list[JSON]) – Rows in the table.
- class azure.mgmt.appcontainers.models.DiagnosticRendering(*, type: int | None = None, title: str | None = None, description: str | None = None, is_visible: bool | None = None, **kwargs: Any)[source]
Bases:
ModelRendering details of a diagnostics table.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.DiagnosticSupportTopic(**kwargs: Any)[source]
Bases:
ModelSupport topic information.
Variables are only populated by the server, and will be ignored when sending a request.
- class azure.mgmt.appcontainers.models.Diagnostics(*, properties: _models.DiagnosticsProperties | None = None, **kwargs: Any)[source]
Bases:
ProxyResourceDiagnostics data for a resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
properties (DiagnosticsProperties) – Diagnostics resource specific properties.
- Keyword Arguments:
properties (DiagnosticsProperties) – Diagnostics resource specific properties.
- class azure.mgmt.appcontainers.models.DiagnosticsCollection(*, value: List[_models.Diagnostics], **kwargs: Any)[source]
Bases:
ModelDiagnostics data collection for a 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 server.
- Variables:
value (list[Diagnostics]) – Collection of diagnostic data. Required.
next_link (str) – Link to next page of resources.
- Keyword Arguments:
value (list[Diagnostics]) – Collection of diagnostic data. Required.
- class azure.mgmt.appcontainers.models.DiagnosticsDataApiResponse(*, table: _models.DiagnosticDataTableResponseObject | None = None, rendering_properties: _models.DiagnosticRendering | None = None, **kwargs: Any)[source]
Bases:
ModelDiagnostics data returned from a detector.
- Variables:
table (DiagnosticDataTableResponseObject) – Table response.
rendering_properties (DiagnosticRendering) – Details of the table response.
- Keyword Arguments:
table (DiagnosticDataTableResponseObject) – Table response.
rendering_properties (DiagnosticRendering) – Details of the table response.
- class azure.mgmt.appcontainers.models.DiagnosticsDefinition(*, support_topic_list: List[_models.DiagnosticSupportTopic] | None = None, analysis_types: List[str] | None = None, **kwargs: Any)[source]
Bases:
ModelMetadata of the diagnostics response.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Unique detector name.
name (str) – Display Name of the detector.
description (str) – Details of the diagnostics info.
author (str) – Authors’ names of the detector.
category (str) – Category of the detector.
support_topic_list (list[DiagnosticSupportTopic]) – List of support topics.
type (str) – Authors’ names of the detector.
score (float) – Authors’ names of the detector.
- Keyword Arguments:
support_topic_list (list[DiagnosticSupportTopic]) – List of support topics.
- class azure.mgmt.appcontainers.models.DiagnosticsProperties(*, metadata: _models.DiagnosticsDefinition | None = None, dataset: List[_models.DiagnosticsDataApiResponse] | None = None, status: _models.DiagnosticsStatus | None = None, data_provider_metadata: _models.DiagnosticDataProviderMetadata | None = None, **kwargs: Any)[source]
Bases:
ModelDiagnostics resource specific properties.
- Variables:
metadata (DiagnosticsDefinition) – Metadata of the diagnostics response.
dataset (list[DiagnosticsDataApiResponse]) – Set of data collections associated with the response.
status (DiagnosticsStatus) – Status of the diagnostics response.
data_provider_metadata (DiagnosticDataProviderMetadata) – List of data providers’ metadata.
- Keyword Arguments:
metadata (DiagnosticsDefinition) – Metadata of the diagnostics response.
dataset (list[DiagnosticsDataApiResponse]) – Set of data collections associated with the response.
status (DiagnosticsStatus) – Status of the diagnostics response.
data_provider_metadata (DiagnosticDataProviderMetadata) – List of data providers’ metadata.
- class azure.mgmt.appcontainers.models.DiagnosticsStatus(*, message: str | None = None, status_id: int | None = None, **kwargs: Any)[source]
Bases:
ModelRendering details of a diagnostics table.
- class azure.mgmt.appcontainers.models.DnsVerificationTestResult(*values)[source]
-
DNS verification test result.
- FAILED = 'Failed'
- PASSED = 'Passed'
- SKIPPED = 'Skipped'
- class azure.mgmt.appcontainers.models.DynamicPoolConfiguration(*, lifecycle_configuration: _models.LifecycleConfiguration | None = None, **kwargs: Any)[source]
Bases:
ModelDynamic pool configuration.
- Variables:
lifecycle_configuration (LifecycleConfiguration) – The lifecycle configuration of a session in the dynamic session pool.
- Keyword Arguments:
lifecycle_configuration (LifecycleConfiguration) – The lifecycle configuration of a session in the dynamic session pool.
- class azure.mgmt.appcontainers.models.EncryptionSettings(*, container_app_auth_encryption_secret_name: str | None = None, container_app_auth_signing_secret_name: str | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the secrets references of encryption key and signing key for ContainerApp Service Authentication/Authorization.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.EnvironmentAuthToken(*, location: str, tags: Dict[str, str] | None = None, **kwargs: Any)[source]
Bases:
TrackedResourceEnvironment Auth Token.
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 server.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
location (str) – The geo-location where the resource lives. Required.
token (str) – Auth token value.
expires (datetime) – Token expiration date.
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.EnvironmentProvisioningState(*values)[source]
-
Provisioning state of the Environment.
- CANCELED = 'Canceled'
- FAILED = 'Failed'
- INFRASTRUCTURE_SETUP_COMPLETE = 'InfrastructureSetupComplete'
- INFRASTRUCTURE_SETUP_IN_PROGRESS = 'InfrastructureSetupInProgress'
- INITIALIZATION_IN_PROGRESS = 'InitializationInProgress'
- SCHEDULED_FOR_DELETE = 'ScheduledForDelete'
- SUCCEEDED = 'Succeeded'
- UPGRADE_FAILED = 'UpgradeFailed'
- UPGRADE_REQUESTED = 'UpgradeRequested'
- WAITING = 'Waiting'
- class azure.mgmt.appcontainers.models.EnvironmentVar(*, name: str | None = None, value: str | None = None, secret_ref: str | None = None, **kwargs: Any)[source]
Bases:
ModelContainer App container environment variable.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.ErrorAdditionalInfo(**kwargs: Any)[source]
Bases:
ModelThe resource management error additional info.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
type (str) – The additional info type.
info (JSON) – The additional info.
- class azure.mgmt.appcontainers.models.ErrorDetail(**kwargs: Any)[source]
Bases:
ModelThe error detail.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
code (str) – The error code.
message (str) – The error message.
target (str) – The error target.
details (list[ErrorDetail]) – The error details.
additional_info (list[ErrorAdditionalInfo]) – The error additional info.
- class azure.mgmt.appcontainers.models.ErrorResponse(*, error: _models.ErrorDetail | None = None, **kwargs: Any)[source]
Bases:
ModelCommon error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
- Variables:
error (ErrorDetail) – The error object.
- Keyword Arguments:
error (ErrorDetail) – The error object.
- class azure.mgmt.appcontainers.models.ExtendedLocation(*, name: str | None = None, type: str | _models.ExtendedLocationTypes | None = None, **kwargs: Any)[source]
Bases:
ModelThe complex type of the extended location.
- Variables:
name (str) – The name of the extended location.
type (str or ExtendedLocationTypes) – The type of the extended location. “CustomLocation”
- Keyword Arguments:
name (str) – The name of the extended location.
type (str or ExtendedLocationTypes) – The type of the extended location. “CustomLocation”
- class azure.mgmt.appcontainers.models.ExtendedLocationTypes(*values)[source]
-
The type of extendedLocation.
- CUSTOM_LOCATION = 'CustomLocation'
- class azure.mgmt.appcontainers.models.Facebook(*, enabled: bool | None = None, registration: _models.AppRegistration | None = None, graph_api_version: str | None = None, login: _models.LoginScopes | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the Facebook provider.
- Variables:
enabled (bool) –
<code>false</code>if the Facebook provider should not be enabled despite the set registration; otherwise,<code>true</code>.registration (AppRegistration) – The configuration settings of the app registration for the Facebook provider.
graph_api_version (str) – The version of the Facebook api to be used while logging in.
login (LoginScopes) – The configuration settings of the login flow.
- Keyword Arguments:
enabled (bool) –
<code>false</code>if the Facebook provider should not be enabled despite the set registration; otherwise,<code>true</code>.registration (AppRegistration) – The configuration settings of the app registration for the Facebook provider.
graph_api_version (str) – The version of the Facebook api to be used while logging in.
login (LoginScopes) – The configuration settings of the login flow.
- class azure.mgmt.appcontainers.models.ForwardProxy(*, convention: str | _models.ForwardProxyConvention | None = None, custom_host_header_name: str | None = None, custom_proto_header_name: str | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of a forward proxy used to make the requests.
- Variables:
convention (str or ForwardProxyConvention) – The convention used to determine the url of the request made. Known values are: “NoProxy”, “Standard”, and “Custom”.
custom_host_header_name (str) – The name of the header containing the host of the request.
custom_proto_header_name (str) – The name of the header containing the scheme of the request.
- Keyword Arguments:
convention (str or ForwardProxyConvention) – The convention used to determine the url of the request made. Known values are: “NoProxy”, “Standard”, and “Custom”.
custom_host_header_name (str) – The name of the header containing the host of the request.
custom_proto_header_name (str) – The name of the header containing the scheme of the request.
- class azure.mgmt.appcontainers.models.ForwardProxyConvention(*values)[source]
-
The convention used to determine the url of the request made.
- CUSTOM = 'Custom'
- NO_PROXY = 'NoProxy'
- STANDARD = 'Standard'
- class azure.mgmt.appcontainers.models.GitHub(*, enabled: bool | None = None, registration: _models.ClientRegistration | None = None, login: _models.LoginScopes | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the GitHub provider.
- Variables:
enabled (bool) –
<code>false</code>if the GitHub provider should not be enabled despite the set registration; otherwise,<code>true</code>.registration (ClientRegistration) – The configuration settings of the app registration for the GitHub provider.
login (LoginScopes) – The configuration settings of the login flow.
- Keyword Arguments:
enabled (bool) –
<code>false</code>if the GitHub provider should not be enabled despite the set registration; otherwise,<code>true</code>.registration (ClientRegistration) – The configuration settings of the app registration for the GitHub provider.
login (LoginScopes) – The configuration settings of the login flow.
- class azure.mgmt.appcontainers.models.GithubActionConfiguration(*, registry_info: _models.RegistryInfo | None = None, azure_credentials: _models.AzureCredentials | None = None, context_path: str | None = None, github_personal_access_token: str | None = None, image: str | None = None, publish_type: str | None = None, os: str | None = None, runtime_stack: str | None = None, runtime_version: str | None = None, **kwargs: Any)[source]
Bases:
ModelConfiguration properties that define the mutable settings of a Container App SourceControl.
- Variables:
registry_info (RegistryInfo) – Registry configurations.
azure_credentials (AzureCredentials) – AzureCredentials configurations.
context_path (str) – Context path.
github_personal_access_token (str) – One time Github PAT to configure github environment.
image (str) – Image name.
publish_type (str) – Code or Image.
os (str) – Operation system.
runtime_stack (str) – Runtime stack.
runtime_version (str) – Runtime version.
- Keyword Arguments:
registry_info (RegistryInfo) – Registry configurations.
azure_credentials (AzureCredentials) – AzureCredentials configurations.
context_path (str) – Context path.
github_personal_access_token (str) – One time Github PAT to configure github environment.
image (str) – Image name.
publish_type (str) – Code or Image.
os (str) – Operation system.
runtime_stack (str) – Runtime stack.
runtime_version (str) – Runtime version.
- class azure.mgmt.appcontainers.models.GlobalValidation(*, unauthenticated_client_action: str | _models.UnauthenticatedClientActionV2 | None = None, redirect_to_provider: str | None = None, excluded_paths: List[str] | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings that determines the validation flow of users using ContainerApp Service Authentication/Authorization.
- Variables:
unauthenticated_client_action (str or UnauthenticatedClientActionV2) – The action to take when an unauthenticated client attempts to access the app. Known values are: “RedirectToLoginPage”, “AllowAnonymous”, “Return401”, and “Return403”.
redirect_to_provider (str) – The default authentication provider to use when multiple providers are configured. This setting is only needed if multiple providers are configured and the unauthenticated client action is set to “RedirectToLoginPage”.
excluded_paths (list[str]) – The paths for which unauthenticated flow would not be redirected to the login page.
- Keyword Arguments:
unauthenticated_client_action (str or UnauthenticatedClientActionV2) – The action to take when an unauthenticated client attempts to access the app. Known values are: “RedirectToLoginPage”, “AllowAnonymous”, “Return401”, and “Return403”.
redirect_to_provider (str) – The default authentication provider to use when multiple providers are configured. This setting is only needed if multiple providers are configured and the unauthenticated client action is set to “RedirectToLoginPage”.
excluded_paths (list[str]) – The paths for which unauthenticated flow would not be redirected to the login page.
- class azure.mgmt.appcontainers.models.Google(*, enabled: bool | None = None, registration: _models.ClientRegistration | None = None, login: _models.LoginScopes | None = None, validation: _models.AllowedAudiencesValidation | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the Google provider.
- Variables:
enabled (bool) –
<code>false</code>if the Google provider should not be enabled despite the set registration; otherwise,<code>true</code>.registration (ClientRegistration) – The configuration settings of the app registration for the Google provider.
login (LoginScopes) – The configuration settings of the login flow.
validation (AllowedAudiencesValidation) – The configuration settings of the Azure Active Directory token validation flow.
- Keyword Arguments:
enabled (bool) –
<code>false</code>if the Google provider should not be enabled despite the set registration; otherwise,<code>true</code>.registration (ClientRegistration) – The configuration settings of the app registration for the Google provider.
login (LoginScopes) – The configuration settings of the login flow.
validation (AllowedAudiencesValidation) – The configuration settings of the Azure Active Directory token validation flow.
- class azure.mgmt.appcontainers.models.HttpScaleRule(*, metadata: Dict[str, str] | None = None, auth: List[_models.ScaleRuleAuth] | None = None, identity: str | None = None, **kwargs: Any)[source]
Bases:
ModelContainer App container Http scaling rule.
- Variables:
metadata (dict[str, str]) – Metadata properties to describe http scale rule.
auth (list[ScaleRuleAuth]) – Authentication secrets for the custom scale rule.
identity (str) – The resource ID of a user-assigned managed identity that is assigned to the Container App, or ‘system’ for system-assigned identity.
- Keyword Arguments:
metadata (dict[str, str]) – Metadata properties to describe http scale rule.
auth (list[ScaleRuleAuth]) – Authentication secrets for the custom scale rule.
identity (str) – The resource ID of a user-assigned managed identity that is assigned to the Container App, or ‘system’ for system-assigned identity.
- class azure.mgmt.appcontainers.models.HttpSettings(*, require_https: bool | None = None, routes: _models.HttpSettingsRoutes | None = None, forward_proxy: _models.ForwardProxy | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the HTTP requests for authentication and authorization requests made against ContainerApp Service Authentication/Authorization.
- Variables:
require_https (bool) –
<code>false</code>if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise,<code>true</code>.routes (HttpSettingsRoutes) – The configuration settings of the paths HTTP requests.
forward_proxy (ForwardProxy) – The configuration settings of a forward proxy used to make the requests.
- Keyword Arguments:
require_https (bool) –
<code>false</code>if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise,<code>true</code>.routes (HttpSettingsRoutes) – The configuration settings of the paths HTTP requests.
forward_proxy (ForwardProxy) – The configuration settings of a forward proxy used to make the requests.
- class azure.mgmt.appcontainers.models.HttpSettingsRoutes(*, api_prefix: str | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the paths HTTP requests.
- class azure.mgmt.appcontainers.models.IdentityProviders(*, azure_active_directory: _models.AzureActiveDirectory | None = None, facebook: _models.Facebook | None = None, git_hub: _models.GitHub | None = None, google: _models.Google | None = None, twitter: _models.Twitter | None = None, apple: _models.Apple | None = None, azure_static_web_apps: _models.AzureStaticWebApps | None = None, custom_open_id_connect_providers: Dict[str, _models.CustomOpenIdConnectProvider] | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of each of the identity providers used to configure ContainerApp Service Authentication/Authorization.
- Variables:
azure_active_directory (AzureActiveDirectory) – The configuration settings of the Azure Active directory provider.
facebook (Facebook) – The configuration settings of the Facebook provider.
git_hub (GitHub) – The configuration settings of the GitHub provider.
google (Google) – The configuration settings of the Google provider.
twitter (Twitter) – The configuration settings of the Twitter provider.
apple (Apple) – The configuration settings of the Apple provider.
azure_static_web_apps (AzureStaticWebApps) – The configuration settings of the Azure Static Web Apps provider.
custom_open_id_connect_providers (dict[str, CustomOpenIdConnectProvider]) – The map of the name of the alias of each custom Open ID Connect provider to the configuration settings of the custom Open ID Connect provider.
- Keyword Arguments:
azure_active_directory (AzureActiveDirectory) – The configuration settings of the Azure Active directory provider.
facebook (Facebook) – The configuration settings of the Facebook provider.
git_hub (GitHub) – The configuration settings of the GitHub provider.
google (Google) – The configuration settings of the Google provider.
twitter (Twitter) – The configuration settings of the Twitter provider.
apple (Apple) – The configuration settings of the Apple provider.
azure_static_web_apps (AzureStaticWebApps) – The configuration settings of the Azure Static Web Apps provider.
custom_open_id_connect_providers (dict[str, CustomOpenIdConnectProvider]) – The map of the name of the alias of each custom Open ID Connect provider to the configuration settings of the custom Open ID Connect provider.
- class azure.mgmt.appcontainers.models.IdentitySettings(*, identity: str, lifecycle: str | _models.IdentitySettingsLifeCycle | None = None, **kwargs: Any)[source]
Bases:
ModelOptional settings for a Managed Identity that is assigned to the Container App.
All required parameters must be populated in order to send to server.
- Variables:
identity (str) – The resource ID of a user-assigned managed identity that is assigned to the Container App, or ‘system’ for system-assigned identity. Required.
lifecycle (str or IdentitySettingsLifeCycle) – Use to select the lifecycle stages of a Container App during which the Managed Identity should be available. Known values are: “Init”, “Main”, “None”, and “All”.
- Keyword Arguments:
identity (str) – The resource ID of a user-assigned managed identity that is assigned to the Container App, or ‘system’ for system-assigned identity. Required.
lifecycle (str or IdentitySettingsLifeCycle) – Use to select the lifecycle stages of a Container App during which the Managed Identity should be available. Known values are: “Init”, “Main”, “None”, and “All”.
- class azure.mgmt.appcontainers.models.IdentitySettingsLifeCycle(*values)[source]
-
Use to select the lifecycle stages of a Container App during which the Managed Identity should be available.
- ALL = 'All'
- INIT = 'Init'
- MAIN = 'Main'
- NONE = 'None'
- class azure.mgmt.appcontainers.models.Ingress(*, external: bool = False, target_port: int | None = None, exposed_port: int | None = None, transport: str | _models.IngressTransportMethod = 'auto', traffic: List[_models.TrafficWeight] | None = None, custom_domains: List[_models.CustomDomain] | None = None, allow_insecure: bool = False, ip_security_restrictions: List[_models.IpSecurityRestrictionRule] | None = None, sticky_sessions: _models.IngressStickySessions | None = None, client_certificate_mode: str | _models.IngressClientCertificateMode | None = None, cors_policy: _models.CorsPolicy | None = None, additional_port_mappings: List[_models.IngressPortMapping] | None = None, **kwargs: Any)[source]
Bases:
ModelContainer App Ingress configuration.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
fqdn (str) – Hostname.
external (bool) – Bool indicating if app exposes an external http endpoint.
target_port (int) – Target Port in containers for traffic from ingress.
exposed_port (int) – Exposed Port in containers for TCP traffic from ingress.
transport (str or IngressTransportMethod) – Ingress transport protocol. Known values are: “auto”, “http”, “http2”, and “tcp”.
traffic (list[TrafficWeight]) – Traffic weights for app’s revisions.
custom_domains (list[CustomDomain]) – custom domain bindings for Container Apps’ hostnames.
allow_insecure (bool) – Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections.
ip_security_restrictions (list[IpSecurityRestrictionRule]) – Rules to restrict incoming IP address.
sticky_sessions (IngressStickySessions) – Sticky Sessions for Single Revision Mode.
client_certificate_mode (str or IngressClientCertificateMode) – Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate. Known values are: “ignore”, “accept”, and “require”.
cors_policy (CorsPolicy) – CORS policy for container app.
additional_port_mappings (list[IngressPortMapping]) – Settings to expose additional ports on container app.
- Keyword Arguments:
external (bool) – Bool indicating if app exposes an external http endpoint.
target_port (int) – Target Port in containers for traffic from ingress.
exposed_port (int) – Exposed Port in containers for TCP traffic from ingress.
transport (str or IngressTransportMethod) – Ingress transport protocol. Known values are: “auto”, “http”, “http2”, and “tcp”.
traffic (list[TrafficWeight]) – Traffic weights for app’s revisions.
custom_domains (list[CustomDomain]) – custom domain bindings for Container Apps’ hostnames.
allow_insecure (bool) – Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections.
ip_security_restrictions (list[IpSecurityRestrictionRule]) – Rules to restrict incoming IP address.
sticky_sessions (IngressStickySessions) – Sticky Sessions for Single Revision Mode.
client_certificate_mode (str or IngressClientCertificateMode) – Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate. Known values are: “ignore”, “accept”, and “require”.
cors_policy (CorsPolicy) – CORS policy for container app.
additional_port_mappings (list[IngressPortMapping]) – Settings to expose additional ports on container app.
- class azure.mgmt.appcontainers.models.IngressClientCertificateMode(*values)[source]
-
Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
- ACCEPT = 'accept'
- IGNORE = 'ignore'
- REQUIRE = 'require'
- class azure.mgmt.appcontainers.models.IngressPortMapping(*, external: bool, target_port: int, exposed_port: int | None = None, **kwargs: Any)[source]
Bases:
ModelPort mappings of container app ingress.
All required parameters must be populated in order to send to server.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.IngressStickySessions(*, affinity: str | _models.Affinity | None = None, **kwargs: Any)[source]
Bases:
ModelSticky Sessions for Single Revision Mode.
- class azure.mgmt.appcontainers.models.IngressTransportMethod(*values)[source]
-
Ingress transport protocol.
- AUTO = 'auto'
- HTTP = 'http'
- HTTP2 = 'http2'
- TCP = 'tcp'
- class azure.mgmt.appcontainers.models.InitContainer(*, image: str | None = None, name: str | None = None, command: List[str] | None = None, args: List[str] | None = None, env: List[_models.EnvironmentVar] | None = None, resources: _models.ContainerResources | None = None, volume_mounts: List[_models.VolumeMount] | None = None, **kwargs: Any)[source]
Bases:
BaseContainerContainer App init container definition.
- Variables:
image (str) – Container image tag.
name (str) – Custom container name.
env (list[EnvironmentVar]) – Container environment variables.
resources (ContainerResources) – Container resource requirements.
volume_mounts (list[VolumeMount]) – Container volume mounts.
- Keyword Arguments:
image (str) – Container image tag.
name (str) – Custom container name.
env (list[EnvironmentVar]) – Container environment variables.
resources (ContainerResources) – Container resource requirements.
volume_mounts (list[VolumeMount]) – Container volume mounts.
- class azure.mgmt.appcontainers.models.IpSecurityRestrictionRule(*, name: str, ip_address_range: str, action: str | _models.Action, description: str | None = None, **kwargs: Any)[source]
Bases:
ModelRule to restrict incoming IP address.
All required parameters must be populated in order to send to server.
- Variables:
name (str) – Name for the IP restriction rule. Required.
description (str) – Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
ip_address_range (str) – CIDR notation to match incoming IP address. Required.
action (str or Action) – Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny. Required. Known values are: “Allow” and “Deny”.
- Keyword Arguments:
name (str) – Name for the IP restriction rule. Required.
description (str) – Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
ip_address_range (str) – CIDR notation to match incoming IP address. Required.
action (str or Action) – Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny. Required. Known values are: “Allow” and “Deny”.
- class azure.mgmt.appcontainers.models.JavaComponent(*, properties: _models.JavaComponentProperties | None = None, **kwargs: Any)[source]
Bases:
ProxyResourceJava Component.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
properties (JavaComponentProperties) – Java Component resource specific properties.
- Keyword Arguments:
properties (JavaComponentProperties) – Java Component resource specific properties.
- class azure.mgmt.appcontainers.models.JavaComponentConfigurationProperty(*, property_name: str | None = None, value: str | None = None, **kwargs: Any)[source]
Bases:
ModelConfiguration properties for a Java Component.
- class azure.mgmt.appcontainers.models.JavaComponentIngress(**kwargs: Any)[source]
Bases:
ModelContainer App Ingress configuration.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
fqdn (str) – Hostname of the Java Component endpoint.
- class azure.mgmt.appcontainers.models.JavaComponentProperties(*, configurations: List[_models.JavaComponentConfigurationProperty] | None = None, scale: _models.JavaComponentPropertiesScale | None = None, service_binds: List[_models.JavaComponentServiceBind] | None = None, **kwargs: Any)[source]
Bases:
ModelJava Component common properties.
You probably want to use the sub-classes and not this class directly. Known sub-classes are: SpringBootAdminComponent, SpringCloudConfigComponent, SpringCloudEurekaComponent
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 server.
- Variables:
component_type (str or JavaComponentType) – Type of the Java Component. Required. Known values are: “SpringBootAdmin”, “SpringCloudEureka”, and “SpringCloudConfig”.
provisioning_state (str or JavaComponentProvisioningState) – Provisioning state of the Java Component. Known values are: “Succeeded”, “Failed”, “Canceled”, “Deleting”, and “InProgress”.
configurations (list[JavaComponentConfigurationProperty]) – List of Java Components configuration properties.
scale (JavaComponentPropertiesScale) – Java component scaling configurations.
service_binds (list[JavaComponentServiceBind]) – List of Java Components that are bound to the Java component.
- Keyword Arguments:
configurations (list[JavaComponentConfigurationProperty]) – List of Java Components configuration properties.
scale (JavaComponentPropertiesScale) – Java component scaling configurations.
service_binds (list[JavaComponentServiceBind]) – List of Java Components that are bound to the Java component.
- class azure.mgmt.appcontainers.models.JavaComponentPropertiesScale(*, min_replicas: int | None = None, max_replicas: int | None = None, **kwargs: Any)[source]
Bases:
ModelJava component scaling configurations.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.JavaComponentProvisioningState(*values)[source]
-
Provisioning state of the Java Component.
- CANCELED = 'Canceled'
- DELETING = 'Deleting'
- FAILED = 'Failed'
- IN_PROGRESS = 'InProgress'
- SUCCEEDED = 'Succeeded'
- class azure.mgmt.appcontainers.models.JavaComponentServiceBind(*, name: str | None = None, service_id: str | None = None, **kwargs: Any)[source]
Bases:
ModelConfiguration to bind a Java Component to another Java Component.
- class azure.mgmt.appcontainers.models.JavaComponentType(*values)[source]
-
Type of the Java Component.
- SPRING_BOOT_ADMIN = 'SpringBootAdmin'
- SPRING_CLOUD_CONFIG = 'SpringCloudConfig'
- SPRING_CLOUD_EUREKA = 'SpringCloudEureka'
- class azure.mgmt.appcontainers.models.JavaComponentsCollection(*, value: List[_models.JavaComponent], **kwargs: Any)[source]
Bases:
ModelJava Components ARM 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 server.
- Variables:
value (list[JavaComponent]) – Collection of resources. Required.
next_link (str) – Link to next page of resources.
- Keyword Arguments:
value (list[JavaComponent]) – Collection of resources. Required.
- class azure.mgmt.appcontainers.models.Job(*, location: str, tags: Dict[str, str] | None = None, identity: _models.ManagedServiceIdentity | None = None, environment_id: str | None = None, workload_profile_name: str | None = None, configuration: _models.JobConfiguration | None = None, template: _models.JobTemplate | None = None, **kwargs: Any)[source]
Bases:
TrackedResourceContainer App Job.
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 server.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
location (str) – The geo-location where the resource lives. Required.
identity (ManagedServiceIdentity) – Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code.
provisioning_state (str or JobProvisioningState) – Provisioning state of the Container Apps Job. Known values are: “InProgress”, “Succeeded”, “Failed”, “Canceled”, and “Deleting”.
environment_id (str) – Resource ID of environment.
workload_profile_name (str) – Workload profile name to pin for container apps job execution.
configuration (JobConfiguration) – Container Apps Job configuration properties.
template (JobTemplate) – Container Apps job definition.
outbound_ip_addresses (list[str]) – Outbound IP Addresses of a container apps job.
event_stream_endpoint (str) – The endpoint of the eventstream of the container apps job.
- Keyword Arguments:
location (str) – The geo-location where the resource lives. Required.
identity (ManagedServiceIdentity) – Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code.
environment_id (str) – Resource ID of environment.
workload_profile_name (str) – Workload profile name to pin for container apps job execution.
configuration (JobConfiguration) – Container Apps Job configuration properties.
template (JobTemplate) – Container Apps job definition.
- class azure.mgmt.appcontainers.models.JobConfiguration(*, trigger_type: str | _models.TriggerType = 'Manual', replica_timeout: int, secrets: List[_models.Secret] | None = None, replica_retry_limit: int | None = None, manual_trigger_config: _models.JobConfigurationManualTriggerConfig | None = None, schedule_trigger_config: _models.JobConfigurationScheduleTriggerConfig | None = None, event_trigger_config: _models.JobConfigurationEventTriggerConfig | None = None, registries: List[_models.RegistryCredentials] | None = None, identity_settings: List[_models.IdentitySettings] | None = None, **kwargs: Any)[source]
Bases:
ModelNon versioned Container Apps Job configuration properties.
All required parameters must be populated in order to send to server.
- Variables:
secrets (list[Secret]) – Collection of secrets used by a Container Apps Job.
trigger_type (str or TriggerType) – Trigger type of the job. Known values are: “Schedule”, “Event”, and “Manual”.
replica_timeout (int) – Maximum number of seconds a replica is allowed to run. Required.
replica_retry_limit (int) – Maximum number of retries before failing the job.
manual_trigger_config (JobConfigurationManualTriggerConfig) – Manual trigger configuration for a single execution job. Properties replicaCompletionCount and parallelism would be set to 1 by default.
schedule_trigger_config (JobConfigurationScheduleTriggerConfig) – Cron formatted repeating trigger schedule (”* * * * *”) for cronjobs. Properties completions and parallelism would be set to 1 by default.
event_trigger_config (JobConfigurationEventTriggerConfig) – Trigger configuration of an event driven job.
registries (list[RegistryCredentials]) – Collection of private container registry credentials used by a Container apps job.
identity_settings (list[IdentitySettings]) – Optional settings for Managed Identities that are assigned to the Container App Job. If a Managed Identity is not specified here, default settings will be used.
- Keyword Arguments:
secrets (list[Secret]) – Collection of secrets used by a Container Apps Job.
trigger_type (str or TriggerType) – Trigger type of the job. Known values are: “Schedule”, “Event”, and “Manual”.
replica_timeout (int) – Maximum number of seconds a replica is allowed to run. Required.
replica_retry_limit (int) – Maximum number of retries before failing the job.
manual_trigger_config (JobConfigurationManualTriggerConfig) – Manual trigger configuration for a single execution job. Properties replicaCompletionCount and parallelism would be set to 1 by default.
schedule_trigger_config (JobConfigurationScheduleTriggerConfig) – Cron formatted repeating trigger schedule (”* * * * *”) for cronjobs. Properties completions and parallelism would be set to 1 by default.
event_trigger_config (JobConfigurationEventTriggerConfig) – Trigger configuration of an event driven job.
registries (list[RegistryCredentials]) – Collection of private container registry credentials used by a Container apps job.
identity_settings (list[IdentitySettings]) – Optional settings for Managed Identities that are assigned to the Container App Job. If a Managed Identity is not specified here, default settings will be used.
- class azure.mgmt.appcontainers.models.JobConfigurationEventTriggerConfig(*, replica_completion_count: int | None = None, parallelism: int | None = None, scale: _models.JobScale | None = None, **kwargs: Any)[source]
Bases:
ModelTrigger configuration of an event driven job.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.JobConfigurationManualTriggerConfig(*, replica_completion_count: int | None = None, parallelism: int | None = None, **kwargs: Any)[source]
Bases:
ModelManual trigger configuration for a single execution job. Properties replicaCompletionCount and parallelism would be set to 1 by default.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.JobConfigurationScheduleTriggerConfig(*, cron_expression: str, replica_completion_count: int | None = None, parallelism: int | None = None, **kwargs: Any)[source]
Bases:
ModelCron formatted repeating trigger schedule (”* * * * *”) for cronjobs. Properties completions and parallelism would be set to 1 by default.
All required parameters must be populated in order to send to server.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.JobExecution(*, name: str | None = None, id: str | None = None, type: str | None = None, start_time: datetime | None = None, end_time: datetime | None = None, template: _models.JobExecutionTemplate | None = None, **kwargs: Any)[source]
Bases:
ModelContainer Apps Job execution.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
name (str) – Job execution Name.
id (str) – Job execution Id.
type (str) – Job execution type.
status (str or JobExecutionRunningState) – Current running State of the job. Known values are: “Running”, “Processing”, “Stopped”, “Degraded”, “Failed”, “Unknown”, and “Succeeded”.
start_time (datetime) – Job execution start time.
end_time (datetime) – Job execution end time.
template (JobExecutionTemplate) – Job’s execution container.
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.JobExecutionBase(*, name: str | None = None, id: str | None = None, **kwargs: Any)[source]
Bases:
ModelContainer App’s Job execution name.
- class azure.mgmt.appcontainers.models.JobExecutionContainer(*, image: str | None = None, name: str | None = None, command: List[str] | None = None, args: List[str] | None = None, env: List[_models.EnvironmentVar] | None = None, resources: _models.ContainerResources | None = None, **kwargs: Any)[source]
Bases:
ModelContainer Apps Jobs execution container definition.
- Variables:
image (str) – Container image tag.
name (str) – Custom container name.
env (list[EnvironmentVar]) – Container environment variables.
resources (ContainerResources) – Container resource requirements.
- Keyword Arguments:
image (str) – Container image tag.
name (str) – Custom container name.
env (list[EnvironmentVar]) – Container environment variables.
resources (ContainerResources) – Container resource requirements.
- class azure.mgmt.appcontainers.models.JobExecutionNamesCollection(*, value: List[_models.JobExecutionBase], **kwargs: Any)[source]
Bases:
ModelContainer App executions names list.
All required parameters must be populated in order to send to server.
- Variables:
value (list[JobExecutionBase]) – Collection of resources. Required.
- Keyword Arguments:
value (list[JobExecutionBase]) – Collection of resources. Required.
- class azure.mgmt.appcontainers.models.JobExecutionRunningState(*values)[source]
-
Current running State of the job.
- DEGRADED = 'Degraded'
- FAILED = 'Failed'
- PROCESSING = 'Processing'
- RUNNING = 'Running'
- STOPPED = 'Stopped'
- SUCCEEDED = 'Succeeded'
- UNKNOWN = 'Unknown'
- class azure.mgmt.appcontainers.models.JobExecutionTemplate(*, containers: List[_models.JobExecutionContainer] | None = None, init_containers: List[_models.JobExecutionContainer] | None = None, **kwargs: Any)[source]
Bases:
ModelJob’s execution template, containing container configuration for a job’s execution.
- Variables:
containers (list[JobExecutionContainer]) – List of container definitions for the Container Apps Job.
init_containers (list[JobExecutionContainer]) – List of specialized containers that run before job containers.
- Keyword Arguments:
containers (list[JobExecutionContainer]) – List of container definitions for the Container Apps Job.
init_containers (list[JobExecutionContainer]) – List of specialized containers that run before job containers.
- class azure.mgmt.appcontainers.models.JobPatchProperties(*, identity: _models.ManagedServiceIdentity | None = None, tags: Dict[str, str] | None = None, properties: _models.JobPatchPropertiesProperties | None = None, **kwargs: Any)[source]
Bases:
ModelContainer Apps Job resource specific properties.
- Variables:
identity (ManagedServiceIdentity) – Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code.
properties (JobPatchPropertiesProperties)
- Keyword Arguments:
identity (ManagedServiceIdentity) – Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code.
properties (JobPatchPropertiesProperties)
- class azure.mgmt.appcontainers.models.JobPatchPropertiesProperties(*, environment_id: str | None = None, configuration: _models.JobConfiguration | None = None, template: _models.JobTemplate | None = None, outbound_ip_addresses: List[str] | None = None, event_stream_endpoint: str | None = None, **kwargs: Any)[source]
Bases:
ModelJobPatchPropertiesProperties.
- Variables:
environment_id (str) – Resource ID of environment.
configuration (JobConfiguration) – Container Apps Job configuration properties.
template (JobTemplate) – Container Apps job definition.
outbound_ip_addresses (list[str]) – Outbound IP Addresses of a container apps job.
event_stream_endpoint (str) – The endpoint of the eventstream of the container apps job.
- Keyword Arguments:
environment_id (str) – Resource ID of environment.
configuration (JobConfiguration) – Container Apps Job configuration properties.
template (JobTemplate) – Container Apps job definition.
outbound_ip_addresses (list[str]) – Outbound IP Addresses of a container apps job.
event_stream_endpoint (str) – The endpoint of the eventstream of the container apps job.
- class azure.mgmt.appcontainers.models.JobProvisioningState(*values)[source]
-
Provisioning state of the Container Apps Job.
- CANCELED = 'Canceled'
- DELETING = 'Deleting'
- FAILED = 'Failed'
- IN_PROGRESS = 'InProgress'
- SUCCEEDED = 'Succeeded'
- class azure.mgmt.appcontainers.models.JobScale(*, polling_interval: int | None = None, min_executions: int = 0, max_executions: int = 100, rules: List[_models.JobScaleRule] | None = None, **kwargs: Any)[source]
Bases:
ModelScaling configurations for event driven jobs.
- Variables:
polling_interval (int) – Interval to check each event source in seconds. Defaults to 30s.
min_executions (int) – Minimum number of job executions that are created for a trigger, default 0.
max_executions (int) – Maximum number of job executions that are created for a trigger, default 100.
rules (list[JobScaleRule]) – Scaling rules.
- Keyword Arguments:
polling_interval (int) – Interval to check each event source in seconds. Defaults to 30s.
min_executions (int) – Minimum number of job executions that are created for a trigger, default 0.
max_executions (int) – Maximum number of job executions that are created for a trigger, default 100.
rules (list[JobScaleRule]) – Scaling rules.
- class azure.mgmt.appcontainers.models.JobScaleRule(*, name: str | None = None, type: str | None = None, metadata: MutableMapping[str, Any] | None = None, auth: List[_models.ScaleRuleAuth] | None = None, identity: str | None = None, **kwargs: Any)[source]
Bases:
ModelScaling rule.
- Variables:
name (str) – Scale Rule Name.
type (str) – Type of the scale rule eg: azure-servicebus, redis etc.
metadata (JSON) – Metadata properties to describe the scale rule.
auth (list[ScaleRuleAuth]) – Authentication secrets for the scale rule.
identity (str) – The resource ID of a user-assigned managed identity that is assigned to the Container App, or ‘system’ for system-assigned identity.
- Keyword Arguments:
name (str) – Scale Rule Name.
type (str) – Type of the scale rule eg: azure-servicebus, redis etc.
metadata (JSON) – Metadata properties to describe the scale rule.
auth (list[ScaleRuleAuth]) – Authentication secrets for the scale rule.
identity (str) – The resource ID of a user-assigned managed identity that is assigned to the Container App, or ‘system’ for system-assigned identity.
- class azure.mgmt.appcontainers.models.JobSecretsCollection(*, value: List[_models.Secret], **kwargs: Any)[source]
Bases:
ModelContainer Apps Job Secrets Collection ARM resource.
All required parameters must be populated in order to send to server.
- class azure.mgmt.appcontainers.models.JobTemplate(*, init_containers: List[_models.InitContainer] | None = None, containers: List[_models.Container] | None = None, volumes: List[_models.Volume] | None = None, **kwargs: Any)[source]
Bases:
ModelContainer Apps Job versioned application definition. Defines the desired state of an immutable revision. Any changes to this section Will result in a new revision being created.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.JobsCollection(*, value: List[_models.Job], **kwargs: Any)[source]
Bases:
ModelContainer Apps Jobs collection ARM 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 server.
- class azure.mgmt.appcontainers.models.JwtClaimChecks(*, allowed_groups: List[str] | None = None, allowed_client_applications: List[str] | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the checks that should be made while validating the JWT Claims.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.KedaConfiguration(**kwargs: Any)[source]
Bases:
ModelConfiguration properties Keda component.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
version (str) – The version of Keda.
- class azure.mgmt.appcontainers.models.LifecycleConfiguration(*, lifecycle_type: str | _models.LifecycleType | None = None, cooldown_period_in_seconds: int | None = None, max_alive_period_in_seconds: int | None = None, **kwargs: Any)[source]
Bases:
ModelThe lifecycle configuration properties of a session in the dynamic session pool.
- Variables:
lifecycle_type (str or LifecycleType) – The lifecycle type of the session pool. Known values are: “Timed” and “OnContainerExit”.
cooldown_period_in_seconds (int) – The cooldown period of a session in seconds when the lifecycle type is ‘Timed’.
max_alive_period_in_seconds (int) – The maximum alive period of a session in seconds when the lifecycle type is ‘OnContainerExit’.
- Keyword Arguments:
lifecycle_type (str or LifecycleType) – The lifecycle type of the session pool. Known values are: “Timed” and “OnContainerExit”.
cooldown_period_in_seconds (int) – The cooldown period of a session in seconds when the lifecycle type is ‘Timed’.
max_alive_period_in_seconds (int) – The maximum alive period of a session in seconds when the lifecycle type is ‘OnContainerExit’.
- class azure.mgmt.appcontainers.models.LifecycleType(*values)[source]
-
The lifecycle type of the session pool.
- ON_CONTAINER_EXIT = 'OnContainerExit'
- TIMED = 'Timed'
- class azure.mgmt.appcontainers.models.ListUsagesResult(*, value: List[_models.Usage] | None = None, next_link: str | None = None, **kwargs: Any)[source]
Bases:
ModelListUsagesResult.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.LogAnalyticsConfiguration(*, customer_id: str | None = None, shared_key: str | None = None, **kwargs: Any)[source]
Bases:
ModelLog Analytics configuration, must only be provided when destination is configured as ‘log-analytics’.
- class azure.mgmt.appcontainers.models.LogLevel(*values)[source]
-
Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
- DEBUG = 'debug'
- ERROR = 'error'
- INFO = 'info'
- WARN = 'warn'
- class azure.mgmt.appcontainers.models.Login(*, routes: _models.LoginRoutes | None = None, token_store: _models.TokenStore | None = None, preserve_url_fragments_for_logins: bool | None = None, allowed_external_redirect_urls: List[str] | None = None, cookie_expiration: _models.CookieExpiration | None = None, nonce: _models.Nonce | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the login flow of users using ContainerApp Service Authentication/Authorization.
- Variables:
routes (LoginRoutes) – The routes that specify the endpoints used for login and logout requests.
token_store (TokenStore) – The configuration settings of the token store.
preserve_url_fragments_for_logins (bool) –
<code>true</code>if the fragments from the request are preserved after the login request is made; otherwise,<code>false</code>.allowed_external_redirect_urls (list[str]) – External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. This is an advanced setting typically only needed by Windows Store application backends. Note that URLs within the current domain are always implicitly allowed.
cookie_expiration (CookieExpiration) – The configuration settings of the session cookie’s expiration.
nonce (Nonce) – The configuration settings of the nonce used in the login flow.
- Keyword Arguments:
routes (LoginRoutes) – The routes that specify the endpoints used for login and logout requests.
token_store (TokenStore) – The configuration settings of the token store.
preserve_url_fragments_for_logins (bool) –
<code>true</code>if the fragments from the request are preserved after the login request is made; otherwise,<code>false</code>.allowed_external_redirect_urls (list[str]) – External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. This is an advanced setting typically only needed by Windows Store application backends. Note that URLs within the current domain are always implicitly allowed.
cookie_expiration (CookieExpiration) – The configuration settings of the session cookie’s expiration.
nonce (Nonce) – The configuration settings of the nonce used in the login flow.
- class azure.mgmt.appcontainers.models.LoginRoutes(*, logout_endpoint: str | None = None, **kwargs: Any)[source]
Bases:
ModelThe routes that specify the endpoints used for login and logout requests.
- class azure.mgmt.appcontainers.models.LoginScopes(*, scopes: List[str] | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the login flow, including the scopes that should be requested.
- class azure.mgmt.appcontainers.models.ManagedCertificate(*, location: str, tags: Dict[str, str] | None = None, properties: _models.ManagedCertificateProperties | None = None, **kwargs: Any)[source]
Bases:
TrackedResourceManaged certificates used for Custom Domain bindings of Container Apps in a Managed Environment.
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 server.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
location (str) – The geo-location where the resource lives. Required.
properties (ManagedCertificateProperties) – Certificate resource specific properties.
- Keyword Arguments:
location (str) – The geo-location where the resource lives. Required.
properties (ManagedCertificateProperties) – Certificate resource specific properties.
- class azure.mgmt.appcontainers.models.ManagedCertificateCollection(*, value: List[_models.ManagedCertificate], **kwargs: Any)[source]
Bases:
ModelCollection of Managed Certificates.
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 server.
- Variables:
value (list[ManagedCertificate]) – Collection of resources. Required.
next_link (str) – Link to next page of resources.
- Keyword Arguments:
value (list[ManagedCertificate]) – Collection of resources. Required.
- class azure.mgmt.appcontainers.models.ManagedCertificateDomainControlValidation(*values)[source]
-
Selected type of domain control validation for managed certificates.
- CNAME = 'CNAME'
- HTTP = 'HTTP'
- TXT = 'TXT'
- class azure.mgmt.appcontainers.models.ManagedCertificatePatch(*, tags: Dict[str, str] | None = None, **kwargs: Any)[source]
Bases:
ModelA managed certificate to update.
- class azure.mgmt.appcontainers.models.ManagedCertificateProperties(*, subject_name: str | None = None, domain_control_validation: str | _models.ManagedCertificateDomainControlValidation | None = None, **kwargs: Any)[source]
Bases:
ModelCertificate resource specific properties.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
provisioning_state (str or CertificateProvisioningState) – Provisioning state of the certificate. Known values are: “Succeeded”, “Failed”, “Canceled”, “DeleteFailed”, and “Pending”.
subject_name (str) – Subject name of the certificate.
error (str) – Any error occurred during the certificate provision.
domain_control_validation (str or ManagedCertificateDomainControlValidation) – Selected type of domain control validation for managed certificates. Known values are: “CNAME”, “HTTP”, and “TXT”.
validation_token (str) – A TXT token used for DNS TXT domain control validation when issuing this type of managed certificates.
- Keyword Arguments:
subject_name (str) – Subject name of the certificate.
domain_control_validation (str or ManagedCertificateDomainControlValidation) – Selected type of domain control validation for managed certificates. Known values are: “CNAME”, “HTTP”, and “TXT”.
- class azure.mgmt.appcontainers.models.ManagedEnvironment(*, location: str, tags: Dict[str, str] | None = None, kind: str | None = None, identity: _models.ManagedServiceIdentity | None = None, dapr_ai_instrumentation_key: str | None = None, dapr_ai_connection_string: str | None = None, vnet_configuration: _models.VnetConfiguration | None = None, app_logs_configuration: _models.AppLogsConfiguration | None = None, zone_redundant: bool | None = None, custom_domain_configuration: _models.CustomDomainConfiguration | None = None, workload_profiles: List[_models.WorkloadProfile] | None = None, keda_configuration: _models.KedaConfiguration | None = None, dapr_configuration: _models.DaprConfiguration | None = None, infrastructure_resource_group: str | None = None, peer_authentication: _models.ManagedEnvironmentPropertiesPeerAuthentication | None = None, peer_traffic_configuration: _models.ManagedEnvironmentPropertiesPeerTrafficConfiguration | None = None, **kwargs: Any)[source]
Bases:
TrackedResourceAn environment for hosting container apps.
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 server.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
location (str) – The geo-location where the resource lives. Required.
kind (str) – Kind of the Environment.
identity (ManagedServiceIdentity) – Managed identities for the Managed Environment to interact with other Azure services without maintaining any secrets or credentials in code.
provisioning_state (str or EnvironmentProvisioningState) – Provisioning state of the Environment. Known values are: “Succeeded”, “Failed”, “Canceled”, “Waiting”, “InitializationInProgress”, “InfrastructureSetupInProgress”, “InfrastructureSetupComplete”, “ScheduledForDelete”, “UpgradeRequested”, and “UpgradeFailed”.
dapr_ai_instrumentation_key (str) – Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.
dapr_ai_connection_string (str) – Application Insights connection string used by Dapr to export Service to Service communication telemetry.
vnet_configuration (VnetConfiguration) – Vnet configuration for the environment.
deployment_errors (str) – Any errors that occurred during deployment or deployment validation.
default_domain (str) – Default Domain Name for the cluster.
static_ip (str) – Static IP of the Environment.
app_logs_configuration (AppLogsConfiguration) – Cluster configuration which enables the log daemon to export app logs to configured destination.
zone_redundant (bool) – Whether or not this Managed Environment is zone-redundant.
custom_domain_configuration (CustomDomainConfiguration) – Custom domain configuration for the environment.
event_stream_endpoint (str) – The endpoint of the eventstream of the Environment.
workload_profiles (list[WorkloadProfile]) – Workload profiles configured for the Managed Environment.
keda_configuration (KedaConfiguration) – The configuration of Keda component.
dapr_configuration (DaprConfiguration) – The configuration of Dapr component.
infrastructure_resource_group (str) – Name of the platform-managed resource group created for the Managed Environment to host infrastructure resources. If a subnet ID is provided, this resource group will be created in the same subscription as the subnet.
peer_authentication (ManagedEnvironmentPropertiesPeerAuthentication) – Peer authentication settings for the Managed Environment.
peer_traffic_configuration (ManagedEnvironmentPropertiesPeerTrafficConfiguration) – Peer traffic settings for the Managed Environment.
- Keyword Arguments:
location (str) – The geo-location where the resource lives. Required.
kind (str) – Kind of the Environment.
identity (ManagedServiceIdentity) – Managed identities for the Managed Environment to interact with other Azure services without maintaining any secrets or credentials in code.
dapr_ai_instrumentation_key (str) – Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.
dapr_ai_connection_string (str) – Application Insights connection string used by Dapr to export Service to Service communication telemetry.
vnet_configuration (VnetConfiguration) – Vnet configuration for the environment.
app_logs_configuration (AppLogsConfiguration) – Cluster configuration which enables the log daemon to export app logs to configured destination.
zone_redundant (bool) – Whether or not this Managed Environment is zone-redundant.
custom_domain_configuration (CustomDomainConfiguration) – Custom domain configuration for the environment.
workload_profiles (list[WorkloadProfile]) – Workload profiles configured for the Managed Environment.
keda_configuration (KedaConfiguration) – The configuration of Keda component.
dapr_configuration (DaprConfiguration) – The configuration of Dapr component.
infrastructure_resource_group (str) – Name of the platform-managed resource group created for the Managed Environment to host infrastructure resources. If a subnet ID is provided, this resource group will be created in the same subscription as the subnet.
peer_authentication (ManagedEnvironmentPropertiesPeerAuthentication) – Peer authentication settings for the Managed Environment.
peer_traffic_configuration (ManagedEnvironmentPropertiesPeerTrafficConfiguration) – Peer traffic settings for the Managed Environment.
- class azure.mgmt.appcontainers.models.ManagedEnvironmentPropertiesPeerAuthentication(*, mtls: _models.Mtls | None = None, **kwargs: Any)[source]
Bases:
ModelPeer authentication settings for the Managed Environment.
- class azure.mgmt.appcontainers.models.ManagedEnvironmentPropertiesPeerTrafficConfiguration(*, encryption: _models.ManagedEnvironmentPropertiesPeerTrafficConfigurationEncryption | None = None, **kwargs: Any)[source]
Bases:
ModelPeer traffic settings for the Managed Environment.
- Variables:
encryption (ManagedEnvironmentPropertiesPeerTrafficConfigurationEncryption) – Peer traffic encryption settings for the Managed Environment.
- Keyword Arguments:
encryption (ManagedEnvironmentPropertiesPeerTrafficConfigurationEncryption) – Peer traffic encryption settings for the Managed Environment.
- class azure.mgmt.appcontainers.models.ManagedEnvironmentPropertiesPeerTrafficConfigurationEncryption(*, enabled: bool | None = None, **kwargs: Any)[source]
Bases:
ModelPeer traffic encryption settings for the Managed Environment.
- class azure.mgmt.appcontainers.models.ManagedEnvironmentStorage(*, properties: _models.ManagedEnvironmentStorageProperties | None = None, **kwargs: Any)[source]
Bases:
ProxyResourceStorage resource for managedEnvironment.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
properties (ManagedEnvironmentStorageProperties) – Storage properties.
- Keyword Arguments:
properties (ManagedEnvironmentStorageProperties) – Storage properties.
- class azure.mgmt.appcontainers.models.ManagedEnvironmentStorageProperties(*, azure_file: _models.AzureFileProperties | None = None, nfs_azure_file: _models.NfsAzureFileProperties | None = None, **kwargs: Any)[source]
Bases:
ModelStorage properties.
- Variables:
azure_file (AzureFileProperties) – Azure file properties.
nfs_azure_file (NfsAzureFileProperties) – NFS Azure file properties.
- Keyword Arguments:
azure_file (AzureFileProperties) – Azure file properties.
nfs_azure_file (NfsAzureFileProperties) – NFS Azure file properties.
- class azure.mgmt.appcontainers.models.ManagedEnvironmentStoragesCollection(*, value: List[_models.ManagedEnvironmentStorage], **kwargs: Any)[source]
Bases:
ModelCollection of Storage for Environments.
All required parameters must be populated in order to send to server.
- Variables:
value (list[ManagedEnvironmentStorage]) – Collection of storage resources. Required.
- Keyword Arguments:
value (list[ManagedEnvironmentStorage]) – Collection of storage resources. Required.
- class azure.mgmt.appcontainers.models.ManagedEnvironmentsCollection(*, value: List[_models.ManagedEnvironment], **kwargs: Any)[source]
Bases:
ModelCollection of Environments.
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 server.
- Variables:
value (list[ManagedEnvironment]) – Collection of resources. Required.
next_link (str) – Link to next page of resources.
- Keyword Arguments:
value (list[ManagedEnvironment]) – Collection of resources. Required.
- class azure.mgmt.appcontainers.models.ManagedIdentitySetting(*, identity: str, lifecycle: str | _models.IdentitySettingsLifeCycle | None = None, **kwargs: Any)[source]
Bases:
ModelOptional settings for a Managed Identity that is assigned to the Session pool.
All required parameters must be populated in order to send to server.
- Variables:
identity (str) – The resource ID of a user-assigned managed identity that is assigned to the Session Pool, or ‘system’ for system-assigned identity. Required.
lifecycle (str or IdentitySettingsLifeCycle) – Use to select the lifecycle stages of a Session Pool during which the Managed Identity should be available. Known values are: “Init”, “Main”, “None”, and “All”.
- Keyword Arguments:
identity (str) – The resource ID of a user-assigned managed identity that is assigned to the Session Pool, or ‘system’ for system-assigned identity. Required.
lifecycle (str or IdentitySettingsLifeCycle) – Use to select the lifecycle stages of a Session Pool during which the Managed Identity should be available. Known values are: “Init”, “Main”, “None”, and “All”.
- class azure.mgmt.appcontainers.models.ManagedServiceIdentity(*, type: str | _models.ManagedServiceIdentityType, user_assigned_identities: Dict[str, _models.UserAssignedIdentity] | None = None, **kwargs: Any)[source]
Bases:
ModelManaged service identity (system assigned and/or user assigned identities).
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 server.
- Variables:
principal_id (str) – The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
tenant_id (str) – The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
type (str or ManagedServiceIdentityType) – Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). Required. Known values are: “None”, “SystemAssigned”, “UserAssigned”, and “SystemAssigned,UserAssigned”.
user_assigned_identities (dict[str, UserAssignedIdentity]) – The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. # pylint: disable=line-too-long The dictionary values can be empty objects ({}) in requests.
- Keyword Arguments:
type (str or ManagedServiceIdentityType) – Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). Required. Known values are: “None”, “SystemAssigned”, “UserAssigned”, and “SystemAssigned,UserAssigned”.
user_assigned_identities (dict[str, UserAssignedIdentity]) – The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. # pylint: disable=line-too-long The dictionary values can be empty objects ({}) in requests.
- class azure.mgmt.appcontainers.models.ManagedServiceIdentityType(*values)[source]
-
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- NONE = 'None'
- SYSTEM_ASSIGNED = 'SystemAssigned'
- SYSTEM_ASSIGNED_USER_ASSIGNED = 'SystemAssigned,UserAssigned'
- USER_ASSIGNED = 'UserAssigned'
- class azure.mgmt.appcontainers.models.Mtls(*, enabled: bool | None = None, **kwargs: Any)[source]
Bases:
ModelConfiguration properties for mutual TLS authentication.
- class azure.mgmt.appcontainers.models.NfsAzureFileProperties(*, server: str | None = None, access_mode: str | _models.AccessMode | None = None, share_name: str | None = None, **kwargs: Any)[source]
Bases:
ModelNFS Azure File Properties.
- Variables:
server (str) – Server for NFS azure file. Specify the Azure storage account server address.
access_mode (str or AccessMode) – Access mode for storage. Known values are: “ReadOnly” and “ReadWrite”.
share_name (str) – NFS Azure file share name.
- Keyword Arguments:
server (str) – Server for NFS azure file. Specify the Azure storage account server address.
access_mode (str or AccessMode) – Access mode for storage. Known values are: “ReadOnly” and “ReadWrite”.
share_name (str) – NFS Azure file share name.
- class azure.mgmt.appcontainers.models.Nonce(*, validate_nonce: bool | None = None, nonce_expiration_interval: str | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the nonce used in the login flow.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.OpenIdConnectClientCredential(*, method: Literal['ClientSecretPost'] | None = None, client_secret_setting_name: str | None = None, **kwargs: Any)[source]
Bases:
ModelThe authentication client credentials of the custom Open ID Connect provider.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.OpenIdConnectConfig(*, authorization_endpoint: str | None = None, token_endpoint: str | None = None, issuer: str | None = None, certification_uri: str | None = None, well_known_open_id_configuration: str | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the endpoints used for the custom Open ID Connect provider.
- Variables:
authorization_endpoint (str) – The endpoint to be used to make an authorization request.
token_endpoint (str) – The endpoint to be used to request a token.
issuer (str) – The endpoint that issues the token.
certification_uri (str) – The endpoint that provides the keys necessary to validate the token.
well_known_open_id_configuration (str) – The endpoint that contains all the configuration endpoints for the provider.
- Keyword Arguments:
authorization_endpoint (str) – The endpoint to be used to make an authorization request.
token_endpoint (str) – The endpoint to be used to request a token.
issuer (str) – The endpoint that issues the token.
certification_uri (str) – The endpoint that provides the keys necessary to validate the token.
well_known_open_id_configuration (str) – The endpoint that contains all the configuration endpoints for the provider.
- class azure.mgmt.appcontainers.models.OpenIdConnectLogin(*, name_claim_type: str | None = None, scopes: List[str] | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the login flow of the custom Open ID Connect provider.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.OpenIdConnectRegistration(*, client_id: str | None = None, client_credential: _models.OpenIdConnectClientCredential | None = None, open_id_connect_configuration: _models.OpenIdConnectConfig | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the app registration for the custom Open ID Connect provider.
- Variables:
client_id (str) – The client id of the custom Open ID Connect provider.
client_credential (OpenIdConnectClientCredential) – The authentication credentials of the custom Open ID Connect provider.
open_id_connect_configuration (OpenIdConnectConfig) – The configuration settings of the endpoints used for the custom Open ID Connect provider.
- Keyword Arguments:
client_id (str) – The client id of the custom Open ID Connect provider.
client_credential (OpenIdConnectClientCredential) – The authentication credentials of the custom Open ID Connect provider.
open_id_connect_configuration (OpenIdConnectConfig) – The configuration settings of the endpoints used for the custom Open ID Connect provider.
- class azure.mgmt.appcontainers.models.OperationDetail(*, name: str | None = None, is_data_action: bool | None = None, display: _models.OperationDisplay | None = None, origin: str | None = None, **kwargs: Any)[source]
Bases:
ModelOperation detail payload.
- Variables:
name (str) – Name of the operation.
is_data_action (bool) – Indicates whether the operation is a data action.
display (OperationDisplay) – Display of the operation.
origin (str) – Origin of the operation.
- Keyword Arguments:
name (str) – Name of the operation.
is_data_action (bool) – Indicates whether the operation is a data action.
display (OperationDisplay) – Display of the operation.
origin (str) – Origin of the operation.
- class azure.mgmt.appcontainers.models.OperationDisplay(*, provider: str | None = None, resource: str | None = None, operation: str | None = None, description: str | None = None, **kwargs: Any)[source]
Bases:
ModelOperation display payload.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.PoolManagementType(*values)[source]
-
The pool management type of the session pool.
- DYNAMIC = 'Dynamic'
- MANUAL = 'Manual'
- class azure.mgmt.appcontainers.models.ProxyResource(**kwargs: Any)[source]
Bases:
ResourceThe resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
- class azure.mgmt.appcontainers.models.QueueScaleRule(*, account_name: str | None = None, queue_name: str | None = None, queue_length: int | None = None, auth: List[_models.ScaleRuleAuth] | None = None, identity: str | None = None, **kwargs: Any)[source]
Bases:
ModelContainer App container Azure Queue based scaling rule.
- Variables:
account_name (str) – Storage account name. required if using managed identity to authenticate.
queue_name (str) – Queue name.
queue_length (int) – Queue length.
auth (list[ScaleRuleAuth]) – Authentication secrets for the queue scale rule.
identity (str) – The resource ID of a user-assigned managed identity that is assigned to the Container App, or ‘system’ for system-assigned identity.
- Keyword Arguments:
account_name (str) – Storage account name. required if using managed identity to authenticate.
queue_name (str) – Queue name.
queue_length (int) – Queue length.
auth (list[ScaleRuleAuth]) – Authentication secrets for the queue scale rule.
identity (str) – The resource ID of a user-assigned managed identity that is assigned to the Container App, or ‘system’ for system-assigned identity.
- class azure.mgmt.appcontainers.models.RegistryCredentials(*, server: str | None = None, username: str | None = None, password_secret_ref: str | None = None, identity: str | None = None, **kwargs: Any)[source]
Bases:
ModelContainer App Private Registry.
- Variables:
server (str) – Container Registry Server.
username (str) – Container Registry Username.
password_secret_ref (str) – The name of the Secret that contains the registry login password.
identity (str) – A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use ‘system’.
- Keyword Arguments:
server (str) – Container Registry Server.
username (str) – Container Registry Username.
password_secret_ref (str) – The name of the Secret that contains the registry login password.
identity (str) – A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use ‘system’.
- class azure.mgmt.appcontainers.models.RegistryInfo(*, registry_url: str | None = None, registry_user_name: str | None = None, registry_password: str | None = None, **kwargs: Any)[source]
Bases:
ModelContainer App registry information.
- class azure.mgmt.appcontainers.models.Replica(*, containers: List[_models.ReplicaContainer] | None = None, init_containers: List[_models.ReplicaContainer] | None = None, **kwargs: Any)[source]
Bases:
ProxyResourceContainer App Revision Replica.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
created_time (datetime) – Timestamp describing when the pod was created by controller.
running_state (str or ContainerAppReplicaRunningState) – Current running state of the replica. Known values are: “Running”, “NotRunning”, and “Unknown”.
running_state_details (str) – The details of replica current running state.
containers (list[ReplicaContainer]) – The containers collection under a replica.
init_containers (list[ReplicaContainer]) – The init containers collection under a replica.
- Keyword Arguments:
containers (list[ReplicaContainer]) – The containers collection under a replica.
init_containers (list[ReplicaContainer]) – The init containers collection under a replica.
- class azure.mgmt.appcontainers.models.ReplicaCollection(*, value: List[_models.Replica], **kwargs: Any)[source]
Bases:
ModelContainer App Revision Replicas collection ARM resource.
All required parameters must be populated in order to send to server.
- class azure.mgmt.appcontainers.models.ReplicaContainer(*, name: str | None = None, container_id: str | None = None, ready: bool | None = None, started: bool | None = None, restart_count: int | None = None, **kwargs: Any)[source]
Bases:
ModelContainer object under Container App Revision Replica.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
name (str) – The Name of the Container.
container_id (str) – The Id of the Container.
ready (bool) – The container ready status.
started (bool) – The container start status.
restart_count (int) – The container restart count.
running_state (str or ContainerAppContainerRunningState) – Current running state of the container. Known values are: “Running”, “Terminated”, and “Waiting”.
running_state_details (str) – The details of container current running state.
log_stream_endpoint (str) – Log Stream endpoint.
exec_endpoint (str) – Container exec endpoint.
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.Resource(**kwargs: Any)[source]
Bases:
ModelCommon fields that are returned in the response for all Azure Resource Manager resources.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
- class azure.mgmt.appcontainers.models.Revision(**kwargs: Any)[source]
Bases:
ProxyResourceContainer App Revision.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
created_time (datetime) – Timestamp describing when the revision was created by controller.
last_active_time (datetime) – Timestamp describing when the revision was last active. Only meaningful when revision is inactive.
fqdn (str) – Fully qualified domain name of the revision.
template (Template) – Container App Revision Template with all possible settings and the defaults if user did not provide them. The defaults are populated as they were at the creation time.
active (bool) – Boolean describing if the Revision is Active.
replicas (int) – Number of pods currently running for this revision.
traffic_weight (int) – Traffic weight assigned to this revision.
provisioning_error (str) – Optional Field - Platform Error Message.
health_state (str or RevisionHealthState) – Current health State of the revision. Known values are: “Healthy”, “Unhealthy”, and “None”.
provisioning_state (str or RevisionProvisioningState) – Current provisioning State of the revision. Known values are: “Provisioning”, “Provisioned”, “Failed”, “Deprovisioning”, and “Deprovisioned”.
running_state (str or RevisionRunningState) – Current running state of the revision. Known values are: “Running”, “Processing”, “Stopped”, “Degraded”, “Failed”, and “Unknown”.
- class azure.mgmt.appcontainers.models.RevisionCollection(*, value: List[_models.Revision], **kwargs: Any)[source]
Bases:
ModelContainer App Revisions collection ARM 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 server.
- class azure.mgmt.appcontainers.models.RevisionHealthState(*values)[source]
-
Current health State of the revision.
- HEALTHY = 'Healthy'
- NONE = 'None'
- UNHEALTHY = 'Unhealthy'
- class azure.mgmt.appcontainers.models.RevisionProvisioningState(*values)[source]
-
Current provisioning State of the revision.
- DEPROVISIONED = 'Deprovisioned'
- DEPROVISIONING = 'Deprovisioning'
- FAILED = 'Failed'
- PROVISIONED = 'Provisioned'
- PROVISIONING = 'Provisioning'
- class azure.mgmt.appcontainers.models.RevisionRunningState(*values)[source]
-
Current running state of the revision.
- DEGRADED = 'Degraded'
- FAILED = 'Failed'
- PROCESSING = 'Processing'
- RUNNING = 'Running'
- STOPPED = 'Stopped'
- UNKNOWN = 'Unknown'
- class azure.mgmt.appcontainers.models.Runtime(*, java: _models.RuntimeJava | None = None, **kwargs: Any)[source]
Bases:
ModelContainer App Runtime configuration.
- Variables:
java (RuntimeJava) – Java app configuration.
- Keyword Arguments:
java (RuntimeJava) – Java app configuration.
- class azure.mgmt.appcontainers.models.RuntimeJava(*, enable_metrics: bool | None = None, **kwargs: Any)[source]
Bases:
ModelJava app configuration.
- class azure.mgmt.appcontainers.models.Scale(*, min_replicas: int | None = None, max_replicas: int = 10, cooldown_period: int | None = None, polling_interval: int | None = None, rules: List[_models.ScaleRule] | None = None, **kwargs: Any)[source]
Bases:
ModelContainer App scaling configurations.
- Variables:
min_replicas (int) – Optional. Minimum number of container replicas.
max_replicas (int) – Optional. Maximum number of container replicas. Defaults to 10 if not set.
cooldown_period (int) – Optional. KEDA Cooldown Period in seconds. Defaults to 300 seconds if not set.
polling_interval (int) – Optional. KEDA Polling Interval in seconds. Defaults to 30 seconds if not set.
- Keyword Arguments:
min_replicas (int) – Optional. Minimum number of container replicas.
max_replicas (int) – Optional. Maximum number of container replicas. Defaults to 10 if not set.
cooldown_period (int) – Optional. KEDA Cooldown Period in seconds. Defaults to 300 seconds if not set.
polling_interval (int) – Optional. KEDA Polling Interval in seconds. Defaults to 30 seconds if not set.
- class azure.mgmt.appcontainers.models.ScaleConfiguration(*, max_concurrent_sessions: int | None = None, ready_session_instances: int | None = None, **kwargs: Any)[source]
Bases:
ModelScale configuration.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.ScaleRule(*, name: str | None = None, azure_queue: _models.QueueScaleRule | None = None, custom: _models.CustomScaleRule | None = None, http: _models.HttpScaleRule | None = None, tcp: _models.TcpScaleRule | None = None, **kwargs: Any)[source]
Bases:
ModelContainer App container scaling rule.
- Variables:
name (str) – Scale Rule Name.
azure_queue (QueueScaleRule) – Azure Queue based scaling.
custom (CustomScaleRule) – Custom scale rule.
http (HttpScaleRule) – HTTP requests based scaling.
tcp (TcpScaleRule) – Tcp requests based scaling.
- Keyword Arguments:
name (str) – Scale Rule Name.
azure_queue (QueueScaleRule) – Azure Queue based scaling.
custom (CustomScaleRule) – Custom scale rule.
http (HttpScaleRule) – HTTP requests based scaling.
tcp (TcpScaleRule) – Tcp requests based scaling.
- class azure.mgmt.appcontainers.models.ScaleRuleAuth(*, secret_ref: str | None = None, trigger_parameter: str | None = None, **kwargs: Any)[source]
Bases:
ModelAuth Secrets for Scale Rule.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.Scheme(*values)[source]
-
Scheme to use for connecting to the host. Defaults to HTTP.
- HTTP = 'HTTP'
- HTTPS = 'HTTPS'
- class azure.mgmt.appcontainers.models.Secret(*, name: str | None = None, value: str | None = None, identity: str | None = None, key_vault_url: str | None = None, **kwargs: Any)[source]
Bases:
ModelSecret definition.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.SecretVolumeItem(*, secret_ref: str | None = None, path: str | None = None, **kwargs: Any)[source]
Bases:
ModelSecret to be added to volume.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.SecretsCollection(*, value: List[_models.ContainerAppSecret], **kwargs: Any)[source]
Bases:
ModelContainer App Secrets Collection ARM resource.
All required parameters must be populated in order to send to server.
- Variables:
value (list[ContainerAppSecret]) – Collection of resources. Required.
- Keyword Arguments:
value (list[ContainerAppSecret]) – Collection of resources. Required.
- class azure.mgmt.appcontainers.models.Service(*, type: str, **kwargs: Any)[source]
Bases:
ModelContainer App to be a dev service.
All required parameters must be populated in order to send to server.
- class azure.mgmt.appcontainers.models.ServiceBind(*, service_id: str | None = None, name: str | None = None, **kwargs: Any)[source]
Bases:
ModelConfiguration to bind a ContainerApp to a dev ContainerApp Service.
- class azure.mgmt.appcontainers.models.SessionContainer(*, image: str | None = None, name: str | None = None, command: List[str] | None = None, args: List[str] | None = None, env: List[_models.EnvironmentVar] | None = None, resources: _models.SessionContainerResources | None = None, **kwargs: Any)[source]
Bases:
ModelContainer definitions for the sessions of the session pool.
- Variables:
image (str) – Container image tag.
name (str) – Custom container name.
env (list[EnvironmentVar]) – Container environment variables.
resources (SessionContainerResources) – Container resource requirements.
- Keyword Arguments:
image (str) – Container image tag.
name (str) – Custom container name.
env (list[EnvironmentVar]) – Container environment variables.
resources (SessionContainerResources) – Container resource requirements.
- class azure.mgmt.appcontainers.models.SessionContainerResources(*, cpu: float | None = None, memory: str | None = None, **kwargs: Any)[source]
Bases:
ModelContainer resource requirements for sessions of the session pool.
- class azure.mgmt.appcontainers.models.SessionIngress(*, target_port: int | None = None, **kwargs: Any)[source]
Bases:
ModelSession pool ingress configuration.
- class azure.mgmt.appcontainers.models.SessionNetworkConfiguration(*, status: str | _models.SessionNetworkStatus | None = None, **kwargs: Any)[source]
Bases:
ModelSession network configuration.
- Variables:
status (str or SessionNetworkStatus) – Network status for the sessions. Known values are: “EgressEnabled” and “EgressDisabled”.
- Keyword Arguments:
status (str or SessionNetworkStatus) – Network status for the sessions. Known values are: “EgressEnabled” and “EgressDisabled”.
- class azure.mgmt.appcontainers.models.SessionNetworkStatus(*values)[source]
-
Network status for the sessions.
- EGRESS_DISABLED = 'EgressDisabled'
- EGRESS_ENABLED = 'EgressEnabled'
- class azure.mgmt.appcontainers.models.SessionPool(*, location: str, tags: Dict[str, str] | None = None, identity: _models.ManagedServiceIdentity | None = None, environment_id: str | None = None, container_type: str | _models.ContainerType | None = None, pool_management_type: str | _models.PoolManagementType | None = None, scale_configuration: _models.ScaleConfiguration | None = None, secrets: List[_models.SessionPoolSecret] | None = None, dynamic_pool_configuration: _models.DynamicPoolConfiguration | None = None, custom_container_template: _models.CustomContainerTemplate | None = None, session_network_configuration: _models.SessionNetworkConfiguration | None = None, managed_identity_settings: List[_models.ManagedIdentitySetting] | None = None, **kwargs: Any)[source]
Bases:
TrackedResourceContainer App session pool.
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 server.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
location (str) – The geo-location where the resource lives. Required.
identity (ManagedServiceIdentity) – Managed identities needed by a session pool to interact with other Azure services to not maintain any secrets or credentials in code.
environment_id (str) – Resource ID of the session pool’s environment.
container_type (str or ContainerType) – The container type of the sessions. Known values are: “CustomContainer” and “PythonLTS”.
pool_management_type (str or PoolManagementType) – The pool management type of the session pool. Known values are: “Manual” and “Dynamic”.
node_count (int) – The number of nodes the session pool is using.
scale_configuration (ScaleConfiguration) – The scale configuration of the session pool.
secrets (list[SessionPoolSecret]) – The secrets of the session pool.
dynamic_pool_configuration (DynamicPoolConfiguration) – The pool configuration if the poolManagementType is dynamic.
custom_container_template (CustomContainerTemplate) – The custom container configuration if the containerType is CustomContainer.
session_network_configuration (SessionNetworkConfiguration) – The network configuration of the sessions in the session pool.
pool_management_endpoint (str) – The endpoint to manage the pool.
provisioning_state (str or SessionPoolProvisioningState) – Provisioning state of the session pool. Known values are: “InProgress”, “Succeeded”, “Failed”, “Canceled”, and “Deleting”.
managed_identity_settings (list[ManagedIdentitySetting]) – Optional settings for a Managed Identity that is assigned to the Session pool.
- Keyword Arguments:
location (str) – The geo-location where the resource lives. Required.
identity (ManagedServiceIdentity) – Managed identities needed by a session pool to interact with other Azure services to not maintain any secrets or credentials in code.
environment_id (str) – Resource ID of the session pool’s environment.
container_type (str or ContainerType) – The container type of the sessions. Known values are: “CustomContainer” and “PythonLTS”.
pool_management_type (str or PoolManagementType) – The pool management type of the session pool. Known values are: “Manual” and “Dynamic”.
scale_configuration (ScaleConfiguration) – The scale configuration of the session pool.
secrets (list[SessionPoolSecret]) – The secrets of the session pool.
dynamic_pool_configuration (DynamicPoolConfiguration) – The pool configuration if the poolManagementType is dynamic.
custom_container_template (CustomContainerTemplate) – The custom container configuration if the containerType is CustomContainer.
session_network_configuration (SessionNetworkConfiguration) – The network configuration of the sessions in the session pool.
managed_identity_settings (list[ManagedIdentitySetting]) – Optional settings for a Managed Identity that is assigned to the Session pool.
- class azure.mgmt.appcontainers.models.SessionPoolCollection(*, value: List[_models.SessionPool], **kwargs: Any)[source]
Bases:
ModelSession pool collection 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 server.
- Variables:
value (list[SessionPool]) – Collection of resources. Required.
next_link (str) – Link to next page of resources.
- Keyword Arguments:
value (list[SessionPool]) – Collection of resources. Required.
- class azure.mgmt.appcontainers.models.SessionPoolProvisioningState(*values)[source]
-
Provisioning state of the session pool.
- CANCELED = 'Canceled'
- DELETING = 'Deleting'
- FAILED = 'Failed'
- IN_PROGRESS = 'InProgress'
- SUCCEEDED = 'Succeeded'
- class azure.mgmt.appcontainers.models.SessionPoolSecret(*, name: str | None = None, value: str | None = None, **kwargs: Any)[source]
Bases:
ModelSecret definition.
- class azure.mgmt.appcontainers.models.SessionPoolUpdatableProperties(*, tags: Dict[str, str] | None = None, identity: _models.ManagedServiceIdentity | None = None, scale_configuration: _models.ScaleConfiguration | None = None, secrets: List[_models.SessionPoolSecret] | None = None, dynamic_pool_configuration: _models.DynamicPoolConfiguration | None = None, custom_container_template: _models.CustomContainerTemplate | None = None, session_network_configuration: _models.SessionNetworkConfiguration | None = None, **kwargs: Any)[source]
Bases:
ModelContainer App session pool updatable properties.
- Variables:
identity (ManagedServiceIdentity) – Managed identities needed by a session pool to interact with other Azure services to not maintain any secrets or credentials in code.
scale_configuration (ScaleConfiguration) – The scale configuration of the session pool.
secrets (list[SessionPoolSecret]) – The secrets of the session pool.
dynamic_pool_configuration (DynamicPoolConfiguration) – The pool configuration if the poolManagementType is dynamic.
custom_container_template (CustomContainerTemplate) – The custom container configuration if the containerType is CustomContainer.
session_network_configuration (SessionNetworkConfiguration) – The network configuration of the sessions in the session pool.
- Keyword Arguments:
identity (ManagedServiceIdentity) – Managed identities needed by a session pool to interact with other Azure services to not maintain any secrets or credentials in code.
scale_configuration (ScaleConfiguration) – The scale configuration of the session pool.
secrets (list[SessionPoolSecret]) – The secrets of the session pool.
dynamic_pool_configuration (DynamicPoolConfiguration) – The pool configuration if the poolManagementType is dynamic.
custom_container_template (CustomContainerTemplate) – The custom container configuration if the containerType is CustomContainer.
session_network_configuration (SessionNetworkConfiguration) – The network configuration of the sessions in the session pool.
- class azure.mgmt.appcontainers.models.SessionRegistryCredentials(*, server: str | None = None, username: str | None = None, password_secret_ref: str | None = None, identity: str | None = None, **kwargs: Any)[source]
Bases:
ModelSession pool private registry credentials.
- Variables:
server (str) – Container registry server.
username (str) – Container registry username.
password_secret_ref (str) – The name of the secret that contains the registry login password.
identity (str) – A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use ‘system’.
- Keyword Arguments:
server (str) – Container registry server.
username (str) – Container registry username.
password_secret_ref (str) – The name of the secret that contains the registry login password.
identity (str) – A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use ‘system’.
- class azure.mgmt.appcontainers.models.SourceControl(*, repo_url: str | None = None, branch: str | None = None, github_action_configuration: _models.GithubActionConfiguration | None = None, **kwargs: Any)[source]
Bases:
ProxyResourceContainer App SourceControl.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
operation_state (str or SourceControlOperationState) – Current provisioning State of the operation. Known values are: “InProgress”, “Succeeded”, “Failed”, and “Canceled”.
repo_url (str) – The repo url which will be integrated to ContainerApp.
branch (str) – The branch which will trigger the auto deployment.
github_action_configuration (GithubActionConfiguration) – Container App Revision Template with all possible settings and the defaults if user did not provide them. The defaults are populated as they were at the creation time.
- Keyword Arguments:
repo_url (str) – The repo url which will be integrated to ContainerApp.
branch (str) – The branch which will trigger the auto deployment.
github_action_configuration (GithubActionConfiguration) – Container App Revision Template with all possible settings and the defaults if user did not provide them. The defaults are populated as they were at the creation time.
- class azure.mgmt.appcontainers.models.SourceControlCollection(*, value: List[_models.SourceControl], **kwargs: Any)[source]
Bases:
ModelSourceControl collection ARM 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 server.
- Variables:
value (list[SourceControl]) – Collection of resources. Required.
next_link (str) – Link to next page of resources.
- Keyword Arguments:
value (list[SourceControl]) – Collection of resources. Required.
- class azure.mgmt.appcontainers.models.SourceControlOperationState(*values)[source]
-
Current provisioning State of the operation.
- CANCELED = 'Canceled'
- FAILED = 'Failed'
- IN_PROGRESS = 'InProgress'
- SUCCEEDED = 'Succeeded'
- class azure.mgmt.appcontainers.models.SpringBootAdminComponent(*, configurations: List[_models.JavaComponentConfigurationProperty] | None = None, scale: _models.JavaComponentPropertiesScale | None = None, service_binds: List[_models.JavaComponentServiceBind] | None = None, ingress: _models.JavaComponentIngress | None = None, **kwargs: Any)[source]
Bases:
JavaComponentPropertiesSpring Boot Admin properties.
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 server.
- Variables:
component_type (str or JavaComponentType) – Type of the Java Component. Required. Known values are: “SpringBootAdmin”, “SpringCloudEureka”, and “SpringCloudConfig”.
provisioning_state (str or JavaComponentProvisioningState) – Provisioning state of the Java Component. Known values are: “Succeeded”, “Failed”, “Canceled”, “Deleting”, and “InProgress”.
configurations (list[JavaComponentConfigurationProperty]) – List of Java Components configuration properties.
scale (JavaComponentPropertiesScale) – Java component scaling configurations.
service_binds (list[JavaComponentServiceBind]) – List of Java Components that are bound to the Java component.
ingress (JavaComponentIngress) – Java Component Ingress configurations.
- Keyword Arguments:
configurations (list[JavaComponentConfigurationProperty]) – List of Java Components configuration properties.
scale (JavaComponentPropertiesScale) – Java component scaling configurations.
service_binds (list[JavaComponentServiceBind]) – List of Java Components that are bound to the Java component.
ingress (JavaComponentIngress) – Java Component Ingress configurations.
- class azure.mgmt.appcontainers.models.SpringCloudConfigComponent(*, configurations: List[_models.JavaComponentConfigurationProperty] | None = None, scale: _models.JavaComponentPropertiesScale | None = None, service_binds: List[_models.JavaComponentServiceBind] | None = None, **kwargs: Any)[source]
Bases:
JavaComponentPropertiesSpring Cloud Config properties.
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 server.
- Variables:
component_type (str or JavaComponentType) – Type of the Java Component. Required. Known values are: “SpringBootAdmin”, “SpringCloudEureka”, and “SpringCloudConfig”.
provisioning_state (str or JavaComponentProvisioningState) – Provisioning state of the Java Component. Known values are: “Succeeded”, “Failed”, “Canceled”, “Deleting”, and “InProgress”.
configurations (list[JavaComponentConfigurationProperty]) – List of Java Components configuration properties.
scale (JavaComponentPropertiesScale) – Java component scaling configurations.
service_binds (list[JavaComponentServiceBind]) – List of Java Components that are bound to the Java component.
- Keyword Arguments:
configurations (list[JavaComponentConfigurationProperty]) – List of Java Components configuration properties.
scale (JavaComponentPropertiesScale) – Java component scaling configurations.
service_binds (list[JavaComponentServiceBind]) – List of Java Components that are bound to the Java component.
- class azure.mgmt.appcontainers.models.SpringCloudEurekaComponent(*, configurations: List[_models.JavaComponentConfigurationProperty] | None = None, scale: _models.JavaComponentPropertiesScale | None = None, service_binds: List[_models.JavaComponentServiceBind] | None = None, ingress: _models.JavaComponentIngress | None = None, **kwargs: Any)[source]
Bases:
JavaComponentPropertiesSpring Cloud Eureka properties.
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 server.
- Variables:
component_type (str or JavaComponentType) – Type of the Java Component. Required. Known values are: “SpringBootAdmin”, “SpringCloudEureka”, and “SpringCloudConfig”.
provisioning_state (str or JavaComponentProvisioningState) – Provisioning state of the Java Component. Known values are: “Succeeded”, “Failed”, “Canceled”, “Deleting”, and “InProgress”.
configurations (list[JavaComponentConfigurationProperty]) – List of Java Components configuration properties.
scale (JavaComponentPropertiesScale) – Java component scaling configurations.
service_binds (list[JavaComponentServiceBind]) – List of Java Components that are bound to the Java component.
ingress (JavaComponentIngress) – Java Component Ingress configurations.
- Keyword Arguments:
configurations (list[JavaComponentConfigurationProperty]) – List of Java Components configuration properties.
scale (JavaComponentPropertiesScale) – Java component scaling configurations.
service_binds (list[JavaComponentServiceBind]) – List of Java Components that are bound to the Java component.
ingress (JavaComponentIngress) – Java Component Ingress configurations.
- class azure.mgmt.appcontainers.models.StorageType(*values)[source]
-
Storage type for the volume. If not provided, use EmptyDir.
- AZURE_FILE = 'AzureFile'
- EMPTY_DIR = 'EmptyDir'
- NFS_AZURE_FILE = 'NfsAzureFile'
- SECRET = 'Secret'
- class azure.mgmt.appcontainers.models.SystemData(*, created_by: str | None = None, created_by_type: str | _models.CreatedByType | None = None, created_at: datetime | None = None, last_modified_by: str | None = None, last_modified_by_type: str | _models.CreatedByType | None = None, last_modified_at: datetime | None = None, **kwargs: Any)[source]
Bases:
ModelMetadata pertaining to creation and last modification of the resource.
- Variables:
created_by (str) – The identity that created the resource.
created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.
created_at (datetime) – The timestamp of resource creation (UTC).
last_modified_by (str) – The identity that last modified the resource.
last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.
last_modified_at (datetime) – The timestamp of resource last modification (UTC).
- Keyword Arguments:
created_by (str) – The identity that created the resource.
created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.
created_at (datetime) – The timestamp of resource creation (UTC).
last_modified_by (str) – The identity that last modified the resource.
last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.
last_modified_at (datetime) – The timestamp of resource last modification (UTC).
- class azure.mgmt.appcontainers.models.TcpScaleRule(*, metadata: Dict[str, str] | None = None, auth: List[_models.ScaleRuleAuth] | None = None, identity: str | None = None, **kwargs: Any)[source]
Bases:
ModelContainer App container Tcp scaling rule.
- Variables:
metadata (dict[str, str]) – Metadata properties to describe tcp scale rule.
auth (list[ScaleRuleAuth]) – Authentication secrets for the tcp scale rule.
identity (str) – The resource ID of a user-assigned managed identity that is assigned to the Container App, or ‘system’ for system-assigned identity.
- Keyword Arguments:
metadata (dict[str, str]) – Metadata properties to describe tcp scale rule.
auth (list[ScaleRuleAuth]) – Authentication secrets for the tcp scale rule.
identity (str) – The resource ID of a user-assigned managed identity that is assigned to the Container App, or ‘system’ for system-assigned identity.
- class azure.mgmt.appcontainers.models.Template(*, revision_suffix: str | None = None, termination_grace_period_seconds: int | None = None, init_containers: List[_models.InitContainer] | None = None, containers: List[_models.Container] | None = None, scale: _models.Scale | None = None, volumes: List[_models.Volume] | None = None, service_binds: List[_models.ServiceBind] | None = None, **kwargs: Any)[source]
Bases:
ModelContainer App versioned application definition. Defines the desired state of an immutable revision. Any changes to this section Will result in a new revision being created.
- Variables:
revision_suffix (str) – User friendly suffix that is appended to the revision name.
termination_grace_period_seconds (int) – Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.
init_containers (list[InitContainer]) – List of specialized containers that run before app containers.
containers (list[Container]) – List of container definitions for the Container App.
scale (Scale) – Scaling properties for the Container App.
volumes (list[Volume]) – List of volume definitions for the Container App.
service_binds (list[ServiceBind]) – List of container app services bound to the app.
- Keyword Arguments:
revision_suffix (str) – User friendly suffix that is appended to the revision name.
termination_grace_period_seconds (int) – Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.
init_containers (list[InitContainer]) – List of specialized containers that run before app containers.
containers (list[Container]) – List of container definitions for the Container App.
scale (Scale) – Scaling properties for the Container App.
volumes (list[Volume]) – List of volume definitions for the Container App.
service_binds (list[ServiceBind]) – List of container app services bound to the app.
- class azure.mgmt.appcontainers.models.TokenStore(*, enabled: bool | None = None, token_refresh_extension_hours: float | None = None, azure_blob_storage: _models.BlobStorageTokenStore | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the token store.
- Variables:
enabled (bool) –
<code>true</code>to durably store platform-specific security tokens that are obtained during login flows; otherwise,<code>false</code>.The default is
<code>false</code>.token_refresh_extension_hours (float) – The number of hours after session token expiration that a session token can be used to call the token refresh API. The default is 72 hours.
azure_blob_storage (BlobStorageTokenStore) – The configuration settings of the storage of the tokens if blob storage is used.
- Keyword Arguments:
enabled (bool) –
<code>true</code>to durably store platform-specific security tokens that are obtained during login flows; otherwise,<code>false</code>.The default is
<code>false</code>.token_refresh_extension_hours (float) – The number of hours after session token expiration that a session token can be used to call the token refresh API. The default is 72 hours.
azure_blob_storage (BlobStorageTokenStore) – The configuration settings of the storage of the tokens if blob storage is used.
- class azure.mgmt.appcontainers.models.TrackedResource(*, location: str, tags: Dict[str, str] | None = None, **kwargs: Any)[source]
Bases:
ResourceThe resource model definition for an Azure Resource Manager tracked top level resource which has ‘tags’ and a ‘location’.
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 server.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
location (str) – The geo-location where the resource lives. Required.
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.TrafficWeight(*, revision_name: str | None = None, weight: int | None = None, latest_revision: bool = False, label: str | None = None, **kwargs: Any)[source]
Bases:
ModelTraffic weight assigned to a revision.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.TriggerType(*values)[source]
-
Trigger type of the job.
- EVENT = 'Event'
- MANUAL = 'Manual'
- SCHEDULE = 'Schedule'
- class azure.mgmt.appcontainers.models.Twitter(*, enabled: bool | None = None, registration: _models.TwitterRegistration | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the Twitter provider.
- Variables:
enabled (bool) –
<code>false</code>if the Twitter provider should not be enabled despite the set registration; otherwise,<code>true</code>.registration (TwitterRegistration) – The configuration settings of the app registration for the Twitter provider.
- Keyword Arguments:
enabled (bool) –
<code>false</code>if the Twitter provider should not be enabled despite the set registration; otherwise,<code>true</code>.registration (TwitterRegistration) – The configuration settings of the app registration for the Twitter provider.
- class azure.mgmt.appcontainers.models.TwitterRegistration(*, consumer_key: str | None = None, consumer_secret_setting_name: str | None = None, **kwargs: Any)[source]
Bases:
ModelThe configuration settings of the app registration for the Twitter provider.
- Variables:
consumer_key (str) – The OAuth 1.0a consumer key of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in.
consumer_secret_setting_name (str) – The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
- Keyword Arguments:
consumer_key (str) – The OAuth 1.0a consumer key of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in.
consumer_secret_setting_name (str) – The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
- class azure.mgmt.appcontainers.models.Type(*values)[source]
-
The type of probe.
- LIVENESS = 'Liveness'
- READINESS = 'Readiness'
- STARTUP = 'Startup'
- class azure.mgmt.appcontainers.models.UnauthenticatedClientActionV2(*values)[source]
-
The action to take when an unauthenticated client attempts to access the app.
- ALLOW_ANONYMOUS = 'AllowAnonymous'
- REDIRECT_TO_LOGIN_PAGE = 'RedirectToLoginPage'
- RETURN401 = 'Return401'
- RETURN403 = 'Return403'
- class azure.mgmt.appcontainers.models.Usage(*, current_value: float, limit: float, name: _models.UsageName, **kwargs: Any)[source]
Bases:
ModelDescribes Compute Resource Usage.
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 server.
- Variables:
- Keyword Arguments:
- unit = 'Count'
- class azure.mgmt.appcontainers.models.UsageName(*, value: str | None = None, localized_value: str | None = None, **kwargs: Any)[source]
Bases:
ModelThe Usage Names.
- class azure.mgmt.appcontainers.models.UserAssignedIdentity(**kwargs: Any)[source]
Bases:
ModelUser assigned identity properties.
Variables are only populated by the server, and will be ignored when sending a request.
- class azure.mgmt.appcontainers.models.VnetConfiguration(*, internal: bool | None = None, infrastructure_subnet_id: str | None = None, docker_bridge_cidr: str | None = None, platform_reserved_cidr: str | None = None, platform_reserved_dns_ip: str | None = None, **kwargs: Any)[source]
Bases:
ModelConfiguration properties for apps environment to join a Virtual Network.
- Variables:
internal (bool) – Boolean indicating the environment only has an internal load balancer. These environments do not have a public static IP resource. They must provide infrastructureSubnetId if enabling this property.
infrastructure_subnet_id (str) – Resource ID of a subnet for infrastructure components. Must not overlap with any other provided IP ranges.
docker_bridge_cidr (str) – CIDR notation IP range assigned to the Docker bridge, network. Must not overlap with any other provided IP ranges.
platform_reserved_cidr (str) – IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. Must not overlap with any other provided IP ranges.
platform_reserved_dns_ip (str) – An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS server.
- Keyword Arguments:
internal (bool) – Boolean indicating the environment only has an internal load balancer. These environments do not have a public static IP resource. They must provide infrastructureSubnetId if enabling this property.
infrastructure_subnet_id (str) – Resource ID of a subnet for infrastructure components. Must not overlap with any other provided IP ranges.
docker_bridge_cidr (str) – CIDR notation IP range assigned to the Docker bridge, network. Must not overlap with any other provided IP ranges.
platform_reserved_cidr (str) – IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. Must not overlap with any other provided IP ranges.
platform_reserved_dns_ip (str) – An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS server.
- class azure.mgmt.appcontainers.models.Volume(*, name: str | None = None, storage_type: str | _models.StorageType | None = None, storage_name: str | None = None, secrets: List[_models.SecretVolumeItem] | None = None, mount_options: str | None = None, **kwargs: Any)[source]
Bases:
ModelVolume definitions for the Container App.
- Variables:
name (str) – Volume name.
storage_type (str or StorageType) – Storage type for the volume. If not provided, use EmptyDir. Known values are: “AzureFile”, “EmptyDir”, “Secret”, and “NfsAzureFile”.
storage_name (str) – Name of storage resource. No need to provide for EmptyDir and Secret.
secrets (list[SecretVolumeItem]) – List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
mount_options (str) – Mount options used while mounting the Azure file share or NFS Azure file share. Must be a comma-separated string.
- Keyword Arguments:
name (str) – Volume name.
storage_type (str or StorageType) – Storage type for the volume. If not provided, use EmptyDir. Known values are: “AzureFile”, “EmptyDir”, “Secret”, and “NfsAzureFile”.
storage_name (str) – Name of storage resource. No need to provide for EmptyDir and Secret.
secrets (list[SecretVolumeItem]) – List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
mount_options (str) – Mount options used while mounting the Azure file share or NFS Azure file share. Must be a comma-separated string.
- class azure.mgmt.appcontainers.models.VolumeMount(*, volume_name: str | None = None, mount_path: str | None = None, sub_path: str | None = None, **kwargs: Any)[source]
Bases:
ModelVolume mount for the Container App.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.WorkloadProfile(*, name: str, workload_profile_type: str, minimum_count: int | None = None, maximum_count: int | None = None, **kwargs: Any)[source]
Bases:
ModelWorkload profile to scope container app execution.
All required parameters must be populated in order to send to server.
- Variables:
- Keyword Arguments:
- class azure.mgmt.appcontainers.models.WorkloadProfileStates(*, properties: _models.WorkloadProfileStatesProperties | None = None, **kwargs: Any)[source]
Bases:
ProxyResourceCollection of all the workload Profile States for a Managed Environment..
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.
properties (WorkloadProfileStatesProperties) – Workload Profile resource specific properties.
- Keyword Arguments:
properties (WorkloadProfileStatesProperties) – Workload Profile resource specific properties.
- class azure.mgmt.appcontainers.models.WorkloadProfileStatesCollection(*, value: List[_models.WorkloadProfileStates], **kwargs: Any)[source]
Bases:
ModelCollection of workloadProfileStates.
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 server.
- Variables:
value (list[WorkloadProfileStates]) – Collection of resources. Required.
next_link (str) – Link to next page of resources.
- Keyword Arguments:
value (list[WorkloadProfileStates]) – Collection of resources. Required.