dsc_compilation_jobs
Creates, updates, deletes, gets or lists a dsc_compilation_jobs
resource.
Overview
Name | dsc_compilation_jobs |
Type | Resource |
Id | azure.automation.dsc_compilation_jobs |
Fields
- vw_dsc_compilation_jobs
- dsc_compilation_jobs
Name | Datatype | Description |
---|---|---|
automationAccountName | text | field from the properties object |
compilationJobName | text | field from the properties object |
configuration | text | field from the properties object |
creation_time | text | field from the properties object |
end_time | text | field from the properties object |
exception | text | field from the properties object |
job_id | text | field from the properties object |
last_modified_time | text | field from the properties object |
last_status_modified_time | text | field from the properties object |
parameters | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
run_on | text | field from the properties object |
start_time | text | field from the properties object |
started_by | text | field from the properties object |
status | text | field from the properties object |
status_details | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Definition of Dsc Compilation job properties. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | automationAccountName, compilationJobName, resourceGroupName, subscriptionId | Retrieve the Dsc configuration compilation job identified by job id. |
list_by_automation_account | SELECT | automationAccountName, resourceGroupName, subscriptionId | Retrieve a list of dsc compilation jobs. |
create | INSERT | automationAccountName, compilationJobName, resourceGroupName, subscriptionId, data__properties | Creates the Dsc compilation job of the configuration. |
SELECT
examples
Retrieve a list of dsc compilation jobs.
- vw_dsc_compilation_jobs
- dsc_compilation_jobs
SELECT
automationAccountName,
compilationJobName,
configuration,
creation_time,
end_time,
exception,
job_id,
last_modified_time,
last_status_modified_time,
parameters,
provisioning_state,
resourceGroupName,
run_on,
start_time,
started_by,
status,
status_details,
subscriptionId
FROM azure.automation.vw_dsc_compilation_jobs
WHERE automationAccountName = '{{ automationAccountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.automation.dsc_compilation_jobs
WHERE automationAccountName = '{{ automationAccountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new dsc_compilation_jobs
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.automation.dsc_compilation_jobs (
automationAccountName,
compilationJobName,
resourceGroupName,
subscriptionId,
data__properties,
properties,
name,
location,
tags
)
SELECT
'{{ automationAccountName }}',
'{{ compilationJobName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}',
'{{ name }}',
'{{ location }}',
'{{ tags }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: configuration
value:
- name: name
value: string
- name: parameters
value: object
- name: incrementNodeConfigurationBuild
value: boolean
- name: name
value: string
- name: location
value: string
- name: tags
value: object