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

AvailableServiceAliasesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:available_service_aliases> attribute.

Inheritance
builtins.object
AvailableServiceAliasesOperations

Constructor

AvailableServiceAliasesOperations(*args, **kwargs)

Methods

list

Gets all available service aliases for this subscription in this region.

list_by_resource_group

Gets all available service aliases for this resource group in this region.

list

Gets all available service aliases for this subscription in this region.

list(location: str, **kwargs: Any) -> Iterable[AvailableServiceAlias]

Parameters

Name Description
location
Required
str

The location. Required.

Returns

Type Description

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

Exceptions

Type Description

list_by_resource_group

Gets all available service aliases for this resource group in this region.

list_by_resource_group(resource_group_name: str, location: str, **kwargs: Any) -> Iterable[AvailableServiceAlias]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

location
Required
str

The location. Required.

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

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