CreateResourcePrincipalConfigurationDetails

class oci.bds.models.CreateResourcePrincipalConfigurationDetails(**kwargs)

Bases: object

Details of creating a resource principal configuration for the cluster.

Methods

__init__(**kwargs) Initializes a new CreateResourcePrincipalConfigurationDetails object with values from keyword arguments.

Attributes

cluster_admin_password [Required] Gets the cluster_admin_password of this CreateResourcePrincipalConfigurationDetails.
display_name [Required] Gets the display_name of this CreateResourcePrincipalConfigurationDetails.
session_token_life_span_duration_in_hours 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.
  • 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.
cluster_admin_password

[Required] 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
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
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