📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
core
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/core/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: compute_capacity_reservation.cpython-39.pyc
a ���f�Q � @ 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/� �Zd1d2� Zd3d4� Zd5d6� Zd7S )8�ComputeCapacityReservationzb A template that defines the settings to use when creating compute capacity reservations. �ACTIVE�CREATING�UPDATING�MOVING�DELETED�DELETINGc K s� dddddddddddddd� | _ d d ddd ddddddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a� Initializes a new ComputeCapacityReservation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param availability_domain: The value to assign to the availability_domain property of this ComputeCapacityReservation. :type availability_domain: str :param compartment_id: The value to assign to the compartment_id property of this ComputeCapacityReservation. :type compartment_id: str :param defined_tags: The value to assign to the defined_tags property of this ComputeCapacityReservation. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this ComputeCapacityReservation. :type display_name: str :param freeform_tags: The value to assign to the freeform_tags property of this ComputeCapacityReservation. :type freeform_tags: dict(str, str) :param id: The value to assign to the id property of this ComputeCapacityReservation. :type id: str :param is_default_reservation: The value to assign to the is_default_reservation property of this ComputeCapacityReservation. :type is_default_reservation: bool :param instance_reservation_configs: The value to assign to the instance_reservation_configs property of this ComputeCapacityReservation. :type instance_reservation_configs: list[oci.core.models.InstanceReservationConfig] :param lifecycle_state: The value to assign to the lifecycle_state property of this ComputeCapacityReservation. Allowed values for this property are: "ACTIVE", "CREATING", "UPDATING", "MOVING", "DELETED", "DELETING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param reserved_instance_count: The value to assign to the reserved_instance_count property of this ComputeCapacityReservation. :type reserved_instance_count: int :param time_updated: The value to assign to the time_updated property of this ComputeCapacityReservation. :type time_updated: datetime :param time_created: The value to assign to the time_created property of this ComputeCapacityReservation. :type time_created: datetime :param used_instance_count: The value to assign to the used_instance_count property of this ComputeCapacityReservation. :type used_instance_count: int �strzdict(str, dict(str, object))zdict(str, str)�boolzlist[InstanceReservationConfig]�intZdatetime) �availability_domain�compartment_id�defined_tags�display_name� freeform_tags�id�is_default_reservation�instance_reservation_configs�lifecycle_state�reserved_instance_count�time_updated�time_created�used_instance_countZavailabilityDomainZ compartmentIdZdefinedTagsZdisplayNameZfreeformTagsr ZisDefaultReservationZinstanceReservationConfigsZlifecycleStateZreservedInstanceCountZtimeUpdatedZtimeCreatedZusedInstanceCountN)Z swagger_typesZ attribute_map�_availability_domain�_compartment_id� _defined_tags� _display_name�_freeform_tags�_id�_is_default_reservation�_instance_reservation_configs�_lifecycle_state�_reserved_instance_count� _time_updated� _time_created�_used_instance_count)�self�kwargs� r, �P/usr/lib/python3.9/site-packages/oci/core/models/compute_capacity_reservation.py�__init__* sR =��z#ComputeCapacityReservation.__init__c C s | j S )a+ **[Required]** Gets the availability_domain of this ComputeCapacityReservation. The availability domain of the compute capacity reservation. Example: `Uocm:PHX-AD-1` :return: The availability_domain of this ComputeCapacityReservation. :rtype: str �r �r* r, r, r- r � s z.ComputeCapacityReservation.availability_domainc C s || _ dS )a. Sets the availability_domain of this ComputeCapacityReservation. The availability domain of the compute capacity reservation. Example: `Uocm:PHX-AD-1` :param availability_domain: The availability_domain of this ComputeCapacityReservation. :type: str Nr/ )r* r r, r, r- r � s c C s | j S )ao **[Required]** Gets the compartment_id of this ComputeCapacityReservation. The `OCID`__ of the compartment containing the compute capacity reservation. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this ComputeCapacityReservation. :rtype: str �r r0 r, r, r- r � s z)ComputeCapacityReservation.compartment_idc C s || _ dS )am Sets the compartment_id of this ComputeCapacityReservation. The `OCID`__ of the compartment containing the compute capacity reservation. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this ComputeCapacityReservation. :type: str Nr1 )r* r r, r, r- r � s c C s | j S )a� Gets the defined_tags of this ComputeCapacityReservation. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this ComputeCapacityReservation. :rtype: dict(str, dict(str, object)) �r r0 r, r, r- r � s z'ComputeCapacityReservation.defined_tagsc C s || _ dS )a� Sets the defined_tags of this ComputeCapacityReservation. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this ComputeCapacityReservation. :type: dict(str, dict(str, object)) Nr2 )r* r r, r, r- r � s c C s | j S )a' Gets the display_name of this ComputeCapacityReservation. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this ComputeCapacityReservation. :rtype: str �r r0 r, r, r- r � s z'ComputeCapacityReservation.display_namec C s || _ dS )a2 Sets the display_name of this ComputeCapacityReservation. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param display_name: The display_name of this ComputeCapacityReservation. :type: str Nr3 )r* r r, r, r- r � s c C s | j S )a� Gets the freeform_tags of this ComputeCapacityReservation. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this ComputeCapacityReservation. :rtype: dict(str, str) �r! r0 r, r, r- r s z(ComputeCapacityReservation.freeform_tagsc C s || _ dS )a� Sets the freeform_tags of this ComputeCapacityReservation. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this ComputeCapacityReservation. :type: dict(str, str) Nr4 )r* r r, r, r- r s c C s | j S )a4 **[Required]** Gets the id of this ComputeCapacityReservation. The `OCID`__ of the compute capacity reservation. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this ComputeCapacityReservation. :rtype: str �r"