次の方法で共有


ManagedInstancePrivateEndpointConnectionCollection.GetIfExists メソッド

定義

サービスからこのリソースの詳細を取得しようとします。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • 操作IdManagedInstancePrivateEndpointConnections_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstancePrivateEndpointConnectionResource> GetIfExists (string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstancePrivateEndpointConnectionResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstancePrivateEndpointConnectionResource>
Public Overridable Function GetIfExists (privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of ManagedInstancePrivateEndpointConnectionResource)

パラメーター

privateEndpointConnectionName
String

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

cancellationToken
CancellationToken

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

戻り値

例外

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

privateEndpointConnectionName が null です。

適用対象