Backup Policy Kubernetes Cluster
Manages a Backup Policy to back up Kubernetes Cluster.
Example Usage
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleBackupVault:
type: azure:dataprotection:BackupVault
name: example
properties:
name: example-backup-vault
resourceGroupName: ${example.name}
location: ${example.location}
datastoreType: VaultStore
redundancy: LocallyRedundant
exampleBackupPolicyKubernetesCluster:
type: azure:dataprotection:BackupPolicyKubernetesCluster
name: example
properties:
name: example-backup-policy
resourceGroupName: ${example.name}
vaultName: ${exampleBackupVault.name}
backupRepeatingTimeIntervals:
- R/2021-05-23T02:30:00+00:00/P1W
timeZone: India Standard Time
defaultRetentionDuration: P4M
retentionRules:
- name: Daily
priority: 25
lifeCycles:
- duration: P84D
dataStoreType: OperationalStore
criteria:
absoluteCriteria: FirstOfDay
defaultRetentionRule:
lifeCycles:
- duration: P7D
dataStoreType: OperationalStore
Content copied to clipboard
API Providers
This resource uses the following Azure API Providers:
Microsoft.DataProtection
: 2024-04-01
Import
Backup Policy Kubernetes Cluster's can be imported using the resource id
, e.g.
$ pulumi import azure:dataprotection/backupPolicyKubernetesCluster:BackupPolicyKubernetesCluster example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataProtection/backupVaults/vault1/backupPolicies/backupPolicy1
Content copied to clipboard
Properties
Link copied to clipboard
Specifies a list of repeating time interval. It supports weekly back. It should follow ISO 8601
repeating time interval. Changing this forces a new resource to be created.
Link copied to clipboard
A default_retention_rule
block as defined below. Changing this forces a new resource to be created.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The name of the Resource Group where the Backup Policy Kubernetes Cluster should exist. Changing this forces a new resource to be created.
Link copied to clipboard
One or more retention_rule
blocks as defined below. Changing this forces a new resource to be created.