GitlabAccessTokenConfigurationSourceProvider

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

Bases: oci.resource_manager.models.configuration_source_provider.ConfigurationSourceProvider

The properties that define a configuration source provider of the type GITLAB_ACCESS_TOKEN. This type corresponds to a configuration source provider in GitLab that is authenticated with a personal access token.

Attributes

CONFIG_SOURCE_PROVIDER_TYPE_GITLAB_ACCESS_TOKEN str(object=’‘) -> str
LIFECYCLE_STATE_ACTIVE str(object=’‘) -> str
api_endpoint Gets the api_endpoint of this GitlabAccessTokenConfigurationSourceProvider.
compartment_id Gets the compartment_id of this ConfigurationSourceProvider.
config_source_provider_type [Required] Gets the config_source_provider_type of this ConfigurationSourceProvider.
defined_tags Gets the defined_tags of this ConfigurationSourceProvider.
description Gets the description of this ConfigurationSourceProvider.
display_name Gets the display_name of this ConfigurationSourceProvider.
freeform_tags Gets the freeform_tags of this ConfigurationSourceProvider.
id Gets the id of this ConfigurationSourceProvider.
lifecycle_state Gets the lifecycle_state of this ConfigurationSourceProvider.
time_created Gets the time_created of this ConfigurationSourceProvider.

Methods

__init__(**kwargs) Initializes a new GitlabAccessTokenConfigurationSourceProvider 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_PROVIDER_TYPE_GITLAB_ACCESS_TOKEN = 'GITLAB_ACCESS_TOKEN'
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'
__init__(**kwargs)

Initializes a new GitlabAccessTokenConfigurationSourceProvider object with values from keyword arguments. The default value of the config_source_provider_type attribute of this class is GITLAB_ACCESS_TOKEN and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this GitlabAccessTokenConfigurationSourceProvider.
  • compartment_id (str) – The value to assign to the compartment_id property of this GitlabAccessTokenConfigurationSourceProvider.
  • display_name (str) – The value to assign to the display_name property of this GitlabAccessTokenConfigurationSourceProvider.
  • description (str) – The value to assign to the description property of this GitlabAccessTokenConfigurationSourceProvider.
  • time_created (datetime) – The value to assign to the time_created property of this GitlabAccessTokenConfigurationSourceProvider.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this GitlabAccessTokenConfigurationSourceProvider. Allowed values for this property are: “ACTIVE”
  • config_source_provider_type (str) – The value to assign to the config_source_provider_type property of this GitlabAccessTokenConfigurationSourceProvider. Allowed values for this property are: “GITLAB_ACCESS_TOKEN”
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this GitlabAccessTokenConfigurationSourceProvider.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this GitlabAccessTokenConfigurationSourceProvider.
  • api_endpoint (str) – The value to assign to the api_endpoint property of this GitlabAccessTokenConfigurationSourceProvider.
api_endpoint

Gets the api_endpoint of this GitlabAccessTokenConfigurationSourceProvider. The Git service API endpoint. Example: https://gitlab.com/api/v4/

Returns:The api_endpoint of this GitlabAccessTokenConfigurationSourceProvider.
Return type:str
compartment_id

Gets the compartment_id of this ConfigurationSourceProvider. The OCID of the compartment where the configuration source provider is located.

Returns:The compartment_id of this ConfigurationSourceProvider.
Return type:str
config_source_provider_type

[Required] Gets the config_source_provider_type of this ConfigurationSourceProvider. The type of configuration source provider. The GITLAB_ACCESS_TOKEN type corresponds to Git.

Allowed values for this property are: “GITLAB_ACCESS_TOKEN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The config_source_provider_type of this ConfigurationSourceProvider.
Return type:str
defined_tags

Gets the defined_tags of this ConfigurationSourceProvider. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this ConfigurationSourceProvider.
Return type:dict(str, dict(str, object))
description

Gets the description of this ConfigurationSourceProvider. Description of the configuration source provider.

Returns:The description of this ConfigurationSourceProvider.
Return type:str
display_name

Gets the display_name of this ConfigurationSourceProvider. Human-readable display name for the configuration source provider.

Returns:The display_name of this ConfigurationSourceProvider.
Return type:str
freeform_tags

Gets the freeform_tags of this ConfigurationSourceProvider. Free-form tags associated with this resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns:The freeform_tags of this ConfigurationSourceProvider.
Return type:dict(str, 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.

id

Gets the id of this ConfigurationSourceProvider. The OCID of the configuration source provider.

Returns:The id of this ConfigurationSourceProvider.
Return type:str
lifecycle_state

Gets the lifecycle_state of this ConfigurationSourceProvider. The current lifecycle state of the configuration source provider. For more information about configuration source provider lifecycle states in Resource Manager, see Key Concepts.

Allowed values for this property are: “ACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this ConfigurationSourceProvider.
Return type:str
time_created

Gets the time_created of this ConfigurationSourceProvider. The date and time when the configuration source provider was created. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z

Returns:The time_created of this ConfigurationSourceProvider.
Return type:datetime