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.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.0b2.zip (225.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for azure-mgmt-appcontainers-2.0.0b2.zip
Algorithm Hash digest
SHA256 88ae97be50e3be6a34ec9e1af236cc0d80b2849db8531b463f3d2961eb0647be
MD5 75f68bb92ca56dd4752966c0af0939ee
BLAKE2b-256 275e3011d6873e4f2d1d4e26c5522591cc32bef2e2ea9d4711a7c5a622bea52d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for azure_mgmt_appcontainers-2.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 8844106e9ac42d5c1e16c89e9babb74b22f57907d3caefccec0a0d59868ecdaa
MD5 047c152f538510c564587d537137be5f
BLAKE2b-256 5dd08ce7dd4a23addcb2a0a1dea523634b8f4bbee7de0cdb6fce7a53c02ebd98

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