403Webshell
Server IP : 162.144.4.212  /  Your IP : 216.73.216.108
Web Server : Apache
System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64
User : cozeellc ( 2980)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /usr/lib/python3.9/site-packages/oci/devops/models/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.9/site-packages/oci/devops/models/__pycache__/deploy_artifact.cpython-39.pyc
a

���fsY�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@s�eZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdZdZdZdZdd�Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zed d!��Zejd"d!��Zed#d$��Zejd%d$��Zed&d'��Zejd(d'��Zed)d*��Zejd+d*��Zed,d-��Zejd.d-��Zed/d0��Z e jd1d0��Z ed2d3��Z!e!jd4d3��Z!ed5d6��Z"e"jd7d6��Z"ed8d9��Z#e#jd:d9��Z#ed;d<��Z$e$jd=d<��Z$ed>d?��Z%e%jd@d?��Z%dAdB�Z&dCdD�Z'dEdF�Z(dGS)H�DeployArtifacta
    Artifacts are deployment manifests that are referenced in a pipeline stage for automated deployment to the target environment.  DevOps artifacts can be an OCI Container image repository, Kubernetes manifest, an Artifact Registry artifact, or defined inline.
    �DEPLOYMENT_SPEC�JOB_SPEC�KUBERNETES_MANIFEST�GENERIC_FILE�DOCKER_IMAGE�
HELM_CHART�HELM_COMMAND_SPEC�COMMAND_SPEC�NONE�SUBSTITUTE_PLACEHOLDERS�CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILEDcKs�dddddddddddddddd�|_ddd	d
ddd
ddddddddd�|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_d|_d|_
d|_d|_d|_dS)a

        Initializes a new DeployArtifact 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 DeployArtifact.
        :type id: str

        :param description:
            The value to assign to the description property of this DeployArtifact.
        :type description: str

        :param display_name:
            The value to assign to the display_name property of this DeployArtifact.
        :type display_name: str

        :param project_id:
            The value to assign to the project_id property of this DeployArtifact.
        :type project_id: str

        :param compartment_id:
            The value to assign to the compartment_id property of this DeployArtifact.
        :type compartment_id: str

        :param deploy_artifact_type:
            The value to assign to the deploy_artifact_type property of this DeployArtifact.
            Allowed values for this property are: "DEPLOYMENT_SPEC", "JOB_SPEC", "KUBERNETES_MANIFEST", "GENERIC_FILE", "DOCKER_IMAGE", "HELM_CHART", "HELM_COMMAND_SPEC", "COMMAND_SPEC", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type deploy_artifact_type: str

        :param argument_substitution_mode:
            The value to assign to the argument_substitution_mode property of this DeployArtifact.
            Allowed values for this property are: "NONE", "SUBSTITUTE_PLACEHOLDERS", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type argument_substitution_mode: str

        :param deploy_artifact_source:
            The value to assign to the deploy_artifact_source property of this DeployArtifact.
        :type deploy_artifact_source: oci.devops.models.DeployArtifactSource

        :param time_created:
            The value to assign to the time_created property of this DeployArtifact.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this DeployArtifact.
        :type time_updated: datetime

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this DeployArtifact.
            Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

        :param lifecycle_details:
            The value to assign to the lifecycle_details property of this DeployArtifact.
        :type lifecycle_details: str

        :param freeform_tags:
            The value to assign to the freeform_tags property of this DeployArtifact.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this DeployArtifact.
        :type defined_tags: dict(str, dict(str, object))

        :param system_tags:
            The value to assign to the system_tags property of this DeployArtifact.
        :type system_tags: dict(str, dict(str, object))

        �strZDeployArtifactSourceZdatetimezdict(str, str)zdict(str, dict(str, object)))�id�description�display_name�
project_id�compartment_id�deploy_artifact_type�argument_substitution_mode�deploy_artifact_source�time_created�time_updated�lifecycle_state�lifecycle_details�
freeform_tags�defined_tags�system_tagsrrZdisplayNameZ	projectIdZ
compartmentIdZdeployArtifactTypeZargumentSubstitutionModeZdeployArtifactSourceZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ
systemTagsN)Z
swagger_typesZ
attribute_map�_id�_description�
_display_name�_project_id�_compartment_id�_deploy_artifact_type�_argument_substitution_mode�_deploy_artifact_source�
_time_created�
_time_updated�_lifecycle_state�_lifecycle_details�_freeform_tags�
_defined_tags�_system_tags)�self�kwargs�r8�E/usr/lib/python3.9/site-packages/oci/devops/models/deploy_artifact.py�__init__Rs^I��zDeployArtifact.__init__cCs|jS)z�
        **[Required]** Gets the id of this DeployArtifact.
        Unique identifier that is immutable on creation.


        :return: The id of this DeployArtifact.
        :rtype: str
        �r'�r6r8r8r9r�s
zDeployArtifact.idcCs
||_dS)z�
        Sets the id of this DeployArtifact.
        Unique identifier that is immutable on creation.


        :param id: The id of this DeployArtifact.
        :type: str
        Nr;)r6rr8r8r9r�s
