UpdateGitConfigSourceDetails

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

Bases: oci.resource_manager.models.update_config_source_details.UpdateConfigSourceDetails

Updates property details for the configuration git information.

Methods

__init__(**kwargs) Initializes a new UpdateGitConfigSourceDetails 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.

Attributes

branch_name Gets the branch_name of this UpdateGitConfigSourceDetails.
config_source_type [Required] Gets the config_source_type of this UpdateConfigSourceDetails.
configuration_source_provider_id [Required] Gets the configuration_source_provider_id of this UpdateGitConfigSourceDetails.
repository_url Gets the repository_url of this UpdateGitConfigSourceDetails.
working_directory Gets the working_directory of this UpdateConfigSourceDetails.
__init__(**kwargs)

Initializes a new UpdateGitConfigSourceDetails object with values from keyword arguments. The default value of the config_source_type attribute of this class is GIT_CONFIG_SOURCE and it should not be changed. 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 UpdateGitConfigSourceDetails.
  • working_directory (str) – The value to assign to the working_directory property of this UpdateGitConfigSourceDetails.
  • configuration_source_provider_id (str) – The value to assign to the configuration_source_provider_id property of this UpdateGitConfigSourceDetails.
  • repository_url (str) – The value to assign to the repository_url property of this UpdateGitConfigSourceDetails.
  • branch_name (str) – The value to assign to the branch_name property of this UpdateGitConfigSourceDetails.
branch_name

Gets the branch_name of this UpdateGitConfigSourceDetails. The name of the branch within the Git repository.

Returns:The branch_name of this UpdateGitConfigSourceDetails.
Return type:str
config_source_type

[Required] Gets the config_source_type of this UpdateConfigSourceDetails. Specifies the configSourceType for uploading the Terraform configuration.

Returns:The config_source_type of this UpdateConfigSourceDetails.
Return type:str
configuration_source_provider_id

[Required] Gets the configuration_source_provider_id of this UpdateGitConfigSourceDetails. Unique identifier (OCID) for the Git configuration source.

Returns:The configuration_source_provider_id of this UpdateGitConfigSourceDetails.
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.

repository_url

Gets the repository_url of this UpdateGitConfigSourceDetails. The URL of the Git repository.

Returns:The repository_url of this UpdateGitConfigSourceDetails.
Return type:str
working_directory

Gets the working_directory of this UpdateConfigSourceDetails. The path of the directory from which to run terraform. If not specified, the the root will be used. This parameter is ignored for the configSourceType value of COMPARTMENT_CONFIG_SOURCE.

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