TopLevelDomainsOperations Class

TopLevelDomainsOperations async operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
TopLevelDomainsOperations

Constructor

TopLevelDomainsOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

get

Get details of a top-level domain.

Get details of a top-level domain.

list

Get all top-level domains supported for registration.

Get all top-level domains supported for registration.

list_agreements

Gets all legal agreements that user needs to accept before purchasing a domain.

Gets all legal agreements that user needs to accept before purchasing a domain.

get

Get details of a top-level domain.

Get details of a top-level domain.

async get(name: str, **kwargs: Any) -> azure.mgmt.web.v2018_02_01.models._models_py3.TopLevelDomain

Parameters

name
str
Required

Name of the top-level domain.

cls
callable

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

Returns

TopLevelDomain, or the result of cls(response)

Return type

Exceptions

list

Get all top-level domains supported for registration.

Get all top-level domains supported for registration.

list(**kwargs: Any) -> AsyncIterable[azure.mgmt.web.v2018_02_01.models._models_py3.TopLevelDomainCollection]

Parameters

cls
callable

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

Returns

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

Return type

Exceptions

list_agreements

Gets all legal agreements that user needs to accept before purchasing a domain.

Gets all legal agreements that user needs to accept before purchasing a domain.

list_agreements(name: str, agreement_option: azure.mgmt.web.v2018_02_01.models._models_py3.TopLevelDomainAgreementOption, **kwargs: Any) -> AsyncIterable[azure.mgmt.web.v2018_02_01.models._models_py3.TldLegalAgreementCollection]

Parameters

name
str
Required

Name of the top-level domain.

agreement_option
TopLevelDomainAgreementOption
Required

Domain agreement options.

cls
callable

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

Returns

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

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.web.v2018_02_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\web\\v2018_02_01\\models\\__init__.py'>