The clusters/databases/scripts resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Kusto/clusters/databases/scripts resource, add the following JSON to your template.
{
"type": "Microsoft.Kusto/clusters/databases/scripts",
"apiVersion": "2023-08-15",
"name": "string",
"properties": {
"continueOnErrors": "bool",
"forceUpdateTag": "string",
"scriptContent": "string",
"scriptUrl": "string",
"scriptUrlSasToken": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Kusto/clusters/databases/scripts' |
apiVersion | The resource api version | '2023-08-15' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) |
properties | The database script. | ScriptProperties |
Name | Description | Value |
---|---|---|
continueOnErrors | Flag that indicates whether to continue if one of the command fails. | bool |
forceUpdateTag | A unique string. If changed the script will be applied again. | string |
scriptContent | The script content. This property should be used when the script is provide inline and not through file in a SA. Must not be used together with scriptUrl and scriptUrlSasToken properties. | string Constraints: Sensitive value. Pass in as a secure parameter. |
scriptUrl | The url to the KQL script blob file. Must not be used together with scriptContent property | string |
scriptUrlSasToken | The SaS token that provide read access to the file which contain the script. Must be provided when using scriptUrl property. | string Constraints: Sensitive value. Pass in as a secure parameter. |
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
Deploy Azure Data Explorer DB with Cosmos DB connection |
Deploy Azure Data Explorer DB with Cosmos DB connection. |
Deploy Azure Data Explorer db with Event Hub connection |
Deploy Azure Data Explorer db with Event Hub connection. |