OciObjectStorageAccessKeyWarehouseStorage

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

Bases: WarehouseStorage

Represents OCI Object Storage warehouse storage configuration for Oracle AI Data Catalog Storage Connection using access-key/secret-key credentials.

Attributes:

STORAGE_TYPE_AZURE_STORAGE

A constant which can be used with the storage_type property of a WarehouseStorage.

STORAGE_TYPE_OCI_OBJECT_STORAGE_ACCESS_KEY

A constant which can be used with the storage_type property of a WarehouseStorage.

STORAGE_TYPE_ZFS

A constant which can be used with the storage_type property of a WarehouseStorage.

access_key_id

[Required] Gets the access_key_id of this OciObjectStorageAccessKeyWarehouseStorage.

namespace_name

[Required] Gets the namespace_name of this OciObjectStorageAccessKeyWarehouseStorage.

region

[Required] Gets the region of this OciObjectStorageAccessKeyWarehouseStorage.

secret_access_key_secret_id

Gets the secret_access_key_secret_id of this OciObjectStorageAccessKeyWarehouseStorage.

storage_type

[Required] Gets the storage_type of this WarehouseStorage.

Methods:

__init__(**kwargs)

Initializes a new OciObjectStorageAccessKeyWarehouseStorage 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.

STORAGE_TYPE_AZURE_STORAGE = 'AZURE_STORAGE'

A constant which can be used with the storage_type property of a WarehouseStorage. This constant has a value of “AZURE_STORAGE”

STORAGE_TYPE_OCI_OBJECT_STORAGE_ACCESS_KEY = 'OCI_OBJECT_STORAGE_ACCESS_KEY'

A constant which can be used with the storage_type property of a WarehouseStorage. This constant has a value of “OCI_OBJECT_STORAGE_ACCESS_KEY”

STORAGE_TYPE_ZFS = 'ZFS'

A constant which can be used with the storage_type property of a WarehouseStorage. This constant has a value of “ZFS”

__init__(**kwargs)

Initializes a new OciObjectStorageAccessKeyWarehouseStorage object with values from keyword arguments. The default value of the storage_type attribute of this class is OCI_OBJECT_STORAGE_ACCESS_KEY and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • storage_type (str) – The value to assign to the storage_type property of this OciObjectStorageAccessKeyWarehouseStorage. Allowed values for this property are: “OCI_OBJECT_STORAGE_ACCESS_KEY”, “ZFS”, “AZURE_STORAGE”

  • namespace_name (str) – The value to assign to the namespace_name property of this OciObjectStorageAccessKeyWarehouseStorage.

  • region (str) – The value to assign to the region property of this OciObjectStorageAccessKeyWarehouseStorage.

  • access_key_id (str) – The value to assign to the access_key_id property of this OciObjectStorageAccessKeyWarehouseStorage.

  • secret_access_key_secret_id (str) – The value to assign to the secret_access_key_secret_id property of this OciObjectStorageAccessKeyWarehouseStorage.

property access_key_id

[Required] Gets the access_key_id of this OciObjectStorageAccessKeyWarehouseStorage. The access key ID used to access the OCI Object Storage bucket.

Returns

The access_key_id of this OciObjectStorageAccessKeyWarehouseStorage.

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_name

[Required] Gets the namespace_name of this OciObjectStorageAccessKeyWarehouseStorage. Name of namespace that serves as a container for all of your buckets

Returns

The namespace_name of this OciObjectStorageAccessKeyWarehouseStorage.

Return type

str

property region

[Required] Gets the region of this OciObjectStorageAccessKeyWarehouseStorage. 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 OciObjectStorageAccessKeyWarehouseStorage.

Return type

str

property secret_access_key_secret_id

Gets the secret_access_key_secret_id of this OciObjectStorageAccessKeyWarehouseStorage. The OCID of the Secret that stores the OCI Object Storage secret access key.

Returns

The secret_access_key_secret_id of this OciObjectStorageAccessKeyWarehouseStorage.

Return type

str

property storage_type

[Required] Gets the storage_type of this WarehouseStorage. The warehouse storage type used in the Oracle AI Data Catalog Storage connection.

Allowed values for this property are: “OCI_OBJECT_STORAGE_ACCESS_KEY”, “ZFS”, “AZURE_STORAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The storage_type of this WarehouseStorage.

Return type

str