File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/wlms/models/managed_instance.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: 20241101 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 ManagedInstance(object): """ A managed instance has an agent with the WebLogic Management Service plugin running. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see `Getting Started with Policies`__. __ https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm """ def __init__(self, **kwargs): """ Initializes a new ManagedInstance object with values from keyword arguments. 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 ManagedInstance. :type id: str :param display_name: The value to assign to the display_name property of this ManagedInstance. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this ManagedInstance. :type compartment_id: str :param host_name: The value to assign to the host_name property of this ManagedInstance. :type host_name: str :param server_count: The value to assign to the server_count property of this ManagedInstance. :type server_count: int :param plugin_status: The value to assign to the plugin_status property of this ManagedInstance. :type plugin_status: str :param time_created: The value to assign to the time_created property of this ManagedInstance. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this ManagedInstance. :type time_updated: datetime :param os_name: The value to assign to the os_name property of this ManagedInstance. :type os_name: str :param os_arch: The value to assign to the os_arch property of this ManagedInstance. :type os_arch: str :param configuration: The value to assign to the configuration property of this ManagedInstance. :type configuration: oci.wlms.models.ManagedInstanceConfiguration """ self.swagger_types = { 'id': 'str', 'display_name': 'str', 'compartment_id': 'str', 'host_name': 'str', 'server_count': 'int', 'plugin_status': 'str', 'time_created': 'datetime', 'time_updated': 'datetime', 'os_name': 'str', 'os_arch': 'str', 'configuration': 'ManagedInstanceConfiguration' } self.attribute_map = { 'id': 'id', 'display_name': 'displayName', 'compartment_id': 'compartmentId', 'host_name': 'hostName', 'server_count': 'serverCount', 'plugin_status': 'pluginStatus', 'time_created': 'timeCreated', 'time_updated': 'timeUpdated', 'os_name': 'osName', 'os_arch': 'osArch', 'configuration': 'configuration' } self._id = None self._display_name = None self._compartment_id = None self._host_name = None self._server_count = None self._plugin_status = None self._time_created = None self._time_updated = None self._os_name = None self._os_arch = None self._configuration = None @property def id(self): """ **[Required]** Gets the id of this ManagedInstance. The `OCID`__ of the managed instance. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this ManagedInstance. :rtype: str """ return self._id @id.setter def id(self, id): """ Sets the id of this ManagedInstance. The `OCID`__ of the managed instance. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param id: The id of this ManagedInstance. :type: str """ self._id = id @property def display_name(self): """ **[Required]** Gets the display_name of this ManagedInstance. A user-friendly name that does not have to be unique and is changeable. :return: The display_name of this ManagedInstance. :rtype: str """ return self._display_name @display_name.setter def display_name(self, display_name): """ Sets the display_name of this ManagedInstance. A user-friendly name that does not have to be unique and is changeable. :param display_name: The display_name of this ManagedInstance. :type: str """ self._display_name = display_name @property def compartment_id(self): """ **[Required]** Gets the compartment_id of this ManagedInstance. The `OCID`__ of the compartment. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this ManagedInstance. :rtype: str """ return self._compartment_id @compartment_id.setter def compartment_id(self, compartment_id): """ Sets the compartment_id of this ManagedInstance. The `OCID`__ of the compartment. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this ManagedInstance. :type: str """ self._compartment_id = compartment_id @property def host_name(self): """ **[Required]** Gets the host_name of this ManagedInstance. The FQDN of the managed instance. :return: The host_name of this ManagedInstance. :rtype: str """ return self._host_name @host_name.setter def host_name(self, host_name): """ Sets the host_name of this ManagedInstance. The FQDN of the managed instance. :param host_name: The host_name of this ManagedInstance. :type: str """ self._host_name = host_name @property def server_count(self): """ **[Required]** Gets the server_count of this ManagedInstance. The number of servers running in the managed instance. :return: The server_count of this ManagedInstance. :rtype: int """ return self._server_count @server_count.setter def server_count(self, server_count): """ Sets the server_count of this ManagedInstance. The number of servers running in the managed instance. :param server_count: The server_count of this ManagedInstance. :type: int """ self._server_count = server_count @property def plugin_status(self): """ **[Required]** Gets the plugin_status of this ManagedInstance. The plugin status of the managed instance. :return: The plugin_status of this ManagedInstance. :rtype: str """ return self._plugin_status @plugin_status.setter def plugin_status(self, plugin_status): """ Sets the plugin_status of this ManagedInstance. The plugin status of the managed instance. :param plugin_status: The plugin_status of this ManagedInstance. :type: str """ self._plugin_status = plugin_status @property def time_created(self): """ **[Required]** Gets the time_created of this ManagedInstance. The date and time the managed instance was first reported (in `RFC 3339`__ format). Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/rfc/rfc3339 :return: The time_created of this ManagedInstance. :rtype: datetime """ return self._time_created @time_created.setter def time_created(self, time_created): """ Sets the time_created of this ManagedInstance. The date and time the managed instance was first reported (in `RFC 3339`__ format). Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/rfc/rfc3339 :param time_created: The time_created of this ManagedInstance. :type: datetime """ self._time_created = time_created @property def time_updated(self): """ **[Required]** Gets the time_updated of this ManagedInstance. The date and time the managed instance was last report (in `RFC 3339`__ format). Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/rfc/rfc3339 :return: The time_updated of this ManagedInstance. :rtype: datetime """ return self._time_updated @time_updated.setter def time_updated(self, time_updated): """ Sets the time_updated of this ManagedInstance. The date and time the managed instance was last report (in `RFC 3339`__ format). Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/rfc/rfc3339 :param time_updated: The time_updated of this ManagedInstance. :type: datetime """ self._time_updated = time_updated @property def os_name(self): """ Gets the os_name of this ManagedInstance. The operating system name on the managed instance. :return: The os_name of this ManagedInstance. :rtype: str """ return self._os_name @os_name.setter def os_name(self, os_name): """ Sets the os_name of this ManagedInstance. The operating system name on the managed instance. :param os_name: The os_name of this ManagedInstance. :type: str """ self._os_name = os_name @property def os_arch(self): """ Gets the os_arch of this ManagedInstance. The operating system architecture on the managed instance. :return: The os_arch of this ManagedInstance. :rtype: str """ return self._os_arch @os_arch.setter def os_arch(self, os_arch): """ Sets the os_arch of this ManagedInstance. The operating system architecture on the managed instance. :param os_arch: The os_arch of this ManagedInstance. :type: str """ self._os_arch = os_arch @property def configuration(self): """ Gets the configuration of this ManagedInstance. :return: The configuration of this ManagedInstance. :rtype: oci.wlms.models.ManagedInstanceConfiguration """ return self._configuration @configuration.setter def configuration(self, configuration): """ Sets the configuration of this ManagedInstance. :param configuration: The configuration of this ManagedInstance. :type: oci.wlms.models.ManagedInstanceConfiguration """ self._configuration = configuration 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