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

LinkedServices interface

表示 LinkedServices 的接口。

方法

createOrUpdate(string, string, string, LinkedServiceResource, LinkedServicesCreateOrUpdateOptionalParams)

创建或更新链接服务。

delete(string, string, string, LinkedServicesDeleteOptionalParams)

删除链接服务。

get(string, string, string, LinkedServicesGetOptionalParams)

获取链接服务。

listByFactory(string, string, LinkedServicesListByFactoryOptionalParams)

列出链接的服务。

方法详细信息

createOrUpdate(string, string, string, LinkedServiceResource, LinkedServicesCreateOrUpdateOptionalParams)

创建或更新链接服务。

function createOrUpdate(resourceGroupName: string, factoryName: string, linkedServiceName: string, linkedService: LinkedServiceResource, options?: LinkedServicesCreateOrUpdateOptionalParams): Promise<LinkedServiceResource>

参数

resourceGroupName

string

资源组名称。

factoryName

string

工厂名称。

linkedServiceName

string

链接服务名称。

linkedService
LinkedServiceResource

链接服务资源定义。

返回

delete(string, string, string, LinkedServicesDeleteOptionalParams)

删除链接服务。

function delete(resourceGroupName: string, factoryName: string, linkedServiceName: string, options?: LinkedServicesDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

资源组名称。

factoryName

string

工厂名称。

linkedServiceName

string

链接服务名称。

options
LinkedServicesDeleteOptionalParams

选项参数。

返回

Promise<void>

get(string, string, string, LinkedServicesGetOptionalParams)

获取链接服务。

function get(resourceGroupName: string, factoryName: string, linkedServiceName: string, options?: LinkedServicesGetOptionalParams): Promise<LinkedServiceResource>

参数

resourceGroupName

string

资源组名称。

factoryName

string

工厂名称。

linkedServiceName

string

链接服务名称。

options
LinkedServicesGetOptionalParams

选项参数。

返回

listByFactory(string, string, LinkedServicesListByFactoryOptionalParams)

列出链接的服务。

function listByFactory(resourceGroupName: string, factoryName: string, options?: LinkedServicesListByFactoryOptionalParams): PagedAsyncIterableIterator<LinkedServiceResource, LinkedServiceResource[], PageSettings>

参数

resourceGroupName

string

资源组名称。

factoryName

string

工厂名称。

返回