Freigeben über


IotHubDescriptionResource.GetIotHubPrivateEndpointConnection Methode

Definition

Abrufen von Verbindungseigenschaften für private Endpunkte

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

Parameter

privateEndpointConnectionName
String

Der Name der privaten Endpunktverbindung.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

privateEndpointConnectionName ist NULL.

Gilt für: