Server IP : 103.119.228.120 / Your IP : 13.59.205.182 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 : /lib/mysqlsh/lib/python3.9/site-packages/oci/ocvp/models/ |
Upload File : |
# 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: 20230701 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 SupportedHostShapeSummary(object): """ A specific compute shape supported by the Oracle Cloud VMware Solution. """ #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "CREATE_SDDC" SUPPORTED_OPERATIONS_CREATE_SDDC = "CREATE_SDDC" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "DELETE_SDDC" SUPPORTED_OPERATIONS_DELETE_SDDC = "DELETE_SDDC" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "CREATE_CLUSTER" SUPPORTED_OPERATIONS_CREATE_CLUSTER = "CREATE_CLUSTER" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "DELETE_CLUSTER" SUPPORTED_OPERATIONS_DELETE_CLUSTER = "DELETE_CLUSTER" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "CREATE_ESXI_HOST" SUPPORTED_OPERATIONS_CREATE_ESXI_HOST = "CREATE_ESXI_HOST" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "DELETE_ESXI_HOST" SUPPORTED_OPERATIONS_DELETE_ESXI_HOST = "DELETE_ESXI_HOST" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "UPGRADE_HCX" SUPPORTED_OPERATIONS_UPGRADE_HCX = "UPGRADE_HCX" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "DOWNGRADE_HCX" SUPPORTED_OPERATIONS_DOWNGRADE_HCX = "DOWNGRADE_HCX" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "CANCEL_DOWNGRADE_HCX" SUPPORTED_OPERATIONS_CANCEL_DOWNGRADE_HCX = "CANCEL_DOWNGRADE_HCX" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "REFRESH_HCX_LICENSE_STATUS" SUPPORTED_OPERATIONS_REFRESH_HCX_LICENSE_STATUS = "REFRESH_HCX_LICENSE_STATUS" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "SWAP_BILLING" SUPPORTED_OPERATIONS_SWAP_BILLING = "SWAP_BILLING" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "REPLACE_HOST" SUPPORTED_OPERATIONS_REPLACE_HOST = "REPLACE_HOST" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "IN_PLACE_UPGRADE" SUPPORTED_OPERATIONS_IN_PLACE_UPGRADE = "IN_PLACE_UPGRADE" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "CREATE_DATASTORE" SUPPORTED_OPERATIONS_CREATE_DATASTORE = "CREATE_DATASTORE" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "UPDATE_DATASTORE" SUPPORTED_OPERATIONS_UPDATE_DATASTORE = "UPDATE_DATASTORE" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "ADD_BLOCK_VOLUME_TO_DATASTORE" SUPPORTED_OPERATIONS_ADD_BLOCK_VOLUME_TO_DATASTORE = "ADD_BLOCK_VOLUME_TO_DATASTORE" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "DELETE_DATASTORE" SUPPORTED_OPERATIONS_DELETE_DATASTORE = "DELETE_DATASTORE" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "CREATE_DATASTORE_CLUSTER" SUPPORTED_OPERATIONS_CREATE_DATASTORE_CLUSTER = "CREATE_DATASTORE_CLUSTER" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "UPDATE_DATASTORE_CLUSTER" SUPPORTED_OPERATIONS_UPDATE_DATASTORE_CLUSTER = "UPDATE_DATASTORE_CLUSTER" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "ATTACH_DATASTORE_CLUSTER_TO_ESXI_HOST" SUPPORTED_OPERATIONS_ATTACH_DATASTORE_CLUSTER_TO_ESXI_HOST = "ATTACH_DATASTORE_CLUSTER_TO_ESXI_HOST" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "ATTACH_DATASTORE_CLUSTER_TO_CLUSTER" SUPPORTED_OPERATIONS_ATTACH_DATASTORE_CLUSTER_TO_CLUSTER = "ATTACH_DATASTORE_CLUSTER_TO_CLUSTER" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "DETACH_DATASTORE_CLUSTER_FROM_ESXI_HOST" SUPPORTED_OPERATIONS_DETACH_DATASTORE_CLUSTER_FROM_ESXI_HOST = "DETACH_DATASTORE_CLUSTER_FROM_ESXI_HOST" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "DETACH_DATASTORE_CLUSTER_FROM_CLUSTER" SUPPORTED_OPERATIONS_DETACH_DATASTORE_CLUSTER_FROM_CLUSTER = "DETACH_DATASTORE_CLUSTER_FROM_CLUSTER" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "DELETE_DATASTORE_CLUSTER" SUPPORTED_OPERATIONS_DELETE_DATASTORE_CLUSTER = "DELETE_DATASTORE_CLUSTER" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "ADD_DATASTORE_TO_DATASTORE_CLUSTER" SUPPORTED_OPERATIONS_ADD_DATASTORE_TO_DATASTORE_CLUSTER = "ADD_DATASTORE_TO_DATASTORE_CLUSTER" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "REMOVE_DATASTORE_FROM_DATASTORE_CLUSTER" SUPPORTED_OPERATIONS_REMOVE_DATASTORE_FROM_DATASTORE_CLUSTER = "REMOVE_DATASTORE_FROM_DATASTORE_CLUSTER" def __init__(self, **kwargs): """ Initializes a new SupportedHostShapeSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param name: The value to assign to the name property of this SupportedHostShapeSummary. :type name: str :param supported_operations: The value to assign to the supported_operations property of this SupportedHostShapeSummary. Allowed values for items in this list are: "CREATE_SDDC", "DELETE_SDDC", "CREATE_CLUSTER", "DELETE_CLUSTER", "CREATE_ESXI_HOST", "DELETE_ESXI_HOST", "UPGRADE_HCX", "DOWNGRADE_HCX", "CANCEL_DOWNGRADE_HCX", "REFRESH_HCX_LICENSE_STATUS", "SWAP_BILLING", "REPLACE_HOST", "IN_PLACE_UPGRADE", "CREATE_DATASTORE", "UPDATE_DATASTORE", "ADD_BLOCK_VOLUME_TO_DATASTORE", "DELETE_DATASTORE", "CREATE_DATASTORE_CLUSTER", "UPDATE_DATASTORE_CLUSTER", "ATTACH_DATASTORE_CLUSTER_TO_ESXI_HOST", "ATTACH_DATASTORE_CLUSTER_TO_CLUSTER", "DETACH_DATASTORE_CLUSTER_FROM_ESXI_HOST", "DETACH_DATASTORE_CLUSTER_FROM_CLUSTER", "DELETE_DATASTORE_CLUSTER", "ADD_DATASTORE_TO_DATASTORE_CLUSTER", "REMOVE_DATASTORE_FROM_DATASTORE_CLUSTER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type supported_operations: list[str] :param shape_family: The value to assign to the shape_family property of this SupportedHostShapeSummary. :type shape_family: str :param default_ocpu_count: The value to assign to the default_ocpu_count property of this SupportedHostShapeSummary. :type default_ocpu_count: float :param supported_ocpu_count: The value to assign to the supported_ocpu_count property of this SupportedHostShapeSummary. :type supported_ocpu_count: list[float] :param is_single_host_sddc_supported: The value to assign to the is_single_host_sddc_supported property of this SupportedHostShapeSummary. :type is_single_host_sddc_supported: bool :param supported_vmware_software_versions: The value to assign to the supported_vmware_software_versions property of this SupportedHostShapeSummary. :type supported_vmware_software_versions: list[str] :param description: The value to assign to the description property of this SupportedHostShapeSummary. :type description: str :param is_support_shielded_instances: The value to assign to the is_support_shielded_instances property of this SupportedHostShapeSummary. :type is_support_shielded_instances: bool :param is_support_monthly_commitment: The value to assign to the is_support_monthly_commitment property of this SupportedHostShapeSummary. :type is_support_monthly_commitment: bool """ self.swagger_types = { 'name': 'str', 'supported_operations': 'list[str]', 'shape_family': 'str', 'default_ocpu_count': 'float', 'supported_ocpu_count': 'list[float]', 'is_single_host_sddc_supported': 'bool', 'supported_vmware_software_versions': 'list[str]', 'description': 'str', 'is_support_shielded_instances': 'bool', 'is_support_monthly_commitment': 'bool' } self.attribute_map = { 'name': 'name', 'supported_operations': 'supportedOperations', 'shape_family': 'shapeFamily', 'default_ocpu_count': 'defaultOcpuCount', 'supported_ocpu_count': 'supportedOcpuCount', 'is_single_host_sddc_supported': 'isSingleHostSddcSupported', 'supported_vmware_software_versions': 'supportedVmwareSoftwareVersions', 'description': 'description', 'is_support_shielded_instances': 'isSupportShieldedInstances', 'is_support_monthly_commitment': 'isSupportMonthlyCommitment' } self._name = None self._supported_operations = None self._shape_family = None self._default_ocpu_count = None self._supported_ocpu_count = None self._is_single_host_sddc_supported = None self._supported_vmware_software_versions = None self._description = None self._is_support_shielded_instances = None self._is_support_monthly_commitment = None @property def name(self): """ **[Required]** Gets the name of this SupportedHostShapeSummary. The name of the supported compute shape. :return: The name of this SupportedHostShapeSummary. :rtype: str """ return self._name @name.setter def name(self, name): """ Sets the name of this SupportedHostShapeSummary. The name of the supported compute shape. :param name: The name of this SupportedHostShapeSummary. :type: str """ self._name = name @property def supported_operations(self): """ **[Required]** Gets the supported_operations of this SupportedHostShapeSummary. The operations where you can use the shape. The operations can be CREATE_SDDC or CREATE_ESXI_HOST. Allowed values for items in this list are: "CREATE_SDDC", "DELETE_SDDC", "CREATE_CLUSTER", "DELETE_CLUSTER", "CREATE_ESXI_HOST", "DELETE_ESXI_HOST", "UPGRADE_HCX", "DOWNGRADE_HCX", "CANCEL_DOWNGRADE_HCX", "REFRESH_HCX_LICENSE_STATUS", "SWAP_BILLING", "REPLACE_HOST", "IN_PLACE_UPGRADE", "CREATE_DATASTORE", "UPDATE_DATASTORE", "ADD_BLOCK_VOLUME_TO_DATASTORE", "DELETE_DATASTORE", "CREATE_DATASTORE_CLUSTER", "UPDATE_DATASTORE_CLUSTER", "ATTACH_DATASTORE_CLUSTER_TO_ESXI_HOST", "ATTACH_DATASTORE_CLUSTER_TO_CLUSTER", "DETACH_DATASTORE_CLUSTER_FROM_ESXI_HOST", "DETACH_DATASTORE_CLUSTER_FROM_CLUSTER", "DELETE_DATASTORE_CLUSTER", "ADD_DATASTORE_TO_DATASTORE_CLUSTER", "REMOVE_DATASTORE_FROM_DATASTORE_CLUSTER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The supported_operations of this SupportedHostShapeSummary. :rtype: list[str] """ return self._supported_operations @supported_operations.setter def supported_operations(self, supported_operations): """ Sets the supported_operations of this SupportedHostShapeSummary. The operations where you can use the shape. The operations can be CREATE_SDDC or CREATE_ESXI_HOST. :param supported_operations: The supported_operations of this SupportedHostShapeSummary. :type: list[str] """ allowed_values = ["CREATE_SDDC", "DELETE_SDDC", "CREATE_CLUSTER", "DELETE_CLUSTER", "CREATE_ESXI_HOST", "DELETE_ESXI_HOST", "UPGRADE_HCX", "DOWNGRADE_HCX", "CANCEL_DOWNGRADE_HCX", "REFRESH_HCX_LICENSE_STATUS", "SWAP_BILLING", "REPLACE_HOST", "IN_PLACE_UPGRADE", "CREATE_DATASTORE", "UPDATE_DATASTORE", "ADD_BLOCK_VOLUME_TO_DATASTORE", "DELETE_DATASTORE", "CREATE_DATASTORE_CLUSTER", "UPDATE_DATASTORE_CLUSTER", "ATTACH_DATASTORE_CLUSTER_TO_ESXI_HOST", "ATTACH_DATASTORE_CLUSTER_TO_CLUSTER", "DETACH_DATASTORE_CLUSTER_FROM_ESXI_HOST", "DETACH_DATASTORE_CLUSTER_FROM_CLUSTER", "DELETE_DATASTORE_CLUSTER", "ADD_DATASTORE_TO_DATASTORE_CLUSTER", "REMOVE_DATASTORE_FROM_DATASTORE_CLUSTER"] if supported_operations: supported_operations[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in supported_operations] self._supported_operations = supported_operations @property def shape_family(self): """ **[Required]** Gets the shape_family of this SupportedHostShapeSummary. The family of the shape. ESXi hosts of one SDDC must have the same shape family. :return: The shape_family of this SupportedHostShapeSummary. :rtype: str """ return self._shape_family @shape_family.setter def shape_family(self, shape_family): """ Sets the shape_family of this SupportedHostShapeSummary. The family of the shape. ESXi hosts of one SDDC must have the same shape family. :param shape_family: The shape_family of this SupportedHostShapeSummary. :type: str """ self._shape_family = shape_family @property def default_ocpu_count(self): """ Gets the default_ocpu_count of this SupportedHostShapeSummary. The default OCPU count of the shape. :return: The default_ocpu_count of this SupportedHostShapeSummary. :rtype: float """ return self._default_ocpu_count @default_ocpu_count.setter def default_ocpu_count(self, default_ocpu_count): """ Sets the default_ocpu_count of this SupportedHostShapeSummary. The default OCPU count of the shape. :param default_ocpu_count: The default_ocpu_count of this SupportedHostShapeSummary. :type: float """ self._default_ocpu_count = default_ocpu_count @property def supported_ocpu_count(self): """ Gets the supported_ocpu_count of this SupportedHostShapeSummary. Support OCPU count of the shape. :return: The supported_ocpu_count of this SupportedHostShapeSummary. :rtype: list[float] """ return self._supported_ocpu_count @supported_ocpu_count.setter def supported_ocpu_count(self, supported_ocpu_count): """ Sets the supported_ocpu_count of this SupportedHostShapeSummary. Support OCPU count of the shape. :param supported_ocpu_count: The supported_ocpu_count of this SupportedHostShapeSummary. :type: list[float] """ self._supported_ocpu_count = supported_ocpu_count @property def is_single_host_sddc_supported(self): """ Gets the is_single_host_sddc_supported of this SupportedHostShapeSummary. Indicates whether the shape supports single host SDDCs. :return: The is_single_host_sddc_supported of this SupportedHostShapeSummary. :rtype: bool """ return self._is_single_host_sddc_supported @is_single_host_sddc_supported.setter def is_single_host_sddc_supported(self, is_single_host_sddc_supported): """ Sets the is_single_host_sddc_supported of this SupportedHostShapeSummary. Indicates whether the shape supports single host SDDCs. :param is_single_host_sddc_supported: The is_single_host_sddc_supported of this SupportedHostShapeSummary. :type: bool """ self._is_single_host_sddc_supported = is_single_host_sddc_supported @property def supported_vmware_software_versions(self): """ Gets the supported_vmware_software_versions of this SupportedHostShapeSummary. The VMware software versions supported by the shape. :return: The supported_vmware_software_versions of this SupportedHostShapeSummary. :rtype: list[str] """ return self._supported_vmware_software_versions @supported_vmware_software_versions.setter def supported_vmware_software_versions(self, supported_vmware_software_versions): """ Sets the supported_vmware_software_versions of this SupportedHostShapeSummary. The VMware software versions supported by the shape. :param supported_vmware_software_versions: The supported_vmware_software_versions of this SupportedHostShapeSummary. :type: list[str] """ self._supported_vmware_software_versions = supported_vmware_software_versions @property def description(self): """ Gets the description of this SupportedHostShapeSummary. Description of the shape. :return: The description of this SupportedHostShapeSummary. :rtype: str """ return self._description @description.setter def description(self, description): """ Sets the description of this SupportedHostShapeSummary. Description of the shape. :param description: The description of this SupportedHostShapeSummary. :type: str """ self._description = description @property def is_support_shielded_instances(self): """ Gets the is_support_shielded_instances of this SupportedHostShapeSummary. Indicates whether the shape supports shielded instances. :return: The is_support_shielded_instances of this SupportedHostShapeSummary. :rtype: bool """ return self._is_support_shielded_instances @is_support_shielded_instances.setter def is_support_shielded_instances(self, is_support_shielded_instances): """ Sets the is_support_shielded_instances of this SupportedHostShapeSummary. Indicates whether the shape supports shielded instances. :param is_support_shielded_instances: The is_support_shielded_instances of this SupportedHostShapeSummary. :type: bool """ self._is_support_shielded_instances = is_support_shielded_instances @property def is_support_monthly_commitment(self): """ Gets the is_support_monthly_commitment of this SupportedHostShapeSummary. Whether the shape supports \"MONTH\" Commitment. :return: The is_support_monthly_commitment of this SupportedHostShapeSummary. :rtype: bool """ return self._is_support_monthly_commitment @is_support_monthly_commitment.setter def is_support_monthly_commitment(self, is_support_monthly_commitment): """ Sets the is_support_monthly_commitment of this SupportedHostShapeSummary. Whether the shape supports \"MONTH\" Commitment. :param is_support_monthly_commitment: The is_support_monthly_commitment of this SupportedHostShapeSummary. :type: bool """ self._is_support_monthly_commitment = is_support_monthly_commitment 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