changes
Creates, updates, deletes, gets or lists a changes
resource.
Overview
Name | changes |
Type | Resource |
Id | azure.resources.changes |
Fields
- vw_changes
- changes
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 |
changeResourceId | text | field from the properties object |
change_attributes | text | field from the properties object |
change_type | text | field from the properties object |
changes | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resourceName | text | field from the properties object |
resourceProviderNamespace | text | field from the properties object |
resourceType | text | field from the properties object |
subscriptionId | text | field from the properties object |
target_resource_id | text | field from the properties object |
target_resource_type | 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 | The properties of a change |
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 | changeResourceId, resourceGroupName, resourceName, resourceProviderNamespace, resourceType, subscriptionId | Obtains the specified change resource for the target resource |
list | SELECT | resourceGroupName, resourceName, resourceProviderNamespace, resourceType, subscriptionId | Obtains a list of change resources from the past 14 days for the target resource |
SELECT
examples
Obtains a list of change resources from the past 14 days for the target resource
- vw_changes
- changes
SELECT
id,
name,
changeResourceId,
change_attributes,
change_type,
changes,
resourceGroupName,
resourceName,
resourceProviderNamespace,
resourceType,
subscriptionId,
target_resource_id,
target_resource_type,
type
FROM azure.resources.vw_changes
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND resourceProviderNamespace = '{{ resourceProviderNamespace }}'
AND resourceType = '{{ resourceType }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
type
FROM azure.resources.changes
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND resourceProviderNamespace = '{{ resourceProviderNamespace }}'
AND resourceType = '{{ resourceType }}'
AND subscriptionId = '{{ subscriptionId }}';