resource_guards
Creates, updates, deletes, gets or lists a resource_guards
resource.
Overview
Name | resource_guards |
Type | Resource |
Id | azure.data_protection.resource_guards |
Fields
- vw_resource_guards
- resource_guards
Name | Datatype | Description |
---|---|---|
id | text | Resource Id represents the complete path to the resource. |
name | text | Resource name associated with the resource. |
description | text | field from the properties object |
allow_auto_approvals | text | field from the properties object |
e_tag | text | field from the properties object |
location | text | Resource location. |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resourceGuardsName | text | field from the properties object |
resource_guard_operations | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
tags | text | Resource tags. |
type | text | Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... |
vault_critical_operation_exclusion_list | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Resource Id represents the complete path to the resource. |
name | string | Resource name associated with the resource. |
eTag | string | Optional ETag. |
location | string | Resource location. |
properties | object | |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | Resource tags. |
type | string | Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, resourceGuardsName, subscriptionId | |
delete | DELETE | resourceGroupName, resourceGuardsName, subscriptionId | |
patch | UPDATE | resourceGroupName, resourceGuardsName, subscriptionId | |
put | REPLACE | resourceGroupName, resourceGuardsName, subscriptionId |
SELECT
examples
- vw_resource_guards
- resource_guards
SELECT
id,
name,
description,
allow_auto_approvals,
e_tag,
location,
provisioning_state,
resourceGroupName,
resourceGuardsName,
resource_guard_operations,
subscriptionId,
system_data,
tags,
type,
vault_critical_operation_exclusion_list
FROM azure.data_protection.vw_resource_guards
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceGuardsName = '{{ resourceGuardsName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
eTag,
location,
properties,
systemData,
tags,
type
FROM azure.data_protection.resource_guards
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceGuardsName = '{{ resourceGuardsName }}'
AND subscriptionId = '{{ subscriptionId }}';
UPDATE
example
Updates a resource_guards
resource.
/*+ update */
UPDATE azure.data_protection.resource_guards
SET
tags = '{{ tags }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND resourceGuardsName = '{{ resourceGuardsName }}'
AND subscriptionId = '{{ subscriptionId }}';
REPLACE
example
Replaces all fields in the specified resource_guards
resource.
/*+ update */
REPLACE azure.data_protection.resource_guards
SET
eTag = '{{ eTag }}',
location = '{{ location }}',
tags = '{{ tags }}',
systemData = '{{ systemData }}',
properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND resourceGuardsName = '{{ resourceGuardsName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified resource_guards
resource.
/*+ delete */
DELETE FROM azure.data_protection.resource_guards
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceGuardsName = '{{ resourceGuardsName }}'
AND subscriptionId = '{{ subscriptionId }}';