DatabricksEngineSecretKeyOciObjectStorageConfig¶
- class oci.golden_gate.models.DatabricksEngineSecretKeyOciObjectStorageConfig(**kwargs)¶
Bases:
DatabricksEngineOciObjectStorageConfigSecret-key authentication and location details for an OCI Object Storage Databricks Engine artifact location.
Attributes:
A constant which can be used with the authentication_type property of a DatabricksEngineOciObjectStorageConfig.
A constant which can be used with the authentication_type property of a DatabricksEngineOciObjectStorageConfig.
A constant which can be used with the authentication_type property of a DatabricksEngineOciObjectStorageConfig.
A constant which can be used with the authentication_type property of a DatabricksEngineOciObjectStorageConfig.
[Required] Gets the access_key_id of this DatabricksEngineSecretKeyOciObjectStorageConfig.
[Required] Gets the authentication_type of this DatabricksEngineOciObjectStorageConfig.
[Required] Gets the bucket of this DatabricksEngineSecretKeyOciObjectStorageConfig.
[Required] Gets the namespace of this DatabricksEngineSecretKeyOciObjectStorageConfig.
[Required] Gets the path of this DatabricksEngineSecretKeyOciObjectStorageConfig.
[Required] Gets the region of this DatabricksEngineSecretKeyOciObjectStorageConfig.
Gets the secret_access_key_secret_id of this DatabricksEngineSecretKeyOciObjectStorageConfig.
Methods:
__init__(**kwargs)Initializes a new DatabricksEngineSecretKeyOciObjectStorageConfig 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 DatabricksEngineOciObjectStorageConfig. 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 DatabricksEngineOciObjectStorageConfig. 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 DatabricksEngineOciObjectStorageConfig. 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 DatabricksEngineOciObjectStorageConfig. This constant has a value of “USER_PRINCIPAL”
- __init__(**kwargs)¶
Initializes a new DatabricksEngineSecretKeyOciObjectStorageConfig object with values from keyword arguments. The default value of the
authentication_typeattribute of this class isCUSTOMER_SECRET_KEYand 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 DatabricksEngineSecretKeyOciObjectStorageConfig. Allowed values for this property are: “USER_PRINCIPAL”, “RESOURCE_PRINCIPAL”, “CUSTOMER_SECRET_KEY”, “PRE_AUTHENTICATED_REQUEST”
region (str) – The value to assign to the region property of this DatabricksEngineSecretKeyOciObjectStorageConfig.
namespace (str) – The value to assign to the namespace property of this DatabricksEngineSecretKeyOciObjectStorageConfig.
bucket (str) – The value to assign to the bucket property of this DatabricksEngineSecretKeyOciObjectStorageConfig.
path (str) – The value to assign to the path property of this DatabricksEngineSecretKeyOciObjectStorageConfig.
access_key_id (str) – The value to assign to the access_key_id property of this DatabricksEngineSecretKeyOciObjectStorageConfig.
secret_access_key_secret_id (str) – The value to assign to the secret_access_key_secret_id property of this DatabricksEngineSecretKeyOciObjectStorageConfig.
- property access_key_id¶
[Required] Gets the access_key_id of this DatabricksEngineSecretKeyOciObjectStorageConfig. Access key identifier used for OCI Object Storage secret-key authentication. Note: Despite the “Id” suffix, this value is not an OCI OCID.
- Returns
The access_key_id of this DatabricksEngineSecretKeyOciObjectStorageConfig.
- Return type
str
- property authentication_type¶
[Required] Gets the authentication_type of this DatabricksEngineOciObjectStorageConfig. 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 DatabricksEngineOciObjectStorageConfig.
- Return type
str
- property bucket¶
[Required] Gets the bucket of this DatabricksEngineSecretKeyOciObjectStorageConfig. Bucket containing Databricks application artifacts.
- Returns
The bucket of this DatabricksEngineSecretKeyOciObjectStorageConfig.
- 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 namespace¶
[Required] Gets the namespace of this DatabricksEngineSecretKeyOciObjectStorageConfig. The OCI Object Storage namespace containing the bucket. Example: “mynamespace”
- Returns
The namespace of this DatabricksEngineSecretKeyOciObjectStorageConfig.
- Return type
str
- property path¶
[Required] Gets the path of this DatabricksEngineSecretKeyOciObjectStorageConfig. Object path used for Databricks application artifacts.
- Returns
The path of this DatabricksEngineSecretKeyOciObjectStorageConfig.
- Return type
str
- property region¶
[Required] Gets the region of this DatabricksEngineSecretKeyOciObjectStorageConfig. 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 DatabricksEngineSecretKeyOciObjectStorageConfig.
- Return type
str
- property secret_access_key_secret_id¶
Gets the secret_access_key_secret_id of this DatabricksEngineSecretKeyOciObjectStorageConfig. The OCID of the Secret that stores the secret access key. Note: When provided, secretAccessKey must not be provided.
- Returns
The secret_access_key_secret_id of this DatabricksEngineSecretKeyOciObjectStorageConfig.
- Return type
str