Skip to main content

Microsoft Azure Appcontainers Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Appcontainers Management Client Library. This package has been tested with Python 3.7+. For a more complete view of Azure libraries, see the azure sdk python release.

Disclaimer

Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691

Getting started

Prerequisites

Install the package

pip install azure-mgmt-appcontainers
pip install azure-identity

Authentication

By default, Azure Active Directory token authentication depends on correct configure of following environment variables.

  • AZURE_CLIENT_ID for Azure client ID.
  • AZURE_TENANT_ID for Azure tenant ID.
  • AZURE_CLIENT_SECRET for Azure client secret.

In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID.

With above configuration, client can be authenticated by following code:

from azure.identity import DefaultAzureCredential
from azure.mgmt.appcontainers import ContainerAppsAPIClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = ContainerAppsAPIClient(credential=DefaultAzureCredential(), subscription_id=sub_id)

Examples

Code samples for this package can be found at Appcontainers Management on docs.microsoft.com and Samples Repo

Troubleshooting

Next steps

Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.

Impressions

Release History

2.0.0 (2023-03-20)

Features Added

  • Added operation ContainerAppsOperations.get_auth_token
  • Added operation ManagedEnvironmentsOperations.get_auth_token
  • Added operation ManagedEnvironmentsOperations.list_workload_profile_states
  • Added operation group AvailableWorkloadProfilesOperations
  • Added operation group BillingMetersOperations
  • Added operation group ConnectedEnvironmentsCertificatesOperations
  • Added operation group ConnectedEnvironmentsDaprComponentsOperations
  • Added operation group ConnectedEnvironmentsOperations
  • Added operation group ConnectedEnvironmentsStoragesOperations
  • Added operation group ContainerAppsDiagnosticsOperations
  • Added operation group ManagedEnvironmentDiagnosticsOperations
  • Added operation group ManagedEnvironmentsDiagnosticsOperations
  • Model CertificateProperties has a new parameter subject_alternative_names
  • Model Configuration has a new parameter max_inactive_revisions
  • Model ContainerApp has a new parameter environment_id
  • Model ContainerApp has a new parameter event_stream_endpoint
  • Model ContainerApp has a new parameter extended_location
  • Model ContainerApp has a new parameter latest_ready_revision_name
  • Model ContainerApp has a new parameter workload_profile_type
  • Model CustomHostnameAnalysisResult has a new parameter conflict_with_environment_custom_domain
  • Model Dapr has a new parameter enable_api_logging
  • Model Dapr has a new parameter http_max_request_size
  • Model Dapr has a new parameter http_read_buffer_size
  • Model Dapr has a new parameter log_level
  • Model DaprComponent has a new parameter secret_store_component
  • Model Ingress has a new parameter client_certificate_mode
  • Model Ingress has a new parameter cors_policy
  • Model Ingress has a new parameter exposed_port
  • Model Ingress has a new parameter ip_security_restrictions
  • Model ManagedEnvironment has a new parameter custom_domain_configuration
  • Model ManagedEnvironment has a new parameter event_stream_endpoint
  • Model ManagedEnvironment has a new parameter kind
  • Model ManagedEnvironment has a new parameter sku
  • Model ManagedEnvironment has a new parameter workload_profiles
  • Model ReplicaContainer has a new parameter exec_endpoint
  • Model ReplicaContainer has a new parameter log_stream_endpoint
  • Model Revision has a new parameter last_active_time
  • Model ScaleRule has a new parameter tcp
  • Model Template has a new parameter init_containers
  • Model VnetConfiguration has a new parameter outbound_settings

Breaking Changes

  • Model CustomHostnameAnalysisResult no longer has parameter id
  • Model CustomHostnameAnalysisResult no longer has parameter name
  • Model CustomHostnameAnalysisResult no longer has parameter system_data
  • Model CustomHostnameAnalysisResult no longer has parameter type

2.0.0b2 (2022-12-29)

