ConfigSource

class oci.resource_manager.models.ConfigSource(**kwargs)

Bases: object

Location of the zip file that contains the Terraform configuration.

CONFIG_SOURCE_TYPE_ZIP_UPLOAD = 'ZIP_UPLOAD'

A constant which can be used with the config_source_type property of a ConfigSource. This constant has a value of "ZIP_UPLOAD"

__init__(**kwargs)

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:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • config_source_type (str) -- The value to assign to the config_source_type property of this ConfigSource. Allowed values for this property are: "ZIP_UPLOAD", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
  • working_directory (str) -- The value to assign to the working_directory property of this ConfigSource.
config_source_type

[Required] Gets the config_source_type of this ConfigSource. The configuration file type.

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

Returns:The config_source_type of this ConfigSource.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

working_directory

Gets the working_directory of this ConfigSource. File path to the directory from which Terraform runs. If not specified, we use the root directory.

Returns:The working_directory of this ConfigSource.
Return type:str