共用方式為


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>

承諾<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>

承諾<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>

承諾<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

選擇性參數

傳回

承諾<Models.SolutionsCreateOrUpdateResponse>

deleteMethod(string, string, RequestOptionsBase)

刪除訂用帳戶中的方案。

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

參數

resourceGroupName

string

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

solutionName

string

使用者方案名稱。

options
RequestOptionsBase

選擇性參數

傳回

Promise<RestResponse>

承諾<msRest.RestResponse>

get(string, string, RequestOptionsBase)

擷取用戶解決方案。

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

參數

resourceGroupName

string

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

solutionName

string

使用者方案名稱。

options
RequestOptionsBase

選擇性參數

傳回

承諾<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

選擇性參數

傳回

承諾<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

選擇性參數

傳回

承諾<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

選擇性參數

傳回

承諾<Models.SolutionsUpdateResponse>