Features Added

  • Added operation ContainerAppsOperations.get_auth_token
  • Added operation ManagedEnvironmentsOperations.get_auth_token
  • Added operation ManagedEnvironmentsOperations.list_workload_profile_states
  • Added operation group AvailableWorkloadProfilesOperations
  • Added operation group BillingMetersOperations
  • Added operation group ConnectedEnvironmentsCertificatesOperations
  • Added operation group ConnectedEnvironmentsDaprComponentsOperations
  • Added operation group ConnectedEnvironmentsOperations
  • Added operation group ConnectedEnvironmentsStoragesOperations
  • Added operation group ContainerAppsDiagnosticsOperations
  • Added operation group ManagedEnvironmentDiagnosticsOperations
  • Added operation group ManagedEnvironmentsDiagnosticsOperations
  • Model CertificateProperties has a new parameter subject_alternative_names
  • Model Configuration has a new parameter max_inactive_revisions
  • Model ContainerApp has a new parameter environment_id
  • Model ContainerApp has a new parameter event_stream_endpoint
  • Model ContainerApp has a new parameter extended_location
  • Model ContainerApp has a new parameter latest_ready_revision_name
  • Model ContainerApp has a new parameter workload_profile_type
  • Model CustomHostnameAnalysisResult has a new parameter conflict_with_environment_custom_domain
  • Model Dapr has a new parameter enable_api_logging
  • Model Dapr has a new parameter http_max_request_size
  • Model Dapr has a new parameter http_read_buffer_size
  • Model Dapr has a new parameter log_level
  • Model DaprComponent has a new parameter secret_store_component
  • Model Ingress has a new parameter client_certificate_mode
  • Model Ingress has a new parameter cors_policy
  • Model Ingress has a new parameter exposed_port
  • Model Ingress has a new parameter ip_security_restrictions
  • Model ManagedEnvironment has a new parameter custom_domain_configuration
  • Model ManagedEnvironment has a new parameter event_stream_endpoint
  • Model ManagedEnvironment has a new parameter kind
  • Model ManagedEnvironment has a new parameter sku
  • Model ManagedEnvironment has a new parameter workload_profiles
  • Model ReplicaContainer has a new parameter exec_endpoint
  • Model ReplicaContainer has a new parameter log_stream_endpoint
  • Model Revision has a new parameter last_active_time
  • Model ScaleRule has a new parameter tcp
  • Model Template has a new parameter init_containers
  • Model VnetConfiguration has a new parameter outbound_settings

Breaking Changes

  • Model CustomHostnameAnalysisResult no longer has parameter id
  • Model CustomHostnameAnalysisResult no longer has parameter name
  • Model CustomHostnameAnalysisResult no longer has parameter system_data
  • Model CustomHostnameAnalysisResult no longer has parameter type

2.0.0b1 (2022-10-12)

Features Added

  • Added operation ContainerAppsOperations.get_auth_token
  • Added operation ManagedEnvironmentsOperations.get_auth_token
  • Added operation ManagedEnvironmentsOperations.list_workload_profile_states
  • Added operation group AvailableWorkloadProfilesOperations
  • Added operation group BillingMetersOperations
  • Added operation group ConnectedEnvironmentsCertificatesOperations
  • Added operation group ConnectedEnvironmentsDaprComponentsOperations
  • Added operation group ConnectedEnvironmentsOperations
  • Added operation group ConnectedEnvironmentsStoragesOperations
  • Added operation group ContainerAppsDiagnosticsOperations
  • Added operation group ManagedEnvironmentDiagnosticsOperations
  • Added operation group ManagedEnvironmentsDiagnosticsOperations
  • Model CertificateProperties has a new parameter subject_alternative_names
  • Model Configuration has a new parameter max_inactive_revisions
  • Model ContainerApp has a new parameter environment_id
  • Model ContainerApp has a new parameter event_stream_endpoint
  • Model ContainerApp has a new parameter extended_location
  • Model ContainerApp has a new parameter workload_profile_type
  • Model CustomHostnameAnalysisResult has a new parameter conflict_with_environment_custom_domain
  • Model Dapr has a new parameter enable_api_logging
  • Model Dapr has a new parameter http_max_request_size
  • Model Dapr has a new parameter http_read_buffer_size
  • Model Dapr has a new parameter log_level
  • Model DaprComponent has a new parameter secret_store_component
  • Model Ingress has a new parameter exposed_port
  • Model Ingress has a new parameter ip_security_restrictions
  • Model ManagedEnvironment has a new parameter custom_domain_configuration
  • Model ManagedEnvironment has a new parameter event_stream_endpoint
  • Model ManagedEnvironment has a new parameter sku
  • Model ManagedEnvironment has a new parameter workload_profiles
  • Model ReplicaContainer has a new parameter exec_endpoint
  • Model ReplicaContainer has a new parameter log_stream_endpoint
  • Model Revision has a new parameter last_active_time
  • Model ScaleRule has a new parameter tcp
  • Model Template has a new parameter init_containers
  • Model VnetConfiguration has a new parameter outbound_settings

