DatabricksEngineResourcePrincipalOciObjectStorageConfig¶
-
class
oci.golden_gate.models.DatabricksEngineResourcePrincipalOciObjectStorageConfig(**kwargs)¶ Bases:
oci.golden_gate.models.databricks_engine_oci_object_storage_config.DatabricksEngineOciObjectStorageConfigResource-principal authentication and location details for an OCI Object Storage Databricks Engine artifact location.
Attributes
AUTHENTICATION_TYPE_CUSTOMER_SECRET_KEYstr(object=’’) -> str AUTHENTICATION_TYPE_PRE_AUTHENTICATED_REQUESTstr(object=’’) -> str AUTHENTICATION_TYPE_RESOURCE_PRINCIPALstr(object=’’) -> str AUTHENTICATION_TYPE_USER_PRINCIPALstr(object=’’) -> str authentication_type[Required] Gets the authentication_type of this DatabricksEngineOciObjectStorageConfig. bucket[Required] Gets the bucket of this DatabricksEngineResourcePrincipalOciObjectStorageConfig. namespace[Required] Gets the namespace of this DatabricksEngineResourcePrincipalOciObjectStorageConfig. path[Required] Gets the path of this DatabricksEngineResourcePrincipalOciObjectStorageConfig. region[Required] Gets the region of this DatabricksEngineResourcePrincipalOciObjectStorageConfig. Methods
__init__(**kwargs)Initializes a new DatabricksEngineResourcePrincipalOciObjectStorageConfig 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'¶
-
AUTHENTICATION_TYPE_PRE_AUTHENTICATED_REQUEST= 'PRE_AUTHENTICATED_REQUEST'¶
-
AUTHENTICATION_TYPE_RESOURCE_PRINCIPAL= 'RESOURCE_PRINCIPAL'¶
-
AUTHENTICATION_TYPE_USER_PRINCIPAL= 'USER_PRINCIPAL'¶
-
__init__(**kwargs)¶ Initializes a new DatabricksEngineResourcePrincipalOciObjectStorageConfig 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 DatabricksEngineResourcePrincipalOciObjectStorageConfig. 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 DatabricksEngineResourcePrincipalOciObjectStorageConfig.
- namespace (str) – The value to assign to the namespace property of this DatabricksEngineResourcePrincipalOciObjectStorageConfig.
- bucket (str) – The value to assign to the bucket property of this DatabricksEngineResourcePrincipalOciObjectStorageConfig.
- path (str) – The value to assign to the path property of this DatabricksEngineResourcePrincipalOciObjectStorageConfig.
-
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
-
bucket¶ [Required] Gets the bucket of this DatabricksEngineResourcePrincipalOciObjectStorageConfig. Bucket containing Databricks application artifacts.
Returns: The bucket of this DatabricksEngineResourcePrincipalOciObjectStorageConfig. 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 DatabricksEngineResourcePrincipalOciObjectStorageConfig. The OCI Object Storage namespace containing the bucket. Example: “mynamespace”
Returns: The namespace of this DatabricksEngineResourcePrincipalOciObjectStorageConfig. Return type: str
-
path¶ [Required] Gets the path of this DatabricksEngineResourcePrincipalOciObjectStorageConfig. Object path used for Databricks application artifacts.
Returns: The path of this DatabricksEngineResourcePrincipalOciObjectStorageConfig. Return type: str
-
region¶ [Required] Gets the region of this DatabricksEngineResourcePrincipalOciObjectStorageConfig. 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 DatabricksEngineResourcePrincipalOciObjectStorageConfig. Return type: str
-