Skip to main content

sql_user_defined_functions

Overview

Namesql_user_defined_functions
TypeResource
Idazure.cosmos_db.sql_user_defined_functions

Fields

NameDatatypeDescription
idstringThe unique resource identifier of the ARM resource.
namestringThe name of the ARM resource.
identityobjectIdentity for the resource.
locationstringThe location of the resource group to which the resource belongs.
propertiesobjectThe properties of an Azure Cosmos DB userDefinedFunction
tagsobjectTags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
typestringThe type of Azure resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, containerName, databaseName, resourceGroupName, subscriptionId, userDefinedFunctionNameGets the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
listSELECTaccountName, containerName, databaseName, resourceGroupName, subscriptionIdLists the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
deleteDELETEaccountName, containerName, databaseName, resourceGroupName, subscriptionId, userDefinedFunctionNameDeletes an existing Azure Cosmos DB SQL userDefinedFunction.
_listEXECaccountName, containerName, databaseName, resourceGroupName, subscriptionIdLists the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
create_updateEXECaccountName, containerName, databaseName, resourceGroupName, subscriptionId, userDefinedFunctionName, data__propertiesCreate or update an Azure Cosmos DB SQL userDefinedFunction