Breaking Changes

  • Model CustomHostnameAnalysisResult no longer has parameter id
  • Model CustomHostnameAnalysisResult no longer has parameter name
  • Model CustomHostnameAnalysisResult no longer has parameter system_data
  • Model CustomHostnameAnalysisResult no longer has parameter type

1.0.0 (2022-05-17)

Breaking changes

  • Operation CertificatesOperations.create_or_update has a new parameter certificate_name
  • Operation CertificatesOperations.create_or_update has a new parameter environment_name
  • Operation CertificatesOperations.create_or_update no longer has parameter managed_environment_name
  • Operation CertificatesOperations.create_or_update no longer has parameter name
  • Operation CertificatesOperations.delete has a new parameter certificate_name
  • Operation CertificatesOperations.delete has a new parameter environment_name
  • Operation CertificatesOperations.delete no longer has parameter managed_environment_name
  • Operation CertificatesOperations.delete no longer has parameter name
  • Operation CertificatesOperations.get has a new parameter certificate_name
  • Operation CertificatesOperations.get has a new parameter environment_name
  • Operation CertificatesOperations.get no longer has parameter managed_environment_name
  • Operation CertificatesOperations.get no longer has parameter name
  • Operation CertificatesOperations.list has a new parameter environment_name
  • Operation CertificatesOperations.list no longer has parameter managed_environment_name
  • Operation CertificatesOperations.update has a new parameter certificate_name
  • Operation CertificatesOperations.update has a new parameter environment_name
  • Operation CertificatesOperations.update no longer has parameter managed_environment_name
  • Operation CertificatesOperations.update no longer has parameter name
  • Operation ContainerAppsAuthConfigsOperations.create_or_update has a new parameter auth_config_name
  • Operation ContainerAppsAuthConfigsOperations.create_or_update no longer has parameter name
  • Operation ContainerAppsAuthConfigsOperations.delete has a new parameter auth_config_name
  • Operation ContainerAppsAuthConfigsOperations.delete no longer has parameter name
  • Operation ContainerAppsAuthConfigsOperations.get has a new parameter auth_config_name
  • Operation ContainerAppsAuthConfigsOperations.get no longer has parameter name
  • Operation ContainerAppsOperations.begin_create_or_update has a new parameter container_app_name
  • Operation ContainerAppsOperations.begin_create_or_update no longer has parameter name
  • Operation ContainerAppsOperations.begin_delete has a new parameter container_app_name
  • Operation ContainerAppsOperations.begin_delete no longer has parameter name
  • Operation ContainerAppsOperations.begin_update has a new parameter container_app_name
  • Operation ContainerAppsOperations.begin_update no longer has parameter name
  • Operation ContainerAppsOperations.get has a new parameter container_app_name
  • Operation ContainerAppsOperations.get no longer has parameter name
  • Operation ContainerAppsOperations.list_secrets has a new parameter container_app_name
  • Operation ContainerAppsOperations.list_secrets no longer has parameter name
  • Operation ContainerAppsRevisionReplicasOperations.get_replica has a new parameter replica_name
  • Operation ContainerAppsRevisionReplicasOperations.get_replica no longer has parameter name
  • Operation ContainerAppsRevisionsOperations.activate_revision has a new parameter revision_name
  • Operation ContainerAppsRevisionsOperations.activate_revision no longer has parameter name
  • Operation ContainerAppsRevisionsOperations.deactivate_revision has a new parameter revision_name
  • Operation ContainerAppsRevisionsOperations.deactivate_revision no longer has parameter name
  • Operation ContainerAppsRevisionsOperations.get_revision has a new parameter revision_name
  • Operation ContainerAppsRevisionsOperations.get_revision no longer has parameter name
  • Operation ContainerAppsRevisionsOperations.restart_revision has a new parameter revision_name
  • Operation ContainerAppsRevisionsOperations.restart_revision no longer has parameter name
  • Operation ContainerAppsSourceControlsOperations.begin_create_or_update has a new parameter source_control_name
  • Operation ContainerAppsSourceControlsOperations.begin_create_or_update no longer has parameter name
  • Operation ContainerAppsSourceControlsOperations.begin_delete has a new parameter source_control_name
  • Operation ContainerAppsSourceControlsOperations.begin_delete no longer has parameter name
  • Operation ContainerAppsSourceControlsOperations.get has a new parameter source_control_name
  • Operation ContainerAppsSourceControlsOperations.get no longer has parameter name
  • Operation DaprComponentsOperations.create_or_update has a new parameter component_name
  • Operation DaprComponentsOperations.create_or_update no longer has parameter name
  • Operation DaprComponentsOperations.delete has a new parameter component_name
  • Operation DaprComponentsOperations.delete no longer has parameter name
  • Operation DaprComponentsOperations.get has a new parameter component_name
  • Operation DaprComponentsOperations.get no longer has parameter name
  • Operation DaprComponentsOperations.list_secrets has a new parameter component_name
  • Operation DaprComponentsOperations.list_secrets no longer has parameter name
  • Operation ManagedEnvironmentsOperations.begin_create_or_update has a new parameter environment_name
  • Operation ManagedEnvironmentsOperations.begin_create_or_update no longer has parameter name
  • Operation ManagedEnvironmentsOperations.begin_delete has a new parameter environment_name
  • Operation ManagedEnvironmentsOperations.begin_delete no longer has parameter name
  • Operation ManagedEnvironmentsOperations.begin_update has a new parameter environment_name
  • Operation ManagedEnvironmentsOperations.begin_update no longer has parameter name
  • Operation ManagedEnvironmentsOperations.get has a new parameter environment_name
  • Operation ManagedEnvironmentsOperations.get no longer has parameter name
  • Operation ManagedEnvironmentsStoragesOperations.create_or_update has a new parameter environment_name
  • Operation ManagedEnvironmentsStoragesOperations.create_or_update has a new parameter storage_name
  • Operation ManagedEnvironmentsStoragesOperations.create_or_update no longer has parameter env_name
  • Operation ManagedEnvironmentsStoragesOperations.create_or_update no longer has parameter name
  • Operation ManagedEnvironmentsStoragesOperations.delete has a new parameter environment_name
  • Operation ManagedEnvironmentsStoragesOperations.delete has a new parameter storage_name
  • Operation ManagedEnvironmentsStoragesOperations.delete no longer has parameter env_name
  • Operation ManagedEnvironmentsStoragesOperations.delete no longer has parameter name
  • Operation ManagedEnvironmentsStoragesOperations.get has a new parameter environment_name
  • Operation ManagedEnvironmentsStoragesOperations.get has a new parameter storage_name
  • Operation ManagedEnvironmentsStoragesOperations.get no longer has parameter env_name
  • Operation ManagedEnvironmentsStoragesOperations.get no longer has parameter name
  • Operation ManagedEnvironmentsStoragesOperations.list has a new parameter environment_name
  • Operation ManagedEnvironmentsStoragesOperations.list no longer has parameter env_name
  • Operation NamespacesOperations.check_name_availability has a new parameter environment_name
  • Operation NamespacesOperations.check_name_availability no longer has parameter managed_environment_name

