Interface TopLevelDomainsClient
-
public interface TopLevelDomainsClientAn instance of this class provides access to all the operations defined in TopLevelDomainsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TopLevelDomainInnerget(String name)Description for Get details of a top-level domain.Mono<TopLevelDomainInner>getAsync(String name)Description for Get details of a top-level domain.com.azure.core.http.rest.Response<TopLevelDomainInner>getWithResponse(String name, com.azure.core.util.Context context)Description for Get details of a top-level domain.Mono<com.azure.core.http.rest.Response<TopLevelDomainInner>>getWithResponseAsync(String name)Description for Get details of a top-level domain.com.azure.core.http.rest.PagedIterable<TopLevelDomainInner>list()Description for Get all top-level domains supported for registration.com.azure.core.http.rest.PagedIterable<TopLevelDomainInner>list(com.azure.core.util.Context context)Description for Get all top-level domains supported for registration.com.azure.core.http.rest.PagedIterable<TldLegalAgreementInner>listAgreements(String name, TopLevelDomainAgreementOption agreementOption)Description for Gets all legal agreements that user needs to accept before purchasing a domain.com.azure.core.http.rest.PagedIterable<TldLegalAgreementInner>listAgreements(String name, TopLevelDomainAgreementOption agreementOption, com.azure.core.util.Context context)Description for Gets all legal agreements that user needs to accept before purchasing a domain.com.azure.core.http.rest.PagedFlux<TldLegalAgreementInner>listAgreementsAsync(String name, TopLevelDomainAgreementOption agreementOption)Description for Gets all legal agreements that user needs to accept before purchasing a domain.com.azure.core.http.rest.PagedFlux<TopLevelDomainInner>listAsync()Description for Get all top-level domains supported for registration.
-
-
-
Method Detail
-
listAsync
com.azure.core.http.rest.PagedFlux<TopLevelDomainInner> listAsync()
Description for Get all top-level domains supported for registration.- Returns:
- collection of Top-level domains.
- 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<TopLevelDomainInner> list()
Description for Get all top-level domains supported for registration.- Returns:
- collection of Top-level domains.
- 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<TopLevelDomainInner> list(com.azure.core.util.Context context)
Description for Get all top-level domains supported for registration.- Parameters:
context- The context to associate with this operation.- Returns:
- collection of Top-level domains.
- 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<TopLevelDomainInner>> getWithResponseAsync(String name)
Description for Get details of a top-level domain.- Parameters:
name- Name of the top-level domain.- Returns:
- a top level domain object.
- 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.
-
getAsync
Mono<TopLevelDomainInner> getAsync(String name)
Description for Get details of a top-level domain.- Parameters:
name- Name of the top-level domain.- Returns:
- a top level domain object.
- 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.
-
get
TopLevelDomainInner get(String name)
Description for Get details of a top-level domain.- Parameters:
name- Name of the top-level domain.- Returns:
- a top level domain object.
- 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.
-
getWithResponse
com.azure.core.http.rest.Response<TopLevelDomainInner> getWithResponse(String name, com.azure.core.util.Context context)
Description for Get details of a top-level domain.- Parameters:
name- Name of the top-level domain.context- The context to associate with this operation.- Returns:
- a top level domain object.
- 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.
-
listAgreementsAsync
com.azure.core.http.rest.PagedFlux<TldLegalAgreementInner> listAgreementsAsync(String name, TopLevelDomainAgreementOption agreementOption)
Description for Gets all legal agreements that user needs to accept before purchasing a domain.- Parameters:
name- Name of the top-level domain.agreementOption- Domain agreement options.- Returns:
- collection of top-level domain legal agreements.
- 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.
-
listAgreements
com.azure.core.http.rest.PagedIterable<TldLegalAgreementInner> listAgreements(String name, TopLevelDomainAgreementOption agreementOption)
Description for Gets all legal agreements that user needs to accept before purchasing a domain.- Parameters:
name- Name of the top-level domain.agreementOption- Domain agreement options.- Returns:
- collection of top-level domain legal agreements.
- 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.
-
listAgreements
com.azure.core.http.rest.PagedIterable<TldLegalAgreementInner> listAgreements(String name, TopLevelDomainAgreementOption agreementOption, com.azure.core.util.Context context)
Description for Gets all legal agreements that user needs to accept before purchasing a domain.- Parameters:
name- Name of the top-level domain.agreementOption- Domain agreement options.context- The context to associate with this operation.- Returns:
- collection of top-level domain legal agreements.
- 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.
-
-