AzureEncryptionKeyDetails¶
-
class
oci.database.models.AzureEncryptionKeyDetails(**kwargs)¶ Bases:
oci.database.models.encryption_key_location_details.EncryptionKeyLocationDetailsDetails for Azure Input
Attributes
PROVIDER_TYPE_AZUREstr(object=’’) -> str PROVIDER_TYPE_EXTERNALstr(object=’’) -> str PROVIDER_TYPE_GCPstr(object=’’) -> str azure_encryption_key_id[Required] Gets the azure_encryption_key_id of this AzureEncryptionKeyDetails. provider_type[Required] Gets the provider_type of this EncryptionKeyLocationDetails. Methods
__init__(**kwargs)Initializes a new AzureEncryptionKeyDetails 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. -
PROVIDER_TYPE_AZURE= 'AZURE'¶
-
PROVIDER_TYPE_EXTERNAL= 'EXTERNAL'¶
-
PROVIDER_TYPE_GCP= 'GCP'¶
-
__init__(**kwargs)¶ Initializes a new AzureEncryptionKeyDetails object with values from keyword arguments. The default value of the
provider_typeattribute of this class isAZUREand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - provider_type (str) – The value to assign to the provider_type property of this AzureEncryptionKeyDetails. Allowed values for this property are: “EXTERNAL”, “AZURE”, “GCP”
- azure_encryption_key_id (str) – The value to assign to the azure_encryption_key_id property of this AzureEncryptionKeyDetails.
-
azure_encryption_key_id¶ [Required] Gets the azure_encryption_key_id of this AzureEncryptionKeyDetails. Provide the key OCID of a registered Azure key.
Returns: The azure_encryption_key_id of this AzureEncryptionKeyDetails. 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.
-
provider_type¶ [Required] Gets the provider_type of this EncryptionKeyLocationDetails. Use ‘EXTERNAL’ for creating a new database or migrating a database key to an External HSM. Use ‘AZURE’ for creating a new database or migrating a database key to Azure. Use ‘GCP’ for creating a new database or migrating a database key to Google Cloud Provider.
Allowed values for this property are: “EXTERNAL”, “AZURE”, “GCP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The provider_type of this EncryptionKeyLocationDetails. Return type: str
-