SparkParOciObjectStorageConfig¶
-
class
oci.golden_gate.models.SparkParOciObjectStorageConfig(**kwargs)¶ Bases:
oci.golden_gate.models.spark_oci_object_storage_config.SparkOciObjectStorageConfigPre-authenticated request URL details for an OCI Object Storage Spark artifact location.
Attributes
AUTHENTICATION_TYPE_CUSTOMER_SECRET_KEYstr(object=’’) -> str AUTHENTICATION_TYPE_PRE_AUTHENTICATED_REQUESTstr(object=’’) -> str AUTHENTICATION_TYPE_RESOURCE_PRINCIPALstr(object=’’) -> str AUTHENTICATION_TYPE_USER_PRINCIPALstr(object=’’) -> str authentication_type[Required] Gets the authentication_type of this SparkOciObjectStorageConfig. par_url_secret_idGets 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_typeattribute of this class isPRE_AUTHENTICATED_REQUESTand 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.
-