CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails¶
-
class
oci.resource_manager.models.
CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails
(**kwargs)¶ Bases:
oci.resource_manager.models.create_configuration_source_provider_details.CreateConfigurationSourceProviderDetails
Creation details for a configuration source provider of the type BITBUCKET_CLOUD_USERNAME_appPASSWORD. This type corresponds to a configuration source provider in Bitbucket that is authenticated with a username and app password.
Methods
__init__
(**kwargs)Initializes a new CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails 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
api_endpoint
[Required] Gets the api_endpoint of this CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails. compartment_id
Gets the compartment_id of this CreateConfigurationSourceProviderDetails. config_source_provider_type
[Required] Gets the config_source_provider_type of this CreateConfigurationSourceProviderDetails. defined_tags
Gets the defined_tags of this CreateConfigurationSourceProviderDetails. description
Gets the description of this CreateConfigurationSourceProviderDetails. display_name
Gets the display_name of this CreateConfigurationSourceProviderDetails. freeform_tags
Gets the freeform_tags of this CreateConfigurationSourceProviderDetails. private_server_config_details
Gets the private_server_config_details of this CreateConfigurationSourceProviderDetails. secret_id
[Required] Gets the secret_id of this CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails. username
[Required] Gets the username of this CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails. -
__init__
(**kwargs)¶ Initializes a new CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails object with values from keyword arguments. The default value of the
config_source_provider_type
attribute of this class isBITBUCKET_CLOUD_USERNAME_APPPASSWORD
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.
- display_name (str) – The value to assign to the display_name property of this CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.
- description (str) – The value to assign to the description property of this CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.
- config_source_provider_type (str) – The value to assign to the config_source_provider_type property of this CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.
- private_server_config_details (oci.resource_manager.models.PrivateServerConfigDetails) – The value to assign to the private_server_config_details property of this CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.
- api_endpoint (str) – The value to assign to the api_endpoint property of this CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.
- username (str) – The value to assign to the username property of this CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.
- secret_id (str) – The value to assign to the secret_id property of this CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.
-
api_endpoint
¶ [Required] Gets the api_endpoint of this CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails. The Bitbucket cloud service endpoint. Example: https://bitbucket.org/
Returns: The api_endpoint of this CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails. Return type: str
-
compartment_id
¶ Gets the compartment_id of this CreateConfigurationSourceProviderDetails. The OCID of the compartment where you want to create the configuration source provider.
Returns: The compartment_id of this CreateConfigurationSourceProviderDetails. Return type: str
-
config_source_provider_type
¶ [Required] Gets the config_source_provider_type of this CreateConfigurationSourceProviderDetails. The type of configuration source provider. The GITLAB_ACCESS_TOKEN type corresponds to GitLab. The GITHUB_ACCESS_TOKEN type corresponds to GitHub. The BITBUCKET_CLOUD_USERNAME_APPPASSWORD type corresponds to Bitbucket Cloud. The BITBUCKET_SERVER_ACCESS_TOKEN type corresponds to Bitbucket Server.
Returns: The config_source_provider_type of this CreateConfigurationSourceProviderDetails. Return type: str
Gets the defined_tags of this CreateConfigurationSourceProviderDetails. 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 CreateConfigurationSourceProviderDetails. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this CreateConfigurationSourceProviderDetails. Description of the configuration source provider. Avoid entering confidential information.
Returns: The description of this CreateConfigurationSourceProviderDetails. Return type: str
-
display_name
¶ Gets the display_name of this CreateConfigurationSourceProviderDetails. Human-readable name of the configuration source provider. Avoid entering confidential information.
Returns: The display_name of this CreateConfigurationSourceProviderDetails. Return type: str
Gets the freeform_tags of this CreateConfigurationSourceProviderDetails. 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 CreateConfigurationSourceProviderDetails. 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.
-
private_server_config_details
¶ Gets the private_server_config_details of this CreateConfigurationSourceProviderDetails.
Returns: The private_server_config_details of this CreateConfigurationSourceProviderDetails. Return type: oci.resource_manager.models.PrivateServerConfigDetails
-
secret_id
¶ [Required] Gets the secret_id of this CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails. The secret ocid which is used to authorize the user.
Returns: The secret_id of this CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails. Return type: str
-
username
¶ [Required] Gets the username of this CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails. The username for the user of the Bitbucket cloud repository.
Returns: The username of this CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails. Return type: str
-