BackupPolicyVM is the Schema for the BackupPolicyVMs API. Manages an Azure Backup VM Backup Policy.
Type
CRD
Group
recoveryservices.azure.upbound.io
Version
v1beta1
apiVersion: recoveryservices.azure.upbound.io/v1beta1
kind: BackupPolicyVM
BackupPolicyVMSpec defines the desired state of BackupPolicyVM
No description provided.
Configures the Policy backup frequency, times & days as documented in the backup block below.
The days of the week to perform backups on. Must be one of Sunday, Monday, Tuesday, Wednesday, Thursday, Friday or Saturday. This is used when frequency is Weekly.
Reference to a Vault in recoveryservices to populate recoveryVaultName.
Policies for referencing.
Selector for a Vault in recoveryservices to populate recoveryVaultName.
Policies for selection.
Reference to a ResourceGroup in azure to populate resourceGroupName.
Policies for referencing.
Selector for a ResourceGroup in azure to populate resourceGroupName.
Policies for selection.
Configures the policy daily retention as documented in the retention_daily block below. Required when backup frequency is Daily.
Configures the policy monthly retention as documented in the retention_monthly block below.
Configures the policy weekly retention as documented in the retention_weekly block below. Required when backup frequency is Weekly.
Configures the policy yearly retention as documented in the retention_yearly block below.
The months of the year to retain backups of. Must be one of January, February, March, April, May, June, July, August, September, October, November and December.
The weekday backups to retain . Must be one of Sunday, Monday, Tuesday, Wednesday, Thursday, Friday or Saturday.
The weeks of the month to retain backups of. Must be one of First, Second, Third, Fourth, Last.
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
BackupPolicyVMStatus defines the observed state of BackupPolicyVM.
No description provided.
Configures the Policy backup frequency, times & days as documented in the backup block below.
The days of the week to perform backups on. Must be one of Sunday, Monday, Tuesday, Wednesday, Thursday, Friday or Saturday. This is used when frequency is Weekly.
Configures the policy daily retention as documented in the retention_daily block below. Required when backup frequency is Daily.
Configures the policy monthly retention as documented in the retention_monthly block below.
Configures the policy yearly retention as documented in the retention_yearly block below.
The months of the year to retain backups of. Must be one of January, February, March, April, May, June, July, August, September, October, November and December.
The weekday backups to retain . Must be one of Sunday, Monday, Tuesday, Wednesday, Thursday, Friday or Saturday.
The weeks of the month to retain backups of. Must be one of First, Second, Third, Fourth, Last.
Conditions of the resource.
example
apiVersion: recoveryservices.azure.upbound.io/v1beta1
kind: BackupPolicyVM
metadata:
annotations:
meta.upbound.io/example-id: recoveryservices/v1beta1/backuppolicyvm
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
backup:
- frequency: Daily
time: 23:00
recoveryVaultNameSelector:
matchLabels:
testing.upbound.io/example-name: example
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: example
retentionDaily:
- count: 10
retentionMonthly:
- count: 7
weekdays:
- Sunday
- Wednesday
weeks:
- First
- Last
retentionWeekly:
- count: 42
weekdays:
- Sunday
- Wednesday
- Friday
- Saturday
retentionYearly:
- count: 77
months:
- January
weekdays:
- Sunday
weeks:
- Last
timezone: UTC
example
apiVersion: recoveryservices.azure.upbound.io/v1beta1
kind: BackupPolicyVM
metadata:
annotations:
meta.upbound.io/example-id: recoveryservices/v1beta1/backupprotectedvm
upjet.upbound.io/manual-intervention: This resource needs sourceVmId - ID for Virtual Machine
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
backup:
- frequency: Daily
time: 23:00
recoveryVaultNameSelector:
matchLabels:
testing.upbound.io/example-name: example
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: example
retentionDaily:
- count: 10
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.