WebPubSubReplicaSharedPrivateLinkResources interface
表示 WebPubSubReplicaSharedPrivateLinkResources 的接口。
方法
方法详细信息
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
共享专用链接资源
返回
Promise<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
共享专用链接资源的名称。
返回
Promise<SharedPrivateLinkResource>
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
副本的名称。