simplified_solutions
Creates, updates, deletes, gets or lists a simplified_solutions resource.
Overview
| Name | simplified_solutions |
| Type | Resource |
| Id | azure_extras.self_help.simplified_solutions |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". # pylint: disable=line-too-long |
name | string | The name of the resource. |
appendix | object | Additional parameter response for Simplified Solutions. |
content | string | The HTML content that needs to be rendered and shown to customer. |
parameters | object | Client input parameters to run Simplified Solutions. |
provisioningState | string | Status of Simplified Solution provisioning. Known values are: "Succeeded", "PartialComplete", "Failed", "Running", and "Canceled". |
solutionId | string | Solution Id to identify single Simplified Solution. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
title | string | The title. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | scope, simplified_solutions_resource_name | Get the simplified Solutions using the applicable solutionResourceName while creating the simplified Solutions. | |
create | insert | scope, simplified_solutions_resource_name | Creates Simplified Solutions for an Azure subscription using 'solutionId' from Discovery Solutions as the input. Simplified Solutions API makes the consumption of solutions APIs easier while still providing access to the same powerful solutions rendered in Solutions API. With Simplified Solutions, users don't have to worry about stitching together the article using replacement maps and can use the content in the API response to directly render as HTML content.. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
scope | string | scope = resourceUri of affected resource. For example: /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read. Required. |
simplified_solutions_resource_name | string | Simplified Solutions Resource Name. Required. |
SELECT examples
- get
Get the simplified Solutions using the applicable solutionResourceName while creating the simplified Solutions.
SELECT
id,
name,
appendix,
content,
parameters,
provisioningState,
solutionId,
systemData,
title,
type
FROM azure_extras.self_help.simplified_solutions
WHERE scope = '{{ scope }}' -- required
AND simplified_solutions_resource_name = '{{ simplified_solutions_resource_name }}' -- required
;
INSERT examples
- create
- Manifest
Creates Simplified Solutions for an Azure subscription using 'solutionId' from Discovery Solutions as the input. Simplified Solutions API makes the consumption of solutions APIs easier while still providing access to the same powerful solutions rendered in Solutions API. With Simplified Solutions, users don't have to worry about stitching together the article using replacement maps and can use the content in the API response to directly render as HTML content..
INSERT INTO azure_extras.self_help.simplified_solutions (
properties,
scope,
simplified_solutions_resource_name
)
SELECT
'{{ properties }}',
'{{ scope }}',
'{{ simplified_solutions_resource_name }}'
RETURNING
id,
name,
properties,
systemData,
type
;
# Description fields are for documentation purposes
- name: simplified_solutions
props:
- name: scope
value: "{{ scope }}"
description: Required parameter for the simplified_solutions resource.
- name: simplified_solutions_resource_name
value: "{{ simplified_solutions_resource_name }}"
description: Required parameter for the simplified_solutions resource.
- name: properties
value:
solutionId: "{{ solutionId }}"
parameters: "{{ parameters }}"