共用方式為


Solutions class

代表解決方案的類別。

建構函式

Solutions(OperationsManagementClientContext)

建立方案。

方法

beginCreateOrUpdate(string, string, Solution, RequestOptionsBase)

建立或更新方案。

beginDeleteMethod(string, string, RequestOptionsBase)

刪除訂用帳戶中的解決方案。

beginUpdate(string, string, SolutionPatch, RequestOptionsBase)

修補解決方案。 只更新支援的標記。

createOrUpdate(string, string, Solution, RequestOptionsBase)

建立或更新方案。

deleteMethod(string, string, RequestOptionsBase)

刪除訂用帳戶中的解決方案。

get(string, string, RequestOptionsBase)

擷取使用者方案。

get(string, string, RequestOptionsBase, ServiceCallback<Solution>)
get(string, string, ServiceCallback<Solution>)
listByResourceGroup(string, RequestOptionsBase)

擷取方案清單。 它會同時擷取第一方和協力廠商解決方案

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<SolutionPropertiesList>)
listByResourceGroup(string, ServiceCallback<SolutionPropertiesList>)
listBySubscription(RequestOptionsBase)

擷取方案清單。 它會同時擷取第一方和協力廠商解決方案

listBySubscription(RequestOptionsBase, ServiceCallback<SolutionPropertiesList>)
listBySubscription(ServiceCallback<SolutionPropertiesList>)
update(string, string, SolutionPatch, RequestOptionsBase)

修補解決方案。 只更新支援的標記。

建構函式詳細資料

Solutions(OperationsManagementClientContext)

建立方案。

new Solutions(client: OperationsManagementClientContext)

參數

client
OperationsManagementClientContext

服務用戶端的參考。

方法詳細資料

beginCreateOrUpdate(string, string, Solution, RequestOptionsBase)

建立或更新方案。

function beginCreateOrUpdate(resourceGroupName: string, solutionName: string, parameters: Solution, options?: RequestOptionsBase): Promise<LROPoller>

參數

resourceGroupName

string

要取得的資源群組名稱。 名稱不區分大小寫。

solutionName

string

使用者解決方案名稱。

parameters
Solution

建立 OMS 解決方案所需的參數。

options
RequestOptionsBase

選擇性參數

傳回

Promise<@azure/ms-rest-azure-js.LROPoller>

Promise < msRestAzure.LROPoller>

beginDeleteMethod(string, string, RequestOptionsBase)

刪除訂用帳戶中的解決方案。

function beginDeleteMethod(resourceGroupName: string, solutionName: string, options?: RequestOptionsBase): Promise<LROPoller>

參數

resourceGroupName

string

要取得的資源群組名稱。 名稱不區分大小寫。

solutionName

string

使用者解決方案名稱。

options
RequestOptionsBase

選擇性參數

傳回

Promise<@azure/ms-rest-azure-js.LROPoller>

Promise < msRestAzure.LROPoller>

beginUpdate(string, string, SolutionPatch, RequestOptionsBase)

修補解決方案。 只更新支援的標記。

function beginUpdate(resourceGroupName: string, solutionName: string, parameters: SolutionPatch, options?: RequestOptionsBase): Promise<LROPoller>

參數

resourceGroupName

string

要取得的資源群組名稱。 名稱不區分大小寫。

solutionName

string

使用者解決方案名稱。

parameters
SolutionPatch

修補方案所需的參數。

options
RequestOptionsBase

選擇性參數

傳回

Promise<@azure/ms-rest-azure-js.LROPoller>

Promise < msRestAzure.LROPoller>

createOrUpdate(string, string, Solution, RequestOptionsBase)

建立或更新方案。

function createOrUpdate(resourceGroupName: string, solutionName: string, parameters: Solution, options?: RequestOptionsBase): Promise<SolutionsCreateOrUpdateResponse>

參數

resourceGroupName

string

要取得的資源群組名稱。 名稱不區分大小寫。

solutionName

string

使用者解決方案名稱。

parameters
Solution

建立 OMS 解決方案所需的參數。

options
RequestOptionsBase

選擇性參數

傳回

