WidgetTypes Interface

public interface WidgetTypes

Resource collection API of WidgetTypes.

Method Summary

Modifier and Type Method and Description
abstract WidgetTypeResourceFormat get(String resourceGroupName, String hubName, String widgetTypeName)

Gets a widget type in the specified hub.

abstract Response<WidgetTypeResourceFormat> getWithResponse(String resourceGroupName, String hubName, String widgetTypeName, Context context)

Gets a widget type in the specified hub.

abstract PagedIterable<WidgetTypeResourceFormat> listByHub(String resourceGroupName, String hubName)

Gets all available widget types in the specified hub.

abstract PagedIterable<WidgetTypeResourceFormat> listByHub(String resourceGroupName, String hubName, Context context)

Gets all available widget types in the specified hub.

Method Details

get

public abstract WidgetTypeResourceFormat 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.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String hubName, String widgetTypeName, 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<T>.

listByHub

public abstract PagedIterable 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<T>.

listByHub

public abstract PagedIterable listByHub(String resourceGroupName, String hubName, 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<T>.

Applies to

Azure SDK for Java

Preview