Dashboard
PHP:
8.3.33
OS:
Linux
User:
letter7
/
/
usr
/
libexec
/
oracle-cloud-agent
/
plugins
/
osms
/
oci
/
resource_manager
/
models
📤 Upload
📝 New File
📁 New Folder
Close
Editing: job.pyc
a O��f�r � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sh e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd Zdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Zejd3d2� �Zed4d5� �Zejd6d5� �Zed7d8� �Z e jd9d8� �Z ed:d;� �Z!e!jd<d;� �Z!ed=d>� �Z"e"jd?d>� �Z"ed@dA� �Z#e#jdBdA� �Z#edCdD� �Z$e$jdEdD� �Z$edFdG� �Z%e%jdHdG� �Z%edIdJ� �Z&e&jdKdJ� �Z&dLdM� Z'dNdO� Z(dPdQ� Z)dRS )S�Joba� The properties of a job. A job performs the actions that are defined in your Terraform configuration. For instructions on managing jobs, see `Managing Jobs`__. For more information about jobs, see `Key Concepts`__. __ https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/jobs.htm __ https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#concepts__jobdefinition �PLAN�APPLY�DESTROY�IMPORT_TF_STATE� PLAN_ROLLBACK�APPLY_ROLLBACK�ACCEPTED�IN_PROGRESS�FAILED� SUCCEEDED� CANCELING�CANCELEDc K s� dddddddddddddddddd dd d�| _ dd ddddddddddddddddddd�| _d | _d | _d | _d | _d | _d | _d | _d | _ d | _ d | _d | _d | _ d | _d | _d | _d | _d | _d | _d | _d | _d S )!aT Initializes a new Job object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this Job. :type id: str :param stack_id: The value to assign to the stack_id property of this Job. :type stack_id: str :param compartment_id: The value to assign to the compartment_id property of this Job. :type compartment_id: str :param display_name: The value to assign to the display_name property of this Job. :type display_name: str :param operation: The value to assign to the operation property of this Job. Allowed values for this property are: "PLAN", "APPLY", "DESTROY", "IMPORT_TF_STATE", "PLAN_ROLLBACK", "APPLY_ROLLBACK", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type operation: str :param is_third_party_provider_experience_enabled: The value to assign to the is_third_party_provider_experience_enabled property of this Job. :type is_third_party_provider_experience_enabled: bool :param is_provider_upgrade_required: The value to assign to the is_provider_upgrade_required property of this Job. :type is_provider_upgrade_required: bool :param job_operation_details: The value to assign to the job_operation_details property of this Job. :type job_operation_details: oci.resource_manager.models.JobOperationDetails :param apply_job_plan_resolution: The value to assign to the apply_job_plan_resolution property of this Job. :type apply_job_plan_resolution: oci.resource_manager.models.ApplyJobPlanResolution :param resolved_plan_job_id: The value to assign to the resolved_plan_job_id property of this Job. :type resolved_plan_job_id: str :param time_created: The value to assign to the time_created property of this Job. :type time_created: datetime :param time_finished: The value to assign to the time_finished property of this Job. :type time_finished: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this Job. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param failure_details: The value to assign to the failure_details property of this Job. :type failure_details: oci.resource_manager.models.FailureDetails :param cancellation_details: The value to assign to the cancellation_details property of this Job. :type cancellation_details: oci.resource_manager.models.CancellationDetails :param working_directory: The value to assign to the working_directory property of this Job. :type working_directory: str :param variables: The value to assign to the variables property of this Job. :type variables: dict(str, str) :param config_source: The value to assign to the config_source property of this Job. :type config_source: oci.resource_manager.models.ConfigSourceRecord :param freeform_tags: The value to assign to the freeform_tags property of this Job. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Job. :type defined_tags: dict(str, dict(str, object)) �str�bool�JobOperationDetails�ApplyJobPlanResolution�datetime�FailureDetails�CancellationDetailszdict(str, str)�ConfigSourceRecordzdict(str, dict(str, object)))�id�stack_id�compartment_id�display_name� operation�*is_third_party_provider_experience_enabled�is_provider_upgrade_required�job_operation_details�apply_job_plan_resolution�resolved_plan_job_id�time_created� time_finished�lifecycle_state�failure_details�cancellation_details�working_directory� variables� config_source� freeform_tags�defined_tagsr �stackId� compartmentId�displayNamer �%isThirdPartyProviderExperienceEnabled�isProviderUpgradeRequired�jobOperationDetails�applyJobPlanResolution�resolvedPlanJobId�timeCreated�timeFinished�lifecycleState�failureDetails�cancellationDetails�workingDirectoryr+ �configSource�freeformTags�definedTagsN)� swagger_types� attribute_map�_id� _stack_id�_compartment_id� _display_name� _operation�+_is_third_party_provider_experience_enabled�_is_provider_upgrade_required�_job_operation_details�_apply_job_plan_resolution�_resolved_plan_job_id� _time_created�_time_finished�_lifecycle_state�_failure_details�_cancellation_details�_working_directory� _variables�_config_source�_freeform_tags� _defined_tags)�self�kwargs� rX ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/resource_manager/models/job.py�__init__H s| [��zJob.__init__c C s | j S )z� Gets the id of this Job. The `OCID`__ of the job. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this Job. :rtype: str �rB �rV rX rX rY r � s zJob.idc C s || _ dS )z� Sets the id of this Job. The `OCID`__ of the job. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param id: The id of this Job. :type: str Nr[ )rV r rX rX rY r � s c C s | j S )a Gets the stack_id of this Job. The `OCID`__ of the stack that is associated with the job. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The stack_id of this Job. :rtype: str �rC r\ rX rX rY r s zJob.stack_idc C s || _ dS )a Sets the stack_id of this Job. The `OCID`__ of the stack that is associated with the job. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param stack_id: The stack_id of this Job. :type: str Nr] )rV r rX rX rY r s c C s | j S )a* Gets the compartment_id of this Job. The `OCID`__ of the compartment in which the job's associated stack resides. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this Job. :rtype: str �rD r\ rX rX rY r s zJob.compartment_idc C s || _ dS )a7 Sets the compartment_id of this Job. The `OCID`__ of the compartment in which the job's associated stack resides. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this Job. :type: str Nr^ )rV r rX rX rY r + s c C s | j S )z� Gets the display_name of this Job. The job's display name. :return: The display_name of this Job. :rtype: str �rE r\ rX rX rY r 9 s zJob.display_namec C s || _ dS )z� Sets the display_name of this Job. The job's display name. :param display_name: The display_name of this Job. :type: str Nr_ )rV r rX rX rY r E s c C s | j S )a� Gets the operation of this Job. The type of job executing. Allowed values for this property are: "PLAN", "APPLY", "DESTROY", "IMPORT_TF_STATE", "PLAN_ROLLBACK", "APPLY_ROLLBACK", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The operation of this Job. :rtype: str )rF r\ rX rX rY r Q s z Job.operationc C s g d�}t ||�sd}|| _dS )z� Sets the operation of this Job. The type of job executing. :param operation: The operation of this Job. :type: str )r r r r r r �UNKNOWN_ENUM_VALUEN)r rF )rV r �allowed_valuesrX rX rY r ` s c C s | j S )a� Gets the is_third_party_provider_experience_enabled of this Job. When `true`, the stack sources third-party Terraform providers from `Terraform Registry`__ and allows :func:`custom_terraform_provider`. For more information about stack sourcing of third-party Terraform providers, see `Third-party Provider Configuration`__. __ https://registry.terraform.io/browse/providers __ https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#third-party-providers :return: The is_third_party_provider_experience_enabled of this Job. :rtype: bool �rG r\ rX rX rY r o s z.Job.is_third_party_provider_experience_enabledc C s || _ dS )a� Sets the is_third_party_provider_experience_enabled of this Job. When `true`, the stack sources third-party Terraform providers from `Terraform Registry`__ and allows :func:`custom_terraform_provider`. For more information about stack sourcing of third-party Terraform providers, see `Third-party Provider Configuration`__. __ https://registry.terraform.io/browse/providers __ https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#third-party-providers :param is_third_party_provider_experience_enabled: The is_third_party_provider_experience_enabled of this Job. :type: bool Nrb )rV r rX rX rY r � s c C s | j S )a Gets the is_provider_upgrade_required of this Job. Specifies whether or not to upgrade provider versions. Within the version constraints of your Terraform configuration, use the latest versions available from the source of Terraform providers. For more information about this option, see `Dependency Lock File (terraform.io)`__. __ https://www.terraform.io/language/files/dependency-lock :return: The is_provider_upgrade_required of this Job. :rtype: bool �rH r\ rX rX rY r! � s z Job.is_provider_upgrade_requiredc C s || _ dS )a' Sets the is_provider_upgrade_required of this Job. Specifies whether or not to upgrade provider versions. Within the version constraints of your Terraform configuration, use the latest versions available from the source of Terraform providers. For more information about this option, see `Dependency Lock File (terraform.io)`__. __ https://www.terraform.io/language/files/dependency-lock :param is_provider_upgrade_required: The is_provider_upgrade_required of this Job. :type: bool Nrc )rV r! rX rX rY r! � s c C s | j S )z� Gets the job_operation_details of this Job. :return: The job_operation_details of this Job. :rtype: oci.resource_manager.models.JobOperationDetails �rI r\ rX rX rY r"