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.objectTopLevelDomainsOperations
Constructor
TopLevelDomainsOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| get |
Get details of a top-level domain. Description for Get details of a top-level domain. |
| list |
Get all top-level domains supported for registration. Description for Get all top-level domains supported for registration. |
| list_agreements |
Gets all legal agreements that user needs to accept before purchasing a domain. Description for Gets all legal agreements that user needs to accept before purchasing a domain. |
get
Get details of a top-level domain.
Description for Get details of a top-level domain.
async get(name: str, **kwargs: Any) -> azure.mgmt.web.v2021_01_15.models._models_py3.TopLevelDomain
Parameters
- 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.
Description for Get all top-level domains supported for registration.
list(**kwargs: Any) -> AsyncIterable[azure.mgmt.web.v2021_01_15.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.
Description for Gets all legal agreements that user needs to accept before purchasing a domain.
list_agreements(name: str, agreement_option: azure.mgmt.web.v2021_01_15.models._models_py3.TopLevelDomainAgreementOption, **kwargs: Any) -> AsyncIterable[azure.mgmt.web.v2021_01_15.models._models_py3.TldLegalAgreementCollection]
Parameters
- 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.v2021_01_15.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\web\\v2021_01_15\\models\\__init__.py'>
Feedback
Submit and view feedback for