Interface ServicesClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<SearchServiceInner>, InnerSupportsListing<SearchServiceInner>

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

    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam, UUID clientRequestId)
      Creates or updates a search service in the given resource group. If the search service already exists, all properties will be updated with the given values.
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be globally unique since they are part of the service URI (https://<name>.search.windows.net). You cannot change the service name after the service is created.
      serviceParam - The definition of the search service to create or update.
      clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.
      Returns:
      describes a search service and its current state along with Response 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.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SearchServiceInner>,SearchServiceInner> beginCreateOrUpdateAsync(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam, UUID clientRequestId)
      Creates or updates a search service in the given resource group. If the search service already exists, all properties will be updated with the given values.
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be globally unique since they are part of the service URI (https://<name>.search.windows.net). You cannot change the service name after the service is created.
      serviceParam - The definition of the search service to create or update.
      clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.
      Returns:
      the PollerFlux for polling of describes a search service and its current state.
      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.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SearchServiceInner>,SearchServiceInner> beginCreateOrUpdateAsync(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam)
      Creates or updates a search service in the given resource group. If the search service already exists, all properties will be updated with the given values.
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be globally unique since they are part of the service URI (https://<name>.search.windows.net). You cannot change the service name after the service is created.
      serviceParam - The definition of the search service to create or update.
      Returns:
      the PollerFlux for polling of describes a search service and its current state.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SearchServiceInner>,SearchServiceInner> beginCreateOrUpdate(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam)
      Creates or updates a search service in the given resource group. If the search service already exists, all properties will be updated with the given values.
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be globally unique since they are part of the service URI (https://<name>.search.windows.net). You cannot change the service name after the service is created.
      serviceParam - The definition of the search service to create or update.
      Returns:
      the SyncPoller for polling of describes a search service and its current state.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SearchServiceInner>,SearchServiceInner> beginCreateOrUpdate(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam, UUID clientRequestId, com.azure.core.util.Context context)
      Creates or updates a search service in the given resource group. If the search service already exists, all properties will be updated with the given values.
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be globally unique since they are part of the service URI (https://<name>.search.windows.net). You cannot change the service name after the service is created.
      serviceParam - The definition of the search service to create or update.
      clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of describes a search service and its current state.
      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.
    • createOrUpdateAsync

      Mono<SearchServiceInner> createOrUpdateAsync(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam, UUID clientRequestId)
      Creates or updates a search service in the given resource group. If the search service already exists, all properties will be updated with the given values.
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be globally unique since they are part of the service URI (https://<name>.search.windows.net). You cannot change the service name after the service is created.
      serviceParam - The definition of the search service to create or update.
      clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.
      Returns:
      describes a search service and its current state 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.
    • createOrUpdateAsync

      Mono<SearchServiceInner> createOrUpdateAsync(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam)
      Creates or updates a search service in the given resource group. If the search service already exists, all properties will be updated with the given values.
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be globally unique since they are part of the service URI (https://<name>.search.windows.net). You cannot change the service name after the service is created.
      serviceParam - The definition of the search service to create or update.
      Returns:
      describes a search service and its current state 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.
    • createOrUpdate

      SearchServiceInner createOrUpdate(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam)
      Creates or updates a search service in the given resource group. If the search service already exists, all properties will be updated with the given values.
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be globally unique since they are part of the service URI (https://<name>.search.windows.net). You cannot change the service name after the service is created.
      serviceParam - The definition of the search service to create or update.
      Returns:
      describes a search service and its current state.
      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.
    • createOrUpdate

      SearchServiceInner createOrUpdate(String resourceGroupName, String searchServiceName, SearchServiceInner serviceParam, UUID clientRequestId, com.azure.core.util.Context context)
      Creates or updates a search service in the given resource group. If the search service already exists, all properties will be updated with the given values.
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be globally unique since they are part of the service URI (https://<name>.search.windows.net). You cannot change the service name after the service is created.
      serviceParam - The definition of the search service to create or update.
      clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.
      context - The context to associate with this operation.
      Returns:
      describes a search service and its current state.
      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.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<SearchServiceInner>> updateWithResponseAsync(String resourceGroupName, String searchServiceName, SearchServiceUpdate serviceParam, UUID clientRequestId)
      Updates an existing search service in the given resource group.
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service to update.
      serviceParam - The definition of the search service to update.
      clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.
      Returns:
      describes a search service and its current state along with Response 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.
    • updateAsync

      Mono<SearchServiceInner> updateAsync(String resourceGroupName, String searchServiceName, SearchServiceUpdate serviceParam)
      Updates an existing search service in the given resource group.
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service to update.
      serviceParam - The definition of the search service to update.
      Returns:
      describes a search service and its current state 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.
    • updateWithResponse

      com.azure.core.http.rest.Response<SearchServiceInner> updateWithResponse(String resourceGroupName, String searchServiceName, SearchServiceUpdate serviceParam, UUID clientRequestId, com.azure.core.util.Context context)
      Updates an existing search service in the given resource group.
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service to update.
      serviceParam - The definition of the search service to update.
      clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.
      context - The context to associate with this operation.
      Returns:
      describes a search service and its current state 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.
    • update

      SearchServiceInner update(String resourceGroupName, String searchServiceName, SearchServiceUpdate serviceParam)
      Updates an existing search service in the given resource group.
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service to update.
      serviceParam - The definition of the search service to update.
      Returns:
      describes a search service and its current state.
      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.
    • getByResourceGroupWithResponseAsync

      Mono<com.azure.core.http.rest.Response<SearchServiceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String searchServiceName, UUID clientRequestId)
      Gets the search service with the given name in the given resource group.
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service associated with the specified resource group.
      clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.
      Returns:
      the search service with the given name in the given resource group along with Response 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.
    • getByResourceGroupAsync

      Mono<SearchServiceInner> getByResourceGroupAsync(String resourceGroupName, String searchServiceName)
      Gets the search service with the given name in the given resource group.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<SearchServiceInner>
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service associated with the specified resource group.
      Returns:
      the search service with the given name in the given resource group 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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<SearchServiceInner> getByResourceGroupWithResponse(String resourceGroupName, String searchServiceName, UUID clientRequestId, com.azure.core.util.Context context)
      Gets the search service with the given name in the given resource group.
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service associated with the specified resource group.
      clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.
      context - The context to associate with this operation.
      Returns:
      the search service with the given name in the given resource group 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.
    • getByResourceGroup

      SearchServiceInner getByResourceGroup(String resourceGroupName, String searchServiceName)
      Gets the search service with the given name in the given resource group.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<SearchServiceInner>
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service associated with the specified resource group.
      Returns:
      the search service with the given name in the given resource group.
      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.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String searchServiceName, UUID clientRequestId)
      Deletes a search service in the given resource group, along with its associated resources.
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service associated with the specified resource group.
      clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.
      Returns:
      the Response 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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String searchServiceName)
      Deletes a search service in the given resource group, along with its associated resources.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service associated with the specified resource group.
      Returns:
      A Mono that completes when a successful response is received.
      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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String searchServiceName, UUID clientRequestId, com.azure.core.util.Context context)
      Deletes a search service in the given resource group, along with its associated resources.
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service associated with the specified resource group.
      clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • delete

      void delete(String resourceGroupName, String searchServiceName)
      Deletes a search service in the given resource group, along with its associated resources.
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      searchServiceName - The name of the search service associated with the specified resource group.
      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.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<SearchServiceInner> listByResourceGroupAsync(String resourceGroupName, UUID clientRequestId)
      Gets a list of all Search services in the given resource group.
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.
      Returns:
      a list of all Search services in the given resource group as paginated response with PagedFlux.
      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.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<SearchServiceInner> listByResourceGroupAsync(String resourceGroupName)
      Gets a list of all Search services in the given resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<SearchServiceInner>
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      Returns:
      a list of all Search services in the given resource group as paginated response with PagedFlux.
      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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<SearchServiceInner> listByResourceGroup(String resourceGroupName)
      Gets a list of all Search services in the given resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<SearchServiceInner>
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      Returns:
      a list of all Search services in the given resource group as paginated response with PagedIterable.
      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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<SearchServiceInner> listByResourceGroup(String resourceGroupName, UUID clientRequestId, com.azure.core.util.Context context)
      Gets a list of all Search services in the given resource group.
      Parameters:
      resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
      clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.
      context - The context to associate with this operation.
      Returns:
      a list of all Search services in the given resource group as paginated response with PagedIterable.
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<SearchServiceInner> listAsync(UUID clientRequestId)
      Gets a list of all Search services in the given subscription.
      Parameters:
      clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.
      Returns:
      a list of all Search services in the given subscription as paginated response with PagedFlux.
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<SearchServiceInner> listAsync()
      Gets a list of all Search services in the given subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<SearchServiceInner>
      Returns:
      a list of all Search services in the given subscription as paginated response with PagedFlux.
      Throws:
      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.
    • list

      com.azure.core.http.rest.PagedIterable<SearchServiceInner> list()
      Gets a list of all Search services in the given subscription.
      Specified by:
      list in interface InnerSupportsListing<SearchServiceInner>
      Returns:
      a list of all Search services in the given subscription as paginated response with PagedIterable.
      Throws:
      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.
    • list

      com.azure.core.http.rest.PagedIterable<SearchServiceInner> list(UUID clientRequestId, com.azure.core.util.Context context)
      Gets a list of all Search services in the given subscription.
      Parameters:
      clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.
      context - The context to associate with this operation.
      Returns:
      a list of all Search services in the given subscription as paginated response with PagedIterable.
      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.
    • checkNameAvailabilityWithResponseAsync

      Mono<com.azure.core.http.rest.Response<CheckNameAvailabilityOutput>> checkNameAvailabilityWithResponseAsync(CheckNameAvailabilityInput checkNameAvailabilityInput, UUID clientRequestId)
      Checks whether or not the given search service name is available for use. Search service names must be globally unique since they are part of the service URI (https://<name>.search.windows.net).
      Parameters:
      checkNameAvailabilityInput - The resource name and type to check.
      clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.
      Returns:
      output of check name availability API along with Response 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.
    • checkNameAvailabilityAsync

      Mono<CheckNameAvailabilityOutput> checkNameAvailabilityAsync(CheckNameAvailabilityInput checkNameAvailabilityInput)
      Checks whether or not the given search service name is available for use. Search service names must be globally unique since they are part of the service URI (https://<name>.search.windows.net).
      Parameters:
      checkNameAvailabilityInput - The resource name and type to check.
      Returns:
      output of check name availability API 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.
    • checkNameAvailabilityWithResponse

      com.azure.core.http.rest.Response<CheckNameAvailabilityOutput> checkNameAvailabilityWithResponse(CheckNameAvailabilityInput checkNameAvailabilityInput, UUID clientRequestId, com.azure.core.util.Context context)
      Checks whether or not the given search service name is available for use. Search service names must be globally unique since they are part of the service URI (https://<name>.search.windows.net).
      Parameters:
      checkNameAvailabilityInput - The resource name and type to check.
      clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.
      context - The context to associate with this operation.
      Returns:
      output of check name availability API 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.
    • checkNameAvailability

      CheckNameAvailabilityOutput checkNameAvailability(CheckNameAvailabilityInput checkNameAvailabilityInput)
      Checks whether or not the given search service name is available for use. Search service names must be globally unique since they are part of the service URI (https://<name>.search.windows.net).
      Parameters:
      checkNameAvailabilityInput - The resource name and type to check.
      Returns:
      output of check name availability API.
      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.