1.0.0b1 (2022-05-06)

  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure-mgmt-appcontainers-2.0.0.zip (225.8 kB view details)

Uploaded Source

Built Distribution

azure_mgmt_appcontainers-2.0.0-py3-none-any.whl (214.1 kB view details)

Uploaded Python 3

File details

Details for the file azure-mgmt-appcontainers-2.0.0.zip.

File metadata

  • Download URL: azure-mgmt-appcontainers-2.0.0.zip
  • Upload date:
  • Size: 225.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.28.2 setuptools/58.1.0 requests-toolbelt/0.10.1 tqdm/4.65.0 CPython/3.9.16

File hashes

Hashes for azure-mgmt-appcontainers-2.0.0.zip
Algorithm Hash digest
SHA256 71c74876f7604d83d6119096aa42dcf2512e32e004111be5e41d61b89c8192f5
MD5 b4145977efc4d3ea18e34b29405ab108
BLAKE2b-256 97ad3eb1687c3f27b8a4c87b284f5180984073564f47ebd8445e4a44184473a7

See more details on using hashes here.

File details

Details for the file azure_mgmt_appcontainers-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: azure_mgmt_appcontainers-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 214.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.28.2 setuptools/58.1.0 requests-toolbelt/0.10.1 tqdm/4.65.0 CPython/3.9.16

File hashes

Hashes for azure_mgmt_appcontainers-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1134e93552c723992e6dae6b992cbe81f7496a76c56e49eba635fdd1a835f88a
MD5 112f2baf822b7a0664f0f1072b680626
BLAKE2b-256 c19924c7eadc51cc82cdfb82dec77c7b7d6cfef84c71f3371e042476e864801c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page