File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/distributed_database/models/distributed_db_storage_vault.py
Back
# coding: utf-8 # Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20250101 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class DistributedDbStorageVault(object): """ The Storage Vault for Distributed Database Resource """ def __init__(self, **kwargs): """ Initializes a new DistributedDbStorageVault object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param display_name: The value to assign to the display_name property of this DistributedDbStorageVault. :type display_name: str :param db_storage_vault_id: The value to assign to the db_storage_vault_id property of this DistributedDbStorageVault. :type db_storage_vault_id: str :param high_capacity_database_storage: The value to assign to the high_capacity_database_storage property of this DistributedDbStorageVault. :type high_capacity_database_storage: int :param additional_flash_cache_in_percent: The value to assign to the additional_flash_cache_in_percent property of this DistributedDbStorageVault. :type additional_flash_cache_in_percent: int """ self.swagger_types = { 'display_name': 'str', 'db_storage_vault_id': 'str', 'high_capacity_database_storage': 'int', 'additional_flash_cache_in_percent': 'int' } self.attribute_map = { 'display_name': 'displayName', 'db_storage_vault_id': 'dbStorageVaultId', 'high_capacity_database_storage': 'highCapacityDatabaseStorage', 'additional_flash_cache_in_percent': 'additionalFlashCacheInPercent' } self._display_name = None self._db_storage_vault_id = None self._high_capacity_database_storage = None self._additional_flash_cache_in_percent = None @property def display_name(self): """ Gets the display_name of this DistributedDbStorageVault. The user-friendly name for the Exadata Database Storage Vault. The name does not need to be unique. :return: The display_name of this DistributedDbStorageVault. :rtype: str """ return self._display_name @display_name.setter def display_name(self, display_name): """ Sets the display_name of this DistributedDbStorageVault. The user-friendly name for the Exadata Database Storage Vault. The name does not need to be unique. :param display_name: The display_name of this DistributedDbStorageVault. :type: str """ self._display_name = display_name @property def db_storage_vault_id(self): """ Gets the db_storage_vault_id of this DistributedDbStorageVault. The `OCID`__ of the Database Vault Storage. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The db_storage_vault_id of this DistributedDbStorageVault. :rtype: str """ return self._db_storage_vault_id @db_storage_vault_id.setter def db_storage_vault_id(self, db_storage_vault_id): """ Sets the db_storage_vault_id of this DistributedDbStorageVault. The `OCID`__ of the Database Vault Storage. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param db_storage_vault_id: The db_storage_vault_id of this DistributedDbStorageVault. :type: str """ self._db_storage_vault_id = db_storage_vault_id @property def high_capacity_database_storage(self): """ **[Required]** Gets the high_capacity_database_storage of this DistributedDbStorageVault. Total storage capacity in GB for vault storage. :return: The high_capacity_database_storage of this DistributedDbStorageVault. :rtype: int """ return self._high_capacity_database_storage @high_capacity_database_storage.setter def high_capacity_database_storage(self, high_capacity_database_storage): """ Sets the high_capacity_database_storage of this DistributedDbStorageVault. Total storage capacity in GB for vault storage. :param high_capacity_database_storage: The high_capacity_database_storage of this DistributedDbStorageVault. :type: int """ self._high_capacity_database_storage = high_capacity_database_storage @property def additional_flash_cache_in_percent(self): """ Gets the additional_flash_cache_in_percent of this DistributedDbStorageVault. The size of additional Flash Cache in percentage of High Capacity database storage. :return: The additional_flash_cache_in_percent of this DistributedDbStorageVault. :rtype: int """ return self._additional_flash_cache_in_percent @additional_flash_cache_in_percent.setter def additional_flash_cache_in_percent(self, additional_flash_cache_in_percent): """ Sets the additional_flash_cache_in_percent of this DistributedDbStorageVault. The size of additional Flash Cache in percentage of High Capacity database storage. :param additional_flash_cache_in_percent: The additional_flash_cache_in_percent of this DistributedDbStorageVault. :type: int """ self._additional_flash_cache_in_percent = additional_flash_cache_in_percent def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings