Freigeben über


IotHubDescriptionResource.GetIotHubPrivateEndpointGroupInformationAsync Methode

Definition

Abrufen der angegebenen Private Link-Ressource für den angegebenen IotHub

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateLinkResources/{groupId}
  • Vorgang IdPrivateLinkResources_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotHub.IotHubPrivateEndpointGroupInformationResource>> GetIotHubPrivateEndpointGroupInformationAsync (string groupId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIotHubPrivateEndpointGroupInformationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotHub.IotHubPrivateEndpointGroupInformationResource>>
override this.GetIotHubPrivateEndpointGroupInformationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotHub.IotHubPrivateEndpointGroupInformationResource>>
Public Overridable Function GetIotHubPrivateEndpointGroupInformationAsync (groupId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IotHubPrivateEndpointGroupInformationResource))

Parameter

groupId
String

Der Name der Private Link-Ressource.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

groupId ist NULL.

Gilt für: