你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
LinkedServices interface
表示 LinkedServices 的接口。
方法
方法详细信息
beginCreateOrUpdate(string, string, string, LinkedService, LinkedServicesCreateOrUpdateOptionalParams)
创建或更新链接服务。
function beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, linkedServiceName: string, parameters: LinkedService, options?: LinkedServicesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<LinkedService>, LinkedService>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- workspaceName
-
string
工作区的名称。
- linkedServiceName
-
string
linkedServices 资源的名称
- parameters
- LinkedService
创建或更新链接服务所需的参数。
选项参数。
返回
Promise<PollerLike<@azure/core-lro.PollOperationState<LinkedService>, LinkedService>>
beginCreateOrUpdateAndWait(string, string, string, LinkedService, LinkedServicesCreateOrUpdateOptionalParams)
创建或更新链接服务。
function beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, linkedServiceName: string, parameters: LinkedService, options?: LinkedServicesCreateOrUpdateOptionalParams): Promise<LinkedService>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- workspaceName
-
string
工作区的名称。
- linkedServiceName
-
string
linkedServices 资源的名称
- parameters
- LinkedService
创建或更新链接服务所需的参数。
选项参数。
返回
Promise<LinkedService>
beginDelete(string, string, string, LinkedServicesDeleteOptionalParams)
删除链接服务实例。
function beginDelete(resourceGroupName: string, workspaceName: string, linkedServiceName: string, options?: LinkedServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<LinkedService>, LinkedService>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- workspaceName
-
string
工作区的名称。
- linkedServiceName
-
string
链接服务的名称。
选项参数。
返回
Promise<PollerLike<@azure/core-lro.PollOperationState<LinkedService>, LinkedService>>
beginDeleteAndWait(string, string, string, LinkedServicesDeleteOptionalParams)
删除链接服务实例。
function beginDeleteAndWait(resourceGroupName: string, workspaceName: string, linkedServiceName: string, options?: LinkedServicesDeleteOptionalParams): Promise<LinkedService>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- workspaceName
-
string
工作区的名称。
- linkedServiceName
-
string
链接服务的名称。
选项参数。
返回
Promise<LinkedService>
get(string, string, string, LinkedServicesGetOptionalParams)
获取链接服务实例。
function get(resourceGroupName: string, workspaceName: string, linkedServiceName: string, options?: LinkedServicesGetOptionalParams): Promise<LinkedService>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- workspaceName
-
string
工作区的名称。
- linkedServiceName
-
string
链接服务的名称。
- options
- LinkedServicesGetOptionalParams
选项参数。
返回
Promise<LinkedService>
listByWorkspace(string, string, LinkedServicesListByWorkspaceOptionalParams)
获取工作区中的链接服务实例。
function listByWorkspace(resourceGroupName: string, workspaceName: string, options?: LinkedServicesListByWorkspaceOptionalParams): PagedAsyncIterableIterator<LinkedService, LinkedService[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- workspaceName
-
string
工作区的名称。
选项参数。