Class ScriptProperties

java.lang.Object
com.azure.resourcemanager.kusto.fluent.models.ScriptProperties

public final class ScriptProperties extends Object
A class representing database script property.
  • Constructor Details

    • ScriptProperties

      public ScriptProperties()
  • Method Details

    • 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.
    • withScriptUrl

      public ScriptProperties 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 ScriptProperties object itself.
    • 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.
    • withScriptUrlSasToken

      public ScriptProperties 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 ScriptProperties object itself.
    • 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.
    • withScriptContent

      public ScriptProperties 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 ScriptProperties object itself.
    • forceUpdateTag

      public String forceUpdateTag()
      Get the forceUpdateTag property: A unique string. If changed the script will be applied again.
      Returns:
      the forceUpdateTag value.
    • withForceUpdateTag

      public ScriptProperties 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 ScriptProperties object itself.
    • continueOnErrors

      public Boolean continueOnErrors()
      Get the continueOnErrors property: Flag that indicates whether to continue if one of the command fails.
      Returns:
      the continueOnErrors value.
    • withContinueOnErrors

      public ScriptProperties 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 ScriptProperties object itself.
    • provisioningState

      public ProvisioningState 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.