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

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
createdBystringCreatedBy property, which only appears in the response.
creationTimestring (date-time)Creation time of the resource, which only appears in the response.
errorobjectDetails of provisioning error.
lastModifiedBystringLastModifiedBy property, which only appears in the response.
lastModifiedTimestring (date-time)Last time resource was modified, which only appears in the response.
provisioningStatestringProvisioning state for the software update configuration, which only appears in the response.
scheduleInfoobjectSchedule information for the Software update configuration. Required.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tasksobjectTasks information for the Software update configuration.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
updateConfigurationobjectupdate specific properties for the Software update configuration. Required.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_by_nameselectresource_group_name, automation_account_name, software_update_configuration_name, subscription_idclientRequestIdGet a single software update configuration by name.
listselectresource_group_name, automation_account_name, subscription_idclientRequestId, $filterGet all software update configurations for the account.
createinsertresource_group_name, automation_account_name, software_update_configuration_name, subscription_id, propertiesclientRequestIdCreate a new software update configuration with the name given in the URI.
deletedeleteresource_group_name, automation_account_name, software_update_configuration_name, subscription_idclientRequestIddelete a specific software update configuration.

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.

NameDatatypeDescription
automation_account_namestringThe name of the automation account. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
software_update_configuration_namestringThe name of the software update configuration to be created. Required.
subscription_idstring
$filterstringThe filter to apply on the operation. Default value is None.
clientRequestIdstringIdentifies this specific client request. Default value is None.

SELECT examples

Get a single software update configuration by name.

SELECT
id,
name,
createdBy,
creationTime,
error,
lastModifiedBy,
lastModifiedTime,
provisioningState,
scheduleInfo,
systemData,
tasks,
type,
updateConfiguration
FROM azure.automation.software_update_configurations
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND automation_account_name = '{{ automation_account_name }}' -- required
AND software_update_configuration_name = '{{ software_update_configuration_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND clientRequestId = '{{ clientRequestId }}'
;

INSERT examples

Create a new software update configuration with the name given in the URI.

INSERT INTO azure.automation.software_update_configurations (
properties,
resource_group_name,
automation_account_name,
software_update_configuration_name,
subscription_id,
clientRequestId
)
SELECT
'{{ properties }}' /* required */,
'{{ resource_group_name }}',
'{{ automation_account_name }}',
'{{ software_update_configuration_name }}',
'{{ subscription_id }}',
'{{ clientRequestId }}'
RETURNING
id,
name,
properties,
systemData,
type
;

DELETE examples

delete a specific software update configuration.

DELETE FROM azure.automation.software_update_configurations
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND automation_account_name = '{{ automation_account_name }}' --required
AND software_update_configuration_name = '{{ software_update_configuration_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND clientRequestId = '{{ clientRequestId }}'
;