cCs|jS)z�
        Gets the description of this DeployArtifact.
        Optional description about the artifact to be deployed.


        :return: The description of this DeployArtifact.
        :rtype: str
        �r(r<r8r8r9r�s
zDeployArtifact.descriptioncCs
||_dS)z�
        Sets the description of this DeployArtifact.
        Optional description about the artifact to be deployed.


        :param description: The description of this DeployArtifact.
        :type: str
        Nr=)r6rr8r8r9r�s
cCs|jS)a
        Gets the display_name of this DeployArtifact.
        Deployment artifact identifier, which can be renamed and is not necessarily unique. Avoid entering confidential information.


        :return: The display_name of this DeployArtifact.
        :rtype: str
        �r)r<r8r8r9r�s
zDeployArtifact.display_namecCs
||_dS)a
        Sets the display_name of this DeployArtifact.
        Deployment artifact identifier, which can be renamed and is not necessarily unique. Avoid entering confidential information.


        :param display_name: The display_name of this DeployArtifact.
        :type: str
        Nr>)r6rr8r8r9r
s
cCs|jS)z�
        **[Required]** Gets the project_id of this DeployArtifact.
        The OCID of a project.


        :return: The project_id of this DeployArtifact.
        :rtype: str
        �r*r<r8r8r9rs
zDeployArtifact.project_idcCs
||_dS)z�
        Sets the project_id of this DeployArtifact.
        The OCID of a project.


        :param project_id: The project_id of this DeployArtifact.
        :type: str
        Nr?)r6rr8r8r9r"s
cCs|jS)z�
        **[Required]** Gets the compartment_id of this DeployArtifact.
        The OCID of a compartment.


        :return: The compartment_id of this DeployArtifact.
        :rtype: str
        �r+r<r8r8r9r.s
zDeployArtifact.compartment_idcCs
||_dS)z�
        Sets the compartment_id of this DeployArtifact.
        The OCID of a compartment.


        :param compartment_id: The compartment_id of this DeployArtifact.
        :type: str
        Nr@)r6rr8r8r9r:s
cCs|jS)a
        **[Required]** Gets the deploy_artifact_type of this DeployArtifact.
        Type of the deployment artifact.

        Allowed values for this property are: "DEPLOYMENT_SPEC", "JOB_SPEC", "KUBERNETES_MANIFEST", "GENERIC_FILE", "DOCKER_IMAGE", "HELM_CHART", "HELM_COMMAND_SPEC", "COMMAND_SPEC", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The deploy_artifact_type of this DeployArtifact.
        :rtype: str
        )r,r<r8r8r9rFs
z#DeployArtifact.deploy_artifact_typecCs gd�}t||�sd}||_dS)z�
        Sets the deploy_artifact_type of this DeployArtifact.
        Type of the deployment artifact.


        :param deploy_artifact_type: The deploy_artifact_type of this DeployArtifact.
        :type: str
        )rrr	r
rrr
r�UNKNOWN_ENUM_VALUEN)rr,)r6r�allowed_valuesr8r8r9rUs

cCs|jS)a�
        **[Required]** Gets the argument_substitution_mode of this DeployArtifact.
        Mode for artifact parameter substitution.

        Allowed values for this property are: "NONE", "SUBSTITUTE_PLACEHOLDERS", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The argument_substitution_mode of this DeployArtifact.
        :rtype: str
        )r-r<r8r8r9rds
z)DeployArtifact.argument_substitution_modecCs ddg}t||�sd}||_dS)z�
        Sets the argument_substitution_mode of this DeployArtifact.
        Mode for artifact parameter substitution.


        :param argument_substitution_mode: The argument_substitution_mode of this DeployArtifact.
        :type: str
        rrrAN)rr-)r6rrBr8r8r9rss

cCs|jS)z�
        **[Required]** Gets the deploy_artifact_source of this DeployArtifact.

        :return: The deploy_artifact_source of this DeployArtifact.
        :rtype: oci.devops.models.DeployArtifactSource
        �r.r<r8r8r9r�sz%DeployArtifact.deploy_artifact_sourcecCs
||_dS)z�
        Sets the deploy_artifact_source of this DeployArtifact.

        :param deploy_artifact_source: The deploy_artifact_source of this DeployArtifact.
        :type: oci.devops.models.DeployArtifactSource
        NrC)r6rr8r8r9r�scCs|jS)a
        Gets the time_created of this DeployArtifact.
        Time the deployment artifact was created. Format defined by `RFC3339`__.

        __ https://datatracker.ietf.org/doc/html/rfc3339


        :return: The time_created of this DeployArtifact.
        :rtype: datetime
        �r/r<r8r8r9r �szDeployArtifact.time_createdcCs
