Solutions class
Class representing a Solutions.
Constructors
Solutions(Operations |
Create a Solutions. |
Methods
Constructor Details
Solutions(OperationsManagementClientContext)
Create a Solutions.
new Solutions(client: OperationsManagementClientContext)
Parameters
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<SolutionsCreateOrUpdateResponse>
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<SolutionsGetResponse>
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
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
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<SolutionsListByResourceGroupResponse>
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
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
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<SolutionsListBySubscriptionResponse>
Promise<Models.SolutionsListBySubscriptionResponse>
listBySubscription(RequestOptionsBase, ServiceCallback<SolutionPropertiesList>)
function listBySubscription(options: RequestOptionsBase, callback: ServiceCallback<SolutionPropertiesList>)
Parameters
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
listBySubscription(ServiceCallback<SolutionPropertiesList>)
function listBySubscription(callback: ServiceCallback<SolutionPropertiesList>)
Parameters
- callback
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<SolutionsUpdateResponse>
Promise<Models.SolutionsUpdateResponse>