次の方法で共有


PartnerNamespaceResource.GetPartnerNamespacePrivateLinkResource メソッド

定義

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

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

パラメーター

privateLinkResourceName
String

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

cancellationToken
CancellationToken

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

戻り値

例外

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

privateLinkResourceName が null です。

適用対象