||_dS)a*
        Sets the time_created of this DeployArtifact.
        Time the deployment artifact was created. Format defined by `RFC3339`__.

        __ https://datatracker.ietf.org/doc/html/rfc3339


        :param time_created: The time_created of this DeployArtifact.
        :type: datetime
        NrD)r6r r8r8r9r �scCs|jS)a
        Gets the time_updated of this DeployArtifact.
        Time the deployment artifact was updated. Format defined by `RFC3339`__.

        __ https://datatracker.ietf.org/doc/html/rfc3339


        :return: The time_updated of this DeployArtifact.
        :rtype: datetime
        �r0r<r8r8r9r!�szDeployArtifact.time_updatedcCs
||_dS)a*
        Sets the time_updated of this DeployArtifact.
        Time the deployment artifact was updated. Format defined by `RFC3339`__.

        __ https://datatracker.ietf.org/doc/html/rfc3339


        :param time_updated: The time_updated of this DeployArtifact.
        :type: datetime
        NrE)r6r!r8r8r9r!�scCs|jS)a�
        Gets the lifecycle_state of this DeployArtifact.
        Current state of the deployment artifact.

        Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this DeployArtifact.
        :rtype: str
        )r1r<r8r8r9r"�s
zDeployArtifact.lifecycle_statecCs gd�}t||�sd}||_dS)z�
        Sets the lifecycle_state of this DeployArtifact.
        Current state of the deployment artifact.


        :param lifecycle_state: The lifecycle_state of this DeployArtifact.
        :type: str
        )rrrrrrrAN)rr1)r6r"rBr8r8r9r"�s

cCs|jS)a-
        Gets the lifecycle_details of this DeployArtifact.
        A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state.


        :return: The lifecycle_details of this DeployArtifact.
        :rtype: str
        �r2r<r8r8r9r#�s
z DeployArtifact.lifecycle_detailscCs
||_dS)a=
        Sets the lifecycle_details of this DeployArtifact.
        A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state.


        :param lifecycle_details: The lifecycle_details of this DeployArtifact.
        :type: str
        NrF)r6r#r8r8r9r#�s
cCs|jS)a�
        Gets the freeform_tags of this DeployArtifact.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.  See `Resource Tags`__. Example: `{"bar-key": "value"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The freeform_tags of this DeployArtifact.
        :rtype: dict(str, str)
        �r3r<r8r8r9r$szDeployArtifact.freeform_tagscCs
||_dS)a�
        Sets the freeform_tags of this DeployArtifact.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.  See `Resource Tags`__. Example: `{"bar-key": "value"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param freeform_tags: The freeform_tags of this DeployArtifact.
        :type: dict(str, str)
        NrG)r6r$r8r8r9r$scCs|jS)a�
        Gets the defined_tags of this DeployArtifact.
        Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{"foo-namespace": {"bar-key": "value"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this DeployArtifact.
        :rtype: dict(str, dict(str, object))
        �r4r<r8r8r9r% szDeployArtifact.defined_tagscCs
||_dS)a�
        Sets the defined_tags of this DeployArtifact.
        Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{"foo-namespace": {"bar-key": "value"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this DeployArtifact.
        :type: dict(str, dict(str, object))
        NrH)r6r%r8r8r9r%.scCs|jS)a�
        Gets the system_tags of this DeployArtifact.
        Usage of system tag keys. These predefined keys are scoped to namespaces. See `Resource Tags`__. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The system_tags of this DeployArtifact.
        :rtype: dict(str, dict(str, object))
        �r5r<r8r8r9r&<szDeployArtifact.system_tagscCs
||_dS)a�
        Sets the system_tags of this DeployArtifact.
        Usage of system tag keys. These predefined keys are scoped to namespaces. See `Resource Tags`__. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param system_tags: The system_tags of this DeployArtifact.
        :type: dict(str, dict(str, object))
        NrI)r6r&r8r8r9r&JscCst|�S�N)rr<r8r8r9�__repr__XszDeployArtifact.__repr__cCs|durdS|j|jkS)NF)�__dict__�r6�otherr8r8r9�__eq__[szDeployArtifact.__eq__cCs
||kSrJr8rMr8r8r9�__ne__aszDeployArtifact.__ne__N))�__name__�
__module__�__qualname__�__doc__Z$DEPLOY_ARTIFACT_TYPE_DEPLOYMENT_SPECZDEPLOY_ARTIFACT_TYPE_JOB_SPECZ(DEPLOY_ARTIFACT_TYPE_KUBERNETES_MANIFESTZ!DEPLOY_ARTIFACT_TYPE_GENERIC_FILEZ!DEPLOY_ARTIFACT_TYPE_DOCKER_IMAGEZDEPLOY_ARTIFACT_TYPE_HELM_CHARTZ&DEPLOY_ARTIFACT_TYPE_HELM_COMMAND_SPECZ!DEPLOY_ARTIFACT_TYPE_COMMAND_SPECZARGUMENT_SUBSTITUTION_MODE_NONEZ2ARGUMENT_SUBSTITUTION_MODE_SUBSTITUTE_PLACEHOLDERSZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDr:�propertyr�setterrrrrrrrr r!r"r#r$r%r&rKrOrPr8r8r8r9rs�|














	
	























rN)Zoci.utilrrrZoci.decoratorsr�objectrr8r8r8r9�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit