GlobalParameters interface
表示 GlobalParameters 的介面。
方法
方法詳細資料
createOrUpdate(string, string, string, GlobalParameterResource, GlobalParametersCreateOrUpdateOptionalParams)
建立或更新全局參數
function createOrUpdate(resourceGroupName: string, factoryName: string, globalParameterName: string, defaultParam: GlobalParameterResource, options?: GlobalParametersCreateOrUpdateOptionalParams): Promise<GlobalParameterResource>
參數
- resourceGroupName
-
string
資源組名。
- factoryName
-
string
Factory 名稱。
- globalParameterName
-
string
全域參數名稱。
- defaultParam
- GlobalParameterResource
全域參數資源定義。
選項參數。
傳回
Promise<GlobalParameterResource>
delete(string, string, string, GlobalParametersDeleteOptionalParams)
刪除全域參數
function delete(resourceGroupName: string, factoryName: string, globalParameterName: string, options?: GlobalParametersDeleteOptionalParams): Promise<void>
參數
- resourceGroupName
-
string
資源組名。
- factoryName
-
string
Factory 名稱。
- globalParameterName
-
string
全域參數名稱。
選項參數。
傳回
Promise<void>
get(string, string, string, GlobalParametersGetOptionalParams)
取得全域參數
function get(resourceGroupName: string, factoryName: string, globalParameterName: string, options?: GlobalParametersGetOptionalParams): Promise<GlobalParameterResource>
參數
- resourceGroupName
-
string
資源組名。
- factoryName
-
string
Factory 名稱。
- globalParameterName
-
string
全域參數名稱。
選項參數。
傳回
Promise<GlobalParameterResource>
listByFactory(string, string, GlobalParametersListByFactoryOptionalParams)
列出全域參數
function listByFactory(resourceGroupName: string, factoryName: string, options?: GlobalParametersListByFactoryOptionalParams): PagedAsyncIterableIterator<GlobalParameterResource, GlobalParameterResource[], PageSettings>
參數
- resourceGroupName
-
string
資源組名。
- factoryName
-
string
Factory 名稱。
選項參數。