resource_guard_proxies
Creates, updates, deletes, gets or lists a resource_guard_proxies
resource.
Overview
Name | resource_guard_proxies |
Type | Resource |
Id | azure.recovery_services_backup.resource_guard_proxies |
Fields
- vw_resource_guard_proxies
- resource_guard_proxies
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 |
description | text | field from the properties object |
last_updated_time | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resourceGuardProxyName | text | field from the properties object |
resource_guard_operation_details | text | field from the properties object |
resource_guard_resource_id | 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" |
vaultName | text | field from the properties object |
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 | |
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 | resourceGroupName, resourceGuardProxyName, subscriptionId, vaultName | Returns ResourceGuardProxy under vault and with the name referenced in request |
delete | DELETE | resourceGroupName, resourceGuardProxyName, subscriptionId, vaultName | Delete ResourceGuardProxy under vault |
put | REPLACE | resourceGroupName, resourceGuardProxyName, subscriptionId, vaultName | Add or Update ResourceGuardProxy under vault |
Secures vault critical operations | |||
unlock_delete | EXEC | resourceGroupName, resourceGuardProxyName, subscriptionId, vaultName | Secures delete ResourceGuardProxy operations. |
SELECT
examples
Returns ResourceGuardProxy under vault and with the name referenced in request
- vw_resource_guard_proxies
- resource_guard_proxies
SELECT
id,
name,
description,
last_updated_time,
resourceGroupName,
resourceGuardProxyName,
resource_guard_operation_details,
resource_guard_resource_id,
subscriptionId,
type,
vaultName
FROM azure.recovery_services_backup.vw_resource_guard_proxies
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceGuardProxyName = '{{ resourceGuardProxyName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';
SELECT
id,
name,
properties,
type
FROM azure.recovery_services_backup.resource_guard_proxies
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceGuardProxyName = '{{ resourceGuardProxyName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';
REPLACE
example
Replaces all fields in the specified resource_guard_proxies
resource.
/*+ update */
REPLACE azure.recovery_services_backup.resource_guard_proxies
SET
properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND resourceGuardProxyName = '{{ resourceGuardProxyName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';
DELETE
example
Deletes the specified resource_guard_proxies
resource.
/*+ delete */
DELETE FROM azure.recovery_services_backup.resource_guard_proxies
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceGuardProxyName = '{{ resourceGuardProxyName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';