File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/database_management/models/exadata_vm_cluster_summary.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: 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 ExadataVmClusterSummary(DbmResource): """ The VM Clusters of the Exadata infrastructure. """ #: A constant which can be used with the license_model property of a ExadataVmClusterSummary. #: This constant has a value of "LICENSE_INCLUDED" LICENSE_MODEL_LICENSE_INCLUDED = "LICENSE_INCLUDED" #: A constant which can be used with the license_model property of a ExadataVmClusterSummary. #: This constant has a value of "BRING_YOUR_OWN_LICENSE" LICENSE_MODEL_BRING_YOUR_OWN_LICENSE = "BRING_YOUR_OWN_LICENSE" #: A constant which can be used with the deployment_type property of a ExadataVmClusterSummary. #: This constant has a value of "EXADATA" DEPLOYMENT_TYPE_EXADATA = "EXADATA" #: A constant which can be used with the deployment_type property of a ExadataVmClusterSummary. #: This constant has a value of "EXADATA_CC" DEPLOYMENT_TYPE_EXADATA_CC = "EXADATA_CC" def __init__(self, **kwargs): """ Initializes a new ExadataVmClusterSummary object with values from keyword arguments. The default value of the :py:attr:`~oci.database_management.models.ExadataVmClusterSummary.resource_type` attribute of this class is ``VM_CLUSTER_SUMMARY`` 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 ExadataVmClusterSummary. :type id: str :param display_name: The value to assign to the display_name property of this ExadataVmClusterSummary. :type display_name: str :param version: The value to assign to the version property of this ExadataVmClusterSummary. :type version: str :param internal_id: The value to assign to the internal_id property of this ExadataVmClusterSummary. :type internal_id: str :param status: The value to assign to the status property of this ExadataVmClusterSummary. :type status: str :param lifecycle_state: The value to assign to the lifecycle_state property of this ExadataVmClusterSummary. 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 ExadataVmClusterSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this ExadataVmClusterSummary. :type time_updated: datetime :param lifecycle_details: The value to assign to the lifecycle_details property of this ExadataVmClusterSummary. :type lifecycle_details: str :param additional_details: The value to assign to the additional_details property of this ExadataVmClusterSummary. :type additional_details: dict(str, str) :param resource_type: The value to assign to the resource_type property of this ExadataVmClusterSummary. 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", "VM_CLUSTER_SUMMARY", "CLOUD_INFRASTRUCTURE_SUMMARY", "CLOUD_INFRASTRUCTURE", "CLOUD_STORAGE_SERVER_SUMMARY", "CLOUD_STORAGE_SERVER", "CLOUD_STORAGE_GRID_SUMMARY", "CLOUD_STORAGE_GRID", "CLOUD_STORAGE_CONNECTOR_SUMMARY", "CLOUD_STORAGE_CONNECTOR", "MANAGED_DATABASE_SUMMARY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type resource_type: str :param compartment_id: The value to assign to the compartment_id property of this ExadataVmClusterSummary. :type compartment_id: str :param license_model: The value to assign to the license_model property of this ExadataVmClusterSummary. Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type license_model: str :param home_directory: The value to assign to the home_directory property of this ExadataVmClusterSummary. :type home_directory: str :param deployment_type: The value to assign to the deployment_type property of this ExadataVmClusterSummary. Allowed values for this property are: "EXADATA", "EXADATA_CC", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type deployment_type: str """ 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', 'compartment_id': 'str', 'license_model': 'str', 'home_directory': 'str', 'deployment_type': 'str' } 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', 'compartment_id': 'compartmentId', 'license_model': 'licenseModel', 'home_directory': 'homeDirectory', 'deployment_type': 'deploymentType' } 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._compartment_id = None self._license_model = None self._home_directory = None self._deployment_type = None self._resource_type = 'VM_CLUSTER_SUMMARY' @property def compartment_id(self): """ Gets the compartment_id of this ExadataVmClusterSummary. The `OCID`__ of the compartment. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this ExadataVmClusterSummary. :rtype: str """ return self._compartment_id @compartment_id.setter def compartment_id(self, compartment_id): """ Sets the compartment_id of this ExadataVmClusterSummary. The `OCID`__ of the compartment. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this ExadataVmClusterSummary. :type: str """ self._compartment_id = compartment_id @property def license_model(self): """ Gets the license_model of this ExadataVmClusterSummary. The Oracle license model that applies to the database management resources. Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The license_model of this ExadataVmClusterSummary. :rtype: str """ return self._license_model @license_model.setter def license_model(self, license_model): """ Sets the license_model of this ExadataVmClusterSummary. The Oracle license model that applies to the database management resources. :param license_model: The license_model of this ExadataVmClusterSummary. :type: str """ allowed_values = ["LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE"] if not value_allowed_none_or_none_sentinel(license_model, allowed_values): license_model = 'UNKNOWN_ENUM_VALUE' self._license_model = license_model @property def home_directory(self): """ Gets the home_directory of this ExadataVmClusterSummary. The Oracle home directory. :return: The home_directory of this ExadataVmClusterSummary. :rtype: str """ return self._home_directory @home_directory.setter def home_directory(self, home_directory): """ Sets the home_directory of this ExadataVmClusterSummary. The Oracle home directory. :param home_directory: The home_directory of this ExadataVmClusterSummary. :type: str """ self._home_directory = home_directory @property def deployment_type(self): """ Gets the deployment_type of this ExadataVmClusterSummary. The infrastructure deployment type. Allowed values for this property are: "EXADATA", "EXADATA_CC", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The deployment_type of this ExadataVmClusterSummary. :rtype: str """ return self._deployment_type @deployment_type.setter def deployment_type(self, deployment_type): """ Sets the deployment_type of this ExadataVmClusterSummary. The infrastructure deployment type. :param deployment_type: The deployment_type of this ExadataVmClusterSummary. :type: str """ allowed_values = ["EXADATA", "EXADATA_CC"] if not value_allowed_none_or_none_sentinel(deployment_type, allowed_values): deployment_type = 'UNKNOWN_ENUM_VALUE' self._deployment_type = deployment_type 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