Class ScriptProperties
java.lang.Object
com.azure.resourcemanager.kusto.fluent.models.ScriptProperties
A class representing database script property.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the continueOnErrors property: Flag that indicates whether to continue if one of the command fails.Get the forceUpdateTag property: A unique string.Get the provisioningState property: The provisioned state of the resource.Get the scriptContent property: The script content.Get the scriptUrl property: The url to the KQL script blob file.Get the scriptUrlSasToken property: The SaS token that provide read access to the file which contain the script.void
validate()
Validates the instance.withContinueOnErrors
(Boolean continueOnErrors) Set the continueOnErrors property: Flag that indicates whether to continue if one of the command fails.withForceUpdateTag
(String forceUpdateTag) Set the forceUpdateTag property: A unique string.withScriptContent
(String scriptContent) Set the scriptContent property: The script content.withScriptUrl
(String scriptUrl) Set the scriptUrl property: The url to the KQL script blob file.withScriptUrlSasToken
(String scriptUrlSasToken) Set the scriptUrlSasToken property: The SaS token that provide read access to the file which contain the script.
-
Constructor Details
-
ScriptProperties
public ScriptProperties()
-
-
Method Details
-
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.
-
withScriptUrl
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 ScriptProperties object itself.
-
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.
-
withScriptUrlSasToken
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 ScriptProperties object itself.
-
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.
-
withScriptContent
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 ScriptProperties object itself.
-
forceUpdateTag
Get the forceUpdateTag property: A unique string. If changed the script will be applied again.- Returns:
- the forceUpdateTag value.
-
withForceUpdateTag
Set the forceUpdateTag property: A unique string. If changed the script will be applied again.- Parameters:
forceUpdateTag
- the forceUpdateTag value to set.- Returns:
- the ScriptProperties object itself.
-
continueOnErrors
Get the continueOnErrors property: Flag that indicates whether to continue if one of the command fails.- Returns:
- the continueOnErrors value.
-
withContinueOnErrors
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 ScriptProperties object itself.
-
provisioningState
Get the provisioningState property: The provisioned state of the resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-