ruạṛ
a ���fH� � @ 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 dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zed+d,� �Zej d-d,� �Zed.d/� �Zej d0d/� �Zed1d2� �Zej d3d2� �Zed4d5� �Zej d6d5� �Zed7d8� �Zej d9d8� �Zed:d;� �Zej d<d;� �Zed=d>� �Zej d?d>� �Zed@dA� �Zej dBdA� �ZedCdD� �Z e j dEdD� �Z edFdG� �Z!e!j dHdG� �Z!edIdJ� �Z"e"j dKdJ� �Z"edLdM� �Z#e#j dNdM� �Z#edOdP� �Z$e$j dQdP� �Z$edRdS� �Z%e%j dTdS� �Z%edUdV� �Z&e&j dWdV� �Z&edXdY� �Z'e'j dZdY� �Z'ed[d\� �Z(e(j d]d\� �Z(ed^d_� �Z)e)j d`d_� �Z)dadb� Z*dcdd� Z+dedf� Z,dgS )h�Shapea\ A compute instance shape that can be used in :func:`launch_instance`. For more information, see `Overview of the Compute Service`__ and `Compute Shapes`__. __ https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm __ https://docs.cloud.oracle.com/iaas/Content/Compute/References/computeshapes.htm �BASELINE_1_8�BASELINE_1_2�BASELINE_1_1�ALWAYS_FREE�LIMITED_FREE�PAIDc K s6 ddddddddddddddddddddd d dddddddd�| _ d ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d�| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _ d*| _ d*| _d*| _d*| _ d*| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _d*S )+a7 Initializes a new Shape object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param baseline_ocpu_utilizations: The value to assign to the baseline_ocpu_utilizations property of this Shape. Allowed values for items in this list are: "BASELINE_1_8", "BASELINE_1_2", "BASELINE_1_1", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type baseline_ocpu_utilizations: list[str] :param min_total_baseline_ocpus_required: The value to assign to the min_total_baseline_ocpus_required property of this Shape. :type min_total_baseline_ocpus_required: float :param shape: The value to assign to the shape property of this Shape. :type shape: str :param processor_description: The value to assign to the processor_description property of this Shape. :type processor_description: str :param ocpus: The value to assign to the ocpus property of this Shape. :type ocpus: float :param memory_in_gbs: The value to assign to the memory_in_gbs property of this Shape. :type memory_in_gbs: float :param network_ports: The value to assign to the network_ports property of this Shape. :type network_ports: int :param networking_bandwidth_in_gbps: The value to assign to the networking_bandwidth_in_gbps property of this Shape. :type networking_bandwidth_in_gbps: float :param max_vnic_attachments: The value to assign to the max_vnic_attachments property of this Shape. :type max_vnic_attachments: int :param gpus: The value to assign to the gpus property of this Shape. :type gpus: int :param gpu_description: The value to assign to the gpu_description property of this Shape. :type gpu_description: str :param local_disks: The value to assign to the local_disks property of this Shape. :type local_disks: int :param local_disks_total_size_in_gbs: The value to assign to the local_disks_total_size_in_gbs property of this Shape. :type local_disks_total_size_in_gbs: float :param local_disk_description: The value to assign to the local_disk_description property of this Shape. :type local_disk_description: str :param rdma_ports: The value to assign to the rdma_ports property of this Shape. :type rdma_ports: int :param rdma_bandwidth_in_gbps: The value to assign to the rdma_bandwidth_in_gbps property of this Shape. :type rdma_bandwidth_in_gbps: int :param is_live_migration_supported: The value to assign to the is_live_migration_supported property of this Shape. :type is_live_migration_supported: bool :param ocpu_options: The value to assign to the ocpu_options property of this Shape. :type ocpu_options: oci.core.models.ShapeOcpuOptions :param memory_options: The value to assign to the memory_options property of this Shape. :type memory_options: oci.core.models.ShapeMemoryOptions :param networking_bandwidth_options: The value to assign to the networking_bandwidth_options property of this Shape. :type networking_bandwidth_options: oci.core.models.ShapeNetworkingBandwidthOptions :param max_vnic_attachment_options: The value to assign to the max_vnic_attachment_options property of this Shape. :type max_vnic_attachment_options: oci.core.models.ShapeMaxVnicAttachmentOptions :param platform_config_options: The value to assign to the platform_config_options property of this Shape. :type platform_config_options: oci.core.models.ShapePlatformConfigOptions :param is_billed_for_stopped_instance: The value to assign to the is_billed_for_stopped_instance property of this Shape. :type is_billed_for_stopped_instance: bool :param billing_type: The value to assign to the billing_type property of this Shape. Allowed values for this property are: "ALWAYS_FREE", "LIMITED_FREE", "PAID", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type billing_type: str :param quota_names: The value to assign to the quota_names property of this Shape. :type quota_names: list[str] :param is_subcore: The value to assign to the is_subcore property of this Shape. :type is_subcore: bool :param is_flexible: The value to assign to the is_flexible property of this Shape. :type is_flexible: bool :param resize_compatible_shapes: The value to assign to the resize_compatible_shapes property of this Shape. :type resize_compatible_shapes: list[str] :param recommended_alternatives: The value to assign to the recommended_alternatives property of this Shape. :type recommended_alternatives: list[oci.core.models.ShapeAlternativeObject] z list[str]�float�str�int�boolZShapeOcpuOptionsZShapeMemoryOptionsZShapeNetworkingBandwidthOptionsZShapeMaxVnicAttachmentOptionsZShapePlatformConfigOptionszlist[ShapeAlternativeObject])�baseline_ocpu_utilizations�!min_total_baseline_ocpus_required�shape�processor_description�ocpus� memory_in_gbs� network_ports�networking_bandwidth_in_gbps�max_vnic_attachments�gpus�gpu_description�local_disks�local_disks_total_size_in_gbs�local_disk_description� rdma_ports�rdma_bandwidth_in_gbps�is_live_migration_supported�ocpu_options�memory_options�networking_bandwidth_options�max_vnic_attachment_options�platform_config_options�is_billed_for_stopped_instance�billing_type�quota_names� is_subcore�is_flexible�resize_compatible_shapes�recommended_alternativesZbaselineOcpuUtilizationsZminTotalBaselineOcpusRequiredr ZprocessorDescriptionr ZmemoryInGBsZnetworkPortsZnetworkingBandwidthInGbpsZmaxVnicAttachmentsr ZgpuDescriptionZ localDisksZlocalDisksTotalSizeInGBsZlocalDiskDescriptionZ rdmaPortsZrdmaBandwidthInGbpsZisLiveMigrationSupportedZocpuOptionsZ memoryOptionsZnetworkingBandwidthOptionsZmaxVnicAttachmentOptionsZplatformConfigOptionsZisBilledForStoppedInstanceZbillingTypeZ quotaNamesZ isSubcoreZ isFlexibleZresizeCompatibleShapesZrecommendedAlternativesN)Z swagger_typesZ attribute_map�_baseline_ocpu_utilizations�"_min_total_baseline_ocpus_required�_shape�_processor_description�_ocpus�_memory_in_gbs�_network_ports�_networking_bandwidth_in_gbps�_max_vnic_attachments�_gpus�_gpu_description�_local_disks�_local_disks_total_size_in_gbs�_local_disk_description�_rdma_ports�_rdma_bandwidth_in_gbps�_is_live_migration_supported� _ocpu_options�_memory_options�_networking_bandwidth_options�_max_vnic_attachment_options�_platform_config_options�_is_billed_for_stopped_instance� _billing_type�_quota_names�_is_subcore�_is_flexible�_resize_compatible_shapes�_recommended_alternatives)�self�kwargs� rM �9/usr/lib/python3.9/site-packages/oci/core/models/shape.py�__init__/ s� �!� zShape.__init__c C s | j S )a� Gets the baseline_ocpu_utilizations of this Shape. For a subcore burstable VM, the supported baseline OCPU utilization for instances that use this shape. Allowed values for items in this list are: "BASELINE_1_8", "BASELINE_1_2", "BASELINE_1_1", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The baseline_ocpu_utilizations of this Shape. :rtype: list[str] �r. �rK rM rM rN r s z Shape.baseline_ocpu_utilizationsc s0 g d�� |r&� fdd�|D �|dd�<