Interface Script


  • public interface Script
    An immutable client-side representation of Script.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Boolean continueOnErrors()
      Gets the continueOnErrors property: Flag that indicates whether to continue if one of the command fails.
      String forceUpdateTag()
      Gets the forceUpdateTag property: A unique string.
      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      ScriptInner innerModel()
      Gets the inner com.azure.resourcemanager.kusto.fluent.models.ScriptInner object.
      String name()
      Gets the name property: The name of the resource.
      ProvisioningState provisioningState()
      Gets the provisioningState property: The provisioned state of the resource.
      Script refresh()
      Refreshes the resource to sync with Azure.
      Script refresh​(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      String scriptContent()
      Gets the scriptContent property: The script content.
      String scriptUrl()
      Gets the scriptUrl property: The url to the KQL script blob file.
      String scriptUrlSasToken()
      Gets the scriptUrlSasToken property: The SaS token that provide read access to the file which contain the script.
      com.azure.core.management.SystemData systemData()
      Gets the systemData property: Metadata pertaining to creation and last modification of the resource.
      String type()
      Gets the type property: The type of the resource.
      Script.Update update()
      Begins update for the Script resource.
    • Method Detail

      • id

        String id()
        Gets the id property: Fully qualified resource Id for the resource.
        Returns:
        the id value.
      • name

        String name()
        Gets the name property: The name of the resource.
        Returns:
        the name value.
      • type

        String type()
        Gets the type property: The type of the resource.
        Returns:
        the type value.
      • systemData

        com.azure.core.management.SystemData systemData()
        Gets the systemData property: Metadata pertaining to creation and last modification of the resource.
        Returns:
        the systemData value.
      • scriptUrl

        String scriptUrl()
        Gets the scriptUrl property: The url to the KQL script blob file. Must not be used together with scriptContent property.
        Returns:
        the scriptUrl value.
      • scriptUrlSasToken

        String scriptUrlSasToken()
        Gets 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.
      • scriptContent

        String scriptContent()
        Gets 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.
      • forceUpdateTag

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

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

        ProvisioningState provisioningState()
        Gets the provisioningState property: The provisioned state of the resource.
        Returns:
        the provisioningState value.
      • innerModel

        ScriptInner innerModel()
        Gets the inner com.azure.resourcemanager.kusto.fluent.models.ScriptInner object.
        Returns:
        the inner object.
      • update

        Script.Update update()
        Begins update for the Script resource.
        Returns:
        the stage of resource update.
      • refresh

        Script refresh()
        Refreshes the resource to sync with Azure.
        Returns:
        the refreshed resource.
      • refresh

        Script refresh​(com.azure.core.util.Context context)
        Refreshes the resource to sync with Azure.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        the refreshed resource.