Registry / devops / azure-mgmt-appplatform

azure-mgmt-appplatform

JSON →
library10.0.1pypypi✓ verified 84d ago

Microsoft Azure App Platform Management Client Library for Python (current version 10.0.1). Enables managing Azure Spring Apps resources such as services, apps, deployments, and bindings. Released monthly through the Azure SDK for Python monorepo.

pip install azure-mgmt-appplatform
INSTALL
IMPORT
SIG · AZURE-MGMT-APPPLAT
A
azure-mgmt-appplatform
devopspythonv10.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AppPlatformManagementClient
from azure.mgmt.appplatform import AppPlatformManagementClient
from azure.mgmt.appplatform.v2022_12_01 import AppPlatformManagementClient
Version-specific imports are deprecated; always use the top-level package.

Initialize the client and list Azure Spring Apps services in a resource group.

import os from azure.identity import DefaultAzureCredential from azure.mgmt.appplatform import AppPlatformManagementClient subscription_id = os.environ.get('AZURE_SUBSCRIPTION_ID', '') credential = DefaultAzureCredential() client = AppPlatformManagementClient(credential, subscription_id) # List all services in a resource group for service in client.services.list(resource_group_name='myResourceGroup'): print(service.name)
Debug
Known issues
breakingAPI version 2023-09-01-preview removed support for deprecated 'S0' and 'B0' tier SKUs. Use 'Enterprise' or 'Standard' SKUs instead.
fix
Update your SKU to 'Enterprise' or 'Standard' when creating or updating services.
affects: >=10.0.0
gotchaThe 'AppPlatformManagementClient' uses a default API version that may not include preview features. To use preview features, you must explicitly pass the api_version parameter.
fix
Specify the preview API version string, e.g., api_version='2023-09-01-preview', in the client constructor or per-operation.
affects: all
deprecatedModel aliases like 'ServiceResource' have been replaced by 'SpringAppService' in newer API versions. Using deprecated models may cause AttributeError when accessing properties.
fix
Use the newer model names returned by the client. Check the response type at runtime: type(response).
affects: >=9.0.0
Errors
Common errors & fixes
ImportError: cannot import name 'AppPlatformManagementClient' from 'azure.mgmt.appplatform'
Missing dependency 'azure-mgmt-core' or outdated library version.
fix
Run 'pip install azure-mgmt-appplatform azure-mgmt-core' and ensure you are importing from 'azure.mgmt.appplatform' (not a subpackage).
AttributeError: 'ServiceResource' object has no attribute 'properties'
Using an old model class that was renamed or properties flattened in a newer API version.
fix
Check the actual response type with type(service) and access properties accordingly; update to use 'SpringAppService' model.
azure.core.exceptions.ResourceNotFoundError: (ResourceGroupNotFound) Resource group '...' could not be found.
Resource group name is incorrect or not in the same subscription.
fix
Verify the resource group name and ensure it exists in the subscription you are using.
msrestazure.azure_exceptions.CloudError: (MissingSubscription) The request did not have a subscription or a valid tenant level resource provider.
Subscription ID is missing or not provided to the client.
fix
Set the subscription_id parameter correctly when creating the client; check the AZURE_SUBSCRIPTION_ID environment variable.
Upgrade
Version history
10.0.1latest on PyPI · released Jun 5, 2025
Audit
Dependencies
azure-identityoptionalAuthentication via DefaultAzureCredential
azure-mgmt-corerequiredManagement client base and policies
Agent activity
7 hits · last 30 days
node
6
Resources
azure-mgmt-appplatform — pip install azure-mgmt-appplatform · libregistry