Interface TopLevelDomainsClient


public interface TopLevelDomainsClient
An instance of this class provides access to all the operations defined in TopLevelDomainsClient.
  • Method Details

    • 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 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<TopLevelDomainInner> list()
      Description for Get all top-level domains supported for registration.
      Returns:
      collection of Top-level 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

      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 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.
    • 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 along with Response 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.
    • 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 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.
    • get

      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 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.
    • 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 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.
    • 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 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.
    • 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 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.