你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AvailableWorkloadProfilesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerAppsAPIClient's

<xref:available_workload_profiles> attribute.

Constructor

AvailableWorkloadProfilesOperations(*args, **kwargs)

Methods

get

Get available workload profiles by location.

Get all available workload profiles for a location.

get

Get available workload profiles by location.

Get all available workload profiles for a location.

get(location: str, **kwargs: Any) -> Iterable[AvailableWorkloadProfile]

Parameters

Name Description
location
Required
str

The name of Azure region. Required.

Returns

Type Description

An iterator like instance of either AvailableWorkloadProfile or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.appcontainers.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.10\\x64\\Lib\\site-packages\\azure\\mgmt\\appcontainers\\models\\__init__.py'>