通过


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

WebPubSubSharedPrivateLinkResources interface

表示 WebPubSubSharedPrivateLinkResources 的接口。

方法

beginCreateOrUpdate(string, string, string, SharedPrivateLinkResource, WebPubSubSharedPrivateLinkResourcesCreateOrUpdateOptionalParams)

创建或更新共享专用链接资源

beginCreateOrUpdateAndWait(string, string, string, SharedPrivateLinkResource, WebPubSubSharedPrivateLinkResourcesCreateOrUpdateOptionalParams)

创建或更新共享专用链接资源

beginDelete(string, string, string, WebPubSubSharedPrivateLinkResourcesDeleteOptionalParams)

删除指定的共享专用链接资源

beginDeleteAndWait(string, string, string, WebPubSubSharedPrivateLinkResourcesDeleteOptionalParams)

删除指定的共享专用链接资源

get(string, string, string, WebPubSubSharedPrivateLinkResourcesGetOptionalParams)

获取指定的共享专用链接资源

list(string, string, WebPubSubSharedPrivateLinkResourcesListOptionalParams)

列出共享专用链接资源

方法详细信息

beginCreateOrUpdate(string, string, string, SharedPrivateLinkResource, WebPubSubSharedPrivateLinkResourcesCreateOrUpdateOptionalParams)

创建或更新共享专用链接资源

function beginCreateOrUpdate(sharedPrivateLinkResourceName: string, resourceGroupName: string, resourceName: string, parameters: SharedPrivateLinkResource, options?: WebPubSubSharedPrivateLinkResourcesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SharedPrivateLinkResource>, SharedPrivateLinkResource>>

参数

sharedPrivateLinkResourceName

string

共享专用链接资源的名称。

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

资源的名称。

parameters
SharedPrivateLinkResource

共享专用链接资源

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<SharedPrivateLinkResource>, SharedPrivateLinkResource>>

beginCreateOrUpdateAndWait(string, string, string, SharedPrivateLinkResource, WebPubSubSharedPrivateLinkResourcesCreateOrUpdateOptionalParams)

创建或更新共享专用链接资源

function beginCreateOrUpdateAndWait(sharedPrivateLinkResourceName: string, resourceGroupName: string, resourceName: string, parameters: SharedPrivateLinkResource, options?: WebPubSubSharedPrivateLinkResourcesCreateOrUpdateOptionalParams): Promise<SharedPrivateLinkResource>

参数

sharedPrivateLinkResourceName

string

共享专用链接资源的名称。

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

资源的名称。

parameters
SharedPrivateLinkResource

共享专用链接资源

返回

beginDelete(string, string, string, WebPubSubSharedPrivateLinkResourcesDeleteOptionalParams)

删除指定的共享专用链接资源

function beginDelete(sharedPrivateLinkResourceName: string, resourceGroupName: string, resourceName: string, options?: WebPubSubSharedPrivateLinkResourcesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

参数

sharedPrivateLinkResourceName

string

共享专用链接资源的名称。

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

资源的名称。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, WebPubSubSharedPrivateLinkResourcesDeleteOptionalParams)

删除指定的共享专用链接资源

function beginDeleteAndWait(sharedPrivateLinkResourceName: string, resourceGroupName: string, resourceName: string, options?: WebPubSubSharedPrivateLinkResourcesDeleteOptionalParams): Promise<void>

参数

sharedPrivateLinkResourceName

string

共享专用链接资源的名称。

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

资源的名称。

返回

Promise<void>

get(string, string, string, WebPubSubSharedPrivateLinkResourcesGetOptionalParams)

获取指定的共享专用链接资源

function get(sharedPrivateLinkResourceName: string, resourceGroupName: string, resourceName: string, options?: WebPubSubSharedPrivateLinkResourcesGetOptionalParams): Promise<SharedPrivateLinkResource>

参数

sharedPrivateLinkResourceName

string

共享专用链接资源的名称。

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

资源的名称。

返回

list(string, string, WebPubSubSharedPrivateLinkResourcesListOptionalParams)

列出共享专用链接资源

function list(resourceGroupName: string, resourceName: string, options?: WebPubSubSharedPrivateLinkResourcesListOptionalParams): PagedAsyncIterableIterator<SharedPrivateLinkResource, SharedPrivateLinkResource[], PageSettings>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

资源的名称。

返回