Freigeben über


CustomerInsightsExtensions.GetHub Methode

Definition

Ruft Informationen zum angegebenen Hub ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}
  • Vorgang IdHubs_Get
public static Azure.Response<Azure.ResourceManager.CustomerInsights.HubResource> GetHub (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string hubName, System.Threading.CancellationToken cancellationToken = default);
static member GetHub : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CustomerInsights.HubResource>
<Extension()>
Public Function GetHub (resourceGroupResource As ResourceGroupResource, hubName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of HubResource)

Parameter

resourceGroupResource
ResourceGroupResource

Der ResourceGroupResource instance, für den die Methode ausgeführt wird.

hubName
String

Der Name des Hubs.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

hubName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

hubName ist NULL.

Gilt für: