Freigeben über


IotCentralPrivateLinkResourceCollection.GetAsync Methode

Definition

Rufen Sie eine Private Link-Ressource einer IoT Central-Anwendung ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps/{resourceName}/privateLinkResources/{groupId}
  • Vorgangs-IdPrivateLinks_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotCentral.IotCentralPrivateLinkResource>> GetAsync (string groupId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotCentral.IotCentralPrivateLinkResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotCentral.IotCentralPrivateLinkResource>>
Public Overridable Function GetAsync (groupId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IotCentralPrivateLinkResource))

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: