TenantsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

SubscriptionClient's

<xref:tenants> attribute.

Inheritance
builtins.object
TenantsOperations

Constructor

TenantsOperations(*args, **kwargs)

Methods

list

Gets the tenants for your account.

list

Gets the tenants for your account.

list(**kwargs: Any) -> Iterable[TenantIdDescription]

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

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