UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails¶
- class oci.resource_manager.models.UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails(**kwargs)¶
Bases:
UpdateConfigurationSourceProviderDetailsUpdate details for a configuration source provider of the type BITBUCKET_CLOUD_ACCESS_TOKEN. This type corresponds to a configuration source provider in Bitbucket Cloud that is authenticated with Atlassian account email and API token. Legacy username/app-password update request shapes are no longer supported.
Methods:
__init__(**kwargs)Initializes a new UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails 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:
Gets the api_endpoint of this UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.
Gets the config_source_provider_type of this UpdateConfigurationSourceProviderDetails.
Gets the defined_tags of this UpdateConfigurationSourceProviderDetails.
Gets the description of this UpdateConfigurationSourceProviderDetails.
Gets the display_name of this UpdateConfigurationSourceProviderDetails.
Gets the email of this UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.
Gets the freeform_tags of this UpdateConfigurationSourceProviderDetails.
Gets the private_server_config_details of this UpdateConfigurationSourceProviderDetails.
Gets the secret_id of this UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.
- __init__(**kwargs)¶
Initializes a new UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails object with values from keyword arguments. The default value of the
config_source_provider_typeattribute of this class isBITBUCKET_CLOUD_ACCESS_TOKENand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
display_name (str) – The value to assign to the display_name property of this UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.
description (str) – The value to assign to the description property of this UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.
config_source_provider_type (str) – The value to assign to the config_source_provider_type property of this UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.
private_server_config_details (oci.resource_manager.models.PrivateServerConfigDetails) – The value to assign to the private_server_config_details property of this UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.
api_endpoint (str) – The value to assign to the api_endpoint property of this UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.
email (str) – The value to assign to the email property of this UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.
secret_id (str) – The value to assign to the secret_id property of this UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.
- property api_endpoint¶
Gets the api_endpoint of this UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails. The Bitbucket service endpoint. Example: https://bitbucket.org/
- Returns
The api_endpoint of this UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.
- Return type
str
- property config_source_provider_type¶
Gets the config_source_provider_type of this UpdateConfigurationSourceProviderDetails. The type of configuration source provider. The BITBUCKET_CLOUD_ACCESS_TOKEN type corresponds to Bitbucket Cloud. For Bitbucket Cloud, update requests must provide Atlassian account email and secretId containing an API token. 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.
- Returns
The config_source_provider_type of this UpdateConfigurationSourceProviderDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this UpdateConfigurationSourceProviderDetails. 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 UpdateConfigurationSourceProviderDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this UpdateConfigurationSourceProviderDetails. Description of the configuration source provider. Avoid entering confidential information.
- Returns
The description of this UpdateConfigurationSourceProviderDetails.
- Return type
str
- property display_name¶
Gets the display_name of this UpdateConfigurationSourceProviderDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this UpdateConfigurationSourceProviderDetails.
- Return type
str
- property email¶
Gets the email of this UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails. Atlassian account email used for Bitbucket Cloud API token authentication.
- Returns
The email of this UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this UpdateConfigurationSourceProviderDetails. 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 UpdateConfigurationSourceProviderDetails.
- 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 private_server_config_details¶
Gets the private_server_config_details of this UpdateConfigurationSourceProviderDetails.
- Returns
The private_server_config_details of this UpdateConfigurationSourceProviderDetails.
- Return type
- property secret_id¶
Gets the secret_id of this UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails. The secret OCID containing an Atlassian API token.
- Returns
The secret_id of this UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.
- Return type
str