Account is the Schema for the Accounts API. Manages a CosmosDB (formally DocumentDB) Account.
Type
CRD
Group
cosmosdb.azure.upbound.io
Version
v1beta1
apiVersion: cosmosdb.azure.upbound.io/v1beta1
kind: Account
AccountSpec defines the desired state of Account
No description provided.
An analytical_storage block as defined below.
A backup block as defined below.
The capabilities which should be enabled for this Cosmos DB account. Value is a capabilities block as defined below. Changing this forces a new resource to be created.
A capacity block as defined below.
Specifies a consistency_policy resource, used to define the consistency policy for this CosmosDB account.
A cors_rule block as defined below.
A list of headers that are allowed to be a part of the cross-origin request.
A list of HTTP headers that are allowed to be executed by the origin. Valid options are DELETE, GET, HEAD, MERGE, POST, OPTIONS, PUT or PATCH.
A list of origin domains that will be allowed by CORS.
A list of response headers that are exposed to CORS clients.
Specifies a geo_location resource, used to define where data should be replicated with the failover_priority 0 specifying the primary location. Value is a geo_location block as defined below.
The list of resource Ids for Network Acl Bypass for this Cosmos DB account.
Reference to a ResourceGroup in azure to populate resourceGroupName.
Policies for referencing.
Selector for a ResourceGroup in azure to populate resourceGroupName.
Policies for selection.
A restore block as defined below.
A database block as defined below. Changing this forces a new resource to be created.
A list of the collection names for the restore request. Changing this forces a new resource to be created.
Reference to a Account to populate sourceCosmosdbAccountId.
Policies for referencing.
Selector for a Account to populate sourceCosmosdbAccountId.
Policies for selection.
Specifies a virtual_network_rules resource, used to define which subnets are allowed to access this CosmosDB account.
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.
AccountStatus defines the observed state of Account.
No description provided.
Specifies a geo_location resource, used to define where data should be replicated with the failover_priority 0 specifying the primary location. Value is a geo_location block as defined below.
An identity block as defined below.
A list of read endpoints available for this CosmosDB account.
A list of write endpoints available for this CosmosDB account.
Conditions of the resource.
example-cosmosdb-sql-${Rand.RFC1123Subdomain}
apiVersion: cosmosdb.azure.upbound.io/v1beta1
kind: Account
metadata:
annotations:
meta.upbound.io/example-id: cosmosdb/v1beta1/sqlfunction
labels:
testing.upbound.io/example-name: sql
name: example-cosmosdb-sql-${Rand.RFC1123Subdomain}
spec:
forProvider:
consistencyPolicy:
- consistencyLevel: BoundedStaleness
geoLocation:
- failoverPriority: 0
location: West Europe
location: West Europe
offerType: Standard
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: rg1
example-cosmosdb-mongo-${Rand.RFC1123Subdomain}
apiVersion: cosmosdb.azure.upbound.io/v1beta1
kind: Account
metadata:
annotations:
meta.upbound.io/example-id: cosmosdb/v1beta1/mongocollection
labels:
testing.upbound.io/example-name: mongo
name: example-cosmosdb-mongo-${Rand.RFC1123Subdomain}
spec:
forProvider:
capabilities:
- name: EnableMongo
- name: MongoDBv3.4
- name: mongoEnableDocLevelTTL
consistencyPolicy:
- consistencyLevel: Strong
geoLocation:
- failoverPriority: 0
location: West Europe
kind: MongoDB
location: West Europe
offerType: Standard
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: rg1
example-cosmosdb-gremlin-${Rand.RFC1123Subdomain}
apiVersion: cosmosdb.azure.upbound.io/v1beta1
kind: Account
metadata:
annotations:
meta.upbound.io/example-id: cosmosdb/v1beta1/gremlingraph
labels:
testing.upbound.io/example-name: gremlin
name: example-cosmosdb-gremlin-${Rand.RFC1123Subdomain}
spec:
forProvider:
capabilities:
- name: EnableGremlin
consistencyPolicy:
- consistencyLevel: Strong
geoLocation:
- failoverPriority: 0
location: West Europe
location: West Europe
offerType: Standard
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: rg1
example-cosmosdb-table-${Rand.RFC1123Subdomain}
apiVersion: cosmosdb.azure.upbound.io/v1beta1
kind: Account
metadata:
annotations:
meta.upbound.io/example-id: cosmosdb/v1beta1/table
labels:
testing.upbound.io/example-name: table
name: example-cosmosdb-table-${Rand.RFC1123Subdomain}
spec:
forProvider:
capabilities:
- name: EnableTable
consistencyPolicy:
- consistencyLevel: Strong
geoLocation:
- failoverPriority: 0
location: West Europe
location: West Europe
offerType: Standard
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: rg1
example-cosmosdb-cassandra-${Rand.RFC1123Subdomain}
apiVersion: cosmosdb.azure.upbound.io/v1beta1
kind: Account
metadata:
annotations:
meta.upbound.io/example-id: cosmosdb/v1beta1/cassandratable
labels:
testing.upbound.io/example-name: cassandra
name: example-cosmosdb-cassandra-${Rand.RFC1123Subdomain}
spec:
forProvider:
capabilities:
- name: EnableCassandra
consistencyPolicy:
- consistencyLevel: Strong
geoLocation:
- failoverPriority: 0
location: West Europe
location: West Europe
offerType: Standard
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: rg1
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.