ResourcePrincipalConfiguration

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

Bases: object

Resource Principal Session Token Details.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a ResourcePrincipalConfiguration.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a ResourcePrincipalConfiguration.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a ResourcePrincipalConfiguration.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a ResourcePrincipalConfiguration.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a ResourcePrincipalConfiguration.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a ResourcePrincipalConfiguration.
bds_instance_id [Required] Gets the bds_instance_id of this ResourcePrincipalConfiguration.
display_name [Required] Gets the display_name of this ResourcePrincipalConfiguration.
id [Required] Gets the id of this ResourcePrincipalConfiguration.
lifecycle_state [Required] Gets the lifecycle_state of this ResourcePrincipalConfiguration.
session_token_life_span_duration_in_hours [Required] Gets the session_token_life_span_duration_in_hours of this ResourcePrincipalConfiguration.
time_created [Required] Gets the time_created of this ResourcePrincipalConfiguration.
time_token_expiry Gets the time_token_expiry of this ResourcePrincipalConfiguration.
time_token_refreshed Gets the time_token_refreshed of this ResourcePrincipalConfiguration.
time_updated [Required] Gets the time_updated of this ResourcePrincipalConfiguration.

Methods

__init__(**kwargs) Initializes a new ResourcePrincipalConfiguration object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a ResourcePrincipalConfiguration. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a ResourcePrincipalConfiguration. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a ResourcePrincipalConfiguration. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a ResourcePrincipalConfiguration. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a ResourcePrincipalConfiguration. This constant has a value of “FAILED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a ResourcePrincipalConfiguration. This constant has a value of “UPDATING”

__init__(**kwargs)

Initializes a new ResourcePrincipalConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this ResourcePrincipalConfiguration.
  • bds_instance_id (str) – The value to assign to the bds_instance_id property of this ResourcePrincipalConfiguration.
  • display_name (str) – The value to assign to the display_name property of this ResourcePrincipalConfiguration.
  • session_token_life_span_duration_in_hours (int) – The value to assign to the session_token_life_span_duration_in_hours property of this ResourcePrincipalConfiguration.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ResourcePrincipalConfiguration. Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_token_refreshed (datetime) – The value to assign to the time_token_refreshed property of this ResourcePrincipalConfiguration.
  • time_token_expiry (datetime) – The value to assign to the time_token_expiry property of this ResourcePrincipalConfiguration.
  • time_created (datetime) – The value to assign to the time_created property of this ResourcePrincipalConfiguration.
  • time_updated (datetime) – The value to assign to the time_updated property of this ResourcePrincipalConfiguration.
bds_instance_id

[Required] Gets the bds_instance_id of this ResourcePrincipalConfiguration. The OCID of the bdsInstance which is the parent resource id.

Returns:The bds_instance_id of this ResourcePrincipalConfiguration.
Return type:str
display_name

[Required] Gets the display_name of this ResourcePrincipalConfiguration. 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 ResourcePrincipalConfiguration.
Return type:str
id

[Required] Gets the id of this ResourcePrincipalConfiguration. The id of the ResourcePrincipalConfiguration.

Returns:The id of this ResourcePrincipalConfiguration.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this ResourcePrincipalConfiguration. The state of the ResourcePrincipalConfiguration.

Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this ResourcePrincipalConfiguration.
Return type:str
session_token_life_span_duration_in_hours

[Required] Gets the session_token_life_span_duration_in_hours of this ResourcePrincipalConfiguration. Life span in hours of each resource principal session token.

Returns:The session_token_life_span_duration_in_hours of this ResourcePrincipalConfiguration.
Return type:int
time_created

[Required] Gets the time_created of this ResourcePrincipalConfiguration. The time the ResourcePrincipalConfiguration was created, shown as an RFC 3339 formatted datetime string.

Returns:The time_created of this ResourcePrincipalConfiguration.
Return type:datetime
time_token_expiry

Gets the time_token_expiry of this ResourcePrincipalConfiguration. the time the resource principal session token will expired, shown as an rfc 3339 formatted datetime string.

Returns:The time_token_expiry of this ResourcePrincipalConfiguration.
Return type:datetime
time_token_refreshed

Gets the time_token_refreshed of this ResourcePrincipalConfiguration. the time the resource principal session token was refreshed, shown as an rfc 3339 formatted datetime string.

Returns:The time_token_refreshed of this ResourcePrincipalConfiguration.
Return type:datetime
time_updated

[Required] Gets the time_updated of this ResourcePrincipalConfiguration. The time the ResourcePrincipalConfiguration was updated, shown as an RFC 3339 formatted datetime string.

Returns:The time_updated of this ResourcePrincipalConfiguration.
Return type:datetime