UpdateResourcePrincipalConfigurationDetails

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

Bases: object

Details of updating the resource principal configuration for the cluster.

Methods:

__init__(**kwargs)

Initializes a new UpdateResourcePrincipalConfigurationDetails object with values from keyword arguments.

Attributes:

display_name

Gets the display_name of this UpdateResourcePrincipalConfigurationDetails.

session_token_life_span_duration_in_hours

Gets the session_token_life_span_duration_in_hours of this UpdateResourcePrincipalConfigurationDetails.

__init__(**kwargs)

Initializes a new UpdateResourcePrincipalConfigurationDetails 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 UpdateResourcePrincipalConfigurationDetails.

  • session_token_life_span_duration_in_hours (int) – The value to assign to the session_token_life_span_duration_in_hours property of this UpdateResourcePrincipalConfigurationDetails.

property display_name

Gets the display_name of this UpdateResourcePrincipalConfigurationDetails. 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 UpdateResourcePrincipalConfigurationDetails.

Return type

str

property session_token_life_span_duration_in_hours

Gets the session_token_life_span_duration_in_hours of this UpdateResourcePrincipalConfigurationDetails. Life span in hours for the resource principal session token.

Returns

The session_token_life_span_duration_in_hours of this UpdateResourcePrincipalConfigurationDetails.

Return type

int