Interface WidgetTypesClient


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

    • listByHub

      com.azure.core.http.rest.PagedIterable<WidgetTypeResourceFormatInner> listByHub(String resourceGroupName, String hubName)
      Gets all available widget types in the specified hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      Returns:
      all available widget types in the specified hub 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.
    • listByHub

      com.azure.core.http.rest.PagedIterable<WidgetTypeResourceFormatInner> listByHub(String resourceGroupName, String hubName, com.azure.core.util.Context context)
      Gets all available widget types in the specified hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      context - The context to associate with this operation.
      Returns:
      all available widget types in the specified hub 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.
    • getWithResponse

      com.azure.core.http.rest.Response<WidgetTypeResourceFormatInner> getWithResponse(String resourceGroupName, String hubName, String widgetTypeName, com.azure.core.util.Context context)
      Gets a widget type in the specified hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      widgetTypeName - The name of the widget type.
      context - The context to associate with this operation.
      Returns:
      a widget type in the specified hub 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

      WidgetTypeResourceFormatInner get(String resourceGroupName, String hubName, String widgetTypeName)
      Gets a widget type in the specified hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      widgetTypeName - The name of the widget type.
      Returns:
      a widget type in the specified hub.
      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.