Přeskočit navigaci

The Azure Quickstart templates are currently available in English

Create Recovery Services Vault with backup policies

Poslední aktualizace: 05.09.2021

This template creates a Recovery Services Vault with backup policies and configure optional features such system identity, backup storage type, cross region restore and diagnostics logs and a delete lock.

Tuto šablonu Azure Resource Manageru (ARM) vytvořil člen komunity a ne Microsoft. Licenci na každou šablonu ARM vám na základě licenční smlouvy uděluje její vlastník, ne Microsoft. Za šablony ARM poskytované a licencované členy komunity nenese Microsoft žádnou odpovědnost ani neprověřuje jejich zabezpečení, kompatibilitu nebo výkon. Šablony ARM komunity nejsou podporované v rámci žádné služby nebo programu podpory Microsoftu a jsou dostupné TAK JAK JSOU, bez jakékoliv záruky.

Parametry

Název parametru Popis
vaultName Recovery Services vault name
location Location of Recovery Services vault
enableSystemIdentity Enable system identity for Recovery Services vault
sku Enable system identity for Recovery Services vault
storageType Storage replication type for Recovery Services vault
enablecrossRegionRestore Enable cross region restore
backupPolicies Array containing backup policies
enableDeleteLock Enable delete lock
enableDiagnostics Enable diagnostic logs
diagnosticStorageAccountId Storage account resource id. Only required if enableDiagnostics is set to true.
logAnalyticsWorkspaceId Log analytics workspace resource id. Only required if enableDiagnostics is set to true.

Použití šablony

PowerShell

New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deployment
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.recoveryservices/recovery-services-create-vault-with-backup-policies/azuredeploy.json
Instalace a konfigurace Azure PowerShell

Příkazový řádek

az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deployment
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.recoveryservices/recovery-services-create-vault-with-backup-policies/azuredeploy.json
Instalace a konfigurace rozhraní Azure Cross-Platform Command-Line Interface