solution_template_versions
Creates, updates, deletes, gets or lists a solution_template_versions resource.
Overview
| Name | solution_template_versions |
| Type | Resource |
| Id | azure.workload_orchestration.solution_template_versions |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_solution_template
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
configurations | string | Config expressions for this solution version. Required. |
eTag | string | If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. |
orchestratorType | string | Orchestrator type. "TO" (TO) |
provisioningState | string | Provisioning state of resource. Known values are: "Succeeded", "Failed", "Canceled", "Initialized", "InProgress", and "Deleting". (Succeeded, Failed, Canceled, Initialized, InProgress, Deleting) |
specification | object | App components spec. Required. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
configurations | string | Config expressions for this solution version. Required. |
eTag | string | If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. |
orchestratorType | string | Orchestrator type. "TO" (TO) |
provisioningState | string | Provisioning state of resource. Known values are: "Succeeded", "Failed", "Canceled", "Initialized", "InProgress", and "Deleting". (Succeeded, Failed, Canceled, Initialized, InProgress, Deleting) |
specification | object | App components spec. Required. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
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 | resource_group_name, solution_template_name, solution_template_version_name, subscription_id | Get a Solution Template Version Resource. | |
list_by_solution_template | select | resource_group_name, solution_template_name, subscription_id | List Solution Template Version Resources. | |
bulk_deploy_solution | exec | resource_group_name, solution_template_name, solution_template_version_name, subscription_id, targets | Post request for bulk deploy. | |
bulk_publish_solution | exec | resource_group_name, solution_template_name, solution_template_version_name, subscription_id, targets | Post request for bulk publish. |
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 |
|---|---|---|
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
solution_template_name | string | The name of the SolutionTemplate. Required. |
solution_template_version_name | string | The name of the SolutionTemplateVersion. Required. |
subscription_id | string |
SELECT examples
- get
- list_by_solution_template
Get a Solution Template Version Resource.
SELECT
id,
name,
configurations,
eTag,
orchestratorType,
provisioningState,
specification,
systemData,
type
FROM azure.workload_orchestration.solution_template_versions
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND solution_template_name = '{{ solution_template_name }}' -- required
AND solution_template_version_name = '{{ solution_template_version_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
List Solution Template Version Resources.
SELECT
id,
name,
configurations,
eTag,
orchestratorType,
provisioningState,
specification,
systemData,
type
FROM azure.workload_orchestration.solution_template_versions
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND solution_template_name = '{{ solution_template_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Lifecycle Methods
- bulk_deploy_solution
- bulk_publish_solution
Post request for bulk deploy.
EXEC azure.workload_orchestration.solution_template_versions.bulk_deploy_solution
@resource_group_name='{{ resource_group_name }}' --required,
@solution_template_name='{{ solution_template_name }}' --required,
@solution_template_version_name='{{ solution_template_version_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"targets": "{{ targets }}"
}'
;
Post request for bulk publish.
EXEC azure.workload_orchestration.solution_template_versions.bulk_publish_solution
@resource_group_name='{{ resource_group_name }}' --required,
@solution_template_name='{{ solution_template_name }}' --required,
@solution_template_version_name='{{ solution_template_version_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"targets": "{{ targets }}",
"solutionInstanceName": "{{ solutionInstanceName }}",
"solutionDependencies": "{{ solutionDependencies }}"
}'
;