BackupPolicyKubernetesCluster

class BackupPolicyKubernetesCluster : KotlinCustomResource

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

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

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
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name which should be used for the Backup Policy Kubernetes Cluster. Changing this forces a new resource to be created.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
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.

Link copied to clipboard
val timeZone: Output<String>?

Specifies the Time Zone which should be used by the backup schedule. Changing this forces a new resource to be created.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vaultName: Output<String>

The name of the Backup Vault where the Backup Policy Kubernetes Cluster should exist. Changing this forces a new resource to be created.