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

ServerEndpoints interface

表示 ServerEndpoints 的接口。

方法

beginCreate(string, string, string, string, ServerEndpointCreateParameters, ServerEndpointsCreateOptionalParams)

创建新的 ServerEndpoint。

beginCreateAndWait(string, string, string, string, ServerEndpointCreateParameters, ServerEndpointsCreateOptionalParams)

创建新的 ServerEndpoint。

beginDelete(string, string, string, string, ServerEndpointsDeleteOptionalParams)

删除给定的 ServerEndpoint。

beginDeleteAndWait(string, string, string, string, ServerEndpointsDeleteOptionalParams)

删除给定的 ServerEndpoint。

beginRecallAction(string, string, string, string, RecallActionParameters, ServerEndpointsRecallActionOptionalParams)

召回服务器终结点。

beginRecallActionAndWait(string, string, string, string, RecallActionParameters, ServerEndpointsRecallActionOptionalParams)

召回服务器终结点。

beginUpdate(string, string, string, string, ServerEndpointsUpdateOptionalParams)

修补给定的 ServerEndpoint。

beginUpdateAndWait(string, string, string, string, ServerEndpointsUpdateOptionalParams)

修补给定的 ServerEndpoint。

get(string, string, string, string, ServerEndpointsGetOptionalParams)

获取 ServerEndpoint。

listBySyncGroup(string, string, string, ServerEndpointsListBySyncGroupOptionalParams)

获取 ServerEndpoint 列表。

方法详细信息

beginCreate(string, string, string, string, ServerEndpointCreateParameters, ServerEndpointsCreateOptionalParams)

创建新的 ServerEndpoint。

function beginCreate(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, parameters: ServerEndpointCreateParameters, options?: ServerEndpointsCreateOptionalParams): Promise<PollerLike<PollOperationState<ServerEndpointsCreateResponse>, ServerEndpointsCreateResponse>>

参数

resourceGroupName

string

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

storageSyncServiceName

string

存储同步服务资源的名称。

syncGroupName

string

同步组资源的名称。

serverEndpointName

string

服务器终结点对象的名称。

parameters
ServerEndpointCreateParameters

服务器终结点对象的正文。

options
ServerEndpointsCreateOptionalParams

选项参数。

返回

Promise<PollerLike<@azure/core-lro.PollOperationState<ServerEndpointsCreateResponse>, ServerEndpointsCreateResponse>>

beginCreateAndWait(string, string, string, string, ServerEndpointCreateParameters, ServerEndpointsCreateOptionalParams)

创建新的 ServerEndpoint。

function beginCreateAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, parameters: ServerEndpointCreateParameters, options?: ServerEndpointsCreateOptionalParams): Promise<ServerEndpointsCreateResponse>

参数

resourceGroupName

string

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

storageSyncServiceName

string

存储同步服务资源的名称。

syncGroupName

string

同步组资源的名称。

serverEndpointName

string

服务器终结点对象的名称。

parameters
ServerEndpointCreateParameters

服务器终结点对象的正文。

options
ServerEndpointsCreateOptionalParams

选项参数。

返回

beginDelete(string, string, string, string, ServerEndpointsDeleteOptionalParams)

删除给定的 ServerEndpoint。

function beginDelete(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, options?: ServerEndpointsDeleteOptionalParams): Promise<PollerLike<PollOperationState<ServerEndpointsDeleteHeaders>, ServerEndpointsDeleteHeaders>>

参数

resourceGroupName

string

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

storageSyncServiceName

string

存储同步服务资源的名称。

syncGroupName

string

同步组资源的名称。

serverEndpointName

string

服务器终结点对象的名称。

options
ServerEndpointsDeleteOptionalParams

选项参数。

返回

Promise<PollerLike<@azure/core-lro.PollOperationState<ServerEndpointsDeleteHeaders>, ServerEndpointsDeleteHeaders>>

beginDeleteAndWait(string, string, string, string, ServerEndpointsDeleteOptionalParams)

