SparkOciObjectStorageConfig

class oci.golden_gate.models.SparkOciObjectStorageConfig(**kwargs)

Bases: object

Configuration for an OCI Object Storage Spark artifact location.

Attributes

AUTHENTICATION_TYPE_CUSTOMER_SECRET_KEY A constant which can be used with the authentication_type property of a SparkOciObjectStorageConfig.
AUTHENTICATION_TYPE_PRE_AUTHENTICATED_REQUEST A constant which can be used with the authentication_type property of a SparkOciObjectStorageConfig.
AUTHENTICATION_TYPE_RESOURCE_PRINCIPAL A constant which can be used with the authentication_type property of a SparkOciObjectStorageConfig.
AUTHENTICATION_TYPE_USER_PRINCIPAL A constant which can be used with the authentication_type property of a SparkOciObjectStorageConfig.
authentication_type [Required] Gets the authentication_type of this SparkOciObjectStorageConfig.

Methods

__init__(**kwargs) Initializes a new SparkOciObjectStorageConfig object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
AUTHENTICATION_TYPE_CUSTOMER_SECRET_KEY = 'CUSTOMER_SECRET_KEY'

A constant which can be used with the authentication_type property of a SparkOciObjectStorageConfig. This constant has a value of “CUSTOMER_SECRET_KEY”

AUTHENTICATION_TYPE_PRE_AUTHENTICATED_REQUEST = 'PRE_AUTHENTICATED_REQUEST'

A constant which can be used with the authentication_type property of a SparkOciObjectStorageConfig. This constant has a value of “PRE_AUTHENTICATED_REQUEST”

AUTHENTICATION_TYPE_RESOURCE_PRINCIPAL = 'RESOURCE_PRINCIPAL'

A constant which can be used with the authentication_type property of a SparkOciObjectStorageConfig. This constant has a value of “RESOURCE_PRINCIPAL”

AUTHENTICATION_TYPE_USER_PRINCIPAL = 'USER_PRINCIPAL'

A constant which can be used with the authentication_type property of a SparkOciObjectStorageConfig. This constant has a value of “USER_PRINCIPAL”

__init__(**kwargs)

Initializes a new SparkOciObjectStorageConfig object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:authentication_type (str) – The value to assign to the authentication_type property of this SparkOciObjectStorageConfig. Allowed values for this property are: “USER_PRINCIPAL”, “RESOURCE_PRINCIPAL”, “CUSTOMER_SECRET_KEY”, “PRE_AUTHENTICATED_REQUEST”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
authentication_type

[Required] Gets the authentication_type of this SparkOciObjectStorageConfig. Authentication method used to access OCI Object Storage.

Allowed values for this property are: “USER_PRINCIPAL”, “RESOURCE_PRINCIPAL”, “CUSTOMER_SECRET_KEY”, “PRE_AUTHENTICATED_REQUEST”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The authentication_type of this SparkOciObjectStorageConfig.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.