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

PrivateLinkResources interface

表示 PrivateLinkResources 的接口。

方法

get(string, string, string, string, PrivateLinkResourcesGetOptionalParams)

获取专用链接资源的属性。

listByResource(string, string, string, PrivateLinkResourcesListByResourceOptionalParams)

列出主题、域或合作伙伴命名空间或命名空间下的所有专用链接资源。

方法详细信息

get(string, string, string, string, PrivateLinkResourcesGetOptionalParams)

获取专用链接资源的属性。

function get(resourceGroupName: string, parentType: string, parentName: string, privateLinkResourceName: string, options?: PrivateLinkResourcesGetOptionalParams): Promise<PrivateLinkResource>

参数

resourceGroupName

string

用户订阅中的资源组的名称。

parentType

string

父资源的类型。 这可以是“topics”、“domains”或“partnerNamespaces”或“namespaces”。

parentName

string

父资源的名称(即主题名称、域名或合作伙伴命名空间名称或命名空间名称)。

privateLinkResourceName

string

专用链接资源的名称将是主题、域、partnerNamespace 或命名空间。

options
PrivateLinkResourcesGetOptionalParams

选项参数。

返回

listByResource(string, string, string, PrivateLinkResourcesListByResourceOptionalParams)

列出主题、域或合作伙伴命名空间或命名空间下的所有专用链接资源。

function listByResource(resourceGroupName: string, parentType: string, parentName: string, options?: PrivateLinkResourcesListByResourceOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource, PrivateLinkResource[], PageSettings>

参数

resourceGroupName

string

用户订阅中的资源组的名称。

parentType

string

父资源的类型。 这可以是“topics”、“domains”或“partnerNamespaces”或“namespaces”。

parentName

string

父资源的名称(即主题名称、域名或合作伙伴命名空间或命名空间名称)。

返回