UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails¶
- class oci.golden_gate.models.UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails(**kwargs)¶
Bases:
UpdateDatabricksEngineOciObjectStorageConfigDetailsResource-principal authentication and location details for updating an OCI Object Storage Databricks Engine artifact location.
Methods:
__init__(**kwargs)Initializes a new UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails 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:
Gets the authentication_type of this UpdateDatabricksEngineOciObjectStorageConfigDetails.
Gets the bucket of this UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails.
Gets the namespace of this UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails.
Gets the path of this UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails.
Gets the region of this UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails.
- __init__(**kwargs)¶
Initializes a new UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails object with values from keyword arguments. The default value of the
authentication_typeattribute of this class isRESOURCE_PRINCIPALand 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 UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails.
region (str) – The value to assign to the region property of this UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails.
namespace (str) – The value to assign to the namespace property of this UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails.
bucket (str) – The value to assign to the bucket property of this UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails.
path (str) – The value to assign to the path property of this UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails.
- property authentication_type¶
Gets the authentication_type of this UpdateDatabricksEngineOciObjectStorageConfigDetails. 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 UpdateDatabricksEngineOciObjectStorageConfigDetails.
- Return type
str
- property bucket¶
Gets the bucket of this UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails. Bucket containing Databricks application artifacts.
- Returns
The bucket of this UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails.
- 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¶
Gets the namespace of this UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails. The OCI Object Storage namespace containing the bucket. Example: “mynamespace”
- Returns
The namespace of this UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails.
- Return type
str
- property path¶
Gets the path of this UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails. Object path used for Databricks application artifacts.
- Returns
The path of this UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails.
- Return type
str
- property region¶
Gets the region of this UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails. 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 UpdateDatabricksEngineResourcePrincipalOciObjectStorageConfigDetails.
- Return type
str