CreateTaskFromSQLTask¶
- 
class oci.data_integration.models.CreateTaskFromSQLTask(**kwargs)¶
- Bases: - oci.data_integration.models.create_task_details.CreateTaskDetails- The information about the SQL task. - Attributes - MODEL_TYPE_DATA_LOADER_TASK- str(object=’’) -> str - MODEL_TYPE_INTEGRATION_TASK- str(object=’’) -> str - MODEL_TYPE_OCI_DATAFLOW_TASK- str(object=’’) -> str - MODEL_TYPE_PIPELINE_TASK- str(object=’’) -> str - MODEL_TYPE_REST_TASK- str(object=’’) -> str - MODEL_TYPE_SQL_TASK- str(object=’’) -> str - SQL_SCRIPT_TYPE_SQL_CODE- A constant which can be used with the sql_script_type property of a CreateTaskFromSQLTask. - SQL_SCRIPT_TYPE_STORED_PROCEDURE- A constant which can be used with the sql_script_type property of a CreateTaskFromSQLTask. - config_provider_delegate- Gets the config_provider_delegate of this CreateTaskDetails. - description- Gets the description of this CreateTaskDetails. - identifier- [Required] Gets the identifier of this CreateTaskDetails. - input_ports- Gets the input_ports of this CreateTaskDetails. - is_concurrent_allowed- Gets the is_concurrent_allowed of this CreateTaskDetails. - key- Gets the key of this CreateTaskDetails. - model_type- [Required] Gets the model_type of this CreateTaskDetails. - model_version- Gets the model_version of this CreateTaskDetails. - name- [Required] Gets the name of this CreateTaskDetails. - object_status- Gets the object_status of this CreateTaskDetails. - op_config_values- Gets the op_config_values of this CreateTaskDetails. - operation- Gets the operation of this CreateTaskFromSQLTask. - output_ports- Gets the output_ports of this CreateTaskDetails. - parameters- Gets the parameters of this CreateTaskDetails. - parent_ref- Gets the parent_ref of this CreateTaskDetails. - registry_metadata- [Required] Gets the registry_metadata of this CreateTaskDetails. - script- Gets the script of this CreateTaskFromSQLTask. - sql_script_type- Gets the sql_script_type of this CreateTaskFromSQLTask. - Methods - __init__(**kwargs)- Initializes a new CreateTaskFromSQLTask object with values from keyword arguments. - get_subtype(object_dictionary)- Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. - 
MODEL_TYPE_DATA_LOADER_TASK= 'DATA_LOADER_TASK'¶
 - 
MODEL_TYPE_INTEGRATION_TASK= 'INTEGRATION_TASK'¶
 - 
MODEL_TYPE_OCI_DATAFLOW_TASK= 'OCI_DATAFLOW_TASK'¶
 - 
MODEL_TYPE_PIPELINE_TASK= 'PIPELINE_TASK'¶
 - 
MODEL_TYPE_REST_TASK= 'REST_TASK'¶
 - 
MODEL_TYPE_SQL_TASK= 'SQL_TASK'¶
 - 
SQL_SCRIPT_TYPE_SQL_CODE= 'SQL_CODE'¶
- A constant which can be used with the sql_script_type property of a CreateTaskFromSQLTask. This constant has a value of “SQL_CODE” 
 - 
SQL_SCRIPT_TYPE_STORED_PROCEDURE= 'STORED_PROCEDURE'¶
- A constant which can be used with the sql_script_type property of a CreateTaskFromSQLTask. This constant has a value of “STORED_PROCEDURE” 
 - 
__init__(**kwargs)¶
- Initializes a new CreateTaskFromSQLTask object with values from keyword arguments. The default value of the - model_typeattribute of this class is- SQL_TASKand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters: - model_type (str) – The value to assign to the model_type property of this CreateTaskFromSQLTask. Allowed values for this property are: “INTEGRATION_TASK”, “DATA_LOADER_TASK”, “PIPELINE_TASK”, “SQL_TASK”, “OCI_DATAFLOW_TASK”, “REST_TASK”
- key (str) – The value to assign to the key property of this CreateTaskFromSQLTask.
- model_version (str) – The value to assign to the model_version property of this CreateTaskFromSQLTask.
- parent_ref (oci.data_integration.models.ParentReference) – The value to assign to the parent_ref property of this CreateTaskFromSQLTask.
- name (str) – The value to assign to the name property of this CreateTaskFromSQLTask.
- description (str) – The value to assign to the description property of this CreateTaskFromSQLTask.
- object_status (int) – The value to assign to the object_status property of this CreateTaskFromSQLTask.
- identifier (str) – The value to assign to the identifier property of this CreateTaskFromSQLTask.
- input_ports (list[oci.data_integration.models.InputPort]) – The value to assign to the input_ports property of this CreateTaskFromSQLTask.
- output_ports (list[oci.data_integration.models.OutputPort]) – The value to assign to the output_ports property of this CreateTaskFromSQLTask.
- parameters (list[oci.data_integration.models.Parameter]) – The value to assign to the parameters property of this CreateTaskFromSQLTask.
- op_config_values (oci.data_integration.models.ConfigValues) – The value to assign to the op_config_values property of this CreateTaskFromSQLTask.
- config_provider_delegate (oci.data_integration.models.CreateConfigProvider) – The value to assign to the config_provider_delegate property of this CreateTaskFromSQLTask.
- is_concurrent_allowed (bool) – The value to assign to the is_concurrent_allowed property of this CreateTaskFromSQLTask.
- registry_metadata (oci.data_integration.models.RegistryMetadata) – The value to assign to the registry_metadata property of this CreateTaskFromSQLTask.
- script (oci.data_integration.models.Script) – The value to assign to the script property of this CreateTaskFromSQLTask.
- sql_script_type (str) – The value to assign to the sql_script_type property of this CreateTaskFromSQLTask. Allowed values for this property are: “STORED_PROCEDURE”, “SQL_CODE”
- operation (object) – The value to assign to the operation property of this CreateTaskFromSQLTask.
 
 - 
