KustoScriptData Class

Definition

A class representing the KustoScript data model. Class representing a database script.

public class KustoScriptData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Kusto.KustoScriptData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Kusto.KustoScriptData>
type KustoScriptData = class
    inherit ResourceData
    interface IJsonModel<KustoScriptData>
    interface IPersistableModel<KustoScriptData>
Public Class KustoScriptData
Inherits ResourceData
Implements IJsonModel(Of KustoScriptData), IPersistableModel(Of KustoScriptData)
Inheritance
KustoScriptData
Implements

Constructors

KustoScriptData()

Initializes a new instance of KustoScriptData.

Properties

ForceUpdateTag

A unique string. If changed the script will be applied again.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
PrincipalPermissionsAction

Indicates if the permissions for the script caller are kept following completion of the script.

ProvisioningState

The provisioned state of the resource.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
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.

ScriptLevel

Differentiates between the type of script commands included - Database or Cluster. The default is Database.

ScriptUri

The url to the KQL script blob file. Must not be used together with scriptContent property.

ScriptUriSasToken

The SaS token that provide read access to the file which contain the script. Must be provided when using scriptUrl property.

ShouldContinueOnErrors

Flag that indicates whether to continue if one of the command fails.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<KustoScriptData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<KustoScriptData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KustoScriptData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KustoScriptData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<KustoScriptData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to