次の方法で共有


RelayPrivateLinkResourceCollection.GetAsync(String, CancellationToken) メソッド

定義

指定したプライベート エンドポイント接続名の説明を取得します。

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

パラメーター

privateLinkResourceName
String

PrivateLinkResource 名。

cancellationToken
CancellationToken

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

戻り値

例外

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

privateLinkResourceName が null です。

適用対象