config_provider_delegate¶
- Gets the config_provider_delegate of this CreateTaskDetails. - Returns: - The config_provider_delegate of this CreateTaskDetails. - Return type: - oci.data_integration.models.CreateConfigProvider 
 - 
description¶
- Gets the description of this CreateTaskDetails. Detailed description for the object. - Returns: - The description of this CreateTaskDetails. - Return type: - str 
 - 
static get_subtype(object_dictionary)¶
- Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. 
 - 
identifier¶
- [Required] Gets the identifier of this CreateTaskDetails. Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified. - Returns: - The identifier of this CreateTaskDetails. - Return type: - str 
 - 
input_ports¶
- Gets the input_ports of this CreateTaskDetails. An array of input ports. - Returns: - The input_ports of this CreateTaskDetails. - Return type: - list[oci.data_integration.models.InputPort] 
 - 
is_concurrent_allowed¶
- Gets the is_concurrent_allowed of this CreateTaskDetails. Whether the same task can be executed concurrently. - Returns: - The is_concurrent_allowed of this CreateTaskDetails. - Return type: - bool 
 - 
key¶
- Gets the key of this CreateTaskDetails. Generated key that can be used in API calls to identify task. On scenarios where reference to the task is needed, a value can be passed in create. - Returns: - The key of this CreateTaskDetails. - Return type: - str 
 - 
model_type¶
- [Required] Gets the model_type of this CreateTaskDetails. The type of the task. - Allowed values for this property are: “INTEGRATION_TASK”, “DATA_LOADER_TASK”, “PIPELINE_TASK”, “SQL_TASK”, “OCI_DATAFLOW_TASK”, “REST_TASK” - Returns: - The model_type of this CreateTaskDetails. - Return type: - str 
 - 
model_version¶
- Gets the model_version of this CreateTaskDetails. The object’s model version. - Returns: - The model_version of this CreateTaskDetails. - Return type: - str 
 - 
name¶
- [Required] Gets the name of this CreateTaskDetails. Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. - Returns: - The name of this CreateTaskDetails. - Return type: - str 
 - 
object_status¶
- Gets the object_status of this CreateTaskDetails. The status of an object that can be set to value 1 for shallow references across objects, other values reserved. - Returns: - The object_status of this CreateTaskDetails. - Return type: - int 
 - 
op_config_values¶
- Gets the op_config_values of this CreateTaskDetails. - Returns: - The op_config_values of this CreateTaskDetails. - Return type: - oci.data_integration.models.ConfigValues 
 - 
operation¶
- Gets the operation of this CreateTaskFromSQLTask. Describes the shape of the execution result - Returns: - The operation of this CreateTaskFromSQLTask. - Return type: - object 
 - 
output_ports¶
- Gets the output_ports of this CreateTaskDetails. An array of output ports. - Returns: - The output_ports of this CreateTaskDetails. - Return type: - list[oci.data_integration.models.OutputPort] 
 - 
parameters¶
- Gets the parameters of this CreateTaskDetails. An array of parameters. - Returns: - The parameters of this CreateTaskDetails. - Return type: - list[oci.data_integration.models.Parameter] 
 - 
parent_ref¶
- Gets the parent_ref of this CreateTaskDetails. - Returns: - The parent_ref of this CreateTaskDetails. - Return type: - oci.data_integration.models.ParentReference 
 - 
registry_metadata¶
- [Required] Gets the registry_metadata of this CreateTaskDetails. - Returns: - The registry_metadata of this CreateTaskDetails. - Return type: - oci.data_integration.models.RegistryMetadata 
 - 
script¶
- Gets the script of this CreateTaskFromSQLTask. - Returns: - The script of this CreateTaskFromSQLTask. - Return type: - oci.data_integration.models.Script 
 - 
sql_script_type¶
- Gets the sql_script_type of this CreateTaskFromSQLTask. Indicates whether the task is invoking a custom SQL script or stored procedure. - Allowed values for this property are: “STORED_PROCEDURE”, “SQL_CODE” - Returns: - The sql_script_type of this CreateTaskFromSQLTask. - Return type: - str 
 
-