ruạṛ
a ���fT � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdd� Zedd� �Z e j!d d� �Z ed!d"� �Z"e"j!d#d"� �Z"ed$d%� �Z#e#j!d&d%� �Z#ed'd(� �Z$e$j!d)d(� �Z$ed*d+� �Z%e%j!d,d+� �Z%ed-d.� �Z&e&j!d/d.� �Z&ed0d1� �Z'e'j!d2d1� �Z'ed3d4� �Z(e(j!d5d4� �Z(ed6d7� �Z)e)j!d8d7� �Z)ed9d:� �Z*e*j!d;d:� �Z*d<d=� Z+d>d?� Z,d@dA� Z-dBS )C�SupportedHostShapeSummaryzQ A specific compute shape supported by the Oracle Cloud VMware Solution. �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_CLUSTERc K sx ddddddddddd� | _ ddd d ddd dddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _dS )ae 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 �strz list[str]�floatzlist[float]�bool) �name�supported_operations�shape_family�default_ocpu_count�supported_ocpu_count�is_single_host_sddc_supported�"supported_vmware_software_versions�description�is_support_shielded_instances�is_support_monthly_commitmentr$ ZsupportedOperationsZshapeFamilyZdefaultOcpuCountZsupportedOcpuCountZisSingleHostSddcSupportedZsupportedVmwareSoftwareVersionsr+ ZisSupportShieldedInstancesZisSupportMonthlyCommitmentN)Z swagger_typesZ attribute_map�_name�_supported_operations� _shape_family�_default_ocpu_count�_supported_ocpu_count�_is_single_host_sddc_supported�#_supported_vmware_software_versions�_description�_is_support_shielded_instances�_is_support_monthly_commitment)�self�kwargs� r: �P/usr/lib/python3.9/site-packages/oci/ocvp/models/supported_host_shape_summary.py�__init__z s@ 1�� z"SupportedHostShapeSummary.__init__c C s | j S )z� **[Required]** Gets the name of this SupportedHostShapeSummary. The name of the supported compute shape. :return: The name of this SupportedHostShapeSummary. :rtype: str �r. �r8 r: r: r; r$ � s zSupportedHostShapeSummary.namec C s || _ dS )z� Sets the name of this SupportedHostShapeSummary. The name of the supported compute shape. :param name: The name of this SupportedHostShapeSummary. :type: str Nr= )r8 r$ r: r: r; r$ � s c C s | j S )aw **[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] �r/ r>