ConfigurationSourceProvider¶
- class oci.resource_manager.models.ConfigurationSourceProvider(**kwargs)¶
Bases:
objectThe properties that define a configuration source provider. For more information, see Managing Configuration Source Providers.
Attributes:
A constant which can be used with the config_source_provider_type property of a ConfigurationSourceProvider.
A constant which can be used with the config_source_provider_type property of a ConfigurationSourceProvider.
A constant which can be used with the config_source_provider_type property of a ConfigurationSourceProvider.
A constant which can be used with the config_source_provider_type property of a ConfigurationSourceProvider.
A constant which can be used with the lifecycle_state property of a ConfigurationSourceProvider.
Gets the compartment_id of this ConfigurationSourceProvider.
[Required] Gets the config_source_provider_type of this ConfigurationSourceProvider.
Gets the defined_tags of this ConfigurationSourceProvider.
Gets the description of this ConfigurationSourceProvider.
Gets the display_name of this ConfigurationSourceProvider.
Gets the email of this ConfigurationSourceProvider.
Gets the freeform_tags of this ConfigurationSourceProvider.
Gets the id of this ConfigurationSourceProvider.
Gets the is_migration_required of this ConfigurationSourceProvider.
Gets the lifecycle_state of this ConfigurationSourceProvider.
Gets the private_server_config_details of this ConfigurationSourceProvider.
Gets the secret_id of this ConfigurationSourceProvider.
Gets the system_tags of this ConfigurationSourceProvider.
Gets the time_created of this ConfigurationSourceProvider.
Gets the username of this ConfigurationSourceProvider.
Methods:
__init__(**kwargs)Initializes a new ConfigurationSourceProvider 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_BITBUCKET_CLOUD_ACCESS_TOKEN = 'BITBUCKET_CLOUD_ACCESS_TOKEN'¶
A constant which can be used with the config_source_provider_type property of a ConfigurationSourceProvider. This constant has a value of “BITBUCKET_CLOUD_ACCESS_TOKEN”
- CONFIG_SOURCE_PROVIDER_TYPE_BITBUCKET_SERVER_ACCESS_TOKEN = 'BITBUCKET_SERVER_ACCESS_TOKEN'¶
A constant which can be used with the config_source_provider_type property of a ConfigurationSourceProvider. This constant has a value of “BITBUCKET_SERVER_ACCESS_TOKEN”
- CONFIG_SOURCE_PROVIDER_TYPE_GITHUB_ACCESS_TOKEN = 'GITHUB_ACCESS_TOKEN'¶
A constant which can be used with the config_source_provider_type property of a ConfigurationSourceProvider. This constant has a value of “GITHUB_ACCESS_TOKEN”
- CONFIG_SOURCE_PROVIDER_TYPE_GITLAB_ACCESS_TOKEN = 'GITLAB_ACCESS_TOKEN'¶
A constant which can be used with the config_source_provider_type property of a ConfigurationSourceProvider. This constant has a value of “GITLAB_ACCESS_TOKEN”
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a ConfigurationSourceProvider. This constant has a value of “ACTIVE”
- __init__(**kwargs)¶
Initializes a new ConfigurationSourceProvider 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
id (str) – The value to assign to the id property of this ConfigurationSourceProvider.
compartment_id (str) – The value to assign to the compartment_id property of this ConfigurationSourceProvider.
display_name (str) – The value to assign to the display_name property of this ConfigurationSourceProvider.
description (str) – The value to assign to the description property of this ConfigurationSourceProvider.
time_created (datetime) – The value to assign to the time_created property of this ConfigurationSourceProvider.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this ConfigurationSourceProvider. Allowed values for this property are: “ACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
config_source_provider_type (str) – The value to assign to the config_source_provider_type property of this ConfigurationSourceProvider. Allowed values for this property are: “BITBUCKET_CLOUD_ACCESS_TOKEN”, “BITBUCKET_SERVER_ACCESS_TOKEN”, “GITLAB_ACCESS_TOKEN”, “GITHUB_ACCESS_TOKEN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
private_server_config_details (oci.resource_manager.models.PrivateServerConfigDetails) – The value to assign to the private_server_config_details property of this ConfigurationSourceProvider.
username (str) – The value to assign to the username property of this ConfigurationSourceProvider.
email (str) – The value to assign to the email property of this ConfigurationSourceProvider.
is_migration_required (bool) – The value to assign to the is_migration_required property of this ConfigurationSourceProvider.
secret_id (str) – The value to assign to the secret_id property of this ConfigurationSourceProvider.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ConfigurationSourceProvider.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ConfigurationSourceProvider.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ConfigurationSourceProvider.
- property 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
- property config_source_provider_type¶
[Required] Gets the config_source_provider_type of this ConfigurationSourceProvider. The type of configuration source provider. The BITBUCKET_CLOUD_ACCESS_TOKEN type corresponds to Bitbucket Cloud. The BITBUCKET_SERVER_ACCESS_TOKEN type corresponds to Bitbucket Server. The GITLAB_ACCESS_TOKEN type corresponds to GitLab. The GITHUB_ACCESS_TOKEN type corresponds to GitHub.
Allowed values for this property are: “BITBUCKET_CLOUD_ACCESS_TOKEN”, “BITBUCKET_SERVER_ACCESS_TOKEN”, “GITLAB_ACCESS_TOKEN”, “GITHUB_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
- property 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))
- property description¶
Gets the description of this ConfigurationSourceProvider. Description of the configuration source provider.
- Returns
The description of this ConfigurationSourceProvider.
- Return type
str
- property display_name¶
Gets the display_name of this ConfigurationSourceProvider. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this ConfigurationSourceProvider.
- Return type
str
- property email¶
Gets the email of this ConfigurationSourceProvider. Atlassian account email used for Bitbucket Cloud API token authentication.
- Returns
The email of this ConfigurationSourceProvider.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this ConfigurationSourceProvider. Free-form tags associated with the 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.
- property id¶
Gets the id of this ConfigurationSourceProvider. The OCID of the configuration source provider.
- Returns
The id of this ConfigurationSourceProvider.
- Return type
str
- property is_migration_required¶
Gets the is_migration_required of this ConfigurationSourceProvider. Indicates whether this configuration source provider uses legacy Bitbucket Cloud username/app-password credentials and must be migrated.
- Returns
The is_migration_required of this ConfigurationSourceProvider.
- Return type
bool
- property 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
- property private_server_config_details¶
Gets the private_server_config_details of this ConfigurationSourceProvider.
- Returns
The private_server_config_details of this ConfigurationSourceProvider.
- Return type
- property secret_id¶
Gets the secret_id of this ConfigurationSourceProvider. Secret ocid which is used to authorize the user.
- Returns
The secret_id of this ConfigurationSourceProvider.
- Return type
str
- property system_tags¶
Gets the system_tags of this ConfigurationSourceProvider. The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
- Returns
The system_tags of this ConfigurationSourceProvider.
- Return type
dict(str, dict(str, object))
- property 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
- property username¶
Gets the username of this ConfigurationSourceProvider. Username which is used to authorize the user.
- Returns
The username of this ConfigurationSourceProvider.
- Return type
str