403Webshell
Server IP : 103.119.228.120  /  Your IP : 18.223.195.127
Web Server : Apache
System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User : nobody ( 99)
PHP Version : 5.6.40
Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime
MySQL : ON |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /usr/local/ssl/lib/mysqlsh/lib/python3.9/site-packages/oci/bds/models/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/local/ssl/lib/mysqlsh/lib/python3.9/site-packages/oci/bds/models/change_shape_nodes.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 ChangeShapeNodes(object):
    """
    Individual worker nodes groups details.
    """

    def __init__(self, **kwargs):
        """
        Initializes a new ChangeShapeNodes object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param worker:
            The value to assign to the worker property of this ChangeShapeNodes.
        :type worker: str

        :param worker_shape_config:
            The value to assign to the worker_shape_config property of this ChangeShapeNodes.
        :type worker_shape_config: oci.bds.models.ShapeConfigDetails

        :param compute_only_worker:
            The value to assign to the compute_only_worker property of this ChangeShapeNodes.
        :type compute_only_worker: str

        :param compute_only_worker_shape_config:
            The value to assign to the compute_only_worker_shape_config property of this ChangeShapeNodes.
        :type compute_only_worker_shape_config: oci.bds.models.ShapeConfigDetails

        :param master:
            The value to assign to the master property of this ChangeShapeNodes.
        :type master: str

        :param master_shape_config:
            The value to assign to the master_shape_config property of this ChangeShapeNodes.
        :type master_shape_config: oci.bds.models.ShapeConfigDetails

        :param utility:
            The value to assign to the utility property of this ChangeShapeNodes.
        :type utility: str

        :param utility_shape_config:
            The value to assign to the utility_shape_config property of this ChangeShapeNodes.
        :type utility_shape_config: oci.bds.models.ShapeConfigDetails

        :param cloudsql:
            The value to assign to the cloudsql property of this ChangeShapeNodes.
        :type cloudsql: str

        :param cloudsql_shape_config:
            The value to assign to the cloudsql_shape_config property of this ChangeShapeNodes.
        :type cloudsql_shape_config: oci.bds.models.ShapeConfigDetails

        :param edge:
            The value to assign to the edge property of this ChangeShapeNodes.
        :type edge: str

        :param edge_shape_config:
            The value to assign to the edge_shape_config property of this ChangeShapeNodes.
        :type edge_shape_config: oci.bds.models.ShapeConfigDetails

        :param kafka_broker:
            The value to assign to the kafka_broker property of this ChangeShapeNodes.
        :type kafka_broker: str

        :param kafka_broker_shape_config:
            The value to assign to the kafka_broker_shape_config property of this ChangeShapeNodes.
        :type kafka_broker_shape_config: oci.bds.models.ShapeConfigDetails

        """
        self.swagger_types = {
            'worker': 'str',
            'worker_shape_config': 'ShapeConfigDetails',
            'compute_only_worker': 'str',
            'compute_only_worker_shape_config': 'ShapeConfigDetails',
            'master': 'str',
            'master_shape_config': 'ShapeConfigDetails',
            'utility': 'str',
            'utility_shape_config': 'ShapeConfigDetails',
            'cloudsql': 'str',
            'cloudsql_shape_config': 'ShapeConfigDetails',
            'edge': 'str',
            'edge_shape_config': 'ShapeConfigDetails',
            'kafka_broker': 'str',
            'kafka_broker_shape_config': 'ShapeConfigDetails'
        }

        self.attribute_map = {
            'worker': 'worker',
            'worker_shape_config': 'workerShapeConfig',
            'compute_only_worker': 'computeOnlyWorker',
            'compute_only_worker_shape_config': 'computeOnlyWorkerShapeConfig',
            'master': 'master',
            'master_shape_config': 'masterShapeConfig',
            'utility': 'utility',
            'utility_shape_config': 'utilityShapeConfig',
            'cloudsql': 'cloudsql',
            'cloudsql_shape_config': 'cloudsqlShapeConfig',
            'edge': 'edge',
            'edge_shape_config': 'edgeShapeConfig',
            'kafka_broker': 'kafkaBroker',
            'kafka_broker_shape_config': 'kafkaBrokerShapeConfig'
        }

        self._worker = None
        self._worker_shape_config = None
        self._compute_only_worker = None
        self._compute_only_worker_shape_config = None
        self._master = None
        self._master_shape_config = None
        self._utility = None
        self._utility_shape_config = None
        self._cloudsql = None
        self._cloudsql_shape_config = None
        self._edge = None
        self._edge_shape_config = None
        self._kafka_broker = None
        self._kafka_broker_shape_config = None

    @property
    def worker(self):
        """
        Gets the worker of this ChangeShapeNodes.
        Change shape of worker nodes to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.


        :return: The worker of this ChangeShapeNodes.
        :rtype: str
        """
        return self._worker

    @worker.setter
    def worker(self, worker):
        """
        Sets the worker of this ChangeShapeNodes.
        Change shape of worker nodes to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.


        :param worker: The worker of this ChangeShapeNodes.
        :type: str
        """
        self._worker = worker

    @property
    def worker_shape_config(self):
        """
        Gets the worker_shape_config of this ChangeShapeNodes.

        :return: The worker_shape_config of this ChangeShapeNodes.
        :rtype: oci.bds.models.ShapeConfigDetails
        """
        return self._worker_shape_config

    @worker_shape_config.setter
    def worker_shape_config(self, worker_shape_config):
        """
        Sets the worker_shape_config of this ChangeShapeNodes.

        :param worker_shape_config: The worker_shape_config of this ChangeShapeNodes.
        :type: oci.bds.models.ShapeConfigDetails
        """
        self._worker_shape_config = worker_shape_config

    @property
    def compute_only_worker(self):
        """
        Gets the compute_only_worker of this ChangeShapeNodes.
        Change shape of compute only worker nodes to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.


        :return: The compute_only_worker of this ChangeShapeNodes.
        :rtype: str
        """
        return self._compute_only_worker

    @compute_only_worker.setter
    def compute_only_worker(self, compute_only_worker):
        """
        Sets the compute_only_worker of this ChangeShapeNodes.
        Change shape of compute only worker nodes to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.


        :param compute_only_worker: The compute_only_worker of this ChangeShapeNodes.
        :type: str
        """
        self._compute_only_worker = compute_only_worker

    @property
    def compute_only_worker_shape_config(self):
        """
        Gets the compute_only_worker_shape_config of this ChangeShapeNodes.

        :return: The compute_only_worker_shape_config of this ChangeShapeNodes.
        :rtype: oci.bds.models.ShapeConfigDetails
        """
        return self._compute_only_worker_shape_config

    @compute_only_worker_shape_config.setter
    def compute_only_worker_shape_config(self, compute_only_worker_shape_config):
        """
        Sets the compute_only_worker_shape_config of this ChangeShapeNodes.

        :param compute_only_worker_shape_config: The compute_only_worker_shape_config of this ChangeShapeNodes.
        :type: oci.bds.models.ShapeConfigDetails
        """
        self._compute_only_worker_shape_config = compute_only_worker_shape_config

    @property
    def master(self):
        """
        Gets the master of this ChangeShapeNodes.
        Change shape of master nodes to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.


        :return: The master of this ChangeShapeNodes.
        :rtype: str
        """
        return self._master

    @master.setter
    def master(self, master):
        """
        Sets the master of this ChangeShapeNodes.
        Change shape of master nodes to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.


        :param master: The master of this ChangeShapeNodes.
        :type: str
        """
        self._master = master

    @property
    def master_shape_config(self):
        """
        Gets the master_shape_config of this ChangeShapeNodes.

        :return: The master_shape_config of this ChangeShapeNodes.
        :rtype: oci.bds.models.ShapeConfigDetails
        """
        return self._master_shape_config

    @master_shape_config.setter
    def master_shape_config(self, master_shape_config):
        """
        Sets the master_shape_config of this ChangeShapeNodes.

        :param master_shape_config: The master_shape_config of this ChangeShapeNodes.
        :type: oci.bds.models.ShapeConfigDetails
        """
        self._master_shape_config = master_shape_config

    @property
    def utility(self):
        """
        Gets the utility of this ChangeShapeNodes.
        Change shape of utility nodes to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.


        :return: The utility of this ChangeShapeNodes.
        :rtype: str
        """
        return self._utility

    @utility.setter
    def utility(self, utility):
        """
        Sets the utility of this ChangeShapeNodes.
        Change shape of utility nodes to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.


        :param utility: The utility of this ChangeShapeNodes.
        :type: str
        """
        self._utility = utility

    @property
    def utility_shape_config(self):
        """
        Gets the utility_shape_config of this ChangeShapeNodes.

        :return: The utility_shape_config of this ChangeShapeNodes.
        :rtype: oci.bds.models.ShapeConfigDetails
        """
        return self._utility_shape_config

    @utility_shape_config.setter
    def utility_shape_config(self, utility_shape_config):
        """
        Sets the utility_shape_config of this ChangeShapeNodes.

        :param utility_shape_config: The utility_shape_config of this ChangeShapeNodes.
        :type: oci.bds.models.ShapeConfigDetails
        """
        self._utility_shape_config = utility_shape_config

    @property
    def cloudsql(self):
        """
        Gets the cloudsql of this ChangeShapeNodes.
        Change shape of the Cloud SQL node to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.


        :return: The cloudsql of this ChangeShapeNodes.
        :rtype: str
        """
        return self._cloudsql

    @cloudsql.setter
    def cloudsql(self, cloudsql):
        """
        Sets the cloudsql of this ChangeShapeNodes.
        Change shape of the Cloud SQL node to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.


        :param cloudsql: The cloudsql of this ChangeShapeNodes.
        :type: str
        """
        self._cloudsql = cloudsql

    @property
    def cloudsql_shape_config(self):
        """
        Gets the cloudsql_shape_config of this ChangeShapeNodes.

        :return: The cloudsql_shape_config of this ChangeShapeNodes.
        :rtype: oci.bds.models.ShapeConfigDetails
        """
        return self._cloudsql_shape_config

    @cloudsql_shape_config.setter
    def cloudsql_shape_config(self, cloudsql_shape_config):
        """
        Sets the cloudsql_shape_config of this ChangeShapeNodes.

        :param cloudsql_shape_config: The cloudsql_shape_config of this ChangeShapeNodes.
        :type: oci.bds.models.ShapeConfigDetails
        """
        self._cloudsql_shape_config = cloudsql_shape_config

    @property
    def edge(self):
        """
        Gets the edge of this ChangeShapeNodes.
        Change shape of edge nodes to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.


        :return: The edge of this ChangeShapeNodes.
        :rtype: str
        """
        return self._edge

    @edge.setter
    def edge(self, edge):
        """
        Sets the edge of this ChangeShapeNodes.
        Change shape of edge nodes to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.


        :param edge: The edge of this ChangeShapeNodes.
        :type: str
        """
        self._edge = edge

    @property
    def edge_shape_config(self):
        """
        Gets the edge_shape_config of this ChangeShapeNodes.

        :return: The edge_shape_config of this ChangeShapeNodes.
        :rtype: oci.bds.models.ShapeConfigDetails
        """
        return self._edge_shape_config

    @edge_shape_config.setter
    def edge_shape_config(self, edge_shape_config):
        """
        Sets the edge_shape_config of this ChangeShapeNodes.

        :param edge_shape_config: The edge_shape_config of this ChangeShapeNodes.
        :type: oci.bds.models.ShapeConfigDetails
        """
        self._edge_shape_config = edge_shape_config

    @property
    def kafka_broker(self):
        """
        Gets the kafka_broker of this ChangeShapeNodes.
        Change shape of Kafka Broker nodes to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.


        :return: The kafka_broker of this ChangeShapeNodes.
        :rtype: str
        """
        return self._kafka_broker

    @kafka_broker.setter
    def kafka_broker(self, kafka_broker):
        """
        Sets the kafka_broker of this ChangeShapeNodes.
        Change shape of Kafka Broker nodes to the desired target shape. Both VM_STANDARD and E4 Flex shapes are allowed here.


        :param kafka_broker: The kafka_broker of this ChangeShapeNodes.
        :type: str
        """
        self._kafka_broker = kafka_broker

    @property
    def kafka_broker_shape_config(self):
        """
        Gets the kafka_broker_shape_config of this ChangeShapeNodes.

        :return: The kafka_broker_shape_config of this ChangeShapeNodes.
        :rtype: oci.bds.models.ShapeConfigDetails
        """
        return self._kafka_broker_shape_config

    @kafka_broker_shape_config.setter
    def kafka_broker_shape_config(self, kafka_broker_shape_config):
        """
        Sets the kafka_broker_shape_config of this ChangeShapeNodes.

        :param kafka_broker_shape_config: The kafka_broker_shape_config of this ChangeShapeNodes.
        :type: oci.bds.models.ShapeConfigDetails
        """
        self._kafka_broker_shape_config = kafka_broker_shape_config

    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

Youez - 2016 - github.com/yon3zu
LinuXploit