你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SynapseWorkspaceResource.GetSynapseWorkspacePrivateLinkResourceAsync 方法

定义

获取工作区中的专用链接资源

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/privateLinkResources/{privateLinkResourceName}
  • 操作IdPrivateLinkResources_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseWorkspacePrivateLinkResource>> GetSynapseWorkspacePrivateLinkResourceAsync (string privateLinkResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSynapseWorkspacePrivateLinkResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseWorkspacePrivateLinkResource>>
override this.GetSynapseWorkspacePrivateLinkResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseWorkspacePrivateLinkResource>>
Public Overridable Function GetSynapseWorkspacePrivateLinkResourceAsync (privateLinkResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SynapseWorkspacePrivateLinkResource))

参数

privateLinkResourceName
String

专用链接资源的名称。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

privateLinkResourceName 是一个空字符串,预期为非空。

privateLinkResourceName 为 null。

适用于