CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails

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

Bases: oci.golden_gate.models.create_databricks_engine_oci_object_storage_config_details.CreateDatabricksEngineOciObjectStorageConfigDetails

User-principal authentication and location details for creating an OCI Object Storage Databricks Engine artifact location. Provide exactly one of privateKeyFile or privateKeyFileSecretId. If the private key is passphrase-protected, provide at most one of privateKeyPassphrase or privateKeyPassphraseSecretId.

Methods

__init__(**kwargs) Initializes a new CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails 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

authentication_type [Required] Gets the authentication_type of this CreateDatabricksEngineOciObjectStorageConfigDetails.
bucket [Required] Gets the bucket of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
namespace [Required] Gets the namespace of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
path [Required] Gets the path of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
private_key_file Gets the private_key_file of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
private_key_file_secret_id Gets the private_key_file_secret_id of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
private_key_passphrase Gets the private_key_passphrase of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
private_key_passphrase_secret_id Gets the private_key_passphrase_secret_id of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
public_key_fingerprint [Required] Gets the public_key_fingerprint of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
region Gets the region of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
tenancy_id Gets the tenancy_id of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
user_id Gets the user_id of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
__init__(**kwargs)

Initializes a new CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails object with values from keyword arguments. The default value of the authentication_type attribute of this class is USER_PRINCIPAL 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 CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
  • region (str) – The value to assign to the region property of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
  • namespace (str) – The value to assign to the namespace property of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
  • bucket (str) – The value to assign to the bucket property of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
  • path (str) – The value to assign to the path property of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
  • tenancy_id (str) – The value to assign to the tenancy_id property of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
  • user_id (str) – The value to assign to the user_id property of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
  • private_key_file (str) – The value to assign to the private_key_file property of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
  • private_key_file_secret_id (str) – The value to assign to the private_key_file_secret_id property of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
  • private_key_passphrase (str) – The value to assign to the private_key_passphrase property of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
  • private_key_passphrase_secret_id (str) – The value to assign to the private_key_passphrase_secret_id property of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
  • public_key_fingerprint (str) – The value to assign to the public_key_fingerprint property of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
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
bucket

[Required] Gets the bucket of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails. Bucket containing Databricks application artifacts.

Returns:The bucket of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
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.

namespace

[Required] Gets the namespace of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails. The OCI Object Storage namespace containing the bucket. Example: “mynamespace”

Returns:The namespace of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
Return type:str
path

[Required] Gets the path of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails. Object path used for Databricks application artifacts.

Returns:The path of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
Return type:str
private_key_file

Gets the private_key_file of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails. The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Deprecated: This field is deprecated and replaced by “privateKeyFileSecretId”. 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 private_key_file of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
Return type:str
private_key_file_secret_id

Gets the private_key_file_secret_id of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails. The OCID of the Secret that stores the content of the private key file (PEM file) corresponding to the API key of the fingerprint. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Note: When provided, ‘privateKeyFile’ field must not be provided.

Returns:The private_key_file_secret_id of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
Return type:str
private_key_passphrase

Gets the private_key_passphrase of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails. The passphrase of the private key. Deprecated: This field is deprecated and replaced by “privateKeyPassphraseSecretId”. 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 private_key_passphrase of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
Return type:str
private_key_passphrase_secret_id

Gets the private_key_passphrase_secret_id of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails. The OCID of the Secret that stores the passphrase of the private key. Note: When provided, ‘privateKeyPassphrase’ field must not be provided.

Returns:The private_key_passphrase_secret_id of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
Return type:str
public_key_fingerprint

[Required] Gets the public_key_fingerprint of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails. The fingerprint of the API Key of the user specified by the userId. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm

Returns:The public_key_fingerprint of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
Return type:str
region

Gets the region of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails. The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the current region.

Returns:The region of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
Return type:str
tenancy_id

Gets the tenancy_id of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails. The OCID of the related OCI tenancy.

Returns:The tenancy_id of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
Return type:str
user_id

Gets the user_id of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails. The OCID of the OCI user whose API key is used to access the artifact location. If not provided it will default to the current user.

Returns:The user_id of this CreateDatabricksEngineUserPrincipalOciObjectStorageConfigDetails.
Return type:str