Solutions class

Class representing a Solutions.

Constructors

Solutions(OperationsManagementClientContext)

Create a Solutions.

Methods

beginCreateOrUpdate(string, string, Solution, RequestOptionsBase)

Creates or updates the Solution.

beginDeleteMethod(string, string, RequestOptionsBase)

Deletes the solution in the subscription.

beginUpdate(string, string, SolutionPatch, RequestOptionsBase)

Patch a Solution. Only updating tags supported.

createOrUpdate(string, string, Solution, RequestOptionsBase)

Creates or updates the Solution.

deleteMethod(string, string, RequestOptionsBase)

Deletes the solution in the subscription.

get(string, string, RequestOptionsBase)

Retrieves the user solution.

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

Retrieves the solution list. It will retrieve both first party and third party solutions

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

Retrieves the solution list. It will retrieve both first party and third party solutions

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

Patch a Solution. Only updating tags supported.

Constructor Details

Solutions(OperationsManagementClientContext)

Create a Solutions.

new Solutions(client: OperationsManagementClientContext)

Parameters

client
OperationsManagementClientContext

Reference to the service client.

Method Details

beginCreateOrUpdate(string, string, Solution, RequestOptionsBase)

Creates or updates the Solution.

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

Parameters

resourceGroupName

string

The name of the resource group to get. The name is case insensitive.

solutionName

string

User Solution Name.

parameters
Solution

The parameters required to create OMS Solution.

options
RequestOptionsBase

The optional parameters

Returns

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

Promise<msRestAzure.LROPoller>

beginDeleteMethod(string, string, RequestOptionsBase)

Deletes the solution in the subscription.

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

Parameters

resourceGroupName

string

The name of the resource group to get. The name is case insensitive.

solutionName

string

User Solution Name.

options
RequestOptionsBase

The optional parameters

Returns

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

Promise<msRestAzure.LROPoller>

beginUpdate(string, string, SolutionPatch, RequestOptionsBase)

Patch a Solution. Only updating tags supported.

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

Parameters

resourceGroupName

string

The name of the resource group to get. The name is case insensitive.

solutionName

string

User Solution Name.

parameters
SolutionPatch

The parameters required to patch a Solution.

options
RequestOptionsBase

The optional parameters

Returns

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

Promise<msRestAzure.LROPoller>

createOrUpdate(string, string, Solution, RequestOptionsBase)

Creates or updates the Solution.

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

Parameters

resourceGroupName

string

The name of the resource group to get. The name is case insensitive.

solutionName

string

User Solution Name.

parameters
Solution

The parameters required to create OMS Solution.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SolutionsCreateOrUpdateResponse>

deleteMethod(string, string, RequestOptionsBase)

Deletes the solution in the subscription.

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

Parameters

resourceGroupName

string

The name of the resource group to get. The name is case insensitive.

solutionName

string

User Solution Name.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

get(string, string, RequestOptionsBase)

Retrieves the user solution.

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

Parameters

resourceGroupName

string

The name of the resource group to get. The name is case insensitive.

solutionName

string

User Solution Name.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SolutionsGetResponse>

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

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

Parameters

resourceGroupName

string

The name of the resource group to get. The name is case insensitive.

solutionName

string

User Solution Name.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Solution>

The callback

get(string, string, ServiceCallback<Solution>)

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

Parameters

resourceGroupName

string

The name of the resource group to get. The name is case insensitive.

solutionName

string

User Solution Name.

callback

ServiceCallback<Solution>

The callback

listByResourceGroup(string, RequestOptionsBase)

Retrieves the solution list. It will retrieve both first party and third party solutions

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

Parameters

resourceGroupName

string

The name of the resource group to get. The name is case insensitive.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SolutionsListByResourceGroupResponse>

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<SolutionPropertiesList>)

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

Parameters

resourceGroupName

string

The name of the resource group to get. The name is case insensitive.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<SolutionPropertiesList>

The callback

listByResourceGroup(string, ServiceCallback<SolutionPropertiesList>)

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

Parameters

resourceGroupName

string

The name of the resource group to get. The name is case insensitive.

callback

ServiceCallback<SolutionPropertiesList>

The callback

listBySubscription(RequestOptionsBase)

Retrieves the solution list. It will retrieve both first party and third party solutions

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

Parameters

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SolutionsListBySubscriptionResponse>

listBySubscription(RequestOptionsBase, ServiceCallback<SolutionPropertiesList>)

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

Parameters

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<SolutionPropertiesList>

The callback

listBySubscription(ServiceCallback<SolutionPropertiesList>)

function listBySubscription(callback: ServiceCallback<SolutionPropertiesList>)

Parameters

callback

ServiceCallback<SolutionPropertiesList>

The callback

update(string, string, SolutionPatch, RequestOptionsBase)

Patch a Solution. Only updating tags supported.

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

Parameters

resourceGroupName

string

The name of the resource group to get. The name is case insensitive.

solutionName

string

User Solution Name.

parameters
SolutionPatch

The parameters required to patch a Solution.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SolutionsUpdateResponse>