SQLStoredProcedure is the Schema for the SQLStoredProcedures API. Manages a SQL Stored Procedure within a Cosmos DB Account SQL Database.
Type
CRD
Group
cosmosdb.azure.upbound.io
Version
v1beta1
apiVersion: cosmosdb.azure.upbound.io/v1beta1
kind: SQLStoredProcedure
SQLStoredProcedureSpec defines the desired state of SQLStoredProcedure
No description provided.
Reference to a Account in cosmosdb to populate accountName.
Policies for referencing.
Selector for a Account in cosmosdb to populate accountName.
Policies for selection.
Reference to a SQLContainer to populate containerName.
Policies for referencing.
Selector for a SQLContainer to populate containerName.
Policies for selection.
Reference to a SQLDatabase to populate databaseName.
Policies for referencing.
Selector for a SQLDatabase to populate databaseName.
Policies for selection.
Reference to a ResourceGroup in azure to populate resourceGroupName.
Policies for referencing.
Selector for a ResourceGroup in azure to populate resourceGroupName.
Policies for selection.
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.
SQLStoredProcedureStatus defines the observed state of SQLStoredProcedure.
No description provided.
Conditions of the resource.
example
apiVersion: cosmosdb.azure.upbound.io/v1beta1
kind: SQLStoredProcedure
metadata:
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
accountNameSelector:
matchLabels:
testing.upbound.io/example-name: sql
body: >2
function () { var context = getContext(); var response = context.getResponse(); response.setBody('Hello, World'); }
containerNameSelector:
matchLabels:
testing.upbound.io/example-name: example
databaseNameSelector:
matchLabels:
testing.upbound.io/example-name: example
resourceGroupNameSelector:
matchLabels:
testing.upbound.io/example-name: rg1
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.