forked from Azure/azure-service-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure_v1beta1_azuresqldatabase.yaml
More file actions
39 lines (32 loc) · 1.46 KB
/
azure_v1beta1_azuresqldatabase.yaml
File metadata and controls
39 lines (32 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
apiVersion: azure.microsoft.com/v1beta1
kind: AzureSqlDatabase
metadata:
name: azuresqldatabase-sample
labels: # Provide tags to add to AzureSqlDatabase as labels
tag1: value1
tag2: value2
spec:
location: westus
resourceGroup: resourcegroup-azure-operators
server: sqlserver-sample-777
sku:
name: Basic
tier: Basic
# the following fields are optional:
# The maximum size of the database specified as a quantity (for example: 500Mi for 500 MiB, 1Gi for 1 GiB)
# maxSize
# The weekly retention policy for an LTR backup in an ISO 8601 duration format (https://en.wikipedia.org/wiki/ISO_8601#Durations)
# weeklyRetention: P12W
# The monthly retention policy for an LTR backup in an ISO 8601 duration format
# monthlyRetention: P3M
# The yearly retention policy for an LTR backup in an ISO 8601 duration format
# yearlyRetention: P5Y
# The week of year to take the yearly backup, valid values [1, 52]
# weekOfYear: 16
# The short term retention policy to use
# shortTermRetentionPolicy:
# RetentionDays is the backup retention period in days. This is how many days
# Point-in-Time Restore will be supported.
# retentionDays: 21
# The id of the elastic pool to place this database into. Needs to be matched with an appropriate sku
# elasticPoolId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/some-resource-group-name/providers/Microsoft.Sql/servers/some-sql-server-name/elasticPools/some-elastic-pool-name