Share via


Script Constructors

Definition

Overloads

Script()

Initializes a new instance of the Script class.

Script(String, String, String, String, String, String, String, Nullable<Boolean>, String, SystemData)

Initializes a new instance of the Script class.

Script()

Initializes a new instance of the Script class.

public Script ();
Public Sub New ()

Applies to

Script(String, String, String, String, String, String, String, Nullable<Boolean>, String, SystemData)

Initializes a new instance of the Script class.

public Script (string id = default, string name = default, string type = default, string scriptUrl = default, string scriptUrlSasToken = default, string scriptContent = default, string forceUpdateTag = default, bool? continueOnErrors = default, string provisioningState = default, Microsoft.Azure.Management.Kusto.Models.SystemData systemData = default);
new Microsoft.Azure.Management.Kusto.Models.Script : string * string * string * string * string * string * string * Nullable<bool> * string * Microsoft.Azure.Management.Kusto.Models.SystemData -> Microsoft.Azure.Management.Kusto.Models.Script
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional scriptUrl As String = Nothing, Optional scriptUrlSasToken As String = Nothing, Optional scriptContent As String = Nothing, Optional forceUpdateTag As String = Nothing, Optional continueOnErrors As Nullable(Of Boolean) = Nothing, Optional provisioningState As String = Nothing, Optional systemData As SystemData = Nothing)

Parameters

id
String

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

name
String

The name of the resource

type
String

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

scriptUrl
String

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

scriptUrlSasToken
String

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

scriptContent
String

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.

forceUpdateTag
String

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

continueOnErrors
Nullable<Boolean>

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

provisioningState
String

The provisioned state of the resource. Possible values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Moving'

systemData
SystemData

Applies to