File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/opsi/models/macs_managed_cloud_exadata_insight.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: 20200630 from .exadata_insight import ExadataInsight 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 MacsManagedCloudExadataInsight(ExadataInsight): """ Cloud MACS-managed Exadata insight resource (ExaCC) (ExaCS will be supported in the future). """ #: A constant which can be used with the exadata_infra_resource_type property of a MacsManagedCloudExadataInsight. #: This constant has a value of "cloudExadataInfrastructure" EXADATA_INFRA_RESOURCE_TYPE_CLOUD_EXADATA_INFRASTRUCTURE = "cloudExadataInfrastructure" #: A constant which can be used with the exadata_infra_resource_type property of a MacsManagedCloudExadataInsight. #: This constant has a value of "exadataInfrastructure" EXADATA_INFRA_RESOURCE_TYPE_EXADATA_INFRASTRUCTURE = "exadataInfrastructure" def __init__(self, **kwargs): """ Initializes a new MacsManagedCloudExadataInsight object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.MacsManagedCloudExadataInsight.entity_source` attribute of this class is ``MACS_MANAGED_CLOUD_EXADATA`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param entity_source: The value to assign to the entity_source property of this MacsManagedCloudExadataInsight. Allowed values for this property are: "EM_MANAGED_EXTERNAL_EXADATA", "PE_COMANAGED_EXADATA", "MACS_MANAGED_CLOUD_EXADATA", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type entity_source: str :param id: The value to assign to the id property of this MacsManagedCloudExadataInsight. :type id: str :param compartment_id: The value to assign to the compartment_id property of this MacsManagedCloudExadataInsight. :type compartment_id: str :param exadata_name: The value to assign to the exadata_name property of this MacsManagedCloudExadataInsight. :type exadata_name: str :param exadata_display_name: The value to assign to the exadata_display_name property of this MacsManagedCloudExadataInsight. :type exadata_display_name: str :param exadata_type: The value to assign to the exadata_type property of this MacsManagedCloudExadataInsight. Allowed values for this property are: "DBMACHINE", "EXACS", "EXACC", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type exadata_type: str :param exadata_rack_type: The value to assign to the exadata_rack_type property of this MacsManagedCloudExadataInsight. Allowed values for this property are: "FULL", "HALF", "QUARTER", "EIGHTH", "FLEX", "BASE", "ELASTIC", "ELASTIC_BASE", "ELASTIC_LARGE", "ELASTIC_EXTRA_LARGE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type exadata_rack_type: str :param is_virtualized_exadata: The value to assign to the is_virtualized_exadata property of this MacsManagedCloudExadataInsight. :type is_virtualized_exadata: bool :param status: The value to assign to the status property of this MacsManagedCloudExadataInsight. Allowed values for this property are: "DISABLED", "ENABLED", "TERMINATED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param chargeback_plan_details: The value to assign to the chargeback_plan_details property of this MacsManagedCloudExadataInsight. :type chargeback_plan_details: oci.opsi.models.ChargebackPlanDetails :param freeform_tags: The value to assign to the freeform_tags property of this MacsManagedCloudExadataInsight. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this MacsManagedCloudExadataInsight. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this MacsManagedCloudExadataInsight. :type system_tags: dict(str, dict(str, object)) :param time_created: The value to assign to the time_created property of this MacsManagedCloudExadataInsight. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this MacsManagedCloudExadataInsight. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this MacsManagedCloudExadataInsight. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this MacsManagedCloudExadataInsight. :type lifecycle_details: str :param status_details: The value to assign to the status_details property of this MacsManagedCloudExadataInsight. :type status_details: str :param exadata_infra_id: The value to assign to the exadata_infra_id property of this MacsManagedCloudExadataInsight. :type exadata_infra_id: str :param exadata_infra_resource_type: The value to assign to the exadata_infra_resource_type property of this MacsManagedCloudExadataInsight. Allowed values for this property are: "cloudExadataInfrastructure", "exadataInfrastructure", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type exadata_infra_resource_type: str :param exadata_shape: The value to assign to the exadata_shape property of this MacsManagedCloudExadataInsight. :type exadata_shape: str """ self.swagger_types = { 'entity_source': 'str', 'id': 'str', 'compartment_id': 'str', 'exadata_name': 'str', 'exadata_display_name': 'str', 'exadata_type': 'str', 'exadata_rack_type': 'str', 'is_virtualized_exadata': 'bool', 'status': 'str', 'chargeback_plan_details': 'ChargebackPlanDetails', 'freeform_tags': 'dict(str, str)', 'defined_tags': 'dict(str, dict(str, object))', 'system_tags': 'dict(str, dict(str, object))', 'time_created': 'datetime', 'time_updated': 'datetime', 'lifecycle_state': 'str', 'lifecycle_details': 'str', 'status_details': 'str', 'exadata_infra_id': 'str', 'exadata_infra_resource_type': 'str', 'exadata_shape': 'str' } self.attribute_map = { 'entity_source': 'entitySource', 'id': 'id', 'compartment_id': 'compartmentId', 'exadata_name': 'exadataName', 'exadata_display_name': 'exadataDisplayName', 'exadata_type': 'exadataType', 'exadata_rack_type': 'exadataRackType', 'is_virtualized_exadata': 'isVirtualizedExadata', 'status': 'status', 'chargeback_plan_details': 'chargebackPlanDetails', 'freeform_tags': 'freeformTags', 'defined_tags': 'definedTags', 'system_tags': 'systemTags', 'time_created': 'timeCreated', 'time_updated': 'timeUpdated', 'lifecycle_state': 'lifecycleState', 'lifecycle_details': 'lifecycleDetails', 'status_details': 'statusDetails', 'exadata_infra_id': 'exadataInfraId', 'exadata_infra_resource_type': 'exadataInfraResourceType', 'exadata_shape': 'exadataShape' } self._entity_source = None self._id = None self._compartment_id = None self._exadata_name = None self._exadata_display_name = None self._exadata_type = None self._exadata_rack_type = None self._is_virtualized_exadata = None self._status = None self._chargeback_plan_details = None self._freeform_tags = None self._defined_tags = None self._system_tags = None self._time_created = None self._time_updated = None self._lifecycle_state = None self._lifecycle_details = None self._status_details = None self._exadata_infra_id = None self._exadata_infra_resource_type = None self._exadata_shape = None self._entity_source = 'MACS_MANAGED_CLOUD_EXADATA' @property def exadata_infra_id(self): """ **[Required]** Gets the exadata_infra_id of this MacsManagedCloudExadataInsight. The `OCID`__ of the Exadata Infrastructure. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The exadata_infra_id of this MacsManagedCloudExadataInsight. :rtype: str """ return self._exadata_infra_id @exadata_infra_id.setter def exadata_infra_id(self, exadata_infra_id): """ Sets the exadata_infra_id of this MacsManagedCloudExadataInsight. The `OCID`__ of the Exadata Infrastructure. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param exadata_infra_id: The exadata_infra_id of this MacsManagedCloudExadataInsight. :type: str """ self._exadata_infra_id = exadata_infra_id @property def exadata_infra_resource_type(self): """ **[Required]** Gets the exadata_infra_resource_type of this MacsManagedCloudExadataInsight. OCI exadata infrastructure resource type Allowed values for this property are: "cloudExadataInfrastructure", "exadataInfrastructure", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The exadata_infra_resource_type of this MacsManagedCloudExadataInsight. :rtype: str """ return self._exadata_infra_resource_type @exadata_infra_resource_type.setter def exadata_infra_resource_type(self, exadata_infra_resource_type): """ Sets the exadata_infra_resource_type of this MacsManagedCloudExadataInsight. OCI exadata infrastructure resource type :param exadata_infra_resource_type: The exadata_infra_resource_type of this MacsManagedCloudExadataInsight. :type: str """ allowed_values = ["cloudExadataInfrastructure", "exadataInfrastructure"] if not value_allowed_none_or_none_sentinel(exadata_infra_resource_type, allowed_values): exadata_infra_resource_type = 'UNKNOWN_ENUM_VALUE' self._exadata_infra_resource_type = exadata_infra_resource_type @property def exadata_shape(self): """ **[Required]** Gets the exadata_shape of this MacsManagedCloudExadataInsight. The shape of the Exadata Infrastructure. :return: The exadata_shape of this MacsManagedCloudExadataInsight. :rtype: str """ return self._exadata_shape @exadata_shape.setter def exadata_shape(self, exadata_shape): """ Sets the exadata_shape of this MacsManagedCloudExadataInsight. The shape of the Exadata Infrastructure. :param exadata_shape: The exadata_shape of this MacsManagedCloudExadataInsight. :type: str """ self._exadata_shape = exadata_shape 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