A CosmosDBAccount is a managed resource that represents an Azure CosmosDB account with CosmosDB API.
Type
CRD
Group
database.azure.crossplane.io
Version
v1alpha3
apiVersion: database.azure.crossplane.io/v1alpha3
kind: CosmosDBAccount
A CosmosDBAccountSpec defines the desired state of a CosmosDB Account.
CosmosDBAccountParameters define the desired state of an Azure CosmosDB account.
Properties - Account properties like databaseAccountOfferType, ipRangeFilters, etc.
ConsistencyPolicy - The consistency policy for the Cosmos DB account.
Locations - An array that contains the georeplication locations enabled for the Cosmos DB account.
ResourceGroupNameRef - A reference to a ResourceGroup object to retrieve its name
ResourceGroupNameSelector to select a reference to a resource group.
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
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.
An CosmosDBAccountStatus represents the observed state of an Account.
Conditions of the resource.
example-cdb
apiVersion: database.azure.crossplane.io/v1alpha3
kind: CosmosDBAccount
metadata:
labels:
example: "true"
name: example-cdb
spec:
forProvider:
kind: MongoDB
location: westus2
properties:
databaseAccountOfferType: Standard
locations:
- failoverPriority: 0
isZoneRedundant: false
locationName: South Central US
resourceGroupNameRef:
name: example-rg
providerConfigRef:
name: example
writeConnectionSecretToRef:
name: example-cdb
namespace: crossplane-system
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.