CosmosDBForPostgreSqlClusterResource.GetCosmosDBForPostgreSqlPrivateLinkResourceAsync メソッド

定義

クラスターのプライベート リンク リソースを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/privateLinkResources/{privateLinkResourceName}
  • 操作IdPrivateLinkResources_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlPrivateLinkResource>> GetCosmosDBForPostgreSqlPrivateLinkResourceAsync (string privateLinkResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCosmosDBForPostgreSqlPrivateLinkResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlPrivateLinkResource>>
override this.GetCosmosDBForPostgreSqlPrivateLinkResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlPrivateLinkResource>>
Public Overridable Function GetCosmosDBForPostgreSqlPrivateLinkResourceAsync (privateLinkResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CosmosDBForPostgreSqlPrivateLinkResource))

パラメーター

privateLinkResourceName
String

プライベート リンク リソースの名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

privateLinkResourceName が null です。

適用対象