Interface WebCategoriesClient


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

    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<AzureWebCategoryInner>> getWithResponseAsync(String name, String expand)
      Gets the specified Azure Web Category.
      Parameters:
      name - The name of the azureWebCategory.
      expand - Expands resourceIds back referenced by the azureWebCategory resource.
      Returns:
      the specified Azure Web Category 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.
    • getAsync

      Gets the specified Azure Web Category.
      Parameters:
      name - The name of the azureWebCategory.
      Returns:
      the specified Azure Web Category 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.
    • getWithResponse

      com.azure.core.http.rest.Response<AzureWebCategoryInner> getWithResponse(String name, String expand, com.azure.core.util.Context context)
      Gets the specified Azure Web Category.
      Parameters:
      name - The name of the azureWebCategory.
      expand - Expands resourceIds back referenced by the azureWebCategory resource.
      context - The context to associate with this operation.
      Returns:
      the specified Azure Web Category 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.
    • get

      Gets the specified Azure Web Category.
      Parameters:
      name - The name of the azureWebCategory.
      Returns:
      the specified Azure Web Category.
      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<AzureWebCategoryInner> listAsync()
      Gets all the Azure Web Categories in a subscription.
      Returns:
      all the Azure Web Categories in a 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<AzureWebCategoryInner> list()
      Gets all the Azure Web Categories in a subscription.
      Returns:
      all the Azure Web Categories in a 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<AzureWebCategoryInner> list(com.azure.core.util.Context context)
      Gets all the Azure Web Categories in a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      all the Azure Web Categories in a 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.