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 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

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