Script Interface

public interface Script

An immutable client-side representation of Script.

Method Summary

Modifier and Type Method and Description
abstract Boolean continueOnErrors()

Gets the continueOnErrors property: Flag that indicates whether to continue if one of the command fails.

abstract String forceUpdateTag()

Gets the forceUpdateTag property: A unique string.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract ScriptInner innerModel()

Gets the inner com.azure.resourcemanager.kusto.fluent.models.ScriptInner object.

abstract String name()

Gets the name property: The name of the resource.

abstract PrincipalPermissionsAction principalPermissionsAction()

Gets the principalPermissionsAction property: Indicates if the permissions for the script caller are kept following completion of the script.

abstract ProvisioningState provisioningState()

Gets the provisioningState property: The provisioned state of the resource.

abstract Script refresh()

Refreshes the resource to sync with Azure.

abstract Script refresh(Context context)

Refreshes the resource to sync with Azure.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract String scriptContent()

Gets the scriptContent property: The script content.

abstract ScriptLevel scriptLevel()

Gets the scriptLevel property: Differentiates between the type of script commands included - Database or Cluster.

abstract String scriptUrl()

Gets the scriptUrl property: The url to the KQL script blob file.

abstract String scriptUrlSasToken()

Gets the scriptUrlSasToken property: The SaS token that provide read access to the file which contain the script.

abstract SystemData systemData()

Gets the systemData property: Metadata pertaining to creation and last modification of the resource.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the Script resource.

Method Details

continueOnErrors

public abstract Boolean continueOnErrors()

Gets the continueOnErrors property: Flag that indicates whether to continue if one of the command fails.

Returns:

the continueOnErrors value.

forceUpdateTag

public abstract String forceUpdateTag()

Gets the forceUpdateTag property: A unique string. If changed the script will be applied again.

Returns:

the forceUpdateTag value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract ScriptInner innerModel()

Gets the inner com.azure.resourcemanager.kusto.fluent.models.ScriptInner object.

Returns:

the inner object.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

principalPermissionsAction

public abstract PrincipalPermissionsAction principalPermissionsAction()

Gets the principalPermissionsAction property: Indicates if the permissions for the script caller are kept following completion of the script.

Returns:

the principalPermissionsAction value.

provisioningState

public abstract ProvisioningState provisioningState()

Gets the provisioningState property: The provisioned state of the resource.

Returns:

the provisioningState value.

refresh

public abstract Script refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract Script refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

scriptContent

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

scriptLevel

public abstract ScriptLevel scriptLevel()

Gets the scriptLevel property: Differentiates between the type of script commands included - Database or Cluster. The default is Database.

Returns:

the scriptLevel value.

scriptUrl

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

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

systemData

public abstract SystemData systemData()

Gets the systemData property: Metadata pertaining to creation and last modification of the resource.

Returns:

the systemData value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract Script.Update update()

Begins update for the Script resource.

Returns:

the stage of resource update.

Applies to