UpstConfiguration

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

Bases: object

Information about the UPST configuration.

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a UpstConfiguration.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a UpstConfiguration.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a UpstConfiguration.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a UpstConfiguration.

LIFECYCLE_STATE_INACTIVE

A constant which can be used with the lifecycle_state property of a UpstConfiguration.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a UpstConfiguration.

keytab_content

[Required] Gets the keytab_content of this UpstConfiguration.

lifecycle_state

[Required] Gets the lifecycle_state of this UpstConfiguration.

master_encryption_key_id

[Required] Gets the master_encryption_key_id of this UpstConfiguration.

secret_id

[Required] Gets the secret_id of this UpstConfiguration.

time_created

[Required] Gets the time_created of this UpstConfiguration.

time_token_exchange_keytab_last_refreshed

[Required] Gets the time_token_exchange_keytab_last_refreshed of this UpstConfiguration.

time_updated

[Required] Gets the time_updated of this UpstConfiguration.

token_exchange_principal_name

Gets the token_exchange_principal_name of this UpstConfiguration.

vault_id

[Required] Gets the vault_id of this UpstConfiguration.

Methods:

__init__(**kwargs)

Initializes a new UpstConfiguration object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

__init__(**kwargs)

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

Parameters
  • vault_id (str) – The value to assign to the vault_id property of this UpstConfiguration.

  • master_encryption_key_id (str) – The value to assign to the master_encryption_key_id property of this UpstConfiguration.

  • secret_id (str) – The value to assign to the secret_id property of this UpstConfiguration.

  • time_token_exchange_keytab_last_refreshed (datetime) – The value to assign to the time_token_exchange_keytab_last_refreshed property of this UpstConfiguration.

  • token_exchange_principal_name (str) – The value to assign to the token_exchange_principal_name property of this UpstConfiguration.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this UpstConfiguration. Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETING”, “INACTIVE”, “UPDATING”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • time_created (datetime) – The value to assign to the time_created property of this UpstConfiguration.

  • time_updated (datetime) – The value to assign to the time_updated property of this UpstConfiguration.

  • keytab_content (str) – The value to assign to the keytab_content property of this UpstConfiguration.

property keytab_content

[Required] Gets the keytab_content of this UpstConfiguration. The kerberos keytab content used for creating identity propagation trust config, in base64 format

Returns

The keytab_content of this UpstConfiguration.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this UpstConfiguration. Lifecycle state of the UPST config

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

Returns

The lifecycle_state of this UpstConfiguration.

Return type

str

property master_encryption_key_id

[Required] Gets the master_encryption_key_id of this UpstConfiguration. Master Encryption key used for encrypting token exchange keytab.

Returns

The master_encryption_key_id of this UpstConfiguration.

Return type

str

property secret_id

[Required] Gets the secret_id of this UpstConfiguration. Secret ID for token exchange keytab

Returns

The secret_id of this UpstConfiguration.

Return type

str

property time_created

[Required] Gets the time_created of this UpstConfiguration. Time when this UPST config was created, shown as an RFC 3339 formatted datetime string.

Returns

The time_created of this UpstConfiguration.

Return type

datetime

property time_token_exchange_keytab_last_refreshed

[Required] Gets the time_token_exchange_keytab_last_refreshed of this UpstConfiguration. Time when the keytab for token exchange principal is last refreshed, shown as an RFC 3339 formatted datetime string.

Returns

The time_token_exchange_keytab_last_refreshed of this UpstConfiguration.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this UpstConfiguration. Time when this UPST config was updated, shown as an RFC 3339 formatted datetime string.

Returns

The time_updated of this UpstConfiguration.

Return type

datetime

property token_exchange_principal_name

Gets the token_exchange_principal_name of this UpstConfiguration. Token exchange kerberos Principal name in cluster

Returns

The token_exchange_principal_name of this UpstConfiguration.

Return type

str

property vault_id

[Required] Gets the vault_id of this UpstConfiguration. The instance OCID of the node, which is the resource from which the node backup was acquired.

Returns

The vault_id of this UpstConfiguration.

Return type

str