SparkParOciObjectStorageConfig

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

Bases: oci.golden_gate.models.spark_oci_object_storage_config.SparkOciObjectStorageConfig

Pre-authenticated request URL details for an OCI Object Storage Spark artifact location.

Attributes

AUTHENTICATION_TYPE_CUSTOMER_SECRET_KEY str(object=’’) -> str
AUTHENTICATION_TYPE_PRE_AUTHENTICATED_REQUEST str(object=’’) -> str
AUTHENTICATION_TYPE_RESOURCE_PRINCIPAL str(object=’’) -> str
AUTHENTICATION_TYPE_USER_PRINCIPAL str(object=’’) -> str
authentication_type [Required] Gets the authentication_type of this SparkOciObjectStorageConfig.
par_url_secret_id Gets the par_url_secret_id of this SparkParOciObjectStorageConfig.

Methods

__init__(**kwargs) Initializes a new SparkParOciObjectStorageConfig 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'
AUTHENTICATION_TYPE_PRE_AUTHENTICATED_REQUEST = 'PRE_AUTHENTICATED_REQUEST'
AUTHENTICATION_TYPE_RESOURCE_PRINCIPAL = 'RESOURCE_PRINCIPAL'
AUTHENTICATION_TYPE_USER_PRINCIPAL = 'USER_PRINCIPAL'
__init__(**kwargs)

Initializes a new SparkParOciObjectStorageConfig object with values from keyword arguments. The default value of the authentication_type attribute of this class is PRE_AUTHENTICATED_REQUEST and it should not be changed. 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 SparkParOciObjectStorageConfig. Allowed values for this property are: “USER_PRINCIPAL”, “RESOURCE_PRINCIPAL”, “CUSTOMER_SECRET_KEY”, “PRE_AUTHENTICATED_REQUEST”
  • par_url_secret_id (str) – The value to assign to the par_url_secret_id property of this SparkParOciObjectStorageConfig.
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.

par_url_secret_id

Gets the par_url_secret_id of this SparkParOciObjectStorageConfig. The OCID of the Secret that stores the pre-authenticated request (PAR) URL. Note: When provided, parUrl must not be provided.

Returns:The par_url_secret_id of this SparkParOciObjectStorageConfig.
Return type:str