📂 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
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
resource_manager
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/resource_manager/models
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: config_source.pyc
a O��f�! � @ 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 @ s� e Zd ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z ed d� �Zejdd� �Zedd� �Zejdd� �Zdd� Zdd� Zdd� ZdS )�ConfigSourcez8 Information about the Terraform configuration. �BITBUCKET_CLOUD_CONFIG_SOURCE�BITBUCKET_SERVER_CONFIG_SOURCE�COMPARTMENT_CONFIG_SOURCE�DEVOPS_CONFIG_SOURCE�GIT_CONFIG_SOURCE�OBJECT_STORAGE_CONFIG_SOURCE� ZIP_UPLOADc K s( ddd�| _ ddd�| _d| _d| _dS )a Initializes a new ConfigSource object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.resource_manager.models.GitConfigSource` * :class:`~oci.resource_manager.models.DevOpsConfigSource` * :class:`~oci.resource_manager.models.ObjectStorageConfigSource` * :class:`~oci.resource_manager.models.BitbucketServerConfigSource` * :class:`~oci.resource_manager.models.BitbucketCloudConfigSource` * :class:`~oci.resource_manager.models.CompartmentConfigSource` * :class:`~oci.resource_manager.models.ZipUploadConfigSource` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param config_source_type: The value to assign to the config_source_type property of this ConfigSource. Allowed values for this property are: "BITBUCKET_CLOUD_CONFIG_SOURCE", "BITBUCKET_SERVER_CONFIG_SOURCE", "COMPARTMENT_CONFIG_SOURCE", "DEVOPS_CONFIG_SOURCE", "GIT_CONFIG_SOURCE", "OBJECT_STORAGE_CONFIG_SOURCE", "ZIP_UPLOAD", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type config_source_type: str :param working_directory: The value to assign to the working_directory property of this ConfigSource. :type working_directory: str �str)�config_source_type�working_directory�configSourceType�workingDirectoryN)� swagger_types� attribute_map�_config_source_type�_working_directory)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/resource_manager/models/config_source.py�__init__, s ��zConfigSource.__init__c C sd | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d krDdS |dkrPd S |dkr\dS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r �GitConfigSourcer �DevOpsConfigSourcer �ObjectStorageConfigSourcer �BitbucketServerConfigSourcer �BitbucketCloudConfigSourcer �CompartmentConfigSourcer �ZipUploadConfigSourcer Nr )�object_dictionary�typer r r �get_subtypeS s zConfigSource.get_subtypec C s | j S )aU **[Required]** Gets the config_source_type of this ConfigSource. The type of configuration source to use for the Terraform configuration. Allowed values for this property are: "BITBUCKET_CLOUD_CONFIG_SOURCE", "BITBUCKET_SERVER_CONFIG_SOURCE", "COMPARTMENT_CONFIG_SOURCE", "DEVOPS_CONFIG_SOURCE", "GIT_CONFIG_SOURCE", "OBJECT_STORAGE_CONFIG_SOURCE", "ZIP_UPLOAD", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The config_source_type of this ConfigSource. :rtype: str )r �r r r r r r s zConfigSource.config_source_typec C s g d�}t ||�sd}|| _dS )z� Sets the config_source_type of this ConfigSource. The type of configuration source to use for the Terraform configuration. :param config_source_type: The config_source_type of this ConfigSource. :type: str )r r r r r r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r � s c C s | j S )a� Gets the working_directory of this ConfigSource. File path to the directory to use for running Terraform. If not specified, the root directory is used. Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. For more information about required and recommended file structure, see `File Structure (Terraform Configurations for Resource Manager)`__. __ https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#filestructure :return: The working_directory of this ConfigSource. :rtype: str �r r&