通过


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

WebPubSubReplicaSharedPrivateLinkResources interface

表示 WebPubSubReplicaSharedPrivateLinkResources 的接口。

方法

beginCreateOrUpdate(string, string, string, string, SharedPrivateLinkResource, WebPubSubReplicaSharedPrivateLinkResourcesCreateOrUpdateOptionalParams)

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

beginCreateOrUpdateAndWait(string, string, string, string, SharedPrivateLinkResource, WebPubSubReplicaSharedPrivateLinkResourcesCreateOrUpdateOptionalParams)

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

get(string, string, string, string, WebPubSubReplicaSharedPrivateLinkResourcesGetOptionalParams)

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

list(string, string, string, WebPubSubReplicaSharedPrivateLinkResourcesListOptionalParams)

列出共享专用链接资源

方法详细信息

beginCreateOrUpdate(string, string, string, string, SharedPrivateLinkResource, WebPubSubReplicaSharedPrivateLinkResourcesCreateOrUpdateOptionalParams)

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

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

参数

resourceGroupName

string

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

resourceName

string

资源的名称。

replicaName

string

副本的名称。

sharedPrivateLinkResourceName

string

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

parameters
SharedPrivateLinkResource

共享专用链接资源

返回

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

beginCreateOrUpdateAndWait(string, string, string, string, SharedPrivateLinkResource, WebPubSubReplicaSharedPrivateLinkResourcesCreateOrUpdateOptionalParams)

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

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

参数

resourceGroupName

string

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

resourceName

string

资源的名称。

replicaName

string

副本的名称。

sharedPrivateLinkResourceName

string

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

parameters
SharedPrivateLinkResource

共享专用链接资源

返回

get(string, string, string, string, WebPubSubReplicaSharedPrivateLinkResourcesGetOptionalParams)

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

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

参数

resourceGroupName

string

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

resourceName

string

资源的名称。

replicaName

string

副本的名称。

sharedPrivateLinkResourceName

string

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

返回

list(string, string, string, WebPubSubReplicaSharedPrivateLinkResourcesListOptionalParams)

列出共享专用链接资源

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

参数

resourceGroupName

string

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

resourceName

string

资源的名称。

replicaName

string

副本的名称。

返回