DomainsOperations Class
DomainsOperations 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.objectDomainsOperations
Constructor
DomainsOperations(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
| begin_create_or_update |
Creates or updates a domain. Creates or updates a domain. |
| check_availability |
Check if a domain is available for registration. Check if a domain is available for registration. |
| create_or_update_ownership_identifier |
Creates an ownership identifier for a domain or updates identifier details for an existing identifier. Creates an ownership identifier for a domain or updates identifier details for an existing identifier. |
| delete |
Delete a domain. Delete a domain. |
| delete_ownership_identifier |
Delete ownership identifier for domain. Delete ownership identifier for domain. |
| get |
Get a domain. Get a domain. |
| get_control_center_sso_request |
Generate a single sign-on request for the domain management portal. Generate a single sign-on request for the domain management portal. |
| get_ownership_identifier |
Get ownership identifier for domain. Get ownership identifier for domain. |
| list |
Get all domains in a subscription. Get all domains in a subscription. |
| list_by_resource_group |
Get all domains in a resource group. Get all domains in a resource group. |
| list_ownership_identifiers |
Lists domain ownership identifiers. Lists domain ownership identifiers. |
| list_recommendations |
Get domain name recommendations based on keywords. Get domain name recommendations based on keywords. |
| renew |
Renew a domain. Renew a domain. |
| update |
Creates or updates a domain. Creates or updates a domain. |
| update_ownership_identifier |
Creates an ownership identifier for a domain or updates identifier details for an existing identifier. Creates an ownership identifier for a domain or updates identifier details for an existing identifier. |
begin_create_or_update
Creates or updates a domain.
Creates or updates a domain.
async begin_create_or_update(resource_group_name: str, domain_name: str, domain: azure.mgmt.web.v2018_02_01.models._models_py3.Domain, **kwargs: Any) -> azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.web.v2018_02_01.models._models_py3.Domain]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or AsyncPollingMethod
By default, your polling method will be AsyncARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either Domain or the result of cls(response)
Return type
Exceptions
check_availability
Check if a domain is available for registration.
Check if a domain is available for registration.
async check_availability(identifier: azure.mgmt.web.v2018_02_01.models._models_py3.NameIdentifier, **kwargs: Any) -> azure.mgmt.web.v2018_02_01.models._models_py3.DomainAvailablilityCheckResult
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
DomainAvailablilityCheckResult, or the result of cls(response)
Return type
Exceptions
create_or_update_ownership_identifier
Creates an ownership identifier for a domain or updates identifier details for an existing identifier.
Creates an ownership identifier for a domain or updates identifier details for an existing identifier.
async create_or_update_ownership_identifier(resource_group_name: str, domain_name: str, name: str, domain_ownership_identifier: azure.mgmt.web.v2018_02_01.models._models_py3.DomainOwnershipIdentifier, **kwargs: Any) -> azure.mgmt.web.v2018_02_01.models._models_py3.DomainOwnershipIdentifier
Parameters
- domain_ownership_identifier
- DomainOwnershipIdentifier
A JSON representation of the domain ownership properties.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
DomainOwnershipIdentifier, or the result of cls(response)
Return type
Exceptions
delete
Delete a domain.
Delete a domain.
async delete(resource_group_name: str, domain_name: str, force_hard_delete_domain: Optional[bool] = None, **kwargs: Any) -> None
Parameters
- force_hard_delete_domain
- bool
Specify <code>true</code> to delete the domain
immediately. The default is <code>false</code> which deletes the domain after 24 hours.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
None, or the result of cls(response)
Return type
Exceptions
delete_ownership_identifier
Delete ownership identifier for domain.
Delete ownership identifier for domain.
async delete_ownership_identifier(resource_group_name: str, domain_name: str, name: str, **kwargs: Any) -> None
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
None, or the result of cls(response)
Return type
Exceptions
get
Get a domain.
Get a domain.
async get(resource_group_name: str, domain_name: str, **kwargs: Any) -> azure.mgmt.web.v2018_02_01.models._models_py3.Domain
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Domain, or the result of cls(response)
Return type
Exceptions
get_control_center_sso_request
Generate a single sign-on request for the domain management portal.
Generate a single sign-on request for the domain management portal.
async get_control_center_sso_request(**kwargs: Any) -> azure.mgmt.web.v2018_02_01.models._models_py3.DomainControlCenterSsoRequest
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
DomainControlCenterSsoRequest, or the result of cls(response)
Return type
Exceptions
get_ownership_identifier
Get ownership identifier for domain.
Get ownership identifier for domain.
async get_ownership_identifier(resource_group_name: str, domain_name: str, name: str, **kwargs: Any) -> azure.mgmt.web.v2018_02_01.models._models_py3.DomainOwnershipIdentifier
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
DomainOwnershipIdentifier, or the result of cls(response)
Return type
Exceptions
list
Get all domains in a subscription.
Get all domains in a subscription.
list(**kwargs: Any) -> AsyncIterable[azure.mgmt.web.v2018_02_01.models._models_py3.DomainCollection]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either DomainCollection or the result of cls(response)
Return type
Exceptions
list_by_resource_group
Get all domains in a resource group.
Get all domains in a resource group.
list_by_resource_group(resource_group_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.web.v2018_02_01.models._models_py3.DomainCollection]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either DomainCollection or the result of cls(response)
Return type
Exceptions
list_ownership_identifiers
Lists domain ownership identifiers.
Lists domain ownership identifiers.
list_ownership_identifiers(resource_group_name: str, domain_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.web.v2018_02_01.models._models_py3.DomainOwnershipIdentifierCollection]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either DomainOwnershipIdentifierCollection or the result of cls(response)
Return type
Exceptions
list_recommendations
Get domain name recommendations based on keywords.
Get domain name recommendations based on keywords.
list_recommendations(parameters: azure.mgmt.web.v2018_02_01.models._models_py3.DomainRecommendationSearchParameters, **kwargs: Any) -> AsyncIterable[azure.mgmt.web.v2018_02_01.models._models_py3.NameIdentifierCollection]
Parameters
- parameters
- DomainRecommendationSearchParameters
Search parameters for domain name recommendations.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either NameIdentifierCollection or the result of cls(response)
Return type
Exceptions
renew
Renew a domain.
Renew a domain.
async renew(resource_group_name: str, domain_name: str, **kwargs: Any) -> None
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
None, or the result of cls(response)
Return type
Exceptions
update
Creates or updates a domain.
Creates or updates a domain.
async update(resource_group_name: str, domain_name: str, domain: azure.mgmt.web.v2018_02_01.models._models_py3.DomainPatchResource, **kwargs: Any) -> azure.mgmt.web.v2018_02_01.models._models_py3.Domain
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Domain, or the result of cls(response)
Return type
Exceptions
update_ownership_identifier
Creates an ownership identifier for a domain or updates identifier details for an existing identifier.
Creates an ownership identifier for a domain or updates identifier details for an existing identifier.
async update_ownership_identifier(resource_group_name: str, domain_name: str, name: str, domain_ownership_identifier: azure.mgmt.web.v2018_02_01.models._models_py3.DomainOwnershipIdentifier, **kwargs: Any) -> azure.mgmt.web.v2018_02_01.models._models_py3.DomainOwnershipIdentifier
Parameters
- domain_ownership_identifier
- DomainOwnershipIdentifier
A JSON representation of the domain ownership properties.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
DomainOwnershipIdentifier, 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'>
Feedback
Submit and view feedback for