次の方法で共有


PartnerNamespacePrivateLinkResourceCollection.GetAsync メソッド

定義

プライベート リンク リソースのプロパティを取得します。

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

パラメーター

privateLinkResourceName
String

プライベート リンク リソースの名前は、トピック、ドメイン、partnerNamespace、または名前空間のいずれかになります。

cancellationToken
CancellationToken

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

戻り値

例外

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

privateLinkResourceName が null です。

適用対象