Interface DomainsClient
- All Superinterfaces:
InnerSupportsDelete<Void>
,InnerSupportsGet<DomainInner>
,InnerSupportsListing<DomainInner>
public interface DomainsClient
extends InnerSupportsGet<DomainInner>, InnerSupportsListing<DomainInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in DomainsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DomainInner>,
DomainInner> beginCreateOrUpdate
(String resourceGroupName, String domainName, DomainInner domain) Description for Creates or updates a domain.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DomainInner>,
DomainInner> beginCreateOrUpdate
(String resourceGroupName, String domainName, DomainInner domain, com.azure.core.util.Context context) Description for Creates or updates a domain.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DomainInner>,
DomainInner> beginCreateOrUpdateAsync
(String resourceGroupName, String domainName, DomainInner domain) Description for Creates or updates a domain.checkAvailability
(NameIdentifierInner identifier) Description for Check if a domain is available for registration.checkAvailabilityAsync
(NameIdentifierInner identifier) Description for Check if a domain is available for registration.com.azure.core.http.rest.Response<DomainAvailabilityCheckResultInner>
checkAvailabilityWithResponse
(NameIdentifierInner identifier, com.azure.core.util.Context context) Description for Check if a domain is available for registration.Mono<com.azure.core.http.rest.Response<DomainAvailabilityCheckResultInner>>
Description for Check if a domain is available for registration.createOrUpdate
(String resourceGroupName, String domainName, DomainInner domain) Description for Creates or updates a domain.createOrUpdate
(String resourceGroupName, String domainName, DomainInner domain, com.azure.core.util.Context context) Description for Creates or updates a domain.createOrUpdateAsync
(String resourceGroupName, String domainName, DomainInner domain) Description for Creates or updates a domain.createOrUpdateOwnershipIdentifier
(String resourceGroupName, String domainName, String name, DomainOwnershipIdentifierInner domainOwnershipIdentifier) Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifier.createOrUpdateOwnershipIdentifierAsync
(String resourceGroupName, String domainName, String name, DomainOwnershipIdentifierInner domainOwnershipIdentifier) Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifier.com.azure.core.http.rest.Response<DomainOwnershipIdentifierInner>
createOrUpdateOwnershipIdentifierWithResponse
(String resourceGroupName, String domainName, String name, DomainOwnershipIdentifierInner domainOwnershipIdentifier, com.azure.core.util.Context context) Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifier.Mono<com.azure.core.http.rest.Response<DomainOwnershipIdentifierInner>>
createOrUpdateOwnershipIdentifierWithResponseAsync
(String resourceGroupName, String domainName, String name, DomainOwnershipIdentifierInner domainOwnershipIdentifier) Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifier.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>
createOrUpdateWithResponseAsync
(String resourceGroupName, String domainName, DomainInner domain) Description for Creates or updates a domain.void
Description for Delete a domain.deleteAsync
(String resourceGroupName, String domainName) Description for Delete a domain.deleteAsync
(String resourceGroupName, String domainName, Boolean forceHardDeleteDomain) Description for Delete a domain.void
deleteOwnershipIdentifier
(String resourceGroupName, String domainName, String name) Description for Delete ownership identifier for domain.deleteOwnershipIdentifierAsync
(String resourceGroupName, String domainName, String name) Description for Delete ownership identifier for domain.com.azure.core.http.rest.Response<Void>
deleteOwnershipIdentifierWithResponse
(String resourceGroupName, String domainName, String name, com.azure.core.util.Context context) Description for Delete ownership identifier for domain.deleteOwnershipIdentifierWithResponseAsync
(String resourceGroupName, String domainName, String name) Description for Delete ownership identifier for domain.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String domainName, Boolean forceHardDeleteDomain, com.azure.core.util.Context context) Description for Delete a domain.deleteWithResponseAsync
(String resourceGroupName, String domainName, Boolean forceHardDeleteDomain) Description for Delete a domain.getByResourceGroup
(String resourceGroupName, String domainName) Description for Get a domain.getByResourceGroupAsync
(String resourceGroupName, String domainName) Description for Get a domain.com.azure.core.http.rest.Response<DomainInner>
getByResourceGroupWithResponse
(String resourceGroupName, String domainName, com.azure.core.util.Context context) Description for Get a domain.Mono<com.azure.core.http.rest.Response<DomainInner>>
getByResourceGroupWithResponseAsync
(String resourceGroupName, String domainName) Description for Get a domain.Description for Generate a single sign-on request for the domain management portal.Description for Generate a single sign-on request for the domain management portal.com.azure.core.http.rest.Response<DomainControlCenterSsoRequestInner>
getControlCenterSsoRequestWithResponse
(com.azure.core.util.Context context) Description for Generate a single sign-on request for the domain management portal.Mono<com.azure.core.http.rest.Response<DomainControlCenterSsoRequestInner>>
Description for Generate a single sign-on request for the domain management portal.getOwnershipIdentifier
(String resourceGroupName, String domainName, String name) Description for Get ownership identifier for domain.getOwnershipIdentifierAsync
(String resourceGroupName, String domainName, String name) Description for Get ownership identifier for domain.com.azure.core.http.rest.Response<DomainOwnershipIdentifierInner>
getOwnershipIdentifierWithResponse
(String resourceGroupName, String domainName, String name, com.azure.core.util.Context context) Description for Get ownership identifier for domain.Mono<com.azure.core.http.rest.Response<DomainOwnershipIdentifierInner>>
getOwnershipIdentifierWithResponseAsync
(String resourceGroupName, String domainName, String name) Description for Get ownership identifier for domain.com.azure.core.http.rest.PagedIterable<DomainInner>
list()
Description for Get all domains in a subscription.com.azure.core.http.rest.PagedIterable<DomainInner>
list
(com.azure.core.util.Context context) Description for Get all domains in a subscription.com.azure.core.http.rest.PagedFlux<DomainInner>
Description for Get all domains in a subscription.com.azure.core.http.rest.PagedIterable<DomainInner>
listByResourceGroup
(String resourceGroupName) Description for Get all domains in a resource group.com.azure.core.http.rest.PagedIterable<DomainInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Description for Get all domains in a resource group.com.azure.core.http.rest.PagedFlux<DomainInner>
listByResourceGroupAsync
(String resourceGroupName) Description for Get all domains in a resource group.com.azure.core.http.rest.PagedIterable<DomainOwnershipIdentifierInner>
listOwnershipIdentifiers
(String resourceGroupName, String domainName) Description for Lists domain ownership identifiers.com.azure.core.http.rest.PagedIterable<DomainOwnershipIdentifierInner>
listOwnershipIdentifiers
(String resourceGroupName, String domainName, com.azure.core.util.Context context) Description for Lists domain ownership identifiers.com.azure.core.http.rest.PagedFlux<DomainOwnershipIdentifierInner>
listOwnershipIdentifiersAsync
(String resourceGroupName, String domainName) Description for Lists domain ownership identifiers.com.azure.core.http.rest.PagedIterable<NameIdentifierInner>
Description for Get domain name recommendations based on keywords.com.azure.core.http.rest.PagedIterable<NameIdentifierInner>
listRecommendations
(DomainRecommendationSearchParameters parameters, com.azure.core.util.Context context) Description for Get domain name recommendations based on keywords.com.azure.core.http.rest.PagedFlux<NameIdentifierInner>
Description for Get domain name recommendations based on keywords.void
Description for Renew a domain.renewAsync
(String resourceGroupName, String domainName) Description for Renew a domain.com.azure.core.http.rest.Response<Void>
renewWithResponse
(String resourceGroupName, String domainName, com.azure.core.util.Context context) Description for Renew a domain.renewWithResponseAsync
(String resourceGroupName, String domainName) Description for Renew a domain.transferOut
(String resourceGroupName, String domainName) Transfer out domain to another registrar.transferOutAsync
(String resourceGroupName, String domainName) Transfer out domain to another registrar.com.azure.core.http.rest.Response<DomainInner>
transferOutWithResponse
(String resourceGroupName, String domainName, com.azure.core.util.Context context) Transfer out domain to another registrar.Mono<com.azure.core.http.rest.Response<DomainInner>>
transferOutWithResponseAsync
(String resourceGroupName, String domainName) Transfer out domain to another registrar.update
(String resourceGroupName, String domainName, DomainPatchResource domain) Description for Creates or updates a domain.updateAsync
(String resourceGroupName, String domainName, DomainPatchResource domain) Description for Creates or updates a domain.updateOwnershipIdentifier
(String resourceGroupName, String domainName, String name, DomainOwnershipIdentifierInner domainOwnershipIdentifier) Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifier.updateOwnershipIdentifierAsync
(String resourceGroupName, String domainName, String name, DomainOwnershipIdentifierInner domainOwnershipIdentifier) Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifier.com.azure.core.http.rest.Response<DomainOwnershipIdentifierInner>
updateOwnershipIdentifierWithResponse
(String resourceGroupName, String domainName, String name, DomainOwnershipIdentifierInner domainOwnershipIdentifier, com.azure.core.util.Context context) Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifier.Mono<com.azure.core.http.rest.Response<DomainOwnershipIdentifierInner>>
updateOwnershipIdentifierWithResponseAsync
(String resourceGroupName, String domainName, String name, DomainOwnershipIdentifierInner domainOwnershipIdentifier) Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifier.com.azure.core.http.rest.Response<DomainInner>
updateWithResponse
(String resourceGroupName, String domainName, DomainPatchResource domain, com.azure.core.util.Context context) Description for Creates or updates a domain.Mono<com.azure.core.http.rest.Response<DomainInner>>
updateWithResponseAsync
(String resourceGroupName, String domainName, DomainPatchResource domain) Description for Creates or updates a domain.
-
Method Details
-
checkAvailabilityWithResponseAsync
Mono<com.azure.core.http.rest.Response<DomainAvailabilityCheckResultInner>> checkAvailabilityWithResponseAsync(NameIdentifierInner identifier) Description for Check if a domain is available for registration.- Parameters:
identifier
- Name of the domain.- Returns:
- domain availability check result along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
checkAvailabilityAsync
Description for Check if a domain is available for registration.- Parameters:
identifier
- Name of the domain.- Returns:
- domain availability check result on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
checkAvailability
Description for Check if a domain is available for registration.- Parameters:
identifier
- Name of the domain.- Returns:
- domain availability check result.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
checkAvailabilityWithResponse
com.azure.core.http.rest.Response<DomainAvailabilityCheckResultInner> checkAvailabilityWithResponse(NameIdentifierInner identifier, com.azure.core.util.Context context) Description for Check if a domain is available for registration.- Parameters:
identifier
- Name of the domain.context
- The context to associate with this operation.- Returns:
- domain availability check result along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.PagedFlux<DomainInner> listAsync()Description for Get all domains in a subscription.- Specified by:
listAsync
in interfaceInnerSupportsListing<DomainInner>
- Returns:
- collection of domains as paginated response with
PagedFlux
. - Throws:
DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<DomainInner> list()Description for Get all domains in a subscription.- Specified by:
list
in interfaceInnerSupportsListing<DomainInner>
- Returns:
- collection of domains as paginated response with
PagedIterable
. - Throws:
DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
Description for Get all domains in a subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- collection of domains as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getControlCenterSsoRequestWithResponseAsync
Mono<com.azure.core.http.rest.Response<DomainControlCenterSsoRequestInner>> getControlCenterSsoRequestWithResponseAsync()Description for Generate a single sign-on request for the domain management portal.- Returns:
- single sign-on request information for domain management along with
Response
on successful completion ofMono
. - Throws:
DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getControlCenterSsoRequestAsync
Mono<DomainControlCenterSsoRequestInner> getControlCenterSsoRequestAsync()Description for Generate a single sign-on request for the domain management portal.- Returns:
- single sign-on request information for domain management on successful completion of
Mono
. - Throws:
DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getControlCenterSsoRequest
DomainControlCenterSsoRequestInner getControlCenterSsoRequest()Description for Generate a single sign-on request for the domain management portal.- Returns:
- single sign-on request information for domain management.
- Throws:
DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getControlCenterSsoRequestWithResponse
com.azure.core.http.rest.Response<DomainControlCenterSsoRequestInner> getControlCenterSsoRequestWithResponse(com.azure.core.util.Context context) Description for Generate a single sign-on request for the domain management portal.- Parameters:
context
- The context to associate with this operation.- Returns:
- single sign-on request information for domain management along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listRecommendationsAsync
com.azure.core.http.rest.PagedFlux<NameIdentifierInner> listRecommendationsAsync(DomainRecommendationSearchParameters parameters) Description for Get domain name recommendations based on keywords.- Parameters:
parameters
- Search parameters for domain name recommendations.- Returns:
- collection of domain name identifiers as paginated response with
PagedFlux
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listRecommendations
com.azure.core.http.rest.PagedIterable<NameIdentifierInner> listRecommendations(DomainRecommendationSearchParameters parameters) Description for Get domain name recommendations based on keywords.- Parameters:
parameters
- Search parameters for domain name recommendations.- Returns:
- collection of domain name identifiers as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listRecommendations
com.azure.core.http.rest.PagedIterable<NameIdentifierInner> listRecommendations(DomainRecommendationSearchParameters parameters, com.azure.core.util.Context context) Description for Get domain name recommendations based on keywords.- Parameters:
parameters
- Search parameters for domain name recommendations.context
- The context to associate with this operation.- Returns:
- collection of domain name identifiers as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroupAsync
Description for Get all domains in a resource group.- Specified by:
listByResourceGroupAsync
in interfaceInnerSupportsListing<DomainInner>
- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.- Returns:
- collection of domains as paginated response with
PagedFlux
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
Description for Get all domains in a resource group.- Specified by:
listByResourceGroup
in interfaceInnerSupportsListing<DomainInner>
- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.- Returns:
- collection of domains as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<DomainInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Description for Get all domains in a resource group.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.context
- The context to associate with this operation.- Returns:
- collection of domains as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<DomainInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String domainName) Description for Get a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.- Returns:
- information about a domain along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupAsync
Description for Get a domain.- Specified by:
getByResourceGroupAsync
in interfaceInnerSupportsGet<DomainInner>
- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.- Returns:
- information about a domain on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
Description for Get a domain.- Specified by:
getByResourceGroup
in interfaceInnerSupportsGet<DomainInner>
- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.- Returns:
- information about a domain.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<DomainInner> getByResourceGroupWithResponse(String resourceGroupName, String domainName, com.azure.core.util.Context context) Description for Get a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.context
- The context to associate with this operation.- Returns:
- information about a domain along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String domainName, DomainInner domain) Description for Creates or updates a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.domain
- Domain registration information.- Returns:
- information about a domain along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DomainInner>,DomainInner> beginCreateOrUpdateAsync(String resourceGroupName, String domainName, DomainInner domain) Description for Creates or updates a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.domain
- Domain registration information.- Returns:
- the
PollerFlux
for polling of information about a domain. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DomainInner>,DomainInner> beginCreateOrUpdate(String resourceGroupName, String domainName, DomainInner domain) Description for Creates or updates a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.domain
- Domain registration information.- Returns:
- the
SyncPoller
for polling of information about a domain. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DomainInner>,DomainInner> beginCreateOrUpdate(String resourceGroupName, String domainName, DomainInner domain, com.azure.core.util.Context context) Description for Creates or updates a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.domain
- Domain registration information.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of information about a domain. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<DomainInner> createOrUpdateAsync(String resourceGroupName, String domainName, DomainInner domain) Description for Creates or updates a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.domain
- Domain registration information.- Returns:
- information about a domain on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
Description for Creates or updates a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.domain
- Domain registration information.- Returns:
- information about a domain.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
DomainInner createOrUpdate(String resourceGroupName, String domainName, DomainInner domain, com.azure.core.util.Context context) Description for Creates or updates a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.domain
- Domain registration information.context
- The context to associate with this operation.- Returns:
- information about a domain.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String domainName, Boolean forceHardDeleteDomain) Description for Delete a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.forceHardDeleteDomain
- Specify <code>true</code> to delete the domain immediately. The default is <code>false</code> which deletes the domain after 24 hours.- Returns:
- the
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Description for Delete a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.forceHardDeleteDomain
- Specify <code>true</code> to delete the domain immediately. The default is <code>false</code> which deletes the domain after 24 hours.- Returns:
- A
Mono
that completes when a successful response is received. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Description for Delete a domain.- Specified by:
deleteAsync
in interfaceInnerSupportsDelete<Void>
- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.- Returns:
- A
Mono
that completes when a successful response is received. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Description for Delete a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String domainName, Boolean forceHardDeleteDomain, com.azure.core.util.Context context) Description for Delete a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.forceHardDeleteDomain
- Specify <code>true</code> to delete the domain immediately. The default is <code>false</code> which deletes the domain after 24 hours.context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<DomainInner>> updateWithResponseAsync(String resourceGroupName, String domainName, DomainPatchResource domain) Description for Creates or updates a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.domain
- Domain registration information.- Returns:
- information about a domain along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateAsync
Mono<DomainInner> updateAsync(String resourceGroupName, String domainName, DomainPatchResource domain) Description for Creates or updates a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.domain
- Domain registration information.- Returns:
- information about a domain on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
Description for Creates or updates a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.domain
- Domain registration information.- Returns:
- information about a domain.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponse
com.azure.core.http.rest.Response<DomainInner> updateWithResponse(String resourceGroupName, String domainName, DomainPatchResource domain, com.azure.core.util.Context context) Description for Creates or updates a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.domain
- Domain registration information.context
- The context to associate with this operation.- Returns:
- information about a domain along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listOwnershipIdentifiersAsync
com.azure.core.http.rest.PagedFlux<DomainOwnershipIdentifierInner> listOwnershipIdentifiersAsync(String resourceGroupName, String domainName) Description for Lists domain ownership identifiers.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.- Returns:
- collection of domain ownership identifiers as paginated response with
PagedFlux
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listOwnershipIdentifiers
com.azure.core.http.rest.PagedIterable<DomainOwnershipIdentifierInner> listOwnershipIdentifiers(String resourceGroupName, String domainName) Description for Lists domain ownership identifiers.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.- Returns:
- collection of domain ownership identifiers as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listOwnershipIdentifiers
com.azure.core.http.rest.PagedIterable<DomainOwnershipIdentifierInner> listOwnershipIdentifiers(String resourceGroupName, String domainName, com.azure.core.util.Context context) Description for Lists domain ownership identifiers.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.context
- The context to associate with this operation.- Returns:
- collection of domain ownership identifiers as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getOwnershipIdentifierWithResponseAsync
Mono<com.azure.core.http.rest.Response<DomainOwnershipIdentifierInner>> getOwnershipIdentifierWithResponseAsync(String resourceGroupName, String domainName, String name) Description for Get ownership identifier for domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.name
- Name of identifier.- Returns:
- domain ownership Identifier along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getOwnershipIdentifierAsync
Mono<DomainOwnershipIdentifierInner> getOwnershipIdentifierAsync(String resourceGroupName, String domainName, String name) Description for Get ownership identifier for domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.name
- Name of identifier.- Returns:
- domain ownership Identifier on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getOwnershipIdentifier
DomainOwnershipIdentifierInner getOwnershipIdentifier(String resourceGroupName, String domainName, String name) Description for Get ownership identifier for domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.name
- Name of identifier.- Returns:
- domain ownership Identifier.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getOwnershipIdentifierWithResponse
com.azure.core.http.rest.Response<DomainOwnershipIdentifierInner> getOwnershipIdentifierWithResponse(String resourceGroupName, String domainName, String name, com.azure.core.util.Context context) Description for Get ownership identifier for domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.name
- Name of identifier.context
- The context to associate with this operation.- Returns:
- domain ownership Identifier along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateOwnershipIdentifierWithResponseAsync
Mono<com.azure.core.http.rest.Response<DomainOwnershipIdentifierInner>> createOrUpdateOwnershipIdentifierWithResponseAsync(String resourceGroupName, String domainName, String name, DomainOwnershipIdentifierInner domainOwnershipIdentifier) Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifier.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.name
- Name of identifier.domainOwnershipIdentifier
- A JSON representation of the domain ownership properties.- Returns:
- domain ownership Identifier along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateOwnershipIdentifierAsync
Mono<DomainOwnershipIdentifierInner> createOrUpdateOwnershipIdentifierAsync(String resourceGroupName, String domainName, String name, DomainOwnershipIdentifierInner domainOwnershipIdentifier) Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifier.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.name
- Name of identifier.domainOwnershipIdentifier
- A JSON representation of the domain ownership properties.- Returns:
- domain ownership Identifier on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateOwnershipIdentifier
DomainOwnershipIdentifierInner createOrUpdateOwnershipIdentifier(String resourceGroupName, String domainName, String name, DomainOwnershipIdentifierInner domainOwnershipIdentifier) Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifier.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.name
- Name of identifier.domainOwnershipIdentifier
- A JSON representation of the domain ownership properties.- Returns:
- domain ownership Identifier.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateOwnershipIdentifierWithResponse
com.azure.core.http.rest.Response<DomainOwnershipIdentifierInner> createOrUpdateOwnershipIdentifierWithResponse(String resourceGroupName, String domainName, String name, DomainOwnershipIdentifierInner domainOwnershipIdentifier, com.azure.core.util.Context context) Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifier.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.name
- Name of identifier.domainOwnershipIdentifier
- A JSON representation of the domain ownership properties.context
- The context to associate with this operation.- Returns:
- domain ownership Identifier along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteOwnershipIdentifierWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteOwnershipIdentifierWithResponseAsync(String resourceGroupName, String domainName, String name) Description for Delete ownership identifier for domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.name
- Name of identifier.- Returns:
- the
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteOwnershipIdentifierAsync
Description for Delete ownership identifier for domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.name
- Name of identifier.- Returns:
- A
Mono
that completes when a successful response is received. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteOwnershipIdentifier
Description for Delete ownership identifier for domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.name
- Name of identifier.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteOwnershipIdentifierWithResponse
com.azure.core.http.rest.Response<Void> deleteOwnershipIdentifierWithResponse(String resourceGroupName, String domainName, String name, com.azure.core.util.Context context) Description for Delete ownership identifier for domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.name
- Name of identifier.context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateOwnershipIdentifierWithResponseAsync
Mono<com.azure.core.http.rest.Response<DomainOwnershipIdentifierInner>> updateOwnershipIdentifierWithResponseAsync(String resourceGroupName, String domainName, String name, DomainOwnershipIdentifierInner domainOwnershipIdentifier) Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifier.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.name
- Name of identifier.domainOwnershipIdentifier
- A JSON representation of the domain ownership properties.- Returns:
- domain ownership Identifier along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateOwnershipIdentifierAsync
Mono<DomainOwnershipIdentifierInner> updateOwnershipIdentifierAsync(String resourceGroupName, String domainName, String name, DomainOwnershipIdentifierInner domainOwnershipIdentifier) Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifier.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.name
- Name of identifier.domainOwnershipIdentifier
- A JSON representation of the domain ownership properties.- Returns:
- domain ownership Identifier on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateOwnershipIdentifier
DomainOwnershipIdentifierInner updateOwnershipIdentifier(String resourceGroupName, String domainName, String name, DomainOwnershipIdentifierInner domainOwnershipIdentifier) Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifier.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.name
- Name of identifier.domainOwnershipIdentifier
- A JSON representation of the domain ownership properties.- Returns:
- domain ownership Identifier.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateOwnershipIdentifierWithResponse
com.azure.core.http.rest.Response<DomainOwnershipIdentifierInner> updateOwnershipIdentifierWithResponse(String resourceGroupName, String domainName, String name, DomainOwnershipIdentifierInner domainOwnershipIdentifier, com.azure.core.util.Context context) Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifier.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.name
- Name of identifier.domainOwnershipIdentifier
- A JSON representation of the domain ownership properties.context
- The context to associate with this operation.- Returns:
- domain ownership Identifier along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
renewWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> renewWithResponseAsync(String resourceGroupName, String domainName) Description for Renew a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.- Returns:
- the
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
renewAsync
Description for Renew a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.- Returns:
- A
Mono
that completes when a successful response is received. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
renew
Description for Renew a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
renewWithResponse
com.azure.core.http.rest.Response<Void> renewWithResponse(String resourceGroupName, String domainName, com.azure.core.util.Context context) Description for Renew a domain.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of the domain.context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
transferOutWithResponseAsync
Mono<com.azure.core.http.rest.Response<DomainInner>> transferOutWithResponseAsync(String resourceGroupName, String domainName) Transfer out domain to another registrar.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.- Returns:
- information about a domain along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
transferOutAsync
Transfer out domain to another registrar.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.- Returns:
- information about a domain on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
transferOut
Transfer out domain to another registrar.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.- Returns:
- information about a domain.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
transferOutWithResponse
com.azure.core.http.rest.Response<DomainInner> transferOutWithResponse(String resourceGroupName, String domainName, com.azure.core.util.Context context) Transfer out domain to another registrar.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.domainName
- Name of domain.context
- The context to associate with this operation.- Returns:
- information about a domain along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-