Interface DomainsDomainsClient


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

    • listDomainAsync

      com.azure.core.http.rest.PagedFlux<MicrosoftGraphDomainInner> listDomainAsync(Integer top, Integer skip, String search, String filter, Boolean count, List<Get5ItemsItem> orderby, List<Get6ItemsItem> select, List<Get7ItemsItem> expand)
      Get entities from domains.
      Parameters:
      top - Show only the first n items.
      skip - Skip the first n items.
      search - Search items by search phrases.
      filter - Filter items by property values.
      count - Include count of items.
      orderby - Order items by property values.
      select - Select properties to be returned.
      expand - Expand related entities.
      Returns:
      entities from domains as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      OdataErrorMainException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listDomainAsync

      com.azure.core.http.rest.PagedFlux<MicrosoftGraphDomainInner> listDomainAsync()
      Get entities from domains.
      Returns:
      entities from domains as paginated response with PagedFlux.
      Throws:
      OdataErrorMainException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listDomain

      com.azure.core.http.rest.PagedIterable<MicrosoftGraphDomainInner> listDomain()
      Get entities from domains.
      Returns:
      entities from domains as paginated response with PagedIterable.
      Throws:
      OdataErrorMainException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listDomain

      com.azure.core.http.rest.PagedIterable<MicrosoftGraphDomainInner> listDomain(Integer top, Integer skip, String search, String filter, Boolean count, List<Get5ItemsItem> orderby, List<Get6ItemsItem> select, List<Get7ItemsItem> expand, com.azure.core.util.Context context)
      Get entities from domains.
      Parameters:
      top - Show only the first n items.
      skip - Skip the first n items.
      search - Search items by search phrases.
      filter - Filter items by property values.
      count - Include count of items.
      orderby - Order items by property values.
      select - Select properties to be returned.
      expand - Expand related entities.
      context - The context to associate with this operation.
      Returns:
      entities from domains as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      OdataErrorMainException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createDomainWithResponseAsync

      Mono<com.azure.core.http.rest.Response<MicrosoftGraphDomainInner>> createDomainWithResponseAsync(MicrosoftGraphDomainInner body)
      Add new entity to domains.
      Parameters:
      body - New entity.
      Returns:
      domain along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      OdataErrorMainException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createDomainAsync

      Add new entity to domains.
      Parameters:
      body - New entity.
      Returns:
      domain on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      OdataErrorMainException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createDomainWithResponse

      com.azure.core.http.rest.Response<MicrosoftGraphDomainInner> createDomainWithResponse(MicrosoftGraphDomainInner body, com.azure.core.util.Context context)
      Add new entity to domains.
      Parameters:
      body - New entity.
      context - The context to associate with this operation.
      Returns:
      domain along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      OdataErrorMainException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createDomain

      Add new entity to domains.
      Parameters:
      body - New entity.
      Returns:
      domain.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      OdataErrorMainException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getDomainWithResponseAsync

      Mono<com.azure.core.http.rest.Response<MicrosoftGraphDomainInner>> getDomainWithResponseAsync(String domainId, List<Get1ItemsItem> select, List<Get2ItemsItem> expand)
      Get entity from domains by key.
      Parameters:
      domainId - key: id of domain.
      select - Select properties to be returned.
      expand - Expand related entities.
      Returns:
      entity from domains by key along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      OdataErrorMainException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getDomainAsync

      Mono<MicrosoftGraphDomainInner> getDomainAsync(String domainId)
      Get entity from domains by key.
      Parameters:
      domainId - key: id of domain.
      Returns:
      entity from domains by key on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      OdataErrorMainException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getDomainWithResponse

      com.azure.core.http.rest.Response<MicrosoftGraphDomainInner> getDomainWithResponse(String domainId, List<Get1ItemsItem> select, List<Get2ItemsItem> expand, com.azure.core.util.Context context)
      Get entity from domains by key.
      Parameters:
      domainId - key: id of domain.
      select - Select properties to be returned.
      expand - Expand related entities.
      context - The context to associate with this operation.
      Returns:
      entity from domains by key along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      OdataErrorMainException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getDomain

      MicrosoftGraphDomainInner getDomain(String domainId)
      Get entity from domains by key.
      Parameters:
      domainId - key: id of domain.
      Returns:
      entity from domains by key.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      OdataErrorMainException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateDomainWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> updateDomainWithResponseAsync(String domainId, MicrosoftGraphDomainInner body)
      Update entity in domains.
      Parameters:
      domainId - key: id of domain.
      body - New property values.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      OdataErrorMainException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateDomainAsync

      Mono<Void> updateDomainAsync(String domainId, MicrosoftGraphDomainInner body)
      Update entity in domains.
      Parameters:
      domainId - key: id of domain.
      body - New property values.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      OdataErrorMainException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateDomainWithResponse

      com.azure.core.http.rest.Response<Void> updateDomainWithResponse(String domainId, MicrosoftGraphDomainInner body, com.azure.core.util.Context context)
      Update entity in domains.
      Parameters:
      domainId - key: id of domain.
      body - New property values.
      context - The context to associate with this operation.
      Returns:
      the Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      OdataErrorMainException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateDomain

      void updateDomain(String domainId, MicrosoftGraphDomainInner body)
      Update entity in domains.
      Parameters:
      domainId - key: id of domain.
      body - New property values.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      OdataErrorMainException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteDomainWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> deleteDomainWithResponseAsync(String domainId, String ifMatch)
      Delete entity from domains.
      Parameters:
      domainId - key: id of domain.
      ifMatch - ETag.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      OdataErrorMainException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteDomainAsync

      Mono<Void> deleteDomainAsync(String domainId)
      Delete entity from domains.
      Parameters:
      domainId - key: id of domain.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      OdataErrorMainException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteDomainWithResponse

      com.azure.core.http.rest.Response<Void> deleteDomainWithResponse(String domainId, String ifMatch, com.azure.core.util.Context context)
      Delete entity from domains.
      Parameters:
      domainId - key: id of domain.
      ifMatch - ETag.
      context - The context to associate with this operation.
      Returns:
      the Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      OdataErrorMainException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteDomain

      void deleteDomain(String domainId)
      Delete entity from domains.
      Parameters:
      domainId - key: id of domain.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      OdataErrorMainException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.