ScriptInner Class

public final class ScriptInner
extends ProxyResource

Class representing a database script.

Constructor Summary

Constructor Description
ScriptInner()

Creates an instance of ScriptInner class.

Method Summary

Modifier and Type Method and Description
Boolean continueOnErrors()

Get the continueOnErrors property: Flag that indicates whether to continue if one of the command fails.

String forceUpdateTag()

Get the forceUpdateTag property: A unique string.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioned state of the resource.

String scriptContent()

Get the scriptContent property: The script content.

String scriptUrl()

Get the scriptUrl property: The url to the KQL script blob file.

String scriptUrlSasToken()

Get the scriptUrlSasToken property: The SaS token that provide read access to the file which contain the script.

SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

void validate()

Validates the instance.

ScriptInner withContinueOnErrors(Boolean continueOnErrors)

Set the continueOnErrors property: Flag that indicates whether to continue if one of the command fails.

ScriptInner withForceUpdateTag(String forceUpdateTag)

Set the forceUpdateTag property: A unique string.

ScriptInner withScriptContent(String scriptContent)

Set the scriptContent property: The script content.

ScriptInner withScriptUrl(String scriptUrl)

Set the scriptUrl property: The url to the KQL script blob file.

ScriptInner withScriptUrlSasToken(String scriptUrlSasToken)

Set the scriptUrlSasToken property: The SaS token that provide read access to the file which contain the script.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ScriptInner

public ScriptInner()

Creates an instance of ScriptInner class.

Method Details

continueOnErrors

public Boolean continueOnErrors()

Get the continueOnErrors property: Flag that indicates whether to continue if one of the command fails.

Returns:

the continueOnErrors value.

forceUpdateTag

public String forceUpdateTag()

Get the forceUpdateTag property: A unique string. If changed the script will be applied again.

Returns:

the forceUpdateTag value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioned state of the resource.

Returns:

the provisioningState value.

scriptContent

public String scriptContent()

Get the scriptContent property: 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.

Returns:

the scriptContent value.

scriptUrl

public String scriptUrl()

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

Returns:

the scriptUrl value.

scriptUrlSasToken

public String scriptUrlSasToken()

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

Returns:

the scriptUrlSasToken value.

systemData

public SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

Returns:

the systemData value.

validate

public void validate()

Validates the instance.

withContinueOnErrors

public ScriptInner withContinueOnErrors(Boolean continueOnErrors)

Set the continueOnErrors property: Flag that indicates whether to continue if one of the command fails.

Parameters:

continueOnErrors - the continueOnErrors value to set.

Returns:

the ScriptInner object itself.

withForceUpdateTag

public ScriptInner withForceUpdateTag(String forceUpdateTag)

Set the forceUpdateTag property: A unique string. If changed the script will be applied again.

Parameters:

forceUpdateTag - the forceUpdateTag value to set.

Returns:

the ScriptInner object itself.

withScriptContent

public ScriptInner withScriptContent(String scriptContent)

Set the scriptContent property: 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.

Parameters:

scriptContent - the scriptContent value to set.

Returns:

the ScriptInner object itself.

withScriptUrl

public ScriptInner withScriptUrl(String scriptUrl)

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

Parameters:

scriptUrl - the scriptUrl value to set.

Returns:

the ScriptInner object itself.

withScriptUrlSasToken

public ScriptInner withScriptUrlSasToken(String scriptUrlSasToken)

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

Parameters:

scriptUrlSasToken - the scriptUrlSasToken value to set.

Returns:

the ScriptInner object itself.

Applies to