Interface WidgetTypes
public interface WidgetTypes
Resource collection API of WidgetTypes.
-
Method Summary
Modifier and TypeMethodDescriptionGets a widget type in the specified hub.com.azure.core.http.rest.Response<WidgetTypeResourceFormat>
getWithResponse
(String resourceGroupName, String hubName, String widgetTypeName, com.azure.core.util.Context context) Gets a widget type in the specified hub.com.azure.core.http.rest.PagedIterable<WidgetTypeResourceFormat>
Gets all available widget types in the specified hub.com.azure.core.http.rest.PagedIterable<WidgetTypeResourceFormat>
Gets all available widget types in the specified hub.
-
Method Details
-
listByHub
com.azure.core.http.rest.PagedIterable<WidgetTypeResourceFormat> 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<WidgetTypeResourceFormat> 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<WidgetTypeResourceFormat> 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
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.
-