TopLevelDomainsOperations Class   
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:top_level_domains> attribute.
Constructor
TopLevelDomainsOperations(*args, **kwargs)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.
get(name: str, **kwargs: Any) -> TopLevelDomainParameters
| Name | Description | 
|---|---|
| name 
				Required
			 | Name of the top-level domain. Required. | 
Returns
| Type | Description | 
|---|---|
| TopLevelDomain or the result of cls(response) | 
Exceptions
| Type | Description | 
|---|---|
list
Get all top-level domains supported for registration.
Description for Get all top-level domains supported for registration.
list(**kwargs: Any) -> ItemPaged[TopLevelDomain]Returns
| Type | Description | 
|---|---|
| An iterator like instance of either TopLevelDomain or the result of cls(response) | 
Exceptions
| Type | Description | 
|---|---|
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: _models.TopLevelDomainAgreementOption, *, content_type: str = 'application/json', **kwargs: Any) -> ItemPaged['_models.TldLegalAgreement']Parameters
| Name | Description | 
|---|---|
| name 
				Required
			 | Name of the top-level domain. Required. | 
| agreement_option 
				Required
			 | Domain agreement options. Is either a TopLevelDomainAgreementOption type or a IO[bytes] type. Required. | 
Returns
| Type | Description | 
|---|---|
| An iterator like instance of either TldLegalAgreement or the result of cls(response) | 
Exceptions
| Type | Description | 
|---|---|
Attributes
models
models = <module 'azure.mgmt.web.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv239\\Lib\\site-packages\\azure\\mgmt\\web\\models\\__init__.py'>