apply_updates_parents
Creates, updates, deletes, gets or lists a apply_updates_parents
resource.
Overview
Name | apply_updates_parents |
Type | Resource |
Id | azure.maintenance.apply_updates_parents |
Fields
- vw_apply_updates_parents
- apply_updates_parents
Name | Datatype | Description |
---|---|---|
id | text | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | text | The name of the resource |
applyUpdateName | text | field from the properties object |
last_update_time | text | field from the properties object |
providerName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resourceName | text | field from the properties object |
resourceParentName | text | field from the properties object |
resourceParentType | text | field from the properties object |
resourceType | text | field from the properties object |
resource_id | text | field from the properties object |
status | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | 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 |
properties | object | Properties for apply update |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | applyUpdateName, providerName, resourceGroupName, resourceName, resourceParentName, resourceParentType, resourceType, subscriptionId | Track maintenance updates to resource with parent |
create_or_update | INSERT | providerName, resourceGroupName, resourceName, resourceParentName, resourceParentType, resourceType, subscriptionId | Apply maintenance updates to resource with parent |
SELECT
examples
Track maintenance updates to resource with parent
- vw_apply_updates_parents
- apply_updates_parents
SELECT
id,
name,
applyUpdateName,
last_update_time,
providerName,
resourceGroupName,
resourceName,
resourceParentName,
resourceParentType,
resourceType,
resource_id,
status,
subscriptionId,
type
FROM azure.maintenance.vw_apply_updates_parents
WHERE applyUpdateName = '{{ applyUpdateName }}'
AND providerName = '{{ providerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND resourceParentName = '{{ resourceParentName }}'
AND resourceParentType = '{{ resourceParentType }}'
AND resourceType = '{{ resourceType }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
type
FROM azure.maintenance.apply_updates_parents
WHERE applyUpdateName = '{{ applyUpdateName }}'
AND providerName = '{{ providerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND resourceParentName = '{{ resourceParentName }}'
AND resourceParentType = '{{ resourceParentType }}'
AND resourceType = '{{ resourceType }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new apply_updates_parents
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.maintenance.apply_updates_parents (
providerName,
resourceGroupName,
resourceName,
resourceParentName,
resourceParentType,
resourceType,
subscriptionId
)
SELECT
'{{ providerName }}',
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ resourceParentName }}',
'{{ resourceParentType }}',
'{{ resourceType }}',
'{{ subscriptionId }}'
;
- name: your_resource_model_name
props: []