次の方法で共有


CosmosDBForPostgreSqlPrivateEndpointConnectionCollection.GetIfExists メソッド

定義

サービスからこのリソースの詳細の取得を試みます。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}
  • 操作IdPrivateEndpointConnections_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlPrivateEndpointConnectionResource> GetIfExists (string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlPrivateEndpointConnectionResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlPrivateEndpointConnectionResource>
Public Overridable Function GetIfExists (privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of CosmosDBForPostgreSqlPrivateEndpointConnectionResource)

パラメーター

privateEndpointConnectionName
String

クラスターに関連付けられているプライベート エンドポイント接続の名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

privateEndpointConnectionName が null です。

適用対象