📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
resource_manager
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/resource_manager/models/__pycache__
💾
Free:
45.9 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: job.cpython-39.pyc
a ���f s � @ 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�boolZJobOperationDetailsZApplyJobPlanResolutionZdatetimeZFailureDetailsZCancellationDetailszdict(str, str)ZConfigSourceRecordzdict(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 ZstackIdZ compartmentIdZdisplayNamer Z%isThirdPartyProviderExperienceEnabledZisProviderUpgradeRequiredZjobOperationDetailsZapplyJobPlanResolutionZresolvedPlanJobIdZtimeCreatedZtimeFinishedZlifecycleStateZfailureDetailsZcancellationDetailsZworkingDirectoryr% ZconfigSourceZfreeformTagsZdefinedTagsN)Z swagger_typesZ 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� r? �C/usr/lib/python3.9/site-packages/oci/resource_manager/models/job.py�__init__J 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 �r) �r= r? r? r@ 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 NrB )r= r r? r? r@ 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 �r* rC r? r? r@ 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 NrD )r= r r? r? r@ 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 �r+ rC r? r? r@ 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 NrE )r= r r? r? r@ 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 �r, rC r? r? r@ r ; 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 NrF )r= r r? r? r@ r G 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 )r- rC r? r? r@ r S 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 r- )r= r �allowed_valuesr? r? r@ r b 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 �r. rC r? r? r@ r q 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 NrI )r= r r? r? r@ 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 �r/ rC r? r? r@ 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 NrJ )r= r r? r? r@ 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 �r0 rC r? r? r@ r � s zJob.job_operation_detailsc C s || _ dS )z� Sets the job_operation_details of this Job. :param job_operation_details: The job_operation_details of this Job. :type: oci.resource_manager.models.JobOperationDetails NrK )r= r r? r? r@ r � s c C s | j S )z� Gets the apply_job_plan_resolution of this Job. :return: The apply_job_plan_resolution of this Job. :rtype: oci.resource_manager.models.ApplyJobPlanResolution �r1 rC r? r? r@ r � s zJob.apply_job_plan_resolutionc C s || _ dS )z� Sets the apply_job_plan_resolution of this Job. :param apply_job_plan_resolution: The apply_job_plan_resolution of this Job. :type: oci.resource_manager.models.ApplyJobPlanResolution NrL )r= r r? r? r@ r � s c C s | j S )a� Gets the resolved_plan_job_id of this Job. Deprecated. Use the property `executionPlanJobId` in `jobOperationDetails` instead. The plan job `OCID`__ that was used (if this was an apply job and was not auto-approved). __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The resolved_plan_job_id of this Job. :rtype: str �r2 rC r? r? r@ r � s zJob.resolved_plan_job_idc C s || _ dS )a� Sets the resolved_plan_job_id of this Job. Deprecated. Use the property `executionPlanJobId` in `jobOperationDetails` instead. The plan job `OCID`__ that was used (if this was an apply job and was not auto-approved). __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param resolved_plan_job_id: The resolved_plan_job_id of this Job. :type: str NrM )r= r r? r? r@ r � s c C s | j S )a Gets the time_created of this Job. The date and time when the job was created. Format is defined by RFC3339. Example: `2020-01-25T21:10:29.600Z` :return: The time_created of this Job. :rtype: datetime �r3 rC r? r? r@ r � s zJob.time_createdc C s || _ dS )a Sets the time_created of this Job. The date and time when the job was created. Format is defined by RFC3339. Example: `2020-01-25T21:10:29.600Z` :param time_created: The time_created of this Job. :type: datetime NrN )r= r r? r? r@ r s c C s | j S )a< Gets the time_finished of this Job. The date and time when the job stopped running, irrespective of whether the job ran successfully. Format is defined by RFC3339. Example: `2020-01-25T21:10:29.600Z` :return: The time_finished of this Job. :rtype: datetime �r4 rC r? r? r@ r s zJob.time_finishedc C s || _ dS )aH Sets the time_finished of this Job. The date and time when the job stopped running, irrespective of whether the job ran successfully. Format is defined by RFC3339. Example: `2020-01-25T21:10:29.600Z` :param time_finished: The time_finished of this Job. :type: datetime NrO )r= r r? r? r@ r ' s c C s | j S )a| Gets the lifecycle_state of this Job. Current state of the specified job. For more information about job lifecycle states in Resource Manager, see `Key Concepts`__. __ https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#concepts__JobStates 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'. :return: The lifecycle_state of this Job. :rtype: str )r5 rC r? r? r@ r! 5 s zJob.lifecycle_statec C s g d�}t ||�sd}|| _dS )a� Sets the lifecycle_state of this Job. Current state of the specified job. For more information about job lifecycle states in Resource Manager, see `Key Concepts`__. __ https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#concepts__JobStates :param lifecycle_state: The lifecycle_state of this Job. :type: str )r r r r r r rG N)r r5 )r= r! rH r? r? r@ r! H s c C s | j S )z� Gets the failure_details of this Job. :return: The failure_details of this Job. :rtype: oci.resource_manager.models.FailureDetails �r6 rC r? r? r@ r"