📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/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: update_instance_details.cpython-39.pyc
a ���f�{ � @ 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 ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �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 d/d.� �Zed0d1� �Zej d2d1� �Zed3d4� �Zej d5d4� �Zed6d7� �Zej d8d7� �Zed9d:� �Zej d;d:� �Zd<d=� Zd>d?� Zd@dA� ZdBS )C�UpdateInstanceDetailsz& UpdateInstanceDetails model. �ALLOW_DOWNTIME�AVOID_DOWNTIMEc K s� dddddddddddddd d dddd �| _ ddddddddddddddddddd �| _d | _d | _d | _d | _d | _d | _d | _d | _ d | _ d | _d | _d | _ d | _d | _d | _d | _d | _d | _d S )!a Initializes a new UpdateInstanceDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param capacity_reservation_id: The value to assign to the capacity_reservation_id property of this UpdateInstanceDetails. :type capacity_reservation_id: str :param defined_tags: The value to assign to the defined_tags property of this UpdateInstanceDetails. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this UpdateInstanceDetails. :type display_name: str :param freeform_tags: The value to assign to the freeform_tags property of this UpdateInstanceDetails. :type freeform_tags: dict(str, str) :param agent_config: The value to assign to the agent_config property of this UpdateInstanceDetails. :type agent_config: oci.core.models.UpdateInstanceAgentConfigDetails :param metadata: The value to assign to the metadata property of this UpdateInstanceDetails. :type metadata: dict(str, str) :param extended_metadata: The value to assign to the extended_metadata property of this UpdateInstanceDetails. :type extended_metadata: dict(str, object) :param shape: The value to assign to the shape property of this UpdateInstanceDetails. :type shape: str :param shape_config: The value to assign to the shape_config property of this UpdateInstanceDetails. :type shape_config: oci.core.models.UpdateInstanceShapeConfigDetails :param source_details: The value to assign to the source_details property of this UpdateInstanceDetails. :type source_details: oci.core.models.UpdateInstanceSourceDetails :param update_operation_constraint: The value to assign to the update_operation_constraint property of this UpdateInstanceDetails. Allowed values for this property are: "ALLOW_DOWNTIME", "AVOID_DOWNTIME" :type update_operation_constraint: str :param instance_options: The value to assign to the instance_options property of this UpdateInstanceDetails. :type instance_options: oci.core.models.InstanceOptions :param fault_domain: The value to assign to the fault_domain property of this UpdateInstanceDetails. :type fault_domain: str :param launch_options: The value to assign to the launch_options property of this UpdateInstanceDetails. :type launch_options: oci.core.models.UpdateLaunchOptions :param availability_config: The value to assign to the availability_config property of this UpdateInstanceDetails. :type availability_config: oci.core.models.UpdateInstanceAvailabilityConfigDetails :param time_maintenance_reboot_due: The value to assign to the time_maintenance_reboot_due property of this UpdateInstanceDetails. :type time_maintenance_reboot_due: datetime :param dedicated_vm_host_id: The value to assign to the dedicated_vm_host_id property of this UpdateInstanceDetails. :type dedicated_vm_host_id: str :param platform_config: The value to assign to the platform_config property of this UpdateInstanceDetails. :type platform_config: oci.core.models.UpdateInstancePlatformConfig �strzdict(str, dict(str, object))zdict(str, str)Z UpdateInstanceAgentConfigDetailszdict(str, object)Z UpdateInstanceShapeConfigDetailsZUpdateInstanceSourceDetailsZInstanceOptionsZUpdateLaunchOptionsZ'UpdateInstanceAvailabilityConfigDetailsZdatetimeZUpdateInstancePlatformConfig)�capacity_reservation_id�defined_tags�display_name� freeform_tags�agent_config�metadata�extended_metadata�shape�shape_config�source_details�update_operation_constraint�instance_options�fault_domain�launch_options�availability_config�time_maintenance_reboot_due�dedicated_vm_host_id�platform_configZcapacityReservationIdZdefinedTagsZdisplayNameZfreeformTagsZagentConfigr ZextendedMetadatar ZshapeConfigZ sourceDetailsZupdateOperationConstraintZinstanceOptionsZfaultDomainZ launchOptionsZavailabilityConfigZtimeMaintenanceRebootDueZdedicatedVmHostIdZplatformConfigN)Z swagger_typesZ attribute_map�_capacity_reservation_id� _defined_tags� _display_name�_freeform_tags� _agent_config� _metadata�_extended_metadata�_shape� _shape_config�_source_details�_update_operation_constraint�_instance_options� _fault_domain�_launch_options�_availability_config�_time_maintenance_reboot_due�_dedicated_vm_host_id�_platform_config)�self�kwargs� r0 �K/usr/lib/python3.9/site-packages/oci/core/models/update_instance_details.py�__init__ sp P��zUpdateInstanceDetails.__init__c C s | j S )a Gets the capacity_reservation_id of this UpdateInstanceDetails. The OCID of the compute capacity reservation this instance is launched under. You can remove the instance from a reservation by specifying an empty string as input for this field. For more information, see `Capacity Reservations`__. __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default :return: The capacity_reservation_id of this UpdateInstanceDetails. :rtype: str �r �r. r0 r0 r1 r � s z-UpdateInstanceDetails.capacity_reservation_idc C s || _ dS )a, Sets the capacity_reservation_id of this UpdateInstanceDetails. The OCID of the compute capacity reservation this instance is launched under. You can remove the instance from a reservation by specifying an empty string as input for this field. For more information, see `Capacity Reservations`__. __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default :param capacity_reservation_id: The capacity_reservation_id of this UpdateInstanceDetails. :type: str Nr3 )r. r r0 r0 r1 r � s c C s | j S )a� Gets the defined_tags of this UpdateInstanceDetails. 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 UpdateInstanceDetails. :rtype: dict(str, dict(str, object)) �r r4 r0 r0 r1 r � s z"UpdateInstanceDetails.defined_tagsc C s || _ dS )a� Sets the defined_tags of this UpdateInstanceDetails. 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 UpdateInstanceDetails. :type: dict(str, dict(str, object)) Nr5 )r. r r0 r0 r1 r � s c C s | j S )a Gets the display_name of this UpdateInstanceDetails. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this UpdateInstanceDetails. :rtype: str �r r4 r0 r0 r1 r � s z"UpdateInstanceDetails.display_namec C s || _ dS )a( Sets the display_name of this UpdateInstanceDetails. 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 UpdateInstanceDetails. :type: str Nr6 )r. r r0 r0 r1 r � s c C s | j S )a� Gets the freeform_tags of this UpdateInstanceDetails. 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 UpdateInstanceDetails. :rtype: dict(str, str) �r r4 r0 r0 r1 r s z#UpdateInstanceDetails.freeform_tagsc C s || _ dS )a� Sets the freeform_tags of this UpdateInstanceDetails. 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 UpdateInstanceDetails. :type: dict(str, str) Nr7 )r. r r0 r0 r1 r s c C s | j S )z� Gets the agent_config of this UpdateInstanceDetails. :return: The agent_config of this UpdateInstanceDetails. :rtype: oci.core.models.UpdateInstanceAgentConfigDetails �r r4 r0 r0 r1 r $ s z"UpdateInstanceDetails.agent_configc C s || _ dS )z� Sets the agent_config of this UpdateInstanceDetails. :param agent_config: The agent_config of this UpdateInstanceDetails. :type: oci.core.models.UpdateInstanceAgentConfigDetails Nr8 )r. r r0 r0 r1 r . s c C s | j S )aD Gets the metadata of this UpdateInstanceDetails. Custom metadata key/value string pairs that you provide. Any set of key/value pairs provided here will completely replace the current set of key/value pairs in the `metadata` field on the instance. The "user_data" field and the "ssh_authorized_keys" field cannot be changed after an instance has launched. Any request that updates, removes, or adds either of these fields will be rejected. You must provide the same values for "user_data" and "ssh_authorized_keys" that already exist on the instance. The combined size of the `metadata` and `extendedMetadata` objects can be a maximum of 32,000 bytes. :return: The metadata of this UpdateInstanceDetails. :rtype: dict(str, str) �r! r4 r0 r0 r1 r 8 s zUpdateInstanceDetails.metadatac C s || _ dS )aK Sets the metadata of this UpdateInstanceDetails. Custom metadata key/value string pairs that you provide. Any set of key/value pairs provided here will completely replace the current set of key/value pairs in the `metadata` field on the instance. The "user_data" field and the "ssh_authorized_keys" field cannot be changed after an instance has launched. Any request that updates, removes, or adds either of these fields will be rejected. You must provide the same values for "user_data" and "ssh_authorized_keys" that already exist on the instance. The combined size of the `metadata` and `extendedMetadata` objects can be a maximum of 32,000 bytes. :param metadata: The metadata of this UpdateInstanceDetails. :type: dict(str, str) Nr9 )r. r r0 r0 r1 r N s c C s | j S )a� Gets the extended_metadata of this UpdateInstanceDetails. Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. They are distinguished from `metadata` fields in that these can be nested JSON objects (whereas `metadata` fields are string/string maps only). The "user_data" field and the "ssh_authorized_keys" field cannot be changed after an instance has launched. Any request that updates, removes, or adds either of these fields will be rejected. You must provide the same values for "user_data" and "ssh_authorized_keys" that already exist on the instance. The combined size of the `metadata` and `extendedMetadata` objects can be a maximum of 32,000 bytes. :return: The extended_metadata of this UpdateInstanceDetails. :rtype: dict(str, object) �r"