Sdílet prostřednictvím


EnrollmentAccountsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

BillingManagementClient's

<xref:enrollment_accounts> attribute.

Constructor

EnrollmentAccountsOperations(*args, **kwargs)

Methods

get

Gets a enrollment account by name.

list

Lists the enrollment accounts the caller has access to.

get

Gets a enrollment account by name.

get(name: str, **kwargs: Any) -> EnrollmentAccountSummary

Parameters

Name Description
name
Required
str

Enrollment Account name. Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

EnrollmentAccountSummary or the result of cls(response)

Exceptions

Type Description

list

Lists the enrollment accounts the caller has access to.

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

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

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