Skip to main content

backup_vaults

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

Overview

Namebackup_vaults
TypeResource
Idazure_isv.netapp.backup_vaults

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectBackup Vault Properties
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, accountName, backupVaultNameGet the Backup Vault
list_by_netapp_accountselectsubscriptionId, resourceGroupName, accountNameList and describe all Backup Vaults in the NetApp account.
create_or_updateinsertsubscriptionId, resourceGroupName, accountName, backupVaultName, data__locationCreate or update the specified Backup Vault in the NetApp account
updateupdatesubscriptionId, resourceGroupName, accountName, backupVaultNamePatch the specified NetApp Backup Vault
deletedeletesubscriptionId, resourceGroupName, accountName, backupVaultNameDelete the specified Backup Vault

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.

NameDatatypeDescription
accountNamestringThe name of the NetApp account
backupVaultNamestringThe name of the Backup Vault
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Get the Backup Vault

SELECT
location,
properties,
tags
FROM azure_isv.netapp.backup_vaults
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND backupVaultName = '{{ backupVaultName }}' -- required
;

INSERT examples

Create or update the specified Backup Vault in the NetApp account

INSERT INTO azure_isv.netapp.backup_vaults (
data__tags,
data__location,
data__properties,
subscriptionId,
resourceGroupName,
accountName,
backupVaultName
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ accountName }}',
'{{ backupVaultName }}'
RETURNING
location,
properties,
tags
;

UPDATE examples

Patch the specified NetApp Backup Vault

UPDATE azure_isv.netapp.backup_vaults
SET
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND accountName = '{{ accountName }}' --required
AND backupVaultName = '{{ backupVaultName }}' --required
RETURNING
location,
properties,
tags;

DELETE examples

Delete the specified Backup Vault

DELETE FROM azure_isv.netapp.backup_vaults
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND accountName = '{{ accountName }}' --required
AND backupVaultName = '{{ backupVaultName }}' --required
;