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

RegionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ServiceBusManagementClient's

<xref:regions> attribute.

Inheritance
builtins.object
RegionsOperations

Constructor

RegionsOperations(*args, **kwargs)

Methods

list_by_sku

Gets the available Regions for a given sku.

list_by_sku

Gets the available Regions for a given sku.

list_by_sku(sku: str, **kwargs: Any) -> Iterable[PremiumMessagingRegions]

Parameters

Name Description
sku
Required
str

The sku type. Required.

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

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