删除给定的 ServerEndpoint。

function beginDeleteAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, options?: ServerEndpointsDeleteOptionalParams): Promise<ServerEndpointsDeleteHeaders>

参数

resourceGroupName

string

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

storageSyncServiceName

string

存储同步服务资源的名称。

syncGroupName

string

同步组资源的名称。

serverEndpointName

string

服务器终结点对象的名称。

options
ServerEndpointsDeleteOptionalParams

选项参数。

返回

beginRecallAction(string, string, string, string, RecallActionParameters, ServerEndpointsRecallActionOptionalParams)

召回服务器终结点。

function beginRecallAction(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, parameters: RecallActionParameters, options?: ServerEndpointsRecallActionOptionalParams): Promise<PollerLike<PollOperationState<ServerEndpointsRecallActionHeaders>, ServerEndpointsRecallActionHeaders>>

参数

resourceGroupName

string

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

storageSyncServiceName

string

存储同步服务资源的名称。

syncGroupName

string

同步组资源的名称。

serverEndpointName

string

服务器终结点对象的名称。

parameters
RecallActionParameters

召回操作对象的正文。

返回

beginRecallActionAndWait(string, string, string, string, RecallActionParameters, ServerEndpointsRecallActionOptionalParams)

召回服务器终结点。

function beginRecallActionAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, parameters: RecallActionParameters, options?: ServerEndpointsRecallActionOptionalParams): Promise<ServerEndpointsRecallActionHeaders>

参数

resourceGroupName

string

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

storageSyncServiceName

string

存储同步服务资源的名称。

syncGroupName

string

同步组资源的名称。

serverEndpointName

string

服务器终结点对象的名称。

parameters
RecallActionParameters

召回操作对象的正文。

返回

beginUpdate(string, string, string, string, ServerEndpointsUpdateOptionalParams)

修补给定的 ServerEndpoint。

function beginUpdate(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, options?: ServerEndpointsUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServerEndpointsUpdateResponse>, ServerEndpointsUpdateResponse>>

参数

resourceGroupName

string

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

storageSyncServiceName

string

存储同步服务资源的名称。

syncGroupName

string

同步组资源的名称。

serverEndpointName

string

服务器终结点对象的名称。

options
ServerEndpointsUpdateOptionalParams

选项参数。

返回

Promise<PollerLike<@azure/core-lro.PollOperationState<ServerEndpointsUpdateResponse>, ServerEndpointsUpdateResponse>>

beginUpdateAndWait(string, string, string, string, ServerEndpointsUpdateOptionalParams)

修补给定的 ServerEndpoint。

function beginUpdateAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, options?: ServerEndpointsUpdateOptionalParams): Promise<ServerEndpointsUpdateResponse>

参数

resourceGroupName

string

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

storageSyncServiceName

string

存储同步服务资源的名称。

syncGroupName

string

同步组资源的名称。

serverEndpointName

string

服务器终结点对象的名称。

options
ServerEndpointsUpdateOptionalParams

选项参数。

返回

get(string, string, string, string, ServerEndpointsGetOptionalParams)

获取 ServerEndpoint。

function get(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, options?: ServerEndpointsGetOptionalParams): Promise<ServerEndpointsGetResponse>

参数

resourceGroupName

string

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

storageSyncServiceName

string

存储同步服务资源的名称。

syncGroupName

string

同步组资源的名称。

serverEndpointName

string

服务器终结点对象的名称。

options
ServerEndpointsGetOptionalParams

选项参数。

返回

listBySyncGroup(string, string, string, ServerEndpointsListBySyncGroupOptionalParams)

获取 ServerEndpoint 列表。

function listBySyncGroup(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, options?: ServerEndpointsListBySyncGroupOptionalParams): PagedAsyncIterableIterator<ServerEndpoint, ServerEndpoint[], PageSettings>

参数

resourceGroupName

string

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

storageSyncServiceName

string

存储同步服务资源的名称。

syncGroupName

string

同步组资源的名称。

返回