Promise < Models.SolutionsCreateOrUpdateResponse>

deleteMethod(string, string, RequestOptionsBase)

刪除訂用帳戶中的解決方案。

function deleteMethod(resourceGroupName: string, solutionName: string, options?: RequestOptionsBase): Promise<RestResponse>

參數

resourceGroupName

string

要取得的資源群組名稱。 名稱不區分大小寫。

solutionName

string

使用者解決方案名稱。

options
RequestOptionsBase

選擇性參數

傳回

Promise<RestResponse>

Promise < msRest.RestResponse>

get(string, string, RequestOptionsBase)

擷取使用者方案。

function get(resourceGroupName: string, solutionName: string, options?: RequestOptionsBase): Promise<SolutionsGetResponse>

參數

resourceGroupName

string

要取得的資源群組名稱。 名稱不區分大小寫。

solutionName

string

使用者解決方案名稱。

options
RequestOptionsBase

選擇性參數

傳回

Promise < Models.SolutionsGetResponse>

get(string, string, RequestOptionsBase, ServiceCallback<Solution>)

function get(resourceGroupName: string, solutionName: string, options: RequestOptionsBase, callback: ServiceCallback<Solution>)

參數

resourceGroupName

string

要取得的資源群組名稱。 名稱不區分大小寫。

solutionName

string

使用者解決方案名稱。

options
RequestOptionsBase

選擇性參數

callback

ServiceCallback<Solution>

回呼

get(string, string, ServiceCallback<Solution>)

function get(resourceGroupName: string, solutionName: string, callback: ServiceCallback<Solution>)

參數

resourceGroupName

string

要取得的資源群組名稱。 名稱不區分大小寫。

solutionName

string

使用者解決方案名稱。

callback

ServiceCallback<Solution>

回呼

listByResourceGroup(string, RequestOptionsBase)

擷取方案清單。 它會同時擷取第一方和協力廠商解決方案

function listByResourceGroup(resourceGroupName: string, options?: RequestOptionsBase): Promise<SolutionsListByResourceGroupResponse>

參數

resourceGroupName

string

要取得的資源群組名稱。 名稱不區分大小寫。

options
RequestOptionsBase

選擇性參數

傳回

Promise < Models.SolutionsListByResourceGroupResponse>

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<SolutionPropertiesList>)

function listByResourceGroup(resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<SolutionPropertiesList>)

參數

resourceGroupName

string

要取得的資源群組名稱。 名稱不區分大小寫。

options
RequestOptionsBase

選擇性參數

listByResourceGroup(string, ServiceCallback<SolutionPropertiesList>)

function listByResourceGroup(resourceGroupName: string, callback: ServiceCallback<SolutionPropertiesList>)

參數

resourceGroupName

string

要取得的資源群組名稱。 名稱不區分大小寫。

listBySubscription(RequestOptionsBase)

擷取方案清單。 它會同時擷取第一方和協力廠商解決方案

function listBySubscription(options?: RequestOptionsBase): Promise<SolutionsListBySubscriptionResponse>

參數

options
RequestOptionsBase

選擇性參數

傳回

Promise < Models.SolutionsListBySubscriptionResponse>

listBySubscription(RequestOptionsBase, ServiceCallback<SolutionPropertiesList>)

function listBySubscription(options: RequestOptionsBase, callback: ServiceCallback<SolutionPropertiesList>)

參數

options
RequestOptionsBase

選擇性參數

listBySubscription(ServiceCallback<SolutionPropertiesList>)

function listBySubscription(callback: ServiceCallback<SolutionPropertiesList>)

參數

update(string, string, SolutionPatch, RequestOptionsBase)

修補解決方案。 只更新支援的標記。

function update(resourceGroupName: string, solutionName: string, parameters: SolutionPatch, options?: RequestOptionsBase): Promise<SolutionsUpdateResponse>

參數

resourceGroupName

string

要取得的資源群組名稱。 名稱不區分大小寫。

solutionName

string

使用者解決方案名稱。

parameters
SolutionPatch

修補方案所需的參數。

options
RequestOptionsBase

選擇性參數

傳回

Promise < Models.SolutionsUpdateResponse>