a f0@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZdZdZddZeddZejddZeddZejddZeddZejddZeddZejddZedd Zejd!d Zed"d#Zejd$d#Zed%d&Zejd'd&Zed(d)Zejd*d)Zed+d,Zejd-d,Zed.d/Zejd0d/Zed1d2Z e jd3d2Z ed4d5Z!e!jd6d5Z!ed7d8Z"e"jd9d8Z"ed:d;Z#e#jdZ$e$jd?d>Z$ed@dAZ%e%jdBdAZ%edCdDZ&e&jdEdDZ&edFdGZ'e'jdHdGZ'edIdJZ(e(jdKdJZ(edLdMZ)e)jdNdMZ)edOdPZ*e*jdQdPZ*edRdSZ+e+jdTdSZ+edUdVZ,e,jdWdVZ,edXdYZ-e-jdZdYZ-ed[d\Z.e.jd]d\Z.ed^d_Z/e/jd`d_Z/edadbZ0e0jdcdbZ0edddeZ1e1jdfdeZ1edgdhZ2e2jdidhZ2edjdkZ3e3jdldkZ3edmdnZ4e4jdodnZ4edpdqZ5e5jdrdqZ5edsdtZ6e6jdudtZ6edvdwZ7e7jdxdwZ7edydzZ8e8jd{dzZ8ed|d}Z9e9jd~d}Z9eddZ:e:jddZ:eddZ;e;jddZ;eddZe>jddZ>eddZ?e?jddZ?eddZ@e@jddZ@eddZAeAjddZAddZBddZCddZDdS)Runz A run object. SCALAJAVAPYTHONSQLACCEPTED IN_PROGRESS CANCELINGCANCELEDFAILED SUCCEEDEDSTOPPINGSTOPPEDBATCH STREAMINGSESSIONc-Ksdddddddddddddddddddddddddddddddddddddd d dddddd ,|_d d d ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d ,|_d7|_d7|_d7|_d7|_d7|_d7|_d7|_d7|_ d7|_ d7|_ d7|_ d7|_ d7|_d7|_d7|_d7|_d7|_d7|_d7|_d7|_d7|_d7|_d7|_d7|_d7|_d7|_d7|_d7|_d7|_d7|_d7|_ d7|_!d7|_"d7|_#d7|_$d7|_%d7|_&d7|_'d7|_(d7|_)d7|_*d7|_+d7|_,d7|_-d7S)8a= Initializes a new Run object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param archive_uri: The value to assign to the archive_uri property of this Run. :type archive_uri: str :param arguments: The value to assign to the arguments property of this Run. :type arguments: list[str] :param application_id: The value to assign to the application_id property of this Run. :type application_id: str :param application_log_config: The value to assign to the application_log_config property of this Run. :type application_log_config: oci.data_flow.models.ApplicationLogConfig :param class_name: The value to assign to the class_name property of this Run. :type class_name: str :param compartment_id: The value to assign to the compartment_id property of this Run. :type compartment_id: str :param configuration: The value to assign to the configuration property of this Run. :type configuration: dict(str, str) :param data_read_in_bytes: The value to assign to the data_read_in_bytes property of this Run. :type data_read_in_bytes: int :param data_written_in_bytes: The value to assign to the data_written_in_bytes property of this Run. :type data_written_in_bytes: int :param defined_tags: The value to assign to the defined_tags property of this Run. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this Run. :type display_name: str :param driver_shape: The value to assign to the driver_shape property of this Run. :type driver_shape: str :param driver_shape_config: The value to assign to the driver_shape_config property of this Run. :type driver_shape_config: oci.data_flow.models.ShapeConfig :param execute: The value to assign to the execute property of this Run. :type execute: str :param executor_shape: The value to assign to the executor_shape property of this Run. :type executor_shape: str :param executor_shape_config: The value to assign to the executor_shape_config property of this Run. :type executor_shape_config: oci.data_flow.models.ShapeConfig :param file_uri: The value to assign to the file_uri property of this Run. :type file_uri: str :param freeform_tags: The value to assign to the freeform_tags property of this Run. :type freeform_tags: dict(str, str) :param id: The value to assign to the id property of this Run. :type id: str :param language: The value to assign to the language property of this Run. Allowed values for this property are: "SCALA", "JAVA", "PYTHON", "SQL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type language: str :param lifecycle_details: The value to assign to the lifecycle_details property of this Run. :type lifecycle_details: str :param lifecycle_state: The value to assign to the lifecycle_state property of this Run. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "CANCELING", "CANCELED", "FAILED", "SUCCEEDED", "STOPPING", "STOPPED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param logs_bucket_uri: The value to assign to the logs_bucket_uri property of this Run. :type logs_bucket_uri: str :param metastore_id: The value to assign to the metastore_id property of this Run. :type metastore_id: str :param num_executors: The value to assign to the num_executors property of this Run. :type num_executors: int :param opc_request_id: The value to assign to the opc_request_id property of this Run. :type opc_request_id: str :param owner_principal_id: The value to assign to the owner_principal_id property of this Run. :type owner_principal_id: str :param owner_user_name: The value to assign to the owner_user_name property of this Run. :type owner_user_name: str :param parameters: The value to assign to the parameters property of this Run. :type parameters: list[oci.data_flow.models.ApplicationParameter] :param pool_id: The value to assign to the pool_id property of this Run. :type pool_id: str :param private_endpoint_dns_zones: The value to assign to the private_endpoint_dns_zones property of this Run. :type private_endpoint_dns_zones: list[str] :param private_endpoint_max_host_count: The value to assign to the private_endpoint_max_host_count property of this Run. :type private_endpoint_max_host_count: int :param private_endpoint_nsg_ids: The value to assign to the private_endpoint_nsg_ids property of this Run. :type private_endpoint_nsg_ids: list[str] :param private_endpoint_id: The value to assign to the private_endpoint_id property of this Run. :type private_endpoint_id: str :param private_endpoint_subnet_id: The value to assign to the private_endpoint_subnet_id property of this Run. :type private_endpoint_subnet_id: str :param run_duration_in_milliseconds: The value to assign to the run_duration_in_milliseconds property of this Run. :type run_duration_in_milliseconds: int :param spark_version: The value to assign to the spark_version property of this Run. :type spark_version: str :param time_created: The value to assign to the time_created property of this Run. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Run. :type time_updated: datetime :param total_o_cpu: The value to assign to the total_o_cpu property of this Run. :type total_o_cpu: int :param type: The value to assign to the type property of this Run. Allowed values for this property are: "BATCH", "STREAMING", "SESSION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param warehouse_bucket_uri: The value to assign to the warehouse_bucket_uri property of this Run. :type warehouse_bucket_uri: str :param max_duration_in_minutes: The value to assign to the max_duration_in_minutes property of this Run. :type max_duration_in_minutes: int :param idle_timeout_in_minutes: The value to assign to the idle_timeout_in_minutes property of this Run. :type idle_timeout_in_minutes: int strz list[str]ZApplicationLogConfigzdict(str, str)intzdict(str, dict(str, object))Z ShapeConfigzlist[ApplicationParameter]Zdatetime), archive_uri argumentsapplication_idapplication_log_config class_namecompartment_id configurationdata_read_in_bytesdata_written_in_bytes defined_tags display_name driver_shapedriver_shape_configexecuteexecutor_shapeexecutor_shape_configfile_uri freeform_tagsidlanguagelifecycle_detailslifecycle_statelogs_bucket_uri metastore_id num_executorsopc_request_idowner_principal_idowner_user_name parameterspool_idprivate_endpoint_dns_zonesprivate_endpoint_max_host_countprivate_endpoint_nsg_idsprivate_endpoint_idprivate_endpoint_subnet_idrun_duration_in_milliseconds spark_version time_created time_updated total_o_cputypewarehouse_bucket_urimax_duration_in_minutesidle_timeout_in_minutesZ archiveUrirZ applicationIdZapplicationLogConfigZ classNameZ compartmentIdrZdataReadInBytesZdataWrittenInBytesZ definedTagsZ displayNameZ driverShapeZdriverShapeConfigr%Z executorShapeZexecutorShapeConfigZfileUriZ freeformTagsr*r+ZlifecycleDetailsZlifecycleStateZ logsBucketUriZ metastoreIdZ numExecutorsZ opcRequestIdZownerPrincipalIdZ ownerUserNamer4ZpoolIdZprivateEndpointDnsZonesZprivateEndpointMaxHostCountZprivateEndpointNsgIdsZprivateEndpointIdZprivateEndpointSubnetIdZrunDurationInMillisecondsZ sparkVersionZ timeCreatedZ timeUpdatedZ totalOCpur@ZwarehouseBucketUriZmaxDurationInMinutesZidleTimeoutInMinutesN).Z swagger_typesZ attribute_map _archive_uri _arguments_application_id_application_log_config _class_name_compartment_id_configuration_data_read_in_bytes_data_written_in_bytes _defined_tags _display_name _driver_shape_driver_shape_config_execute_executor_shape_executor_shape_config _file_uri_freeform_tags_id _language_lifecycle_details_lifecycle_state_logs_bucket_uri _metastore_id_num_executors_opc_request_id_owner_principal_id_owner_user_name _parameters_pool_id_private_endpoint_dns_zones _private_endpoint_max_host_count_private_endpoint_nsg_ids_private_endpoint_id_private_endpoint_subnet_id_run_duration_in_milliseconds_spark_version _time_created _time_updated _total_o_cpu_type_warehouse_bucket_uri_max_duration_in_minutes_idle_timeout_in_minutes)selfkwargsrr0/z Run.__init__cCs|jS)a Gets the archive_uri of this Run. A comma separated list of one or more archive files as Oracle Cloud Infrastructure URIs. For example, ``oci://path/to/a.zip,oci://path/to/b.zip``. An Oracle Cloud Infrastructure URI of an archive.zip file containing custom dependencies that may be used to support the execution of a Python, Java, or Scala application. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. :return: The archive_uri of this Run. :rtype: str rDrprrrrrsrs zRun.archive_uricCs ||_dS)a( Sets the archive_uri of this Run. A comma separated list of one or more archive files as Oracle Cloud Infrastructure URIs. For example, ``oci://path/to/a.zip,oci://path/to/b.zip``. An Oracle Cloud Infrastructure URI of an archive.zip file containing custom dependencies that may be used to support the execution of a Python, Java, or Scala application. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. :param archive_uri: The archive_uri of this Run. :type: str Nru)rprrrrrrsrs cCs|jS)a$ Gets the arguments of this Run. The arguments passed to the running application as command line arguments. An argument is either a plain text or a placeholder. Placeholders are replaced using values from the parameters map. Each placeholder specified must be represented in the parameters map else the request (POST or PUT) will fail with a HTTP 400 status code. Placeholders are specified as `Service Api Spec`, where `name` is the name of the parameter. Example: `[ "--input", "${input_file}", "--name", "John Doe" ]` If "input_file" has a value of "mydata.xml", then the value above will be translated to `--input mydata.xml --name "John Doe"` :return: The arguments of this Run. :rtype: list[str] rErvrrrrrsrsz Run.argumentscCs ||_dS)a, Sets the arguments of this Run. The arguments passed to the running application as command line arguments. An argument is either a plain text or a placeholder. Placeholders are replaced using values from the parameters map. Each placeholder specified must be represented in the parameters map else the request (POST or PUT) will fail with a HTTP 400 status code. Placeholders are specified as `Service Api Spec`, where `name` is the name of the parameter. Example: `[ "--input", "${input_file}", "--name", "John Doe" ]` If "input_file" has a value of "mydata.xml", then the value above will be translated to `--input mydata.xml --name "John Doe"` :param arguments: The arguments of this Run. :type: list[str] Nrw)rprrrrrrsrscCs|jS)z **[Required]** Gets the application_id of this Run. The application ID. :return: The application_id of this Run. :rtype: str rFrvrrrrrsrs zRun.application_idcCs ||_dS)z Sets the application_id of this Run. The application ID. :param application_id: The application_id of this Run. :type: str Nrx)rprrrrrrsrs cCs|jS)z Gets the application_log_config of this Run. :return: The application_log_config of this Run. :rtype: oci.data_flow.models.ApplicationLogConfig rGrvrrrrrsrszRun.application_log_configcCs ||_dS)z Sets the application_log_config of this Run. :param application_log_config: The application_log_config of this Run. :type: oci.data_flow.models.ApplicationLogConfig Nry)rprrrrrrsrscCs|jS)z Gets the class_name of this Run. The class for the application. :return: The class_name of this Run. :rtype: str rHrvrrrrrsrs zRun.class_namecCs ||_dS)z Sets the class_name of this Run. The class for the application. :param class_name: The class_name of this Run. :type: str Nrz)rprrrrrrsr s cCs|jS)z **[Required]** Gets the compartment_id of this Run. The OCID of a compartment. :return: The compartment_id of this Run. :rtype: str rIrvrrrrrsrs zRun.compartment_idcCs ||_dS)z Sets the compartment_id of this Run. The OCID of a compartment. :param compartment_id: The compartment_id of this Run. :type: str Nr{)rprrrrrrsr%s cCs|jS)a. Gets the configuration of this Run. The Spark configuration passed to the running process. See https://spark.apache.org/docs/latest/configuration.html#available-properties. Example: { "spark.app.name" : "My App Name", "spark.shuffle.io.maxRetries" : "4" } Note: Not all Spark properties are permitted to be set. Attempting to set a property that is not allowed to be overwritten will cause a 400 status to be returned. :return: The configuration of this Run. :rtype: dict(str, str) rJrvrrrrrsr1szRun.configurationcCs ||_dS)a: Sets the configuration of this Run. The Spark configuration passed to the running process. See https://spark.apache.org/docs/latest/configuration.html#available-properties. Example: { "spark.app.name" : "My App Name", "spark.shuffle.io.maxRetries" : "4" } Note: Not all Spark properties are permitted to be set. Attempting to set a property that is not allowed to be overwritten will cause a 400 status to be returned. :param configuration: The configuration of this Run. :type: dict(str, str) Nr|)rprrrrrrsrAscCs|jS)z Gets the data_read_in_bytes of this Run. The data read by the run in bytes. :return: The data_read_in_bytes of this Run. :rtype: int rKrvrrrrrsrQs zRun.data_read_in_bytescCs ||_dS)z Sets the data_read_in_bytes of this Run. The data read by the run in bytes. :param data_read_in_bytes: The data_read_in_bytes of this Run. :type: int Nr})rprrrrrrsr]s cCs|jS)z Gets the data_written_in_bytes of this Run. The data written by the run in bytes. :return: The data_written_in_bytes of this Run. :rtype: int rLrvrrrrrsr is zRun.data_written_in_bytescCs ||_dS)z Sets the data_written_in_bytes of this Run. The data written by the run in bytes. :param data_written_in_bytes: The data_written_in_bytes of this Run. :type: int Nr~)rpr rrrrrsr us cCs|jS)a Gets the defined_tags of this Run. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this Run. :rtype: dict(str, dict(str, object)) rMrvrrrrrsr!s zRun.defined_tagscCs ||_dS)a Sets the defined_tags of this Run. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this Run. :type: dict(str, dict(str, object)) Nr)rpr!rrrrrsr!s cCs|jS)z Gets the display_name of this Run. A user-friendly name. This name is not necessarily unique. :return: The display_name of this Run. :rtype: str rNrvrrrrrsr"s zRun.display_namecCs ||_dS)z Sets the display_name of this Run. A user-friendly name. This name is not necessarily unique. :param display_name: The display_name of this Run. :type: str Nr)rpr"rrrrrsr"s cCs|jS)z **[Required]** Gets the driver_shape of this Run. The VM shape for the driver. Sets the driver cores and memory. :return: The driver_shape of this Run. :rtype: str rOrvrrrrrsr#s zRun.driver_shapecCs ||_dS)z Sets the driver_shape of this Run. The VM shape for the driver. Sets the driver cores and memory. :param driver_shape: The driver_shape of this Run. :type: str Nr)rpr#rrrrrsr#s cCs|jS)z Gets the driver_shape_config of this Run. :return: The driver_shape_config of this Run. :rtype: oci.data_flow.models.ShapeConfig rPrvrrrrrsr$szRun.driver_shape_configcCs ||_dS)z Sets the driver_shape_config of this Run. :param driver_shape_config: The driver_shape_config of this Run. :type: oci.data_flow.models.ShapeConfig Nr)rpr$rrrrrsr$scCs|jS)a Gets the execute of this Run. The input used for spark-submit command. For more details see https://spark.apache.org/docs/latest/submitting-applications.html#launching-applications-with-spark-submit. Supported options include ``--class``, ``--file``, ``--jars``, ``--conf``, ``--py-files``, and main application file with arguments. Example: ``--jars oci://path/to/a.jar,oci://path/to/b.jar --files oci://path/to/a.json,oci://path/to/b.csv --py-files oci://path/to/a.py,oci://path/to/b.py --conf spark.sql.crossJoin.enabled=true --class org.apache.spark.examples.SparkPi oci://path/to/main.jar 10`` Note: If execute is specified together with applicationId, className, configuration, fileUri, language, arguments, parameters during application create/update, or run create/submit, Data Flow service will use derived information from execute input only. :return: The execute of this Run. :rtype: str rQrvrrrrrsr%sz Run.executecCs ||_dS)a Sets the execute of this Run. The input used for spark-submit command. For more details see https://spark.apache.org/docs/latest/submitting-applications.html#launching-applications-with-spark-submit. Supported options include ``--class``, ``--file``, ``--jars``, ``--conf``, ``--py-files``, and main application file with arguments. Example: ``--jars oci://path/to/a.jar,oci://path/to/b.jar --files oci://path/to/a.json,oci://path/to/b.csv --py-files oci://path/to/a.py,oci://path/to/b.py --conf spark.sql.crossJoin.enabled=true --class org.apache.spark.examples.SparkPi oci://path/to/main.jar 10`` Note: If execute is specified together with applicationId, className, configuration, fileUri, language, arguments, parameters during application create/update, or run create/submit, Data Flow service will use derived information from execute input only. :param execute: The execute of this Run. :type: str Nr)rpr%rrrrrsr%scCs|jS)z **[Required]** Gets the executor_shape of this Run. The VM shape for the executors. Sets the executor cores and memory. :return: The executor_shape of this Run. :rtype: str rRrvrrrrrsr&s zRun.executor_shapecCs ||_dS)z Sets the executor_shape of this Run. The VM shape for the executors. Sets the executor cores and memory. :param executor_shape: The executor_shape of this Run. :type: str Nr)rpr&rrrrrsr&s cCs|jS)z Gets the executor_shape_config of this Run. :return: The executor_shape_config of this Run. :rtype: oci.data_flow.models.ShapeConfig rSrvrrrrrsr'szRun.executor_shape_configcCs ||_dS)z Sets the executor_shape_config of this Run. :param executor_shape_config: The executor_shape_config of this Run. :type: oci.data_flow.models.ShapeConfig Nr)rpr'rrrrrsr'%scCs|jS)a> **[Required]** Gets the file_uri of this Run. An Oracle Cloud Infrastructure URI of the file containing the application to execute. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. :return: The file_uri of this Run. :rtype: str rTrvrrrrrsr(/s z Run.file_uricCs ||_dS)a6 Sets the file_uri of this Run. An Oracle Cloud Infrastructure URI of the file containing the application to execute. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. :param file_uri: The file_uri of this Run. :type: str Nr)rpr(rrrrrsr(<s cCs|jS)a Gets the freeform_tags of this Run. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this Run. :rtype: dict(str, str) rUrvrrrrrsr)IszRun.freeform_tagscCs ||_dS)a Sets the freeform_tags of this Run. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this Run. :type: dict(str, str) Nr)rpr)rrrrrsr)YscCs|jS)z **[Required]** Gets the id of this Run. The ID of a run. :return: The id of this Run. :rtype: str rVrvrrrrrsr*is zRun.idcCs ||_dS)z Sets the id of this Run. The ID of a run. :param id: The id of this Run. :type: str Nr)rpr*rrrrrsr*us cCs|jS)aa **[Required]** Gets the language of this Run. The Spark language. Allowed values for this property are: "SCALA", "JAVA", "PYTHON", "SQL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The language of this Run. :rtype: str )rWrvrrrrrsr+s z Run.languagecCs gd}t||sd}||_dS)z Sets the language of this Run. The Spark language. :param language: The language of this Run. :type: str )rrr r UNKNOWN_ENUM_VALUEN)rrW)rpr+allowed_valuesrrrrrsr+s  cCs|jS)z Gets the lifecycle_details of this Run. The detailed messages about the lifecycle state. :return: The lifecycle_details of this Run. :rtype: str rXrvrrrrrsr,s zRun.lifecycle_detailscCs ||_dS)z Sets the lifecycle_details of this Run. The detailed messages about the lifecycle state. :param lifecycle_details: The lifecycle_details of this Run. :type: str Nr)rpr,rrrrrsr,s cCs|jS)a **[Required]** Gets the lifecycle_state of this Run. The current state of this run. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "CANCELING", "CANCELED", "FAILED", "SUCCEEDED", "STOPPING", "STOPPED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this Run. :rtype: str )rYrvrrrrrsr-s zRun.lifecycle_statecCs gd}t||sd}||_dS)z Sets the lifecycle_state of this Run. The current state of this run. :param lifecycle_state: The lifecycle_state of this Run. :type: str )r r r rrrrrrN)rrY)rpr-rrrrrrsr-s  cCs|jS)aE Gets the logs_bucket_uri of this Run. An Oracle Cloud Infrastructure URI of the bucket where the Spark job logs are to be uploaded. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. :return: The logs_bucket_uri of this Run. :rtype: str rZrvrrrrrsr.s zRun.logs_bucket_uricCs ||_dS)aS Sets the logs_bucket_uri of this Run. An Oracle Cloud Infrastructure URI of the bucket where the Spark job logs are to be uploaded. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. :param logs_bucket_uri: The logs_bucket_uri of this Run. :type: str Nr)rpr.rrrrrsr.s cCs|jS)z Gets the metastore_id of this Run. The OCID of OCI Hive Metastore. :return: The metastore_id of this Run. :rtype: str r[rvrrrrrsr/s zRun.metastore_idcCs ||_dS)z Sets the metastore_id of this Run. The OCID of OCI Hive Metastore. :param metastore_id: The metastore_id of this Run. :type: str Nr)rpr/rrrrrsr/s cCs|jS)z **[Required]** Gets the num_executors of this Run. The number of executor VMs requested. :return: The num_executors of this Run. :rtype: int r\rvrrrrrsr0s zRun.num_executorscCs ||_dS)z Sets the num_executors of this Run. The number of executor VMs requested. :param num_executors: The num_executors of this Run. :type: int Nr)rpr0rrrrrsr0s cCs|jS)a Gets the opc_request_id of this Run. Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :return: The opc_request_id of this Run. :rtype: str r]rvrrrrrsr1s zRun.opc_request_idcCs ||_dS)a& Sets the opc_request_id of this Run. Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param opc_request_id: The opc_request_id of this Run. :type: str Nr)rpr1rrrrrsr1,s cCs|jS)z Gets the owner_principal_id of this Run. The OCID of the user who created the resource. :return: The owner_principal_id of this Run. :rtype: str r^rvrrrrrsr29s zRun.owner_principal_idcCs ||_dS)z Sets the owner_principal_id of this Run. The OCID of the user who created the resource. :param owner_principal_id: The owner_principal_id of this Run. :type: str Nr)rpr2rrrrrsr2Es cCs|jS)aK Gets the owner_user_name of this Run. The username of the user who created the resource. If the username of the owner does not exist, `null` will be returned and the caller should refer to the ownerPrincipalId value instead. :return: The owner_user_name of this Run. :rtype: str r_rvrrrrrsr3Qs zRun.owner_user_namecCs ||_dS)aY Sets the owner_user_name of this Run. The username of the user who created the resource. If the username of the owner does not exist, `null` will be returned and the caller should refer to the ownerPrincipalId value instead. :param owner_user_name: The owner_user_name of this Run. :type: str Nr)rpr3rrrrrsr3^s cCs|jS)a< Gets the parameters of this Run. An array of name/value pairs used to fill placeholders found in properties like `Application.arguments`. The name must be a string of one or more word characters (a-z, A-Z, 0-9, _). The value can be a string of 0 or more characters of any kind. Example: [ { name: "iterations", value: "10"}, { name: "input_file", value: "mydata.xml" }, { name: "variable_x", value: "${x}"} ] :return: The parameters of this Run. :rtype: list[oci.data_flow.models.ApplicationParameter] r`rvrrrrrsr4ks zRun.parameterscCs ||_dS)aE Sets the parameters of this Run. An array of name/value pairs used to fill placeholders found in properties like `Application.arguments`. The name must be a string of one or more word characters (a-z, A-Z, 0-9, _). The value can be a string of 0 or more characters of any kind. Example: [ { name: "iterations", value: "10"}, { name: "input_file", value: "mydata.xml" }, { name: "variable_x", value: "${x}"} ] :param parameters: The parameters of this Run. :type: list[oci.data_flow.models.ApplicationParameter] Nr)rpr4rrrrrsr4zs cCs|jS)z Gets the pool_id of this Run. The OCID of a pool. Unique Id to indentify a dataflow pool resource. :return: The pool_id of this Run. :rtype: str rarvrrrrrsr5s z Run.pool_idcCs ||_dS)z Sets the pool_id of this Run. The OCID of a pool. Unique Id to indentify a dataflow pool resource. :param pool_id: The pool_id of this Run. :type: str Nr)rpr5rrrrrsr5s cCs|jS)a Gets the private_endpoint_dns_zones of this Run. An array of DNS zone names. Example: `[ "app.examplecorp.com", "app.examplecorp2.com" ]` :return: The private_endpoint_dns_zones of this Run. :rtype: list[str] rbrvrrrrrsr6s zRun.private_endpoint_dns_zonescCs ||_dS)a Sets the private_endpoint_dns_zones of this Run. An array of DNS zone names. Example: `[ "app.examplecorp.com", "app.examplecorp2.com" ]` :param private_endpoint_dns_zones: The private_endpoint_dns_zones of this Run. :type: list[str] Nr)rpr6rrrrrsr6s cCs|jS)a Gets the private_endpoint_max_host_count of this Run. The maximum number of hosts to be accessed through the private endpoint. This value is used to calculate the relevant CIDR block and should be a multiple of 256. If the value is not a multiple of 256, it is rounded up to the next multiple of 256. For example, 300 is rounded up to 512. :return: The private_endpoint_max_host_count of this Run. :rtype: int rcrvrrrrrsr7s z#Run.private_endpoint_max_host_countcCs ||_dS)a Sets the private_endpoint_max_host_count of this Run. The maximum number of hosts to be accessed through the private endpoint. This value is used to calculate the relevant CIDR block and should be a multiple of 256. If the value is not a multiple of 256, it is rounded up to the next multiple of 256. For example, 300 is rounded up to 512. :param private_endpoint_max_host_count: The private_endpoint_max_host_count of this Run. :type: int Nr)rpr7rrrrrsr7s cCs|jS)z Gets the private_endpoint_nsg_ids of this Run. An array of network security group OCIDs. :return: The private_endpoint_nsg_ids of this Run. :rtype: list[str] rdrvrrrrrsr8s zRun.private_endpoint_nsg_idscCs ||_dS)z Sets the private_endpoint_nsg_ids of this Run. An array of network security group OCIDs. :param private_endpoint_nsg_ids: The private_endpoint_nsg_ids of this Run. :type: list[str] Nr)rpr8rrrrrsr8s cCs|jS)z Gets the private_endpoint_id of this Run. The OCID of a private endpoint. :return: The private_endpoint_id of this Run. :rtype: str rervrrrrrsr9s zRun.private_endpoint_idcCs ||_dS)z Sets the private_endpoint_id of this Run. The OCID of a private endpoint. :param private_endpoint_id: The private_endpoint_id of this Run. :type: str Nr)rpr9rrrrrsr9s cCs|jS)z Gets the private_endpoint_subnet_id of this Run. The OCID of a subnet. :return: The private_endpoint_subnet_id of this Run. :rtype: str rfrvrrrrrsr: s zRun.private_endpoint_subnet_idcCs ||_dS)z Sets the private_endpoint_subnet_id of this Run. The OCID of a subnet. :param private_endpoint_subnet_id: The private_endpoint_subnet_id of this Run. :type: str Nr)rpr:rrrrrsr:s cCs|jS)z Gets the run_duration_in_milliseconds of this Run. The duration of the run in milliseconds. :return: The run_duration_in_milliseconds of this Run. :rtype: int rgrvrrrrrsr;!s z Run.run_duration_in_millisecondscCs ||_dS)z Sets the run_duration_in_milliseconds of this Run. The duration of the run in milliseconds. :param run_duration_in_milliseconds: The run_duration_in_milliseconds of this Run. :type: int Nr)rpr;rrrrrsr;-s cCs|jS)z **[Required]** Gets the spark_version of this Run. The Spark version utilized to run the application. :return: The spark_version of this Run. :rtype: str rhrvrrrrrsr<9s zRun.spark_versioncCs ||_dS)z Sets the spark_version of this Run. The Spark version utilized to run the application. :param spark_version: The spark_version of this Run. :type: str Nr)rpr<rrrrrsr<Es cCs|jS)aI **[Required]** Gets the time_created of this Run. The date and time the resource was created, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this Run. :rtype: datetime rirvrrrrrsr=Qs zRun.time_createdcCs ||_dS)aE Sets the time_created of this Run. The date and time the resource was created, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this Run. :type: datetime Nr)rpr=rrrrrsr=`s cCs|jS)aI **[Required]** Gets the time_updated of this Run. The date and time the resource was updated, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_updated of this Run. :rtype: datetime rjrvrrrrrsr>os zRun.time_updatedcCs ||_dS)aE Sets the time_updated of this Run. The date and time the resource was updated, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_updated: The time_updated of this Run. :type: datetime Nr)rpr>rrrrrsr>~s cCs|jS)z Gets the total_o_cpu of this Run. The total number of oCPU requested by the run. :return: The total_o_cpu of this Run. :rtype: int rkrvrrrrrsr?s zRun.total_o_cpucCs ||_dS)z Sets the total_o_cpu of this Run. The total number of oCPU requested by the run. :param total_o_cpu: The total_o_cpu of this Run. :type: int Nr)rpr?rrrrrsr?s cCs|jS)a\ Gets the type of this Run. The Spark application processing type. Allowed values for this property are: "BATCH", "STREAMING", "SESSION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this Run. :rtype: str )rlrvrrrrrsr@s zRun.typecCs gd}t||sd}||_dS)z Sets the type of this Run. The Spark application processing type. :param type: The type of this Run. :type: str )rrrrN)rrl)rpr@rrrrrrsr@s  cCs|jS)ah Gets the warehouse_bucket_uri of this Run. An Oracle Cloud Infrastructure URI of the bucket to be used as default warehouse directory for BATCH SQL runs. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. :return: The warehouse_bucket_uri of this Run. :rtype: str rmrvrrrrrsrAs zRun.warehouse_bucket_uricCs ||_dS)a{ Sets the warehouse_bucket_uri of this Run. An Oracle Cloud Infrastructure URI of the bucket to be used as default warehouse directory for BATCH SQL runs. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. :param warehouse_bucket_uri: The warehouse_bucket_uri of this Run. :type: str Nr)rprArrrrrsrAs cCs|jS)aY Gets the max_duration_in_minutes of this Run. The maximum duration in minutes for which an Application should run. Data Flow Run would be terminated once it reaches this duration from the time it transitions to `IN_PROGRESS` state. :return: The max_duration_in_minutes of this Run. :rtype: int rnrvrrrrrsrBs zRun.max_duration_in_minutescCs ||_dS)ao Sets the max_duration_in_minutes of this Run. The maximum duration in minutes for which an Application should run. Data Flow Run would be terminated once it reaches this duration from the time it transitions to `IN_PROGRESS` state. :param max_duration_in_minutes: The max_duration_in_minutes of this Run. :type: int Nr)rprBrrrrrsrBs cCs|jS)a Gets the idle_timeout_in_minutes of this Run. The timeout value in minutes used to manage Runs. A Run would be stopped after inactivity for this amount of time period. Note: This parameter is currently only applicable for Runs of type `SESSION`. Default value is 2880 minutes (2 days) :return: The idle_timeout_in_minutes of this Run. :rtype: int rorvrrrrrsrCs zRun.idle_timeout_in_minutescCs ||_dS)a Sets the idle_timeout_in_minutes of this Run. The timeout value in minutes used to manage Runs. A Run would be stopped after inactivity for this amount of time period. Note: This parameter is currently only applicable for Runs of type `SESSION`. Default value is 2880 minutes (2 days) :param idle_timeout_in_minutes: The idle_timeout_in_minutes of this Run. :type: int Nr)rprCrrrrrsrCs cCst|SN)rrvrrrrrs__repr__sz Run.__repr__cCs|dur dS|j|jkS)NF)__dict__rpotherrrrrrs__eq__sz Run.__eq__cCs ||k Srrrrrrrrrs__ne__sz Run.__ne__N)E__name__ __module__ __qualname____doc__ZLANGUAGE_SCALAZ LANGUAGE_JAVAZLANGUAGE_PYTHONZ LANGUAGE_SQLZLIFECYCLE_STATE_ACCEPTEDZLIFECYCLE_STATE_IN_PROGRESSZLIFECYCLE_STATE_CANCELINGZLIFECYCLE_STATE_CANCELEDZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_SUCCEEDEDZLIFECYCLE_STATE_STOPPINGZLIFECYCLE_STATE_STOPPEDZ TYPE_BATCHZTYPE_STREAMINGZ TYPE_SESSIONrtpropertyrsetterrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrrrrrrrrrrsr sI                                                                                        rN)Zoci.utilrrrZoci.decoratorsrobjectrrrrrrrrss