SparkParOciObjectStorageConfig¶
- class oci.golden_gate.models.SparkParOciObjectStorageConfig(**kwargs)¶
Bases:
SparkOciObjectStorageConfigPre-authenticated request URL details for an OCI Object Storage Spark artifact location.
Attributes:
A constant which can be used with the authentication_type property of a SparkOciObjectStorageConfig.
A constant which can be used with the authentication_type property of a SparkOciObjectStorageConfig.
A constant which can be used with the authentication_type property of a SparkOciObjectStorageConfig.
A constant which can be used with the authentication_type property of a SparkOciObjectStorageConfig.
[Required] Gets the authentication_type of this SparkOciObjectStorageConfig.
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'¶
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 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.
- property 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.
- property 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