Skip to main content

software_update_configurations

Creates, updates, deletes, gets or lists a software_update_configurations resource.

Overview

Namesoftware_update_configurations
TypeResource
Idazure.automation.software_update_configurations

Fields

NameDatatypeDescription
idtextResource Id.
nametextResource name.
automationAccountNametextfield from the properties object
created_bytextfield from the properties object
creation_timetextfield from the properties object
errortextfield from the properties object
last_modified_bytextfield from the properties object
last_modified_timetextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
schedule_infotextfield from the properties object
softwareUpdateConfigurationNametextfield from the properties object
subscriptionIdtextfield from the properties object
taskstextfield from the properties object
typestringResource type
update_configurationtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
get_by_nameSELECTautomationAccountName, resourceGroupName, softwareUpdateConfigurationName, subscriptionIdGet a single software update configuration by name.
listSELECTautomationAccountName, resourceGroupName, subscriptionIdGet all software update configurations for the account.
createINSERTautomationAccountName, resourceGroupName, softwareUpdateConfigurationName, subscriptionId, data__propertiesCreate a new software update configuration with the name given in the URI.
deleteDELETEautomationAccountName, resourceGroupName, softwareUpdateConfigurationName, subscriptionIddelete a specific software update configuration.

SELECT examples

Get all software update configurations for the account.

SELECT
id,
name,
automationAccountName,
created_by,
creation_time,
error,
last_modified_by,
last_modified_time,
provisioning_state,
resourceGroupName,
schedule_info,
softwareUpdateConfigurationName,
subscriptionId,
tasks,
type,
update_configuration
FROM azure.automation.vw_software_update_configurations
WHERE automationAccountName = '{{ automationAccountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new software_update_configurations resource.

/*+ create */
INSERT INTO azure.automation.software_update_configurations (
automationAccountName,
resourceGroupName,
softwareUpdateConfigurationName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ automationAccountName }}',
'{{ resourceGroupName }}',
'{{ softwareUpdateConfigurationName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified software_update_configurations resource.

/*+ delete */
DELETE FROM azure.automation.software_update_configurations
WHERE automationAccountName = '{{ automationAccountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND softwareUpdateConfigurationName = '{{ softwareUpdateConfigurationName }}'
AND subscriptionId = '{{ subscriptionId }}';