apply_update_for_resource_group
Creates, updates, deletes, gets or lists an apply_update_for_resource_group resource.
Overview
| Name | apply_update_for_resource_group |
| Type | Resource |
| Id | azure.maintenance.apply_update_for_resource_group |
Fields
The following fields are returned by SELECT queries:
- list
| 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. |
lastUpdateTime | string (date-time) | Last Update time. |
resourceId | string | The resourceId. |
status | string | The status. Known values are: "Pending", "InProgress", "Completed", "RetryNow", "RetryLater", "NoUpdatesPending", "Cancel", and "Cancelled". (Pending, InProgress, Completed, RetryNow, RetryLater, NoUpdatesPending, Cancel, Cancelled) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | resource_group_name, subscription_id | Get Configuration records within a subscription and resource group. Get Configuration records within a subscription and resource group. |
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.
| Name | Datatype | Description |
|---|---|---|
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string |
SELECT examples
- list
Get Configuration records within a subscription and resource group. Get Configuration records within a subscription and resource group.
SELECT
id,
name,
lastUpdateTime,
resourceId,
status,
systemData,
type
FROM azure.maintenance.apply_update_for_resource_group
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;