ConfigSourceRecord¶
- class oci.resource_manager.models.ConfigSourceRecord(**kwargs)¶
Bases:
objectInformation about the Terraform configuration.
Attributes:
A constant which can be used with the config_source_record_type property of a ConfigSourceRecord.
A constant which can be used with the config_source_record_type property of a ConfigSourceRecord.
A constant which can be used with the config_source_record_type property of a ConfigSourceRecord.
A constant which can be used with the config_source_record_type property of a ConfigSourceRecord.
A constant which can be used with the config_source_record_type property of a ConfigSourceRecord.
A constant which can be used with the config_source_record_type property of a ConfigSourceRecord.
A constant which can be used with the config_source_record_type property of a ConfigSourceRecord.
[Required] Gets the config_source_record_type of this ConfigSourceRecord.
Methods:
__init__(**kwargs)Initializes a new ConfigSourceRecord object with values from keyword arguments.
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.
- CONFIG_SOURCE_RECORD_TYPE_BITBUCKET_CLOUD_CONFIG_SOURCE = 'BITBUCKET_CLOUD_CONFIG_SOURCE'¶
A constant which can be used with the config_source_record_type property of a ConfigSourceRecord. This constant has a value of “BITBUCKET_CLOUD_CONFIG_SOURCE”
- CONFIG_SOURCE_RECORD_TYPE_BITBUCKET_SERVER_CONFIG_SOURCE = 'BITBUCKET_SERVER_CONFIG_SOURCE'¶
A constant which can be used with the config_source_record_type property of a ConfigSourceRecord. This constant has a value of “BITBUCKET_SERVER_CONFIG_SOURCE”
- CONFIG_SOURCE_RECORD_TYPE_COMPARTMENT_CONFIG_SOURCE = 'COMPARTMENT_CONFIG_SOURCE'¶
A constant which can be used with the config_source_record_type property of a ConfigSourceRecord. This constant has a value of “COMPARTMENT_CONFIG_SOURCE”
- CONFIG_SOURCE_RECORD_TYPE_DEVOPS_CONFIG_SOURCE = 'DEVOPS_CONFIG_SOURCE'¶
A constant which can be used with the config_source_record_type property of a ConfigSourceRecord. This constant has a value of “DEVOPS_CONFIG_SOURCE”
- CONFIG_SOURCE_RECORD_TYPE_GIT_CONFIG_SOURCE = 'GIT_CONFIG_SOURCE'¶
A constant which can be used with the config_source_record_type property of a ConfigSourceRecord. This constant has a value of “GIT_CONFIG_SOURCE”
- CONFIG_SOURCE_RECORD_TYPE_OBJECT_STORAGE_CONFIG_SOURCE = 'OBJECT_STORAGE_CONFIG_SOURCE'¶
A constant which can be used with the config_source_record_type property of a ConfigSourceRecord. This constant has a value of “OBJECT_STORAGE_CONFIG_SOURCE”
- CONFIG_SOURCE_RECORD_TYPE_ZIP_UPLOAD = 'ZIP_UPLOAD'¶
A constant which can be used with the config_source_record_type property of a ConfigSourceRecord. This constant has a value of “ZIP_UPLOAD”
- __init__(**kwargs)¶
Initializes a new ConfigSourceRecord 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_record_type (str) – The value to assign to the config_source_record_type property of this ConfigSourceRecord. 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’.
- property config_source_record_type¶
[Required] Gets the config_source_record_type of this ConfigSourceRecord. 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’.
- Returns
The config_source_record_type of this ConfigSourceRecord.
- 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.