File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/ocvp/models/supported_host_shape_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: 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" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "CREATE_MANAGEMENT_APPLIANCE" SUPPORTED_OPERATIONS_CREATE_MANAGEMENT_APPLIANCE = "CREATE_MANAGEMENT_APPLIANCE" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "UPDATE_MANAGEMENT_APPLIANCE" SUPPORTED_OPERATIONS_UPDATE_MANAGEMENT_APPLIANCE = "UPDATE_MANAGEMENT_APPLIANCE" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "DELETE_MANAGEMENT_APPLIANCE" SUPPORTED_OPERATIONS_DELETE_MANAGEMENT_APPLIANCE = "DELETE_MANAGEMENT_APPLIANCE" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "ABANDON_MANAGEMENT_APPLIANCE_JOBS" SUPPORTED_OPERATIONS_ABANDON_MANAGEMENT_APPLIANCE_JOBS = "ABANDON_MANAGEMENT_APPLIANCE_JOBS" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "BATCH_DELETE_MANAGEMENT_APPLIANCE_JOBS" SUPPORTED_OPERATIONS_BATCH_DELETE_MANAGEMENT_APPLIANCE_JOBS = "BATCH_DELETE_MANAGEMENT_APPLIANCE_JOBS" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "MANAGEMENT_APPLIANCE_ESXI_HOST_PROVISIONING" SUPPORTED_OPERATIONS_MANAGEMENT_APPLIANCE_ESXI_HOST_PROVISIONING = "MANAGEMENT_APPLIANCE_ESXI_HOST_PROVISIONING" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "MANAGEMENT_APPLIANCE_ESXI_HOST_DELETION" SUPPORTED_OPERATIONS_MANAGEMENT_APPLIANCE_ESXI_HOST_DELETION = "MANAGEMENT_APPLIANCE_ESXI_HOST_DELETION" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "MANAGEMENT_APPLIANCE_DATASTORE_PROVISIONING" SUPPORTED_OPERATIONS_MANAGEMENT_APPLIANCE_DATASTORE_PROVISIONING = "MANAGEMENT_APPLIANCE_DATASTORE_PROVISIONING" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "MANAGEMENT_APPLIANCE_DATASTORE_DELETE" SUPPORTED_OPERATIONS_MANAGEMENT_APPLIANCE_DATASTORE_DELETE = "MANAGEMENT_APPLIANCE_DATASTORE_DELETE" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "CREATE_BYOL" SUPPORTED_OPERATIONS_CREATE_BYOL = "CREATE_BYOL" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "UPDATE_BYOL" SUPPORTED_OPERATIONS_UPDATE_BYOL = "UPDATE_BYOL" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "DELETE_BYOL" SUPPORTED_OPERATIONS_DELETE_BYOL = "DELETE_BYOL" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "CREATE_BYOL_ALLOCATION" SUPPORTED_OPERATIONS_CREATE_BYOL_ALLOCATION = "CREATE_BYOL_ALLOCATION" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "UPDATE_BYOL_ALLOCATION" SUPPORTED_OPERATIONS_UPDATE_BYOL_ALLOCATION = "UPDATE_BYOL_ALLOCATION" #: A constant which can be used with the supported_operations property of a SupportedHostShapeSummary. #: This constant has a value of "DELETE_BYOL_ALLOCATION" SUPPORTED_OPERATIONS_DELETE_BYOL_ALLOCATION = "DELETE_BYOL_ALLOCATION" 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", "CREATE_MANAGEMENT_APPLIANCE", "UPDATE_MANAGEMENT_APPLIANCE", "DELETE_MANAGEMENT_APPLIANCE", "ABANDON_MANAGEMENT_APPLIANCE_JOBS", "BATCH_DELETE_MANAGEMENT_APPLIANCE_JOBS", "MANAGEMENT_APPLIANCE_ESXI_HOST_PROVISIONING", "MANAGEMENT_APPLIANCE_ESXI_HOST_DELETION", "MANAGEMENT_APPLIANCE_DATASTORE_PROVISIONING", "MANAGEMENT_APPLIANCE_DATASTORE_DELETE", "CREATE_BYOL", "UPDATE_BYOL", "DELETE_BYOL", "CREATE_BYOL_ALLOCATION", "UPDATE_BYOL_ALLOCATION", "DELETE_BYOL_ALLOCATION", '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", "CREATE_MANAGEMENT_APPLIANCE", "UPDATE_MANAGEMENT_APPLIANCE", "DELETE_MANAGEMENT_APPLIANCE", "ABANDON_MANAGEMENT_APPLIANCE_JOBS", "BATCH_DELETE_MANAGEMENT_APPLIANCE_JOBS", "MANAGEMENT_APPLIANCE_ESXI_HOST_PROVISIONING", "MANAGEMENT_APPLIANCE_ESXI_HOST_DELETION", "MANAGEMENT_APPLIANCE_DATASTORE_PROVISIONING", "MANAGEMENT_APPLIANCE_DATASTORE_DELETE", "CREATE_BYOL", "UPDATE_BYOL", "DELETE_BYOL", "CREATE_BYOL_ALLOCATION", "UPDATE_BYOL_ALLOCATION", "DELETE_BYOL_ALLOCATION", '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", "CREATE_MANAGEMENT_APPLIANCE", "UPDATE_MANAGEMENT_APPLIANCE", "DELETE_MANAGEMENT_APPLIANCE", "ABANDON_MANAGEMENT_APPLIANCE_JOBS", "BATCH_DELETE_MANAGEMENT_APPLIANCE_JOBS", "MANAGEMENT_APPLIANCE_ESXI_HOST_PROVISIONING", "MANAGEMENT_APPLIANCE_ESXI_HOST_DELETION", "MANAGEMENT_APPLIANCE_DATASTORE_PROVISIONING", "MANAGEMENT_APPLIANCE_DATASTORE_DELETE", "CREATE_BYOL", "UPDATE_BYOL", "DELETE_BYOL", "CREATE_BYOL_ALLOCATION", "UPDATE_BYOL_ALLOCATION", "DELETE_BYOL_ALLOCATION"] 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
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.12 |
proxy
|
phpinfo
|
Settings