File: //lib/python3.9/site-packages/oci/database_management/models/external_exadata_storage_server.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: 20201101
from .dbm_resource import DbmResource
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 ExternalExadataStorageServer(DbmResource):
"""
The details of the Exadata storage server.
"""
def __init__(self, **kwargs):
"""
Initializes a new ExternalExadataStorageServer object with values from keyword arguments. The default value of the :py:attr:`~oci.database_management.models.ExternalExadataStorageServer.resource_type` attribute
of this class is ``STORAGE_SERVER`` and it should not be changed.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param id:
The value to assign to the id property of this ExternalExadataStorageServer.
:type id: str
:param display_name:
The value to assign to the display_name property of this ExternalExadataStorageServer.
:type display_name: str
:param version:
The value to assign to the version property of this ExternalExadataStorageServer.
:type version: str
:param internal_id:
The value to assign to the internal_id property of this ExternalExadataStorageServer.
:type internal_id: str
:param status:
The value to assign to the status property of this ExternalExadataStorageServer.
:type status: str
:param lifecycle_state:
The value to assign to the lifecycle_state property of this ExternalExadataStorageServer.
Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type lifecycle_state: str
:param time_created:
The value to assign to the time_created property of this ExternalExadataStorageServer.
:type time_created: datetime
:param time_updated:
The value to assign to the time_updated property of this ExternalExadataStorageServer.
:type time_updated: datetime
:param lifecycle_details:
The value to assign to the lifecycle_details property of this ExternalExadataStorageServer.
:type lifecycle_details: str
:param additional_details:
The value to assign to the additional_details property of this ExternalExadataStorageServer.
:type additional_details: dict(str, str)
:param resource_type:
The value to assign to the resource_type property of this ExternalExadataStorageServer.
Allowed values for this property are: "INFRASTRUCTURE_SUMMARY", "INFRASTRUCTURE", "STORAGE_SERVER_SUMMARY", "STORAGE_SERVER", "STORAGE_GRID_SUMMARY", "STORAGE_GRID", "STORAGE_CONNECTOR_SUMMARY", "STORAGE_CONNECTOR", "DATABASE_SYSTEM_SUMMARY", "DATABASE_SUMMARY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type resource_type: str
:param exadata_infrastructure_id:
The value to assign to the exadata_infrastructure_id property of this ExternalExadataStorageServer.
:type exadata_infrastructure_id: str
:param storage_grid_id:
The value to assign to the storage_grid_id property of this ExternalExadataStorageServer.
:type storage_grid_id: str
:param make_model:
The value to assign to the make_model property of this ExternalExadataStorageServer.
:type make_model: str
:param ip_address:
The value to assign to the ip_address property of this ExternalExadataStorageServer.
:type ip_address: str
:param cpu_count:
The value to assign to the cpu_count property of this ExternalExadataStorageServer.
:type cpu_count: float
:param memory_gb:
The value to assign to the memory_gb property of this ExternalExadataStorageServer.
:type memory_gb: float
:param max_hard_disk_iops:
The value to assign to the max_hard_disk_iops property of this ExternalExadataStorageServer.
:type max_hard_disk_iops: int
:param max_hard_disk_throughput:
The value to assign to the max_hard_disk_throughput property of this ExternalExadataStorageServer.
:type max_hard_disk_throughput: int
:param max_flash_disk_iops:
The value to assign to the max_flash_disk_iops property of this ExternalExadataStorageServer.
:type max_flash_disk_iops: int
:param max_flash_disk_throughput:
The value to assign to the max_flash_disk_throughput property of this ExternalExadataStorageServer.
:type max_flash_disk_throughput: int
:param connector:
The value to assign to the connector property of this ExternalExadataStorageServer.
:type connector: oci.database_management.models.ExternalExadataStorageConnectorSummary
:param freeform_tags:
The value to assign to the freeform_tags property of this ExternalExadataStorageServer.
:type freeform_tags: dict(str, str)
:param defined_tags:
The value to assign to the defined_tags property of this ExternalExadataStorageServer.
:type defined_tags: dict(str, dict(str, object))
:param system_tags:
The value to assign to the system_tags property of this ExternalExadataStorageServer.
:type system_tags: dict(str, dict(str, object))
"""
self.swagger_types = {
'id': 'str',
'display_name': 'str',
'version': 'str',
'internal_id': 'str',
'status': 'str',
'lifecycle_state': 'str',
'time_created': 'datetime',
'time_updated': 'datetime',
'lifecycle_details': 'str',
'additional_details': 'dict(str, str)',
'resource_type': 'str',
'exadata_infrastructure_id': 'str',
'storage_grid_id': 'str',
'make_model': 'str',
'ip_address': 'str',
'cpu_count': 'float',
'memory_gb': 'float',
'max_hard_disk_iops': 'int',
'max_hard_disk_throughput': 'int',
'max_flash_disk_iops': 'int',
'max_flash_disk_throughput': 'int',
'connector': 'ExternalExadataStorageConnectorSummary',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
'id': 'id',
'display_name': 'displayName',
'version': 'version',
'internal_id': 'internalId',
'status': 'status',
'lifecycle_state': 'lifecycleState',
'time_created': 'timeCreated',
'time_updated': 'timeUpdated',
'lifecycle_details': 'lifecycleDetails',
'additional_details': 'additionalDetails',
'resource_type': 'resourceType',
'exadata_infrastructure_id': 'exadataInfrastructureId',
'storage_grid_id': 'storageGridId',
'make_model': 'makeModel',
'ip_address': 'ipAddress',
'cpu_count': 'cpuCount',
'memory_gb': 'memoryGB',
'max_hard_disk_iops': 'maxHardDiskIOPS',
'max_hard_disk_throughput': 'maxHardDiskThroughput',
'max_flash_disk_iops': 'maxFlashDiskIOPS',
'max_flash_disk_throughput': 'maxFlashDiskThroughput',
'connector': 'connector',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
'system_tags': 'systemTags'
}
self._id = None
self._display_name = None
self._version = None
self._internal_id = None
self._status = None
self._lifecycle_state = None
self._time_created = None
self._time_updated = None
self._lifecycle_details = None
self._additional_details = None
self._resource_type = None
self._exadata_infrastructure_id = None
self._storage_grid_id = None
self._make_model = None
self._ip_address = None
self._cpu_count = None
self._memory_gb = None
self._max_hard_disk_iops = None
self._max_hard_disk_throughput = None
self._max_flash_disk_iops = None
self._max_flash_disk_throughput = None
self._connector = None
self._freeform_tags = None
self._defined_tags = None
self._system_tags = None
self._resource_type = 'STORAGE_SERVER'
@property
def exadata_infrastructure_id(self):
"""
Gets the exadata_infrastructure_id of this ExternalExadataStorageServer.
The `OCID`__ of the Exadata infrastructure.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
:return: The exadata_infrastructure_id of this ExternalExadataStorageServer.
:rtype: str
"""
return self._exadata_infrastructure_id
@exadata_infrastructure_id.setter
def exadata_infrastructure_id(self, exadata_infrastructure_id):
"""
Sets the exadata_infrastructure_id of this ExternalExadataStorageServer.
The `OCID`__ of the Exadata infrastructure.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
:param exadata_infrastructure_id: The exadata_infrastructure_id of this ExternalExadataStorageServer.
:type: str
"""
self._exadata_infrastructure_id = exadata_infrastructure_id
@property
def storage_grid_id(self):
"""
Gets the storage_grid_id of this ExternalExadataStorageServer.
The `OCID`__ of the Exadata storage server grid.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
:return: The storage_grid_id of this ExternalExadataStorageServer.
:rtype: str
"""
return self._storage_grid_id
@storage_grid_id.setter
def storage_grid_id(self, storage_grid_id):
"""
Sets the storage_grid_id of this ExternalExadataStorageServer.
The `OCID`__ of the Exadata storage server grid.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
:param storage_grid_id: The storage_grid_id of this ExternalExadataStorageServer.
:type: str
"""
self._storage_grid_id = storage_grid_id
@property
def make_model(self):
"""
Gets the make_model of this ExternalExadataStorageServer.
The make model of the Exadata storage server.
:return: The make_model of this ExternalExadataStorageServer.
:rtype: str
"""
return self._make_model
@make_model.setter
def make_model(self, make_model):
"""
Sets the make_model of this ExternalExadataStorageServer.
The make model of the Exadata storage server.
:param make_model: The make_model of this ExternalExadataStorageServer.
:type: str
"""
self._make_model = make_model
@property
def ip_address(self):
"""
Gets the ip_address of this ExternalExadataStorageServer.
The IP address of the Exadata storage server.
:return: The ip_address of this ExternalExadataStorageServer.
:rtype: str
"""
return self._ip_address
@ip_address.setter
def ip_address(self, ip_address):
"""
Sets the ip_address of this ExternalExadataStorageServer.
The IP address of the Exadata storage server.
:param ip_address: The ip_address of this ExternalExadataStorageServer.
:type: str
"""
self._ip_address = ip_address
@property
def cpu_count(self):
"""
Gets the cpu_count of this ExternalExadataStorageServer.
The CPU count of the Exadata storage server.
:return: The cpu_count of this ExternalExadataStorageServer.
:rtype: float
"""
return self._cpu_count
@cpu_count.setter
def cpu_count(self, cpu_count):
"""
Sets the cpu_count of this ExternalExadataStorageServer.
The CPU count of the Exadata storage server.
:param cpu_count: The cpu_count of this ExternalExadataStorageServer.
:type: float
"""
self._cpu_count = cpu_count
@property
def memory_gb(self):
"""
Gets the memory_gb of this ExternalExadataStorageServer.
The Exadata storage server memory size in GB.
:return: The memory_gb of this ExternalExadataStorageServer.
:rtype: float
"""
return self._memory_gb
@memory_gb.setter
def memory_gb(self, memory_gb):
"""
Sets the memory_gb of this ExternalExadataStorageServer.
The Exadata storage server memory size in GB.
:param memory_gb: The memory_gb of this ExternalExadataStorageServer.
:type: float
"""
self._memory_gb = memory_gb
@property
def max_hard_disk_iops(self):
"""
Gets the max_hard_disk_iops of this ExternalExadataStorageServer.
The maximum hard disk IO operations per second of the Exadata storage server.
:return: The max_hard_disk_iops of this ExternalExadataStorageServer.
:rtype: int
"""
return self._max_hard_disk_iops
@max_hard_disk_iops.setter
def max_hard_disk_iops(self, max_hard_disk_iops):
"""
Sets the max_hard_disk_iops of this ExternalExadataStorageServer.
The maximum hard disk IO operations per second of the Exadata storage server.
:param max_hard_disk_iops: The max_hard_disk_iops of this ExternalExadataStorageServer.
:type: int
"""
self._max_hard_disk_iops = max_hard_disk_iops
@property
def max_hard_disk_throughput(self):
"""
Gets the max_hard_disk_throughput of this ExternalExadataStorageServer.
The maximum hard disk IO throughput in MB/s of the Exadata storage server.
:return: The max_hard_disk_throughput of this ExternalExadataStorageServer.
:rtype: int
"""
return self._max_hard_disk_throughput
@max_hard_disk_throughput.setter
def max_hard_disk_throughput(self, max_hard_disk_throughput):
"""
Sets the max_hard_disk_throughput of this ExternalExadataStorageServer.
The maximum hard disk IO throughput in MB/s of the Exadata storage server.
:param max_hard_disk_throughput: The max_hard_disk_throughput of this ExternalExadataStorageServer.
:type: int
"""
self._max_hard_disk_throughput = max_hard_disk_throughput
@property
def max_flash_disk_iops(self):
"""
Gets the max_flash_disk_iops of this ExternalExadataStorageServer.
The maximum flash disk IO operations per second of the Exadata storage server.
:return: The max_flash_disk_iops of this ExternalExadataStorageServer.
:rtype: int
"""
return self._max_flash_disk_iops
@max_flash_disk_iops.setter
def max_flash_disk_iops(self, max_flash_disk_iops):
"""
Sets the max_flash_disk_iops of this ExternalExadataStorageServer.
The maximum flash disk IO operations per second of the Exadata storage server.
:param max_flash_disk_iops: The max_flash_disk_iops of this ExternalExadataStorageServer.
:type: int
"""
self._max_flash_disk_iops = max_flash_disk_iops
@property
def max_flash_disk_throughput(self):
"""
Gets the max_flash_disk_throughput of this ExternalExadataStorageServer.
The maximum flash disk IO throughput in MB/s of the Exadata storage server.
:return: The max_flash_disk_throughput of this ExternalExadataStorageServer.
:rtype: int
"""
return self._max_flash_disk_throughput
@max_flash_disk_throughput.setter
def max_flash_disk_throughput(self, max_flash_disk_throughput):
"""
Sets the max_flash_disk_throughput of this ExternalExadataStorageServer.
The maximum flash disk IO throughput in MB/s of the Exadata storage server.
:param max_flash_disk_throughput: The max_flash_disk_throughput of this ExternalExadataStorageServer.
:type: int
"""
self._max_flash_disk_throughput = max_flash_disk_throughput
@property
def connector(self):
"""
Gets the connector of this ExternalExadataStorageServer.
:return: The connector of this ExternalExadataStorageServer.
:rtype: oci.database_management.models.ExternalExadataStorageConnectorSummary
"""
return self._connector
@connector.setter
def connector(self, connector):
"""
Sets the connector of this ExternalExadataStorageServer.
:param connector: The connector of this ExternalExadataStorageServer.
:type: oci.database_management.models.ExternalExadataStorageConnectorSummary
"""
self._connector = connector
@property
def freeform_tags(self):
"""
Gets the freeform_tags of this ExternalExadataStorageServer.
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
For more information, see `Resource Tags`__.
Example: `{\"Department\": \"Finance\"}`
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
:return: The freeform_tags of this ExternalExadataStorageServer.
:rtype: dict(str, str)
"""
return self._freeform_tags
@freeform_tags.setter
def freeform_tags(self, freeform_tags):
"""
Sets the freeform_tags of this ExternalExadataStorageServer.
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
For more information, see `Resource Tags`__.
Example: `{\"Department\": \"Finance\"}`
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
:param freeform_tags: The freeform_tags of this ExternalExadataStorageServer.
:type: dict(str, str)
"""
self._freeform_tags = freeform_tags
@property
def defined_tags(self):
"""
Gets the defined_tags of this ExternalExadataStorageServer.
Defined tags for this resource. Each key is predefined and scoped to a namespace.
For more information, see `Resource Tags`__.
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
:return: The defined_tags of this ExternalExadataStorageServer.
:rtype: dict(str, dict(str, object))
"""
return self._defined_tags
@defined_tags.setter
def defined_tags(self, defined_tags):
"""
Sets the defined_tags of this ExternalExadataStorageServer.
Defined tags for this resource. Each key is predefined and scoped to a namespace.
For more information, see `Resource Tags`__.
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
:param defined_tags: The defined_tags of this ExternalExadataStorageServer.
:type: dict(str, dict(str, object))
"""
self._defined_tags = defined_tags
@property
def system_tags(self):
"""
Gets the system_tags of this ExternalExadataStorageServer.
System tags for this resource. Each key is predefined and scoped to a namespace.
For more information, see `Resource Tags`__.
System tags can be viewed by users, but can only be created by the system.
Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
:return: The system_tags of this ExternalExadataStorageServer.
:rtype: dict(str, dict(str, object))
"""
return self._system_tags
@system_tags.setter
def system_tags(self, system_tags):
"""
Sets the system_tags of this ExternalExadataStorageServer.
System tags for this resource. Each key is predefined and scoped to a namespace.
For more information, see `Resource Tags`__.
System tags can be viewed by users, but can only be created by the system.
Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
:param system_tags: The system_tags of this ExternalExadataStorageServer.
:type: dict(str, dict(str, object))
"""
self._system_tags = system_tags
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