ScriptsOperations interface

Interface representing a Scripts operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
checkNameAvailability

Checks that the script name is valid and is not already in use.

createOrUpdate

Creates a Kusto database script.

delete

Deletes a Kusto database script.

get

Gets a Kusto cluster database script.

listByDatabase

Returns the list of database scripts for given database.

update

Updates a database script.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, parameters: Script, options?: ScriptsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Script>, Script>>

Property Value

(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, parameters: Script, options?: ScriptsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Script>, Script>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, parameters: Script, options?: ScriptsCreateOrUpdateOptionalParams) => Promise<Script>

Property Value

(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, parameters: Script, options?: ScriptsCreateOrUpdateOptionalParams) => Promise<Script>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, options?: ScriptsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, options?: ScriptsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, options?: ScriptsDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, options?: ScriptsDeleteOptionalParams) => Promise<void>

beginUpdate

Warning

This API is now deprecated.

use update instead

beginUpdate: (resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, parameters: Script, options?: ScriptsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Script>, Script>>

Property Value

(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, parameters: Script, options?: ScriptsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Script>, Script>>

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

beginUpdateAndWait: (resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, parameters: Script, options?: ScriptsUpdateOptionalParams) => Promise<Script>

Property Value

(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, parameters: Script, options?: ScriptsUpdateOptionalParams) => Promise<Script>

checkNameAvailability

Checks that the script name is valid and is not already in use.

checkNameAvailability: (resourceGroupName: string, clusterName: string, databaseName: string, scriptName: ScriptCheckNameRequest, options?: ScriptsCheckNameAvailabilityOptionalParams) => Promise<CheckNameResult>

Property Value

(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: ScriptCheckNameRequest, options?: ScriptsCheckNameAvailabilityOptionalParams) => Promise<CheckNameResult>

createOrUpdate

Creates a Kusto database script.

createOrUpdate: (resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, parameters: Script, options?: ScriptsCreateOrUpdateOptionalParams) => PollerLike<OperationState<Script>, Script>

Property Value

(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, parameters: Script, options?: ScriptsCreateOrUpdateOptionalParams) => PollerLike<OperationState<Script>, Script>

delete

Deletes a Kusto database script.

delete: (resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, options?: ScriptsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, options?: ScriptsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets a Kusto cluster database script.

get: (resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, options?: ScriptsGetOptionalParams) => Promise<Script>

Property Value

(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, options?: ScriptsGetOptionalParams) => Promise<Script>

listByDatabase

Returns the list of database scripts for given database.

listByDatabase: (resourceGroupName: string, clusterName: string, databaseName: string, options?: ScriptsListByDatabaseOptionalParams) => PagedAsyncIterableIterator<Script, Script[], PageSettings>

Property Value

(resourceGroupName: string, clusterName: string, databaseName: string, options?: ScriptsListByDatabaseOptionalParams) => PagedAsyncIterableIterator<Script, Script[], PageSettings>

update

Updates a database script.

update: (resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, parameters: Script, options?: ScriptsUpdateOptionalParams) => PollerLike<OperationState<Script>, Script>

Property Value

(resourceGroupName: string, clusterName: string, databaseName: string, scriptName: string, parameters: Script, options?: ScriptsUpdateOptionalParams) => PollerLike<OperationState<Script>, Script>