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

GlobalParameters interface

表示 GlobalParameters 的接口。

方法

createOrUpdate(string, string, string, GlobalParameterResource, GlobalParametersCreateOrUpdateOptionalParams)

创建或更新全局参数

delete(string, string, string, GlobalParametersDeleteOptionalParams)

删除全局参数

get(string, string, string, GlobalParametersGetOptionalParams)

获取全局参数

listByFactory(string, string, GlobalParametersListByFactoryOptionalParams)

列出全局参数

方法详细信息

createOrUpdate(string, string, string, GlobalParameterResource, GlobalParametersCreateOrUpdateOptionalParams)

创建或更新全局参数

function createOrUpdate(resourceGroupName: string, factoryName: string, globalParameterName: string, defaultParam: GlobalParameterResource, options?: GlobalParametersCreateOrUpdateOptionalParams): Promise<GlobalParameterResource>

参数

resourceGroupName

string

资源组名称。

factoryName

string

工厂名称。

globalParameterName

string

全局参数名称。

defaultParam
GlobalParameterResource

全局参数资源定义。

返回

delete(string, string, string, GlobalParametersDeleteOptionalParams)

删除全局参数

function delete(resourceGroupName: string, factoryName: string, globalParameterName: string, options?: GlobalParametersDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

资源组名称。

factoryName

string

工厂名称。

globalParameterName

string

全局参数名称。

options
GlobalParametersDeleteOptionalParams

选项参数。

返回

Promise<void>

get(string, string, string, GlobalParametersGetOptionalParams)

获取全局参数

function get(resourceGroupName: string, factoryName: string, globalParameterName: string, options?: GlobalParametersGetOptionalParams): Promise<GlobalParameterResource>

参数

resourceGroupName

string

资源组名称。

factoryName

string

工厂名称。

globalParameterName

string

全局参数名称。

options
GlobalParametersGetOptionalParams

选项参数。

返回

listByFactory(string, string, GlobalParametersListByFactoryOptionalParams)

列出全局参数

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

参数

resourceGroupName

string

资源组名称。

factoryName

string

工厂名称。

返回