次の方法で共有


IotCentralAppResource.GetIotCentralPrivateEndpointConnectionAsync メソッド

定義

IoT Central アプリケーションのプライベート エンドポイント接続のメタデータを取得します。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • 操作IdPrivateEndpointConnections_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotCentral.IotCentralPrivateEndpointConnectionResource>> GetIotCentralPrivateEndpointConnectionAsync (string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIotCentralPrivateEndpointConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotCentral.IotCentralPrivateEndpointConnectionResource>>
override this.GetIotCentralPrivateEndpointConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotCentral.IotCentralPrivateEndpointConnectionResource>>
Public Overridable Function GetIotCentralPrivateEndpointConnectionAsync (privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IotCentralPrivateEndpointConnectionResource))

パラメーター

privateEndpointConnectionName
String

プライベート エンドポイント接続名。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

privateEndpointConnectionName は空の文字列であり、空でないと想定されていました。

privateEndpointConnectionName が null です。

適用対象