Microsoft.Kusto clusters/databases/scripts 2021-01-01
Bicep resource definition
The clusters/databases/scripts resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Kusto/clusters/databases/scripts resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Kusto/clusters/databases/scripts@2021-01-01' = {
parent: resourceSymbolicName
name: 'string'
properties: {
continueOnErrors: bool
forceUpdateTag: 'string'
scriptUrl: 'string'
scriptUrlSasToken: 'string'
}
}
Property values
Microsoft.Kusto/clusters/databases/scripts
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: clusters/databases |
properties | The database script. | ScriptProperties |
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 |
scriptUrl | The url to the KQL script blob file. | string (required) |
scriptUrlSasToken | The SaS token. | string Constraints: Sensitive value. Pass in as a secure parameter. (required) |
Quickstart samples
The following quickstart samples deploy this resource type.
Bicep File | 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 Grid connection | Deploy Azure Data Explorer db with Event Grid connection. |
Deploy Azure Data Explorer db with Event Hub connection | Deploy Azure Data Explorer db with Event Hub connection. |
ARM template resource definition
The clusters/databases/scripts resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Kusto/clusters/databases/scripts resource, add the following JSON to your template.
{
"type": "Microsoft.Kusto/clusters/databases/scripts",
"apiVersion": "2021-01-01",
"name": "string",
"properties": {
"continueOnErrors": "bool",
"forceUpdateTag": "string",
"scriptUrl": "string",
"scriptUrlSasToken": "string"
}
}
Property values
Microsoft.Kusto/clusters/databases/scripts
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2021-01-01' |
name | The resource name | string (required) |
properties | The database script. | ScriptProperties |
type | The resource type | 'Microsoft.Kusto/clusters/databases/scripts' |
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 |
scriptUrl | The url to the KQL script blob file. | string (required) |
scriptUrlSasToken | The SaS token. | string Constraints: Sensitive value. Pass in as a secure parameter. (required) |
Quickstart templates
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 Grid connection |
Deploy Azure Data Explorer db with Event Grid connection. |
Deploy Azure Data Explorer db with Event Hub connection |
Deploy Azure Data Explorer db with Event Hub connection. |
Terraform (AzAPI provider) resource definition
The clusters/databases/scripts resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Kusto/clusters/databases/scripts resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Kusto/clusters/databases/scripts@2021-01-01"
name = "string"
body = jsonencode({
properties = {
continueOnErrors = bool
forceUpdateTag = "string"
scriptUrl = "string"
scriptUrlSasToken = "string"
}
})
}
Property values
Microsoft.Kusto/clusters/databases/scripts
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: clusters/databases |
properties | The database script. | ScriptProperties |
type | The resource type | "Microsoft.Kusto/clusters/databases/scripts@2021-01-01" |
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 |
scriptUrl | The url to the KQL script blob file. | string (required) |
scriptUrlSasToken | The SaS token. | string Constraints: Sensitive value. Pass in as a secure parameter. (required) |