Class ScriptInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.kusto.fluent.models.ScriptInner
public final class ScriptInner
extends com.azure.core.management.ProxyResource
Class representing a database script.
-
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.com.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the resource.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.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ScriptInner
public ScriptInner()
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
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 ScriptInner 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 ScriptInner 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 ScriptInner 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 ScriptInner 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 ScriptInner 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.
-