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.
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.
An identity block as defined below.
Specifies a list of User Assigned Managed Identity IDs to be assigned to this Cosmos Account.
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.
THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.
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.
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.
An identity block as defined below.
Specifies a list of User Assigned Managed Identity IDs to be assigned to this Cosmos Account.
The list of resource Ids for Network Acl Bypass for this Cosmos DB account.
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.
Specifies a virtual_network_rules resource, used to define which subnets are allowed to access this CosmosDB account.
THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md
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.
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.
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.
An identity block as defined below.
Specifies a list of User Assigned Managed Identity IDs to be assigned to this Cosmos Account.
The list of resource Ids for Network Acl Bypass for this Cosmos DB account.
A list of read endpoints available for this CosmosDB account.
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.
Specifies a virtual_network_rules resource, used to define which subnets are allowed to access 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
upbound-example
apiVersion: cosmosdb.azure.upbound.io/v1beta1
kind: Account
metadata:
annotations:
meta.upbound.io/example-id: cosmosdb/v1beta1/sqlroleassignment
upjet.upbound.io/manual-intervention: This resource is dependency of
SQLRoleAssignment. This resource is skipping because parent resource was
skipped.
labels:
testing.upbound.io/example-name: example
name: upbound-example
spec:
forProvider:
consistencyPolicy:
- consistencyLevel: Strong
geoLocation:
- failoverPriority: 0
location: West Europe
kind: GlobalDocumentDB
location: West Europe
offerType: Standard
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: example
default-${Rand.RFC1123Subdomain}
apiVersion: cosmosdb.azure.upbound.io/v1beta1
kind: Account
metadata:
annotations:
meta.upbound.io/example-id: servicelinker/v1beta1/springcloudconnection
labels:
testing.upbound.io/example-name: example
name: default-${Rand.RFC1123Subdomain}
spec:
forProvider:
consistencyPolicy:
- consistencyLevel: BoundedStaleness
maxIntervalInSeconds: 10
maxStalenessPrefix: 200
geoLocation:
- failoverPriority: 0
location: West Europe
kind: GlobalDocumentDB
location: West Europe
offerType: Standard
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: rgspringcloudconnection
exampleac
apiVersion: cosmosdb.azure.upbound.io/v1beta1
kind: Account
metadata:
annotations:
meta.upbound.io/example-id: appplatform/v1beta1/springcloudappcosmosdbassociation
labels:
testing.upbound.io/example-name: example
name: exampleac
spec:
forProvider:
consistencyPolicy:
- consistencyLevel: Strong
geoLocation:
- failoverPriority: 0
location: West Europe
kind: GlobalDocumentDB
location: West Europe
offerType: Standard
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: example
upbound-example
apiVersion: cosmosdb.azure.upbound.io/v1beta1
kind: Account
metadata:
annotations:
meta.upbound.io/example-id: cosmosdb/v1beta1/sqlroledefinition
upjet.upbound.io/manual-intervention: This resource is dependency of
SQLRoleDefinition. This resource is skipping because parent resource was
skipped.
labels:
testing.upbound.io/example-name: example
name: upbound-example
spec:
forProvider:
consistencyPolicy:
- consistencyLevel: Strong
geoLocation:
- failoverPriority: 0
location: West Europe
kind: GlobalDocumentDB
location: West Europe
offerType: Standard
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: example
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
example-cosmosdb-${Rand.RFC1123Subdomain}
apiVersion: cosmosdb.azure.upbound.io/v1beta1
kind: Account
metadata:
annotations:
meta.upbound.io/example-id: cosmosdb/v1beta1/account
labels:
testing.upbound.io/example-name: db
name: example-cosmosdb-${Rand.RFC1123Subdomain}
spec:
forProvider:
capabilities:
- name: EnableAggregationPipeline
- name: mongoEnableDocLevelTTL
- name: MongoDBv3.4
- name: EnableMongo
consistencyPolicy:
- consistencyLevel: BoundedStaleness
maxIntervalInSeconds: 300
maxStalenessPrefix: 100000
enableAutomaticFailover: true
geoLocation:
- failoverPriority: 1
location: eastus
- failoverPriority: 0
location: westus
kind: MongoDB
location: West Europe
offerType: Standard
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: example
sqldedicatedgw-cdb
apiVersion: cosmosdb.azure.upbound.io/v1beta1
kind: Account
metadata:
annotations:
meta.upbound.io/example-id: cosmosdb/v1beta1/sqldedicatedgateway
uptest.upbound.io/timeout: "3600"
labels:
testing.upbound.io/example-name: sqldedicatedgw-cdb
name: sqldedicatedgw-cdb
spec:
forProvider:
consistencyPolicy:
- consistencyLevel: BoundedStaleness
geoLocation:
- failoverPriority: 0
location: West Europe
kind: GlobalDocumentDB
location: West Europe
offerType: Standard
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: sqldedicatedgw-rg
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.