WidgetTypeResourceFormatCollection.Get(String, CancellationToken) Method

Definition

Gets a widget type in the specified hub.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/widgetTypes/{widgetTypeName}
  • Operation Id: WidgetTypes_Get
public virtual Azure.Response<Azure.ResourceManager.CustomerInsights.WidgetTypeResourceFormatResource> Get (string widgetTypeName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CustomerInsights.WidgetTypeResourceFormatResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CustomerInsights.WidgetTypeResourceFormatResource>
Public Overridable Function Get (widgetTypeName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of WidgetTypeResourceFormatResource)

Parameters

widgetTypeName
String

The name of the widget type.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

widgetTypeName is an empty string, and was expected to be non-empty.

widgetTypeName is null.

Applies to