CreateDatabricksEngineParOciObjectStorageConfigDetails¶
- class oci.golden_gate.models.CreateDatabricksEngineParOciObjectStorageConfigDetails(**kwargs)¶
Bases:
CreateDatabricksEngineOciObjectStorageConfigDetailsPre-authenticated request URL details for creating an OCI Object Storage Databricks Engine artifact location. Provide exactly one of parUrl or parUrlSecretId.
Methods:
__init__(**kwargs)Initializes a new CreateDatabricksEngineParOciObjectStorageConfigDetails 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.
Attributes:
[Required] Gets the authentication_type of this CreateDatabricksEngineOciObjectStorageConfigDetails.
Gets the par_url of this CreateDatabricksEngineParOciObjectStorageConfigDetails.
Gets the par_url_secret_id of this CreateDatabricksEngineParOciObjectStorageConfigDetails.
- __init__(**kwargs)¶
Initializes a new CreateDatabricksEngineParOciObjectStorageConfigDetails 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 CreateDatabricksEngineParOciObjectStorageConfigDetails.
par_url (str) – The value to assign to the par_url property of this CreateDatabricksEngineParOciObjectStorageConfigDetails.
par_url_secret_id (str) – The value to assign to the par_url_secret_id property of this CreateDatabricksEngineParOciObjectStorageConfigDetails.
- property authentication_type¶
[Required] Gets the authentication_type of this CreateDatabricksEngineOciObjectStorageConfigDetails. Authentication method used to access OCI Object Storage.
When authenticationType is USER_PRINCIPAL, region, namespace, bucket, path, userId, and publicKeyFingerprint are required. Provide exactly one of privateKeyFile or privateKeyFileSecretId as the private-key credential. tenancyId and the private-key passphrase are optional. When a passphrase is used, provide at most one of privateKeyPassphrase or privateKeyPassphraseSecretId.
When authenticationType is RESOURCE_PRINCIPAL, region, namespace, bucket, and path are required.
When authenticationType is CUSTOMER_SECRET_KEY, region, namespace, bucket, path, and accessKeyId are required. Provide exactly one of secretAccessKey or secretAccessKeySecretId as the secret-key credential. The S3 Compatibility API endpoint is inferred from region and namespace.
When authenticationType is PRE_AUTHENTICATED_REQUEST, provide exactly one of parUrl or parUrlSecretId.
- Returns
The authentication_type of this CreateDatabricksEngineOciObjectStorageConfigDetails.
- 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¶
Gets the par_url of this CreateDatabricksEngineParOciObjectStorageConfigDetails. A pre-authenticated request (PAR) URL that provides access to the artifact location. Deprecated: This field is deprecated and replaced by “parUrlSecretId”. This change follows the GoldenGate “Plain Text Fields in Connections” deprecation: https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
- Returns
The par_url of this CreateDatabricksEngineParOciObjectStorageConfigDetails.
- Return type
str
- property par_url_secret_id¶
Gets the par_url_secret_id of this CreateDatabricksEngineParOciObjectStorageConfigDetails. 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 CreateDatabricksEngineParOciObjectStorageConfigDetails.
- Return type
str