Script Class
Class representing a database script.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.kusto.models._models_py3.ProxyResourceScript
Constructor
Script(*, script_url: Optional[str] = None, script_url_sas_token: Optional[str] = None, script_content: Optional[str] = None, force_update_tag: Optional[str] = None, continue_on_errors: Optional[bool] = False, **kwargs)
Variables
- id
- str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- str
The name of the resource.
- type
- str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- system_data
- <xref:kusto_management_client.models.SystemData>
Metadata pertaining to creation and last modification of the resource.
- script_url
- str
The url to the KQL script blob file. Must not be used together with scriptContent property.
- script_url_sas_token
- str
The SaS token that provide read access to the file which contain the script. Must be provided when using scriptUrl property.
- script_content
- str
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.
- force_update_tag
- str
A unique string. If changed the script will be applied again.
- continue_on_errors
- bool
Flag that indicates whether to continue if one of the command fails.
- provisioning_state
- str or <xref:kusto_management_client.models.ProvisioningState>
The provisioned state of the resource. Possible values include: "Running", "Creating", "Deleting", "Succeeded", "Failed", "Moving".
Feedback
Submit and view feedback for