forked from Azure/azure-service-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure_v1alpha1_cosmosdb.yaml
53 lines (46 loc) · 1.88 KB
/
azure_v1alpha1_cosmosdb.yaml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
apiVersion: azure.microsoft.com/v1alpha1
kind: CosmosDB
metadata:
name: cosmosdb-sample-1
spec:
# #possible values are 'GlobalDocumentDB', 'MongoDB'.
kind: GlobalDocumentDB
location: westus
resourceGroup: resourcegroup-azure-operators
# #Start of properties
properties:
databaseAccountOfferType: Standard
# #optionally turn on multi-region writes
# enableMultipleWriteLocations: true
# #Optionally set the capabilities name to the following options: (the default is SQL)
# #"EnableCassandra", "EnableTable", "EnableGremlin", "EnableMongo"
# #NOTE: If using "EnableMongo" kind must be set to MongoDB for this to take effect
#capabilities:
# - name: "EnableCassandra"
# #optionally set the mongoDBVersion to "3.2" or "3.6", if omitted the default is "3.2"
# #NOTE: kind must be set to MongoDB for this to take effect
# mongoDBVersion: "3.6"
# #enable virtual network rules if configured below
isVirtualNetworkFilterEnabled: true
# #End of properties
# #optionally restrict access to specific virtual networks
# virtualNetworkRules:
# - subnetID: /subscriptions/{subscription_id}/resourceGroups/{resourcegroup}/providers/Microsoft.Network/virtualNetworks/{vnet_name}/subnets/{subnet_name}
# ignoreMissingVNetServiceEndpoint: true
# #optionally configure different CIDR IP ranges for allowed-list, omitting allows all or falls back to vNetRules
# ipRules:
# #the ips in this rule are needed to access your db from the portal
# - 104.42.195.92
# - 40.76.54.131
# - 52.176.6.30
# - 52.169.50.45
# - 52.187.184.26
# #add additional ips you would like to grant access
# - 1.2.3.4
# #optionally configure multiple regions and availability zone redundancy
# locations:
# - locationName: eastus
# failoverPriority: 0
# isZoneRedundant: true
# - locationName: westus
# failoverPriority: 1