CreateResourcePrincipalConfigurationDetails¶
- class oci.bds.models.CreateResourcePrincipalConfigurationDetails(**kwargs)¶
Bases:
objectDetails of creating a resource principal configuration for the cluster.
Methods:
__init__(**kwargs)Initializes a new CreateResourcePrincipalConfigurationDetails object with values from keyword arguments.
Attributes:
Gets the cluster_admin_password of this CreateResourcePrincipalConfigurationDetails.
[Required] Gets the display_name of this CreateResourcePrincipalConfigurationDetails.
Gets the secret_id of this CreateResourcePrincipalConfigurationDetails.
Gets the session_token_life_span_duration_in_hours of this CreateResourcePrincipalConfigurationDetails.
- __init__(**kwargs)¶
Initializes a new CreateResourcePrincipalConfigurationDetails object with values from keyword arguments. 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 CreateResourcePrincipalConfigurationDetails.
cluster_admin_password (str) – The value to assign to the cluster_admin_password property of this CreateResourcePrincipalConfigurationDetails.
secret_id (str) – The value to assign to the secret_id property of this CreateResourcePrincipalConfigurationDetails.
session_token_life_span_duration_in_hours (int) – The value to assign to the session_token_life_span_duration_in_hours property of this CreateResourcePrincipalConfigurationDetails.
- property cluster_admin_password¶
Gets the cluster_admin_password of this CreateResourcePrincipalConfigurationDetails. Base-64 encoded Cluster Admin Password for cluster admin user.
- Returns
The cluster_admin_password of this CreateResourcePrincipalConfigurationDetails.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this CreateResourcePrincipalConfigurationDetails. A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
- Returns
The display_name of this CreateResourcePrincipalConfigurationDetails.
- Return type
str
- property secret_id¶
Gets the secret_id of this CreateResourcePrincipalConfigurationDetails. The secretId for the clusterAdminPassword.
- Returns
The secret_id of this CreateResourcePrincipalConfigurationDetails.
- Return type
str
- property session_token_life_span_duration_in_hours¶
Gets the session_token_life_span_duration_in_hours of this CreateResourcePrincipalConfigurationDetails. Life span in hours for the resource principal session token.
- Returns
The session_token_life_span_duration_in_hours of this CreateResourcePrincipalConfigurationDetails.
- Return type
int