Skip to main content

resource_guard_proxies

Creates, updates, deletes, gets or lists a resource_guard_proxies resource.

Overview

Nameresource_guard_proxies
TypeResource
Idazure.recovery_services_backup.resource_guard_proxies

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the resource
descriptiontextfield from the properties object
last_updated_timetextfield from the properties object
resourceGroupNametextfield from the properties object
resourceGuardProxyNametextfield from the properties object
resource_guard_operation_detailstextfield from the properties object
resource_guard_resource_idtextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
vaultNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, resourceGuardProxyName, subscriptionId, vaultNameReturns ResourceGuardProxy under vault and with the name referenced in request
deleteDELETEresourceGroupName, resourceGuardProxyName, subscriptionId, vaultNameDelete ResourceGuardProxy under vault
putREPLACEresourceGroupName, resourceGuardProxyName, subscriptionId, vaultNameAdd or Update ResourceGuardProxy under vault
Secures vault critical operations
unlock_deleteEXECresourceGroupName, resourceGuardProxyName, subscriptionId, vaultNameSecures delete ResourceGuardProxy operations.

SELECT examples

Returns ResourceGuardProxy under vault and with the name referenced in request

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 }}';

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 }}';