dsc_node_configurations
Creates, updates, deletes, gets or lists a dsc_node_configurations
resource.
Overview
Name | dsc_node_configurations |
Type | Resource |
Id | azure.automation.dsc_node_configurations |
Fields
- vw_dsc_node_configurations
- dsc_node_configurations
Name | Datatype | Description |
---|---|---|
automationAccountName | text | field from the properties object |
configuration | text | field from the properties object |
creation_time | text | field from the properties object |
increment_node_configuration_build | text | field from the properties object |
last_modified_time | text | field from the properties object |
nodeConfigurationName | text | field from the properties object |
node_count | text | field from the properties object |
resourceGroupName | text | field from the properties object |
source | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Properties for the DscNodeConfiguration |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | automationAccountName, nodeConfigurationName, resourceGroupName, subscriptionId | Retrieve the Dsc node configurations by node configuration. |
list_by_automation_account | SELECT | automationAccountName, resourceGroupName, subscriptionId | Retrieve a list of dsc node configurations. |
create_or_update | INSERT | automationAccountName, nodeConfigurationName, resourceGroupName, subscriptionId | Create the node configuration identified by node configuration name. |
delete | DELETE | automationAccountName, nodeConfigurationName, resourceGroupName, subscriptionId | Delete the Dsc node configurations by node configuration. |
SELECT
examples
Retrieve a list of dsc node configurations.
- vw_dsc_node_configurations
- dsc_node_configurations
SELECT
automationAccountName,
configuration,
creation_time,
increment_node_configuration_build,
last_modified_time,
nodeConfigurationName,
node_count,
resourceGroupName,
source,
subscriptionId
FROM azure.automation.vw_dsc_node_configurations
WHERE automationAccountName = '{{ automationAccountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.automation.dsc_node_configurations
WHERE automationAccountName = '{{ automationAccountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new dsc_node_configurations
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.automation.dsc_node_configurations (
automationAccountName,
nodeConfigurationName,
resourceGroupName,
subscriptionId,
properties,
name,
tags
)
SELECT
'{{ automationAccountName }}',
'{{ nodeConfigurationName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ name }}',
'{{ tags }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: source
value:
- name: hash
value:
- name: algorithm
value: string
- name: value
value: string
- name: type
value: string
- name: value
value: string
- name: version
value: string
- name: configuration
value:
- name: name
value: string
- name: incrementNodeConfigurationBuild
value: boolean
- name: name
value: string
- name: tags
value: object
DELETE
example
Deletes the specified dsc_node_configurations
resource.
/*+ delete */
DELETE FROM azure.automation.dsc_node_configurations
WHERE automationAccountName = '{{ automationAccountName }}'
AND nodeConfigurationName = '{{ nodeConfigurationName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';