a f @sddlmZddlmZddlmZddlmZmZddlm Z ddl m Z m Z ddl mZddlmZmZmZdd lmZdd lmZd d lmZed ZGdddeZdS))absolute_import)requests)six)retrycircuit_breaker) BaseClient)get_config_value_or_defaultvalidate_config)Signer)Sentinel#get_signer_from_authentication_typeAUTHENTICATION_TYPE_FIELD_NAME)InvalidAlloyConfig)OCI_SDK_ENABLED_SERVICES_SET)core_type_mappingZMissingc@sHeZdZdZddZddZddZdd Zd d Zd d Z ddZ ddZ ddZ ddZ ddZddZddZddZddZd d!Zd"d#Zd$d%Zd&d'Zd(d)Zd*d+Zd,d-Zd.d/Zd0d1Zd2d3Zd4d5Zd6d7Zd8d9Zd:d;Z dd?Z"d@dAZ#dBdCZ$dDdEZ%dFdGZ&dHdIZ'dJdKZ(dLdMZ)dNdOZ*dPdQZ+dRdSZ,dTdUZ-dVdWZ.dXdYZ/dZd[Z0d\d]Z1d^d_Z2d`daZ3dbdcZ4dddeZ5dfdgZ6dhdiZ7djdkZ8dldmZ9dndoZ:dpdqZ;drdsZdxdyZ?dzd{Z@d|d}ZAd~dZBddZCddZDddZEddZFddZGddZHddZIddZJddZKddZLddZMddZNddZOddZPddZQddZRddZSddZTddZUddZVddZWddZXddZYddZZddZ[ddZ\ddZ]ddZ^ddZ_ddZ`ddZaddZbddZcddÄZdddńZeddDŽZfddɄZgdd˄Zhdd̈́ZiddτZjdS) ComputeClienta4 Use the Core Services API to manage resources such as virtual cloud networks (VCNs), compute instances, and block storage volumes. For more information, see the console documentation for the [Networking](/iaas/Content/Network/Concepts/overview.htm), [Compute](/iaas/Content/Compute/Concepts/computeoverview.htm), and [Block Volume](/iaas/Content/Block/Concepts/overview.htm) services. The required permissions are documented in the [Details for the Core Services](/iaas/Content/Identity/Reference/corepolicyreference.htm) article. c Kstdstdt||ddd|vr6|d}nDt|vrHt|}n2t|d|d|d|dt|d |d d }d |d ddi|dd|dt j |dd}d|vr|d|d<d|vr|d|d<t d||t fi||_ |d|_|d|_||_||_dS)a) Creates a new service client :param dict config: Configuration keys and values as per `SDK and Tool Configuration `__. The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config the dict using :py:meth:`~oci.config.validate_config` :param str service_endpoint: (optional) The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit need to specify a service endpoint. :param timeout: (optional) The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout. :type timeout: float or tuple(float, float) :param signer: (optional) The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values provided in the config parameter. One use case for this parameter is for `Instance Principals authentication `__ by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument :type signer: :py:class:`~oci.signer.AbstractBaseSigner` :param obj retry_strategy: (optional) A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default. Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation. Any value provided at the operation level will override whatever is specified at the client level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` is also available. The specifics of the default retry strategy are described `here `__. :param obj circuit_breaker_strategy: (optional) A circuit breaker strategy to apply to all calls made by this service client (i.e. at the client level). This client will not have circuit breakers enabled by default, users can use their own circuit breaker strategy or the convenient :py:data:`~oci.circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY` provided by the SDK to enable it. The specifics of circuit breaker strategy are described `here `__. :param function circuit_breaker_callback: (optional) Callback function to receive any exceptions triggerred by the circuit breaker. :param bool client_level_realm_specific_endpoint_template_enabled: (optional) A boolean flag to indicate whether or not this client should be created with realm specific endpoint template enabled or disable. By default, this will be set as None. :param allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this client should allow control characters in the response object. By default, the client will not allow control characters to be in the response object. ZcoreaThe Alloy configuration has disabled this service, this behavior is controlled by OCI_SDK_ENABLED_SERVICES_SET variable. Please check if your local alloy-config file configured the service you're targeting or contact the cloud provider on the availability of this servicesigner)rtenancyuser fingerprintZkey_file pass_phraseZ key_content)rrrZprivate_key_file_locationrZprivate_key_contentTservice_endpointz /20160918z)https://iaas.{region}.{secondLevelDomain}skip_deserializationFcircuit_breaker_strategy5client_level_realm_specific_endpoint_template_enabled)Zregional_clientr base_pathZservice_endpoint_templateZ#service_endpoint_template_per_realmrrrtimeoutallow_control_charsZcomputeretry_strategycircuit_breaker_callbackN)rZis_service_enabledrr getr r r rrZGLOBAL_CIRCUIT_BREAKER_STRATEGYrr base_clientrr Z_config_kwargs)selfZconfigkwargsrZbase_client_init_kwargsr&;/usr/lib/python3.9/site-packages/oci/core/compute_client.py__init__"sB3         zComputeClient.__init__c sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d} | r^t| t js8|j | |j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a Accept the changes to the PCR values in the measured boot report. :param str instance_id: (required) The `OCID`__ of the instance. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use accept_shielded_integrity_policy API. instanceIdz=/instances/{instanceId}/actions/acceptShieldedIntegrityPolicyPOST accept_shielded_integrity_policyzdhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/MeasuredBootReport/AcceptShieldedIntegrityPolicyrropc_request_idif_matchopc_retry_tokencsg|]}|vr|qSr&r&.0Z_keyZexpected_kwargsr&r' zBComputeClient.accept_shielded_integrity_policy..z5accept_shielded_integrity_policy got unknown kwargs: cSsi|]\}}|tur||qSr&missingr1kvr&r&r' r4zBComputeClient.accept_shielded_integrity_policy..Nr Parameter + cannot be None, whitespace or empty stringapplication/jsonr-r.r/accept content-typeopc-request-idif-matchopc-retry-tokencSs&i|]\}}|tur|dur||qSNr5r7r&r&r'r:r4rZoperation_retry_strategyZclient_retry_strategyr resource_pathmethod path_params header_paramsroperation_nameapi_reference_linkrequired_argumentsriterkeys ValueError iteritems isinstance string_typeslenstripr!r6r"get_preferred_retry_strategyrrNoneRetryStrategyadd_opc_retry_token_if_neededadd_opc_client_retries_headeradd_circuit_breaker_callbackr make_retrying_callcall_apir$ instance_idr%rMrGrHrKrL extra_kwargsrIr8r9rJrr&r2r'r+}sl-$       z.ComputeClient.accept_shielded_integrity_policyc s\ddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrddd} |jj | d|j d}|r,t|t j s|j| ||j|j|jj||| | | dd| d|||d S|jj||| | | dd| d|||d SdS)a Adds a shape to the compatible shapes list for the image. :param str image_id: (required) The `OCID`__ of the image. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str shape_name: (required) Shape name. :param oci.core.models.AddImageShapeCompatibilityEntryDetails add_image_shape_compatibility_entry_details: (optional) Image shape compatibility details :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ImageShapeCompatibilityEntry` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use add_image_shape_compatibility_entry API. imageId shapeName$/images/{imageId}/shapes/{shapeName}PUT#add_image_shape_compatibility_entryzphttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ImageShapeCompatibilityEntry/AddImageShapeCompatibilityEntry)rr+add_image_shape_compatibility_entry_detailscsg|]}|vr|qSr&r&r0r2r&r'r3r4zEComputeClient.add_image_shape_compatibility_entry..z8add_image_shape_compatibility_entry got unknown kwargs: r`racSsi|]\}}|tur||qSr&r5r7r&r&r'r:(r4zEComputeClient.add_image_shape_compatibility_entry..Nrr;r<r=r?r@rrEreImageShapeCompatibilityEntryr rGrHrIrJbody response_typerrKrLrMrrOrPrQrRrSrTrUr"rVr!rrrWrYrZr r[r\r$image_idZ shape_namer%rMrGrHrKrLr_rIr8r9rJrr&r2r'rdsl#$    z1ComputeClient.add_image_shape_compatibility_entryc s g}d}d}d}d}gdfddt|D}|rFtd|d d |d td } d d t| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)a; Attaches the specified boot volume to the specified instance. :param oci.core.models.AttachBootVolumeDetails attach_boot_volume_details: (required) Attach boot volume request :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.BootVolumeAttachment` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use attach_boot_volume API. /bootVolumeAttachmentsr*attach_boot_volumezYhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeAttachment/AttachBootVolumerrr/csg|]}|vr|qSr&r&r0r2r&r'r3r4z4ComputeClient.attach_boot_volume..z'attach_boot_volume got unknown kwargs: r=r/r?r@rCcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4z4ComputeClient.attach_boot_volume..rrEBootVolumeAttachmentr rGrHrJrjrkrrKrLrMNrrOrPr!r6rQr"rVrrRrrWrXrYrZr r[r\) r$Zattach_boot_volume_detailsr%rMrGrHrKrLr_rJrr&r2r'rpUs`"      z ComputeClient.attach_boot_volumec s g}d}d}d}d}gdfddt|D}|rFtd|d d |d td } d d t| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)a Creates a secondary VNIC and attaches it to the specified instance. For more information about secondary VNICs, see `Virtual Network Interface Cards (VNICs)`__. __ https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm :param oci.core.models.AttachVnicDetails attach_vnic_details: (required) Attach VNIC details. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.VnicAttachment` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use attach_vnic API. /vnicAttachmentsr* attach_vniczMhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VnicAttachment/AttachVnicrqcsg|]}|vr|qSr&r&r0r2r&r'r3r4z-ComputeClient.attach_vnic..z attach_vnic got unknown kwargs: r=r/rrcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4z-ComputeClient.attach_vnic..rrEVnicAttachmentrrtNru) r$Zattach_vnic_detailsr%rMrGrHrKrLr_rJrr&r2r'rws`&      zComputeClient.attach_vnicc s g}d}d}d}d}gdfddt|D}|rFtd|d d |d td } d d t| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)a" Attaches the specified storage volume to the specified instance. :param oci.core.models.AttachVolumeDetails attach_volume_details: (required) Attach volume request :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.VolumeAttachment` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use attach_volume API. /volumeAttachmentsr* attach_volumezQhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeAttachment/AttachVolumerqcsg|]}|vr|qSr&r&r0r2r&r'r3=r4z/ComputeClient.attach_volume..z"attach_volume got unknown kwargs: r=r/rrcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:Gr4z/ComputeClient.attach_volume..rrEVolumeAttachmentrrtNru) r$Zattach_volume_detailsr%rMrGrHrKrLr_rJrr&r2r'rzs`"      zComputeClient.attach_volumec s g}d}d}d}d}gdfddt|D}|rFtd|d d |d td } d d t| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)a Captures the most recent serial console data (up to a megabyte) for the specified instance. The `CaptureConsoleHistory` operation works with the other console history operations as described below. 1. Use `CaptureConsoleHistory` to request the capture of up to a megabyte of the most recent console history. This call returns a `ConsoleHistory` object. The object will have a state of REQUESTED. 2. Wait for the capture operation to succeed by polling `GetConsoleHistory` with the identifier of the console history metadata. The state of the `ConsoleHistory` object will go from REQUESTED to GETTING-HISTORY and then SUCCEEDED (or FAILED). 3. Use `GetConsoleHistoryContent` to get the actual console history data (not the metadata). 4. Optionally, use `DeleteConsoleHistory` to delete the console history metadata and the console history data. :param oci.core.models.CaptureConsoleHistoryDetails capture_console_history_details: (required) Console history details :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ConsoleHistory` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use capture_console_history API. /instanceConsoleHistoriesr*capture_console_historyzXhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ConsoleHistory/CaptureConsoleHistoryrqcsg|]}|vr|qSr&r&r0r2r&r'r3r4z9ComputeClient.capture_console_history..z,capture_console_history got unknown kwargs: r=r/rrcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4z9ComputeClient.capture_console_history..rrEConsoleHistoryrrtNru) r$Zcapture_console_history_detailsr%rMrGrHrKrLr_rJrr&r2r'r}js`2      z%ComputeClient.capture_console_historyc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a6 Moves a compute capacity reservation into a different compartment. For information about moving resources between compartments, see `Moving Resources to a Different Compartment`__. __ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes :param str capacity_reservation_id: (required) The OCID of the compute capacity reservation. :param oci.core.models.ChangeComputeCapacityReservationCompartmentDetails change_compute_capacity_reservation_compartment_details: (required) The configuration details for the move operation. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_compute_capacity_reservation_compartment API. capacityReservationIdzN/computeCapacityReservations/{capacityReservationId}/actions/changeCompartmentr*/change_compute_capacity_reservation_compartmentzzhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCapacityReservation/ChangeComputeCapacityReservationCompartmentrrr.r-r/csg|]}|vr|qSr&r&r0r2r&r'r3r4zQComputeClient.change_compute_capacity_reservation_compartment..zDchange_compute_capacity_reservation_compartment got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4zQComputeClient.change_compute_capacity_reservation_compartment..Nrr;r<r=r.r-r/r?r@rBrArCcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:+r4rrEr rGrHrIrJrjrrKrLrMrN)r$capacity_reservation_idZ7change_compute_capacity_reservation_compartment_detailsr%rMrGrHrKrLr_rIr8r9rJrr&r2r'rsp2$       z=ComputeClient.change_compute_capacity_reservation_compartmentc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|d urt j}|rpt|t jsH|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)aH Moves a compute capacity topology into a different compartment. For information about moving resources between compartments, see `Moving Resources to a Different Compartment`__. __ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes :param str compute_capacity_topology_id: (required) The `OCID`__ of the compute capacity topology. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param oci.core.models.ChangeComputeCapacityTopologyCompartmentDetails change_compute_capacity_topology_compartment_details: (required) The configuration details for the move operation. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_compute_capacity_topology_compartment API. computeCapacityTopologyIdzP/computeCapacityTopologies/{computeCapacityTopologyId}/actions/changeCompartmentr*,change_compute_capacity_topology_compartmentzthttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCapacityTopology/ChangeComputeCapacityTopologyCompartmentrcsg|]}|vr|qSr&r&r0r2r&r'r3r4zNComputeClient.change_compute_capacity_topology_compartment..zAchange_compute_capacity_topology_compartment got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4zNComputeClient.change_compute_capacity_topology_compartment..Nrr;r<r=r.r-r/rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4rrErrrrOrPrQrRrSrTrUr!r6r"rVrrDEFAULT_RETRY_STRATEGYrWrXrYrZr r[r\)r$compute_capacity_topology_idZ4change_compute_capacity_topology_compartment_detailsr%rMrGrHrKrLr_rIr8r9rJrr&r2r'rNst3$        z:ComputeClient.change_compute_capacity_topology_compartmentc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Moves a compute cluster into a different compartment within the same tenancy. A `compute cluster`__ is a remote direct memory access (RDMA) network group. For information about moving resources between compartments, see `Moving Resources to a Different Compartment`__. __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm __ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes :param str compute_cluster_id: (required) The `OCID`__ of the compute cluster. A `compute cluster`__ is a remote direct memory access (RDMA) network group. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm :param oci.core.models.ChangeComputeClusterCompartmentDetails change_compute_cluster_compartment_details: (required) The request to move the compute cluster to a different compartment. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_compute_cluster_compartment API. computeClusterIdz=/computeClusters/{computeClusterId}/actions/changeCompartmentr*"change_compute_cluster_compartmentzbhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCluster/ChangeComputeClusterCompartmentrcsg|]}|vr|qSr&r&r0r2r&r'r3r4zDComputeClient.change_compute_cluster_compartment..z7change_compute_cluster_compartment got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4zDComputeClient.change_compute_cluster_compartment..Nrr;r<r=r.r-r/rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:(r4rrErrrN)r$compute_cluster_idZ*change_compute_cluster_compartment_detailsr%rMrGrHrKrLr_rIr8r9rJrr&r2r'rsp:$       z0ComputeClient.change_compute_cluster_compartmentc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|d urt j}|rpt|t jsH|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)aQ Moves a compute image capability schema into a different compartment within the same tenancy. For information about moving resources between compartments, see `Moving Resources to a Different Compartment`__. __ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes :param str compute_image_capability_schema_id: (required) The id of the compute image capability schema or the image ocid :param oci.core.models.ChangeComputeImageCapabilitySchemaCompartmentDetails change_compute_image_capability_schema_compartment_details: (required) Compute Image Capability Schema change compartment details :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_compute_image_capability_schema_compartment API. computeImageCapabilitySchemaIdzY/computeImageCapabilitySchemas/{computeImageCapabilitySchemaId}/actions/changeCompartmentr*2change_compute_image_capability_schema_compartmentz~https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeImageCapabilitySchema/ChangeComputeImageCapabilitySchemaCompartmentrcsg|]}|vr|qSr&r&r0r2r&r'r3r4zTComputeClient.change_compute_image_capability_schema_compartment..zGchange_compute_image_capability_schema_compartment got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4zTComputeClient.change_compute_image_capability_schema_compartment..Nrr;r<r=r.r-r/rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4rrErrr)r$"compute_image_capability_schema_idZ:change_compute_image_capability_schema_compartment_detailsr%rMrGrHrKrLr_rIr8r9rJrr&r2r'rKst2$        z@ComputeClient.change_compute_image_capability_schema_compartmentc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a9 Moves a dedicated virtual machine host from one compartment to another. :param str dedicated_vm_host_id: (required) The OCID of the dedicated VM host. :param oci.core.models.ChangeDedicatedVmHostCompartmentDetails change_dedicated_vm_host_compartment_details: (required) The request to move the dedicated virtual machine host to a different compartment. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_dedicated_vm_host_compartment API. dedicatedVmHostIdz?/dedicatedVmHosts/{dedicatedVmHostId}/actions/changeCompartmentr*$change_dedicated_vm_host_compartmentzdhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/DedicatedVmHost/ChangeDedicatedVmHostCompartmentrcsg|]}|vr|qSr&r&r0r2r&r'r3r4zFComputeClient.change_dedicated_vm_host_compartment..z9change_dedicated_vm_host_compartment got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r: r4zFComputeClient.change_dedicated_vm_host_compartment..Nrr;r<r=r.r-r/rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4rrErrrN)r$dedicated_vm_host_idZ,change_dedicated_vm_host_compartment_detailsr%rMrGrHrKrLr_rIr8r9rJrr&r2r'rsp.$       z2ComputeClient.change_dedicated_vm_host_compartmentc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|d urt j}|rpt|t jsH|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Moves an image into a different compartment within the same tenancy. For information about moving resources between compartments, see `Moving Resources to a Different Compartment`__. __ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes :param str image_id: (required) The `OCID`__ of the image. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param oci.core.models.ChangeImageCompartmentDetails change_image_compartment_details: (required) Request to change the compartment of a given image. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_image_compartment API. r`z+/images/{imageId}/actions/changeCompartmentr*change_image_compartmentzPhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/Image/ChangeImageCompartmentrcsg|]}|vr|qSr&r&r0r2r&r'r3}r4z:ComputeClient.change_image_compartment..z-change_image_compartment got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4z:ComputeClient.change_image_compartment..Nrr;r<r=r.r-r/rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4rrErrr)r$rnZ change_image_compartment_detailsr%rMrGrHrKrLr_rIr8r9rJrr&r2r'r;st4$        z&ComputeClient.change_image_compartmentc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Moves an instance into a different compartment within the same tenancy. For information about moving resources between compartments, see `Moving Resources to a Different Compartment`__. When you move an instance to a different compartment, associated resources such as boot volumes and VNICs are not moved. __ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes :param str instance_id: (required) The `OCID`__ of the instance. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param oci.core.models.ChangeInstanceCompartmentDetails change_instance_compartment_details: (required) Request to change the compartment of a given instance. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_instance_compartment API. r)z1/instances/{instanceId}/actions/changeCompartmentr*change_instance_compartmentzVhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/Instance/ChangeInstanceCompartmentrcsg|]}|vr|qSr&r&r0r2r&r'r3r4z=ComputeClient.change_instance_compartment..z0change_instance_compartment got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4z=ComputeClient.change_instance_compartment..Nrr;r<r=r.r-r/rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4rrErrrN)r$r^Z#change_instance_compartment_detailsr%rMrGrHrKrLr_rIr8r9rJrr&r2r'rsp7$       z)ComputeClient.change_instance_compartmentc sg}d}d}d}d}gdfddt|D}|rFtd|d d |d td } d d t| D} |jj|d|jd} | durt j } | rt | t j s|j | |j| | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)a Create a subscription for listing resource version for a compartment. It will take some time to propagate to all regions. :param oci.core.models.CreateAppCatalogSubscriptionDetails create_app_catalog_subscription_details: (required) Request for the creation of a subscription for listing resource version for a compartment. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.AppCatalogSubscription` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_app_catalog_subscription API. /appCatalogSubscriptionsr*create_app_catalog_subscriptionzghttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/AppCatalogSubscription/CreateAppCatalogSubscriptionrqcsg|]}|vr|qSr&r&r0r2r&r'r3dr4zAComputeClient.create_app_catalog_subscription..z4create_app_catalog_subscription got unknown kwargs: r=r/rrcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:nr4zAComputeClient.create_app_catalog_subscription..rrENZAppCatalogSubscriptionrrtrrOrPr!r6rQr"rVrrrrRrWrXrYrZr r[r\) r$Z'create_app_catalog_subscription_detailsr%rMrGrHrKrLr_rJrr&r2r'r6sd"      z-ComputeClient.create_app_catalog_subscriptionc s"g}d}d}d}d}gdfddt|D}|rFtd|d d |d t|d td } d dt| D} |jj|d|jd} | durt j } | rt | t j s|j | |j| | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)ah Generates a report of the host capacity within an availability domain that is available for you to create compute instances. Host capacity is the physical infrastructure that resources such as compute instances run on. Use the capacity report to determine whether sufficient capacity is available for a shape before you create an instance or change the shape of an instance. :param oci.core.models.CreateComputeCapacityReportDetails create_compute_capacity_report_details: (required) Details for creating a new compute capacity report. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeCapacityReport` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_compute_capacity_report API. z/computeCapacityReportsr*create_compute_capacity_reportzehttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCapacityReport/CreateComputeCapacityReportrrr-r/csg|]}|vr|qSr&r&r0r2r&r'r3r4z@ComputeClient.create_compute_capacity_report..z3create_compute_capacity_report got unknown kwargs: r=r-r/r?r@rArCcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4z@ComputeClient.create_compute_capacity_report..rrENZComputeCapacityReportrrtr) r$Z&create_compute_capacity_report_detailsr%rMrGrHrKrLr_rJrr&r2r'rsf+       z,ComputeClient.create_compute_capacity_reportc sg}d}d}d}d}gdfddt|D}|rFtd|d d |d t|d td } d dt| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)a Creates a new compute capacity reservation in the specified compartment and availability domain. Compute capacity reservations let you reserve instances in a compartment. When you launch an instance using this reservation, you are assured that you have enough space for your instance, and you won't get out of capacity errors. For more information, see `Reserved Capacity`__. __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm :param oci.core.models.CreateComputeCapacityReservationDetails create_compute_capacity_reservation_details: (required) Details for creating a new compute capacity reservation. **Caution:** Avoid using any confidential information when you use the API to supply string values. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeCapacityReservation` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_compute_capacity_reservation API. /computeCapacityReservationsr*#create_compute_capacity_reservationrcsg|]}|vr|qSr&r&r0r2r&r'r36r4zEComputeClient.create_compute_capacity_reservation..z8create_compute_capacity_reservation got unknown kwargs: r=r-r/rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:Ar4zEComputeClient.create_compute_capacity_reservation..rrEComputeCapacityReservationrrtNru) r$Z+create_compute_capacity_reservation_detailsr%rMrGrHrKrLr_rJrr&r2r'rsb.       z1ComputeClient.create_compute_capacity_reservationc s"g}d}d}d}d}gdfddt|D}|rFtd|d d |d t|d td } d dt| D} |jj|d|jd} | durt j } | rt | t j s|j | |j| | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)aU Creates a new compute capacity topology in the specified compartment and availability domain. Compute capacity topologies provide the RDMA network topology of your bare metal hosts so that you can launch instances on your bare metal hosts with targeted network locations. Compute capacity topologies report the health status of your bare metal hosts. :param oci.core.models.CreateComputeCapacityTopologyDetails create_compute_capacity_topology_details: (required) Details for creating a new compute capacity topology. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeCapacityTopology` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_compute_capacity_topology API. /computeCapacityTopologiesr* create_compute_capacity_topologyrrcsg|]}|vr|qSr&r&r0r2r&r'r3r4zBComputeClient.create_compute_capacity_topology..z5create_compute_capacity_topology got unknown kwargs: r=r-r/rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4zBComputeClient.create_compute_capacity_topology..rrENComputeCapacityTopologyrrtr) r$Z(create_compute_capacity_topology_detailsr%rMrGrHrKrLr_rJrr&r2r'rdsf+       z.ComputeClient.create_compute_capacity_topologyc sg}d}d}d}d}gdfddt|D}|rFtd|d d |d t|d td } d dt| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)a< Creates an empty `compute cluster`__. A compute cluster is a remote direct memory access (RDMA) network group. After the compute cluster is created, you can use the compute cluster's OCID with the :func:`launch_instance` operation to create instances in the compute cluster. The instances must be created in the same compartment and availability domain as the cluster. Use compute clusters when you want to manage instances in the cluster individually in the RDMA network group. If you want predictable capacity for a specific number of identical instances that are managed as a group, create a cluster network that uses instance pools by using the :func:`create_cluster_network` operation. __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm :param oci.core.models.CreateComputeClusterDetails create_compute_cluster_details: (required) The data for creating a `compute cluster`__. A compute cluster is an empty remote direct memory access (RDMA) network group. After the compute cluster is created, you can use the compute cluster's OCID with the :func:`launch_instance` operation to create instances in the compute cluster. The instances must be created in the same compartment and availability domain as the cluster. Use compute clusters when you want to manage instances in the cluster individually in the RDMA network group. For details about creating a cluster network that uses instance pools to manage groups of identical instances, see :func:`create_cluster_network_details`. __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeCluster` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_compute_cluster API. /computeClustersr*create_compute_clusterzWhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCluster/CreateComputeCluster)rrr/r-csg|]}|vr|qSr&r&r0r2r&r'r3r4z8ComputeClient.create_compute_cluster..z+create_compute_cluster got unknown kwargs: r=r/r-)r?r@rCrAcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:#r4z8ComputeClient.create_compute_cluster..rrEComputeClusterrrtNru) r$Zcreate_compute_cluster_detailsr%rMrGrHrKrLr_rJrr&r2r'rsb?       z$ComputeClient.create_compute_clusterc sg}d}d}d}d}gdfddt|D}|rFtd|d d |d td } d d t| D} |jj|d|jd} | durt j } | rt | t j s|j | |j| | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)aY Creates compute image capability schema. :param oci.core.models.CreateComputeImageCapabilitySchemaDetails create_compute_image_capability_schema_details: (required) Compute Image Capability Schema creation details :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeImageCapabilitySchema` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_compute_image_capability_schema API. /computeImageCapabilitySchemasr*&create_compute_image_capability_schemazshttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeImageCapabilitySchema/CreateComputeImageCapabilitySchemarqcsg|]}|vr|qSr&r&r0r2r&r'r3tr4zHComputeClient.create_compute_image_capability_schema..z;create_compute_image_capability_schema got unknown kwargs: r=r/rrcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:~r4zHComputeClient.create_compute_image_capability_schema..rrENComputeImageCapabilitySchemarrtr) r$Z.create_compute_image_capability_schema_detailsr%rMrGrHrKrLr_rJrr&r2r'rFsd"      z4ComputeClient.create_compute_image_capability_schemac sg}d}d}d}d}gdfddt|D}|rFtd|d d |d t|d td } d dt| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)a Creates a new dedicated virtual machine host in the specified compartment and the specified availability domain. Dedicated virtual machine hosts enable you to run your Compute virtual machine (VM) instances on dedicated servers that are a single tenant and not shared with other customers. For more information, see `Dedicated Virtual Machine Hosts`__. __ https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/dedicatedvmhosts.htm :param oci.core.models.CreateDedicatedVmHostDetails create_dedicated_vm_host_details: (required) The details for creating a new dedicated virtual machine host. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.DedicatedVmHost` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_dedicated_vm_host API. /dedicatedVmHostsr*create_dedicated_vm_hostzYhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/DedicatedVmHost/CreateDedicatedVmHostrcsg|]}|vr|qSr&r&r0r2r&r'r3r4z:ComputeClient.create_dedicated_vm_host..z-create_dedicated_vm_host got unknown kwargs: r=r-r/rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4z:ComputeClient.create_dedicated_vm_host..rrEDedicatedVmHostrrtNru) r$Z create_dedicated_vm_host_detailsr%rMrGrHrKrLr_rJrr&r2r'rsb+       z&ComputeClient.create_dedicated_vm_hostc sg}d}d}d}d}gdfddt|D}|rFtd|d d |d td } d d t| D} |jj|d|jd} | durt j } | rt | t j s|j | |j| | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)a9 Creates a boot disk image for the specified instance or imports an exported image from the Oracle Cloud Infrastructure Object Storage service. When creating a new image, you must provide the OCID of the instance you want to use as the basis for the image, and the OCID of the compartment containing that instance. For more information about images, see `Managing Custom Images`__. When importing an exported image from Object Storage, you specify the source information in :func:`image_source_details`. When importing an image based on the namespace, bucket name, and object name, use :func:`image_source_via_object_storage_tuple_details`. When importing an image based on the Object Storage URL, use :func:`image_source_via_object_storage_uri_details`. See `Object Storage URLs`__ and `Using Pre-Authenticated Requests`__ for constructing URLs for image import/export. For more information about importing exported images, see `Image Import/Export`__. You may optionally specify a *display name* for the image, which is simply a friendly name or description. It does not have to be unique, and you can change it. See :func:`update_image`. Avoid entering confidential information. __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingcustomimages.htm __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm#URLs __ https://docs.cloud.oracle.com/iaas/Content/Object/Tasks/usingpreauthenticatedrequests.htm __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm :param oci.core.models.CreateImageDetails create_image_details: (required) Image creation details :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.Image` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_image API. /imagesr* create_imagezEhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/Image/CreateImagerqcsg|]}|vr|qSr&r&r0r2r&r'r3R r4z.ComputeClient.create_image..z!create_image got unknown kwargs: r=r/rrcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:\ r4z.ComputeClient.create_image..rrENImagerrtr) r$Zcreate_image_detailsr%rMrGrHrKrLr_rJrr&r2r'r sd=      zComputeClient.create_imagec s g}d}d}d}d}gdfddt|D}|rFtd|d d |d td } d d t| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)a Creates a new console connection to the specified instance. After the console connection has been created and is available, you connect to the console using SSH. For more information about instance console connections, see `Troubleshooting Instances Using Instance Console Connections`__. __ https://docs.cloud.oracle.com/iaas/Content/Compute/References/serialconsole.htm :param oci.core.models.CreateInstanceConsoleConnectionDetails create_instance_console_connection_details: (required) Request object for creating an InstanceConsoleConnection :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.InstanceConsoleConnection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_instance_console_connection API. /instanceConsoleConnectionsr*"create_instance_console_connectionzmhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConsoleConnection/CreateInstanceConsoleConnectionrqcsg|]}|vr|qSr&r&r0r2r&r'r3 r4zDComputeClient.create_instance_console_connection..z7create_instance_console_connection got unknown kwargs: r=r/rrcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r: r4zDComputeClient.create_instance_console_connection..rrEInstanceConsoleConnectionrrtNru) r$Z*create_instance_console_connection_detailsr%rMrGrHrKrLr_rJrr&r2r'r s`(      z0ComputeClient.create_instance_console_connectionc sgd}d}d}d}d} dgfddt|D} | rHtd | |||d} d d t| D} d d d } |jj|d|jd} | rt| t j s|j | | |j | j|jj||| | |d|| |d S|jj||| | |d|| |dSdS)a Delete a subscription for a listing resource version for a compartment. :param str listing_id: (required) The OCID of the listing. :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str resource_version: (required) Listing Resource Version. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_app_catalog_subscription API. ) listingId compartmentIdresourceVersionrDELETEdelete_app_catalog_subscriptionrrcsg|]}|vr|qSr&r&r0r2r&r'r3 r4zAComputeClient.delete_app_catalog_subscription..z4delete_app_catalog_subscription got unknown kwargs: cSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r: r4zAComputeClient.delete_app_catalog_subscription..r=rgrEr)rGrH query_paramsrJrrKrLrMN)rrOrPrQr"rVr!rrRrrWrYrZr r[r\)r$ listing_idcompartment_idresource_versionr%rMrGrHrKrLr_rrJrr&r2r'r s`#    z-ComputeClient.delete_app_catalog_subscriptionc sndg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d} | rHt| t js"|j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a` Deletes the specified compute capacity reservation. :param str capacity_reservation_id: (required) The OCID of the compute capacity reservation. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_compute_capacity_reservation API. r4/computeCapacityReservations/{capacityReservationId}r#delete_compute_capacity_reservationzohttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCapacityReservation/DeleteComputeCapacityReservationrrr-r.csg|]}|vr|qSr&r&r0r2r&r'r3l r4zEComputeClient.delete_compute_capacity_reservation..z8delete_compute_capacity_reservation got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:u r4zEComputeClient.delete_compute_capacity_reservation..Nrr;r<r=r-r.r?r@rArBcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r: r4rrErrFrrOrPrQrRrSrTrUr!r6r"rVrrrWrYrZr r[r\r$rr%rMrGrHrKrLr_rIr8r9rJrr&r2r'r; sh$$     z1ComputeClient.delete_compute_capacity_reservationc s~dg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d} | d urt j} | rXt| t js2|j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a Deletes the specified compute capacity topology. :param str compute_capacity_topology_id: (required) The `OCID`__ of the compute capacity topology. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_compute_capacity_topology API. r6/computeCapacityTopologies/{computeCapacityTopologyId}r delete_compute_capacity_topologyzihttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCapacityTopology/DeleteComputeCapacityTopologyrrr.r-csg|]}|vr|qSr&r&r0r2r&r'r3 r4zBComputeClient.delete_compute_capacity_topology..z5delete_compute_capacity_topology got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r: r4zBComputeClient.delete_compute_capacity_topology..Nrr;r<r=r.r-r?r@rBrAcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r: r4rrErrFrrOrPrQrRrSrTrUr!r6r"rVrrrrWrYrZr r[r\r$rr%rMrGrHrKrLr_rIr8r9rJrr&r2r'r sl&$      z.ComputeClient.delete_compute_capacity_topologyc sndg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d} | rHt| t js"|j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a Deletes a compute cluster. A `compute cluster`__ is a remote direct memory access (RDMA) network group. Before you delete a compute cluster, first delete all instances in the cluster by using the :func:`terminate_instance` operation. __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm :param str compute_cluster_id: (required) The `OCID`__ of the compute cluster. A `compute cluster`__ is a remote direct memory access (RDMA) network group. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_compute_cluster API. r#/computeClusters/{computeClusterId}rdelete_compute_clusterzWhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCluster/DeleteComputeClusterrcsg|]}|vr|qSr&r&r0r2r&r'r3G r4z8ComputeClient.delete_compute_cluster..z+delete_compute_cluster got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:P r4z8ComputeClient.delete_compute_cluster..Nrr;r<r=r-r.rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:\ r4rrErrFrr$rr%rMrGrHrKrLr_rIr8r9rJrr&r2r'r sh/$     z$ComputeClient.delete_compute_clusterc sddg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r>t| t js|j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a Deletes the specified Compute Image Capability Schema :param str compute_image_capability_schema_id: (required) The id of the compute image capability schema or the image ocid :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_compute_image_capability_schema API. r?/computeImageCapabilitySchemas/{computeImageCapabilitySchemaId}r&delete_compute_image_capability_schemazshttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeImageCapabilitySchema/DeleteComputeImageCapabilitySchemarrr.csg|]}|vr|qSr&r&r0r2r&r'r3 r4zHComputeClient.delete_compute_image_capability_schema..z;delete_compute_image_capability_schema got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r: r4zHComputeClient.delete_compute_image_capability_schema..Nrr;r<r=r.r?r@rBcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r: r4rrErrFr)r$rr%rMrGrHrKrLr_rIr8r9rJrr&r2r'r| sf $    z4ComputeClient.delete_compute_image_capability_schemac sddg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r>t| t js|j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a Deletes the specified console history metadata and the console history data. :param str instance_console_history_id: (required) The OCID of the console history. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_console_history API. instanceConsoleHistoryId4/instanceConsoleHistories/{instanceConsoleHistoryId}rdelete_console_historyzWhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ConsoleHistory/DeleteConsoleHistoryrcsg|]}|vr|qSr&r&r0r2r&r'r3 r4z8ComputeClient.delete_console_history..z+delete_console_history got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r: r4z8ComputeClient.delete_console_history..Nrr;r<r=r.rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r: r4rrErrFrr$instance_console_history_idr%rMrGrHrKrLr_rIr8r9rJrr&r2r'r sf $    z$ComputeClient.delete_console_historyc sddg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r>t| t js|j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)an Deletes the specified dedicated virtual machine host. If any VM instances are assigned to the dedicated virtual machine host, the delete operation will fail and the service will return a 409 response code. :param str dedicated_vm_host_id: (required) The OCID of the dedicated VM host. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_dedicated_vm_host API. r%/dedicatedVmHosts/{dedicatedVmHostId}rdelete_dedicated_vm_hostzYhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/DedicatedVmHost/DeleteDedicatedVmHostrrr-csg|]}|vr|qSr&r&r0r2r&r'r3j r4z:ComputeClient.delete_dedicated_vm_host..z-delete_dedicated_vm_host got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:s r4z:ComputeClient.delete_dedicated_vm_host..Nrr;r<r=r-r?r@rAcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:~ r4rrErrFrr$rr%rMrGrHrKrLr_rIr8r9rJrr&r2r'r< sf"$    z&ComputeClient.delete_dedicated_vm_hostc sddg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r>t| t js|j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a Deletes an image. :param str image_id: (required) The `OCID`__ of the image. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_image API. r`/images/{imageId}r delete_imagerrcsg|]}|vr|qSr&r&r0r2r&r'r3 r4z.ComputeClient.delete_image..z!delete_image got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r: r4z.ComputeClient.delete_image..Nrr;r<r=r.rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r: r4rrErrFrr$rnr%rMrGrHrKrLr_rIr8r9rJrr&r2r'r sf"$    zComputeClient.delete_imagec sddg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r>t| t js|j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a Deletes the specified instance console connection. :param str instance_console_connection_id: (required) The OCID of the instance console connection. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_instance_console_connection API. instanceConsoleConnectionId9/instanceConsoleConnections/{instanceConsoleConnectionId}r"delete_instance_console_connectionzmhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConsoleConnection/DeleteInstanceConsoleConnectionrcsg|]}|vr|qSr&r&r0r2r&r'r3, r4zDComputeClient.delete_instance_console_connection..z7delete_instance_console_connection got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:5 r4zDComputeClient.delete_instance_console_connection..Nrr;r<r=r.rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:@ r4rrErrFrr$instance_console_connection_idr%rMrGrHrKrLr_rIr8r9rJrr&r2r'r sf $    z0ComputeClient.delete_instance_console_connectionc sddg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r>t| t js|j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)aL Detaches a boot volume from an instance. You must specify the OCID of the boot volume attachment. This is an asynchronous operation. The attachment's `lifecycleState` will change to DETACHING temporarily until the attachment is completely removed. :param str boot_volume_attachment_id: (required) The OCID of the boot volume attachment. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use detach_boot_volume API. bootVolumeAttachmentId//bootVolumeAttachments/{bootVolumeAttachmentId}rdetach_boot_volumerrcsg|]}|vr|qSr&r&r0r2r&r'r3 r4z4ComputeClient.detach_boot_volume..z'detach_boot_volume got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r: r4z4ComputeClient.detach_boot_volume..Nrr;r<r=r.rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r: r4rrErrFrr$Zboot_volume_attachment_idr%rMrGrHrKrLr_rIr8r9rJrr&r2r'r` sf#$    z ComputeClient.detach_boot_volumec sddg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r>t| t js|j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)af Detaches and deletes the specified secondary VNIC. This operation cannot be used on the instance's primary VNIC. When you terminate an instance, all attached VNICs (primary and secondary) are automatically detached and deleted. **Important:** If the VNIC has a :class:`PrivateIp` that is the `target of a route rule`__, deleting the VNIC causes that route rule to blackhole and the traffic will be dropped. __ https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip :param str vnic_attachment_id: (required) The OCID of the VNIC attachment. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use detach_vnic API. vnicAttachmentId#/vnicAttachments/{vnicAttachmentId}r detach_vniczMhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VnicAttachment/DetachVnicrcsg|]}|vr|qSr&r&r0r2r&r'r3 r4z-ComputeClient.detach_vnic..z detach_vnic got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4z-ComputeClient.detach_vnic..Nrr;r<r=r.rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4rrErrFrr$Zvnic_attachment_idr%rMrGrHrKrLr_rIr8r9rJrr&r2r'r sf+$    zComputeClient.detach_vnicc sddg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r>t| t js|j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a6 Detaches a storage volume from an instance. You must specify the OCID of the volume attachment. This is an asynchronous operation. The attachment's `lifecycleState` will change to DETACHING temporarily until the attachment is completely removed. :param str volume_attachment_id: (required) The OCID of the volume attachment. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use detach_volume API. volumeAttachmentId'/volumeAttachments/{volumeAttachmentId}r detach_volumezQhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeAttachment/DetachVolumercsg|]}|vr|qSr&r&r0r2r&r'r3]r4z/ComputeClient.detach_volume..z"detach_volume got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:fr4z/ComputeClient.detach_volume..Nrr;r<r=r.rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:qr4rrErrFrr$volume_attachment_idr%rMrGrHrKrLr_rIr8r9rJrr&r2r'r.sf#$    zComputeClient.detach_volumec sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|d urt j}|rht|t js>|j | |j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)a Exports the specified image to the Oracle Cloud Infrastructure Object Storage service. You can use the Object Storage URL, or the namespace, bucket name, and object name when specifying the location to export to. For more information about exporting images, see `Image Import/Export`__. To perform an image export, you need write access to the Object Storage bucket for the image, see `Let Users Write Objects to Object Storage Buckets`__. See `Object Storage URLs`__ and `Using Pre-Authenticated Requests`__ for constructing URLs for image import/export. __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm __ https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/commonpolicies.htm#Let4 __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm#URLs __ https://docs.cloud.oracle.com/iaas/Content/Object/Tasks/usingpreauthenticatedrequests.htm :param str image_id: (required) The `OCID`__ of the image. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param oci.core.models.ExportImageDetails export_image_details: (required) Details for the image export. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.Image` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use export_image API. r`z /images/{imageId}/actions/exportr* export_imagezEhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/Image/ExportImagerrr/r.csg|]}|vr|qSr&r&r0r2r&r'r3r4z.ComputeClient.export_image..z!export_image got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4z.ComputeClient.export_image..Nrr;r<r=r/r.r?r@rCrBcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4rrErrrir)r$rnZexport_image_detailsr%rMrGrHrKrLr_rIr8r9rJrr&r2r'rsv:$       zComputeClient.export_imagec sVdg}d}d}d}d}dgfddt|D}|rFtd |d|i} d d t| D} t| D]<\} } | d ust| tjrlt| d krltd| dqlddd} |jj | d|j d} | d urt j } | r.t| t js|j| | |j| j|jj||| | d| d|||d S|jj||| | d| d|||d Sd S)a Gets the specified listing. :param str listing_id: (required) The OCID of the listing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.AppCatalogListing` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_app_catalog_listing API. rz/appCatalogListings/{listingId}GETget_app_catalog_listingzZhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/AppCatalogListing/GetAppCatalogListingrcsg|]}|vr|qSr&r&r0r2r&r'r36r4z9ComputeClient.get_app_catalog_listing..z,get_app_catalog_listing got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:?r4z9ComputeClient.get_app_catalog_listing..Nrr;r<r=rgrEZAppCatalogListingr rGrHrIrJrkrrKrLrMrrOrPrQrRrSrTrUr"rVr!rrrrWrYrZr r[r\)r$rr%rMrGrHrKrLr_rIr8r9rJrr&r2r'rsj$   z%ComputeClient.get_app_catalog_listingc sZddg}d}d}d}d}dgfdd t|D} | rHtd | ||d } d d t| D} t| D]<\} } | dust| tjrpt| dkrptd| dqpddd} |jj | d|j d}|durt j }|r2t|t js |j| ||j|j|jj||| | d| d|||d S|jj||| | d| d|||d SdS)as Retrieves the agreements for a particular resource version of a listing. :param str listing_id: (required) The OCID of the listing. :param str resource_version: (required) Listing Resource Version. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.AppCatalogListingResourceVersionAgreements` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_app_catalog_listing_agreements API. rrzM/appCatalogListings/{listingId}/resourceVersions/{resourceVersion}/agreementsr"get_app_catalog_listing_agreementsz}https://docs.oracle.com/iaas/api/#/en/iaas/20160918/AppCatalogListingResourceVersionAgreements/GetAppCatalogListingAgreementsrcsg|]}|vr|qSr&r&r0r2r&r'r3r4zDComputeClient.get_app_catalog_listing_agreements..z7get_app_catalog_listing_agreements got unknown kwargs: rrcSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4zDComputeClient.get_app_catalog_listing_agreements..Nrr;r<r=rgrEZ*AppCatalogListingResourceVersionAgreementsrrrr$rrr%rMrGrHrKrLr_rIr8r9rJrr&r2r'rlsl$   z0ComputeClient.get_app_catalog_listing_agreementsc sZddg}d}d}d}d}dgfdd t|D} | rHtd | ||d } d d t| D} t| D]<\} } | dust| tjrpt| dkrptd| dqpddd} |jj | d|j d}|durt j }|r2t|t js |j| ||j|j|jj||| | d| d|||d S|jj||| | d| d|||d SdS)aY Gets the specified listing resource version. :param str listing_id: (required) The OCID of the listing. :param str resource_version: (required) Listing Resource Version. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.AppCatalogListingResourceVersion` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_app_catalog_listing_resource_version API. rrzB/appCatalogListings/{listingId}/resourceVersions/{resourceVersion}r(get_app_catalog_listing_resource_versionzxhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/AppCatalogListingResourceVersion/GetAppCatalogListingResourceVersionrcsg|]}|vr|qSr&r&r0r2r&r'r3r4zJComputeClient.get_app_catalog_listing_resource_version..z=get_app_catalog_listing_resource_version got unknown kwargs: rcSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4zJComputeClient.get_app_catalog_listing_resource_version..Nrr;r<r=rgrEZ AppCatalogListingResourceVersionrrrrr&r2r'rsl$   z6ComputeClient.get_app_catalog_listing_resource_versionc sFdg}d}d}d}d}dgfddt|D}|rFtd |d|i} d d t| D} t| D]<\} } | d ust| tjrlt| d krltd| dqlddd} |jj | d|j d} | rt| t j s|j| | |j| j|jj||| | d| d|||d S|jj||| | d| d|||d Sd S)aA Gets information about the specified boot volume attachment. :param str boot_volume_attachment_id: (required) The OCID of the boot volume attachment. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.BootVolumeAttachment` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_boot_volume_attachment API. rrrget_boot_volume_attachmentz`https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeAttachment/GetBootVolumeAttachmentrcsg|]}|vr|qSr&r&r0r2r&r'r3Fr4z.z/get_boot_volume_attachment got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:Or4z.Nrr;r<r=rgrErsrrrlrr&r2r'r$sf$    z(ComputeClient.get_boot_volume_attachmentc shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)a  Gets information about the specified compute capacity reservation. :param str capacity_reservation_id: (required) The OCID of the compute capacity reservation. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeCapacityReservation` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_compute_capacity_reservation API. rrr get_compute_capacity_reservationzlhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCapacityReservation/GetComputeCapacityReservationrcsg|]}|vr|qSr&r&r0r2r&r'r3r4zBComputeClient.get_compute_capacity_reservation..z5get_compute_capacity_reservation got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4zBComputeClient.get_compute_capacity_reservation..Nrr;r<r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4rrErrrrrr&r2r'rzsj$    z.ComputeClient.get_compute_capacity_reservationc svdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | d urt j} | rNt| t js&|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)a= Gets information about the specified compute capacity topology. :param str compute_capacity_topology_id: (required) The `OCID`__ of the compute capacity topology. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeCapacityTopology` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_compute_capacity_topology API. rrrget_compute_capacity_topologyzfhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCapacityTopology/GetComputeCapacityTopologyrcsg|]}|vr|qSr&r&r0r2r&r'r3r4z?ComputeClient.get_compute_capacity_topology..z2get_compute_capacity_topology got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4z?ComputeClient.get_compute_capacity_topology..Nrr;r<r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4rrErrrrrr&r2r'rsn!$    z+ComputeClient.get_compute_capacity_topologyc shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)a Gets information about a compute cluster. A `compute cluster`__ is a remote direct memory access (RDMA) network group. __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm :param str compute_cluster_id: (required) The `OCID`__ of the compute cluster. A `compute cluster`__ is a remote direct memory access (RDMA) network group. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeCluster` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_compute_cluster API. rrrget_compute_clusterzThttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCluster/GetComputeClusterrcsg|]}|vr|qSr&r&r0r2r&r'r3sr4z5ComputeClient.get_compute_cluster..z(get_compute_cluster got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:|r4z5ComputeClient.get_compute_cluster..Nrr;r<r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4rrErrrrrr&r2r'r@sj'$    z!ComputeClient.get_compute_clusterc sVdg}d}d}d}d}dgfddt|D}|rFtd |d|i} d d t| D} t| D]<\} } | d ust| tjrlt| d krltd| dqlddd} |jj | d|j d} | d urt j } | r.t| t js|j| | |j| j|jj||| | d| d|||d S|jj||| | d| d|||d Sd S)a Gets the specified Compute Global Image Capability Schema :param str compute_global_image_capability_schema_id: (required) The `OCID`__ of the compute global image capability schema __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeGlobalImageCapabilitySchema` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_compute_global_image_capability_schema API. $computeGlobalImageCapabilitySchemaIdzK/computeGlobalImageCapabilitySchemas/{computeGlobalImageCapabilitySchemaId}r*get_compute_global_image_capability_schemaz|https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGlobalImageCapabilitySchema/GetComputeGlobalImageCapabilitySchemarcsg|]}|vr|qSr&r&r0r2r&r'r3r4zLComputeClient.get_compute_global_image_capability_schema..z?get_compute_global_image_capability_schema got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4zLComputeClient.get_compute_global_image_capability_schema..Nrr;r<r=rgrEZ"ComputeGlobalImageCapabilitySchemarrr)r$)compute_global_image_capability_schema_idr%rMrGrHrKrLr_rIr8r9rJrr&r2r'rsj$   z8ComputeClient.get_compute_global_image_capability_schemac sZddg}d}d}d}d}dgfdd t|D} | rHtd | ||d } d d t| D} t| D]<\} } | dust| tjrpt| dkrptd| dqpddd} |jj | d|j d}|durt j }|r2t|t js |j| ||j|j|jj||| | d| d|||d S|jj||| | d| d|||d SdS)ap Gets the specified Compute Global Image Capability Schema Version :param str compute_global_image_capability_schema_id: (required) The `OCID`__ of the compute global image capability schema __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str compute_global_image_capability_schema_version_name: (required) The name of the compute global image capability schema version :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeGlobalImageCapabilitySchemaVersion` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_compute_global_image_capability_schema_version API. r-computeGlobalImageCapabilitySchemaVersionNamez/computeGlobalImageCapabilitySchemas/{computeGlobalImageCapabilitySchemaId}/versions/{computeGlobalImageCapabilitySchemaVersionName}r2get_compute_global_image_capability_schema_versionzhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGlobalImageCapabilitySchemaVersion/GetComputeGlobalImageCapabilitySchemaVersionrcsg|]}|vr|qSr&r&r0r2r&r'r3*r4zTComputeClient.get_compute_global_image_capability_schema_version..zGget_compute_global_image_capability_schema_version got unknown kwargs: )rrcSsi|]\}}|tur||qSr&r5r7r&r&r'r:4r4zTComputeClient.get_compute_global_image_capability_schema_version..Nrr;r<r=rgrEZ)ComputeGlobalImageCapabilitySchemaVersionrrr)r$rZ3compute_global_image_capability_schema_version_namer%rMrGrHrKrLr_rIr8r9rJrr&r2r'rsl $   z@ComputeClient.get_compute_global_image_capability_schema_versionc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|dt i} dd t| D} ddd} |j j |d|j d}|d urt j}|rXt|t js.|j | ||j|j|j j||| | | d|d|||d S|j j||| | | d|d|||d Sd S)a Gets the specified Compute Image Capability Schema :param str compute_image_capability_schema_id: (required) The id of the compute image capability schema or the image ocid :param bool is_merge_enabled: (optional) Merge the image capability schema with the global image capability schema :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeImageCapabilitySchema` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_compute_image_capability_schema API. rrr#get_compute_image_capability_schemazphttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeImageCapabilitySchema/GetComputeImageCapabilitySchema)rris_merge_enabledcsg|]}|vr|qSr&r&r0r2r&r'r3r4zEComputeClient.get_compute_image_capability_schema..z8get_compute_image_capability_schema got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4zEComputeClient.get_compute_image_capability_schema..Nrr;r<ZisMergeEnabledrcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4r=rgrrErr rGrHrIrrJrkrrKrLrMr)r$rr%rMrGrHrKrLr_rIr8r9rrJrr&r2r'rast$     z1ComputeClient.get_compute_image_capability_schemac sFdg}d}d}d}d}dgfddt|D}|rFtd |d|i} d d t| D} t| D]<\} } | d ust| tjrlt| d krltd| dqlddd} |jj | d|j d} | rt| t j s|j| | |j| j|jj||| | d| d|||d S|jj||| | d| d|||d Sd S)a Shows the metadata for the specified console history. See :func:`capture_console_history` for details about using the console history operations. :param str instance_console_history_id: (required) The OCID of the console history. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ConsoleHistory` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_console_history API. rrrget_console_historyzThttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ConsoleHistory/GetConsoleHistoryrcsg|]}|vr|qSr&r&r0r2r&r'r3r4z5ComputeClient.get_console_history..z(get_console_history got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4z5ComputeClient.get_console_history..Nrr;r<r=rgrEr~rrrlrr&r2r'rsf$    z!ComputeClient.get_console_historyc s|dg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqn|dt |dt d} dd t| D} ddd} |j j |d|j d}|rRt|t js(|j | ||j|j|j j||| | | d|d|||d S|j j||| | | d|d|||d Sd S)a5 Gets the actual console history data (not the metadata). See :func:`capture_console_history` for details about using the console history operations. :param str instance_console_history_id: (required) The OCID of the console history. :param int offset: (optional) Offset of the snapshot data to retrieve. :param int length: (optional) Length of the snapshot data to retrieve. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type bytes :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_console_history_content API. rz9/instanceConsoleHistories/{instanceConsoleHistoryId}/datarget_console_history_contentz[https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ConsoleHistory/GetConsoleHistoryContent)rroffsetlengthcsg|]}|vr|qSr&r&r0r2r&r'r3Pr4z=ComputeClient.get_console_history_content..z0get_console_history_content got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:Yr4z=ComputeClient.get_console_history_content..Nrr;r<rr)rrcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:cr4r=rgrrEbytesrrr)r$rr%rMrGrHrKrLr_rIr8r9rrJrr&r2r'r sr#$     z)ComputeClient.get_console_history_contentc shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)a Gets information about the specified dedicated virtual machine host. :param str dedicated_vm_host_id: (required) The OCID of the dedicated VM host. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.DedicatedVmHost` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_dedicated_vm_host API. rrrget_dedicated_vm_hostzVhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/DedicatedVmHost/GetDedicatedVmHostrcsg|]}|vr|qSr&r&r0r2r&r'r3r4z7ComputeClient.get_dedicated_vm_host..z*get_dedicated_vm_host got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4z7ComputeClient.get_dedicated_vm_host..Nrr;r<r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4rrErrrrrr&r2r'rsj$    z#ComputeClient.get_dedicated_vm_hostc sVdg}d}d}d}d}dgfddt|D}|rFtd |d|i} d d t| D} t| D]<\} } | d ust| tjrlt| d krltd| dqlddd} |jj | d|j d} | d urt j } | r.t| t js|j| | |j| j|jj||| | d| d|||d S|jj||| | d| d|||d Sd S)a Gets the specified image. :param str image_id: (required) The `OCID`__ of the image. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.Image` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_image API. r`rr get_imagezBhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/Image/GetImagercsg|]}|vr|qSr&r&r0r2r&r'r3r4z+ComputeClient.get_image..zget_image got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4z+ComputeClient.get_image..Nrr;r<r=rgrErrrrrr&r2r'r sj$   zComputeClient.get_imagec szddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt d} dd t| D} |j j |d|j d}|durt j}|rRt|t js*|j | ||j|j|j j||| | d|d|||d S|j j||| | d|d|||d SdS)aW Retrieves an image shape compatibility entry. :param str image_id: (required) The `OCID`__ of the image. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str shape_name: (required) Shape name. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ImageShapeCompatibilityEntry` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_image_shape_compatibility_entry API. r`rarbr#get_image_shape_compatibility_entryzphttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ImageShapeCompatibilityEntry/GetImageShapeCompatibilityEntryrcsg|]}|vr|qSr&r&r0r2r&r'r3wr4zEComputeClient.get_image_shape_compatibility_entry..z8get_image_shape_compatibility_entry got unknown kwargs: rfcSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4zEComputeClient.get_image_shape_compatibility_entry..Nrr;r<r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4rrErhrrrrmr&r2r'r Gsp$$    z1ComputeClient.get_image_shape_compatibility_entryc sFdg}d}d}d}d}dgfddt|D}|rFtd |d|i} d d t| D} t| D]<\} } | d ust| tjrlt| d krltd| dqlddd} |jj | d|j d} | rt| t j s|j| | |j| j|jj||| | d| d|||d S|jj||| | d| d|||d Sd S)a- Gets information about the specified instance. **Note:** To retrieve public and private IP addresses for an instance, use the :func:`list_vnic_attachments` operation to get the VNIC ID for the instance, and then call :func:`get_vnic` with the VNIC ID. :param str instance_id: (required) The `OCID`__ of the instance. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.Instance` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_instance API. r)/instances/{instanceId}r get_instancezHhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/Instance/GetInstancercsg|]}|vr|qSr&r&r0r2r&r'r3r4z.ComputeClient.get_instance..z!get_instance got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4z.ComputeClient.get_instance..Nrr;r<r=rgrEInstancerrrlr]r&r2r'r sf $    zComputeClient.get_instancec sFdg}d}d}d}d}dgfddt|D}|rFtd |d|i} d d t| D} t| D]<\} } | d ust| tjrlt| d krltd| dqlddd} |jj | d|j d} | rt| t j s|j| | |j| j|jj||| | d| d|||d S|jj||| | d| d|||d Sd S)a[ Gets the specified instance console connection's information. :param str instance_console_connection_id: (required) The OCID of the instance console connection. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.InstanceConsoleConnection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_instance_console_connection API. rrrget_instance_console_connectionzjhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConsoleConnection/GetInstanceConsoleConnectionrcsg|]}|vr|qSr&r&r0r2r&r'r3-r4zAComputeClient.get_instance_console_connection..z4get_instance_console_connection got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:6r4zAComputeClient.get_instance_console_connection..Nrr;r<r=rgrErrrrlrr&r2r'r sf$    z-ComputeClient.get_instance_console_connectionc shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)a Gets the maintenance event for the given instance. :param str instance_maintenance_event_id: (required) The OCID of the instance maintenance event. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.InstanceMaintenanceEvent` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_instance_maintenance_event API. instanceMaintenanceEventId7/instanceMaintenanceEvents/{instanceMaintenanceEventId}rget_instance_maintenance_eventzhhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceMaintenanceEvent/GetInstanceMaintenanceEventrcsg|]}|vr|qSr&r&r0r2r&r'r3r4z@ComputeClient.get_instance_maintenance_event..z3get_instance_maintenance_event got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4z@ComputeClient.get_instance_maintenance_event..Nrr;r<r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4rrEZInstanceMaintenanceEventrrr)r$instance_maintenance_event_idr%rMrGrHrKrLr_rIr8r9rJrr&r2r'rasj$    z,ComputeClient.get_instance_maintenance_eventc shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)a Gets the maximum possible date that a maintenance reboot can be extended. For more information, see `Infrastructure Maintenance`__. __ https://docs.cloud.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm :param str instance_id: (required) The `OCID`__ of the instance. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.InstanceMaintenanceReboot` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_instance_maintenance_reboot API. r)z)/instances/{instanceId}/maintenanceRebootrget_instance_maintenance_rebootzjhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceMaintenanceReboot/GetInstanceMaintenanceRebootrcsg|]}|vr|qSr&r&r0r2r&r'r3r4zAComputeClient.get_instance_maintenance_reboot..z4get_instance_maintenance_reboot got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4zAComputeClient.get_instance_maintenance_reboot..Nrr;r<r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4rrEZInstanceMaintenanceRebootrrrr]r&r2r'rsj$$    z-ComputeClient.get_instance_maintenance_rebootc shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)a? Gets the measured boot report for this shielded instance. :param str instance_id: (required) The `OCID`__ of the instance. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.MeasuredBootReport` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_measured_boot_report API. r)z*/instances/{instanceId}/measuredBootReportrget_measured_boot_reportz\https://docs.oracle.com/iaas/api/#/en/iaas/20160918/MeasuredBootReport/GetMeasuredBootReportrcsg|]}|vr|qSr&r&r0r2r&r'r3Ur4z:ComputeClient.get_measured_boot_report..z-get_measured_boot_report got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:^r4z:ComputeClient.get_measured_boot_report..Nrr;r<r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:ir4rrEZMeasuredBootReportrrrr]r&r2r'r(sj!$    z&ComputeClient.get_measured_boot_reportc sFdg}d}d}d}d}dgfddt|D}|rFtd |d|i} d d t| D} t| D]<\} } | d ust| tjrlt| d krltd| dqlddd} |jj | d|j d} | rt| t j s|j| | |j| j|jj||| | d| d|||d S|jj||| | d| d|||d Sd S)a Gets the information for the specified VNIC attachment. :param str vnic_attachment_id: (required) The OCID of the VNIC attachment. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.VnicAttachment` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_vnic_attachment API. rrrget_vnic_attachmentzThttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VnicAttachment/GetVnicAttachmentrcsg|]}|vr|qSr&r&r0r2r&r'r3r4z5ComputeClient.get_vnic_attachment..z(get_vnic_attachment got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4z5ComputeClient.get_vnic_attachment..Nrr;r<r=rgrErxrrrlrr&r2r'rsf$    z!ComputeClient.get_vnic_attachmentc sFdg}d}d}d}d}dgfddt|D}|rFtd |d|i} d d t| D} t| D]<\} } | d ust| tjrlt| d krltd| dqlddd} |jj | d|j d} | rt| t j s|j| | |j| j|jj||| | d| d|||d S|jj||| | d| d|||d Sd S)a$ Gets information about the specified volume attachment. :param str volume_attachment_id: (required) The OCID of the volume attachment. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.VolumeAttachment` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_volume_attachment API. rrrget_volume_attachmentzXhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeAttachment/GetVolumeAttachmentrcsg|]}|vr|qSr&r&r0r2r&r'r3r4z7ComputeClient.get_volume_attachment..z*get_volume_attachment got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r: r4z7ComputeClient.get_volume_attachment..Nrr;r<r=rgrEr{rrrlrr&r2r'rsf$    z#ComputeClient.get_volume_attachmentc sFdg}d}d}d}d}dgfddt|D}|rFtd |d|i} d d t| D} t| D]<\} } | d ust| tjrlt| d krltd| dqlddd} |jj | d|j d} | rt| t j s|j| | |j| j|jj||| | d| d|||d S|jj||| | d| d|||d Sd S)a@ Gets the generated credentials for the instance. Only works for instances that require a password to log in, such as Windows. For certain operating systems, users will be forced to change the initial credentials. :param str instance_id: (required) The `OCID`__ of the instance. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.InstanceCredentials` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_windows_instance_initial_credentials API. r)z*/instances/{instanceId}/initialCredentialsr(get_windows_instance_initial_credentialszlhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceCredentials/GetWindowsInstanceInitialCredentialsrcsg|]}|vr|qSr&r&r0r2r&r'r3\r4zJComputeClient.get_windows_instance_initial_credentials..z=get_windows_instance_initial_credentials got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:er4zJComputeClient.get_windows_instance_initial_credentials..Nrr;r<r=rgrEZInstanceCredentialsrrrlr]r&r2r'r7sf$    z6ComputeClient.get_windows_instance_initial_credentialsc sddg}d}d}d}d}gdfdd t|D} | rJtd | d|i} d d t| D} t| D]<\} } | d ust| tjrpt| dkrptd| dqpd|i} dd t| D} dd|dt |dt d}dd t|D}|j j |d|j d}|r~t|t jsL|j ||j |||j|j|j j||| | ||dd|d|||d S|j j||| | ||dd|d|||d Sd S)af Performs one of the following power actions on the specified instance: - **START** - Powers on the instance. - **STOP** - Powers off the instance. - **RESET** - Powers off the instance and then powers it back on. - **SOFTSTOP** - Gracefully shuts down the instance by sending a shutdown command to the operating system. After waiting 15 minutes for the OS to shut down, the instance is powered off. If the applications that run on the instance take more than 15 minutes to shut down, they could be improperly stopped, resulting in data corruption. To avoid this, manually shut down the instance using the commands available in the OS before you softstop the instance. - **SOFTRESET** - Gracefully reboots the instance by sending a shutdown command to the operating system. After waiting 15 minutes for the OS to shut down, the instance is powered off and then powered back on. - **SENDDIAGNOSTICINTERRUPT** - For advanced users. **Caution: Sending a diagnostic interrupt to a live system can cause data corruption or system failure.** Sends a diagnostic interrupt that causes the instance's OS to crash and then reboot. Before you send a diagnostic interrupt, you must configure the instance to generate a crash dump file when it crashes. The crash dump captures information about the state of the OS at the time of the crash. After the OS restarts, you can analyze the crash dump to diagnose the issue. For more information, see `Sending a Diagnostic Interrupt`__. - **DIAGNOSTICREBOOT** - Powers off the instance, rebuilds it, and then powers it back on. Before you send a diagnostic reboot, restart the instance's OS, confirm that the instance and networking settings are configured correctly, and try other `troubleshooting steps`__. Use diagnostic reboot as a final attempt to troubleshoot an unreachable instance. For virtual machine (VM) instances only. For more information, see `Performing a Diagnostic Reboot`__. - **REBOOTMIGRATE** - Powers off the instance, moves it to new hardware, and then powers it back on. For more information, see `Infrastructure Maintenance`__. For more information about managing instance lifecycle states, see `Stopping and Starting an Instance`__. __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/sendingdiagnosticinterrupt.htm __ https://docs.cloud.oracle.com/iaas/Content/Compute/References/troubleshooting-compute-instances.htm __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/diagnostic-reboot.htm __ https://docs.cloud.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/restartinginstance.htm :param str instance_id: (required) The `OCID`__ of the instance. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str action: (required) The action to perform on the instance. Allowed values are: "STOP", "START", "SOFTRESET", "RESET", "SOFTSTOP", "SENDDIAGNOSTICINTERRUPT", "DIAGNOSTICREBOOT", "REBOOTMIGRATE" :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param oci.core.models.InstancePowerActionDetails instance_power_action_details: (optional) Instance Power Action details :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.Instance` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use instance_action API. r)actionr r*instance_actionzKhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/Instance/InstanceAction)rrr/r.instance_power_action_detailscsg|]}|vr|qSr&r&r0r2r&r'r3r4z1ComputeClient.instance_action..z$instance_action got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4z1ComputeClient.instance_action..Nrr;r<cSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4r=r/r.rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4rrErr r) rGrHrIrrJrjrkrrKrLrMrN)r$r^rr%rMrGrHrKrLr_rIr8r9rrJrr&r2r'rs|_$     zComputeClient.instance_actionc s g}d}d}d}d}gdfddt|D}|rFtd|d d |d td } d d t| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)aU Creates a new instance in the specified compartment and the specified availability domain. For general information about instances, see `Overview of the Compute Service`__. For information about access control and compartments, see `Overview of the IAM Service`__. For information about availability domains, see `Regions and Availability Domains`__. To get a list of availability domains, use the `ListAvailabilityDomains` operation in the Identity and Access Management Service API. All Oracle Cloud Infrastructure resources, including instances, get an Oracle-assigned, unique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response. You can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the resource in the Console. To launch an instance using an image or a boot volume use the `sourceDetails` parameter in :class:`LaunchInstanceDetails`. When you launch an instance, it is automatically attached to a virtual network interface card (VNIC), called the *primary VNIC*. The VNIC has a private IP address from the subnet's CIDR. You can either assign a private IP address of your choice or let Oracle automatically assign one. You can choose whether the instance has a public IP address. To retrieve the addresses, use the :func:`list_vnic_attachments` operation to get the VNIC ID for the instance, and then call :func:`get_vnic` with the VNIC ID. You can later add secondary VNICs to an instance. For more information, see `Virtual Network Interface Cards (VNICs)`__. To launch an instance from a Marketplace image listing, you must provide the image ID of the listing resource version that you want, but you also must subscribe to the listing before you try to launch the instance. To subscribe to the listing, use the :func:`get_app_catalog_listing_agreements` operation to get the signature for the terms of use agreement for the desired listing resource version. Then, call :func:`create_app_catalog_subscription` with the signature. To get the image ID for the LaunchInstance operation, call :func:`get_app_catalog_listing_resource_version`. To determine whether capacity is available for a specific shape before you create an instance, use the :func:`create_compute_capacity_report` operation. __ https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm __ https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm __ https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm :param oci.core.models.LaunchInstanceDetails launch_instance_details: (required) Instance details :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.Instance` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use launch_instance API. /instancesr*launch_instancezKhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/Instance/LaunchInstancerqcsg|]}|vr|qSr&r&r0r2r&r'r3r4z1ComputeClient.launch_instance..z$launch_instance got unknown kwargs: r=r/rrcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4z1ComputeClient.launch_instance..rrEr rrtNru) r$Zlaunch_instance_detailsr%rMrGrHrKrLr_rJrr&r2r'r>s`Q      zComputeClient.launch_instancec sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| |dt |dt |dt d} dd t| D} ddd}|j j |d|j d}|d ur@t j}|rt|t jsl|j |||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)a Gets all resource versions for a particular listing. :param str listing_id: (required) The OCID of the listing. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.AppCatalogListingResourceVersionSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_app_catalog_listing_resource_versions API. rz0/appCatalogListings/{listingId}/resourceVersionsr*list_app_catalog_listing_resource_versionszhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/AppCatalogListingResourceVersionSummary/ListAppCatalogListingResourceVersions)rrlimitpage sort_ordercsg|]}|vr|qSr&r&r0r2r&r'r3r4zLComputeClient.list_app_catalog_listing_resource_versions..z?list_app_catalog_listing_resource_versions got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4zLComputeClient.list_app_catalog_listing_resource_versions..Nrr;r<r ASCDESC/Invalid value for `sort_order`, must be one of rr)rr sortOrdercSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:"r4r=rgrrEz-list[AppCatalogListingResourceVersionSummary]rrr)r$rr%rMrGrHrKrLr_rIr8r9sort_order_allowed_valuesrrJrr&r2r'rs1$        z8ComputeClient.list_app_catalog_listing_resource_versionsc srg}d}d}d}d}gdfddt|D}|rFtd|d |vrpd d g}|d |vrptd ||d t|dt|d t|dt|dt|dtd} ddt| D} ddd} |jj|d|jd} | durt j } | rJt | t j s"|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)a Lists the published listings. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param str publisher_name: (optional) A filter to return only the publisher that matches the given publisher name exactly. :param str publisher_type: (optional) A filter to return only publishers that match the given publisher type exactly. Valid types are OCI, ORACLE, TRUSTED, STANDARD. :param str display_name: (optional) A filter to return only resources that match the given display name exactly. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.AppCatalogListingSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_app_catalog_listings API. z/appCatalogListingsrlist_app_catalog_listingszchttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/AppCatalogListingSummary/ListAppCatalogListings)rrrrr publisher_namepublisher_type display_namecsg|]}|vr|qSr&r&r0r2r&r'r3r4z;ComputeClient.list_app_catalog_listings..z.list_app_catalog_listings got unknown kwargs: r r!r"r#rrr'r(r))rrr$Z publisherNameZ publisherType displayNamecSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4z;ComputeClient.list_app_catalog_listings..r=rgrrENzlist[AppCatalogListingSummary]r rGrHrrJrkrrKrLrMrrOrPr!r6rQr"rVrrrrRrWrYrZr r[r\) r$r%rMrGrHrKrLr_r%rrJrr&r2r'r&Msz7           z'ComputeClient.list_app_catalog_listingsc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | d|vrddg} |d| vrtd| ||dt|dt|d t|dt|dtd} ddt| D} ddd} |jj|d|jd} | durt j } | rpt | t j sH|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS) ag Lists subscriptions for a compartment. :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str sort_by: (optional) The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. **Note:** In general, some "List" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these "List" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted. Allowed values are: "TIMECREATED", "DISPLAYNAME" :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param str listing_id: (optional) A filter to return only the listings that matches the given listing id. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.AppCatalogSubscriptionSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_app_catalog_subscriptions API. rrrlist_app_catalog_subscriptionszmhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/AppCatalogSubscriptionSummary/ListAppCatalogSubscriptions)rrrrsort_byr rcsg|]}|vr|qSr&r&r0r2r&r'r3$r4z@ComputeClient.list_app_catalog_subscriptions..z3list_app_catalog_subscriptions got unknown kwargs: r. TIMECREATED DISPLAYNAME,Invalid value for `sort_by`, must be one of r r!r"r#rrr)rrrsortByr$rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:?r4z@ComputeClient.list_app_catalog_subscriptions..r=rgrrENz#list[AppCatalogSubscriptionSummary]rr+r,r$rr%rMrGrHrKrLr_sort_by_allowed_valuesr%rrJrr&r2r'r-sB            z,ComputeClient.list_app_catalog_subscriptionsc s,ddg}d}d}d}d}gdfdd t|D} | rJtd | |||d t|d t|d t|dtd} ddt| D} ddd} |jj|d|jd} | rt | t j s|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)a Lists the boot volume attachments in the specified compartment. You can filter the list by specifying an instance OCID, boot volume OCID, or both. :param str availability_domain: (required) The name of the availability domain. Example: `Uocm:PHX-AD-1` :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str instance_id: (optional) The OCID of the instance. :param str boot_volume_id: (optional) The OCID of the boot volume. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.BootVolumeAttachment` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_boot_volume_attachments API. availabilityDomainrrorlist_boot_volume_attachmentszbhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeAttachment/ListBootVolumeAttachments)rrrrr^boot_volume_idcsg|]}|vr|qSr&r&r0r2r&r'r3r4z>ComputeClient.list_boot_volume_attachments..z1list_boot_volume_attachments got unknown kwargs: rrr^r7)r5rrrr)Z bootVolumeIdcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4z>ComputeClient.list_boot_volume_attachments..+application/json, application/x-json-streamr=rgrrEzlist[BootVolumeAttachment]rr+NrrOrPr!r6rQr"rVrrRrrWrYrZr r[r\) r$availability_domainrr%rMrGrHrKrLr_rrJrr&r2r'r6hsj9        z*ComputeClient.list_boot_volume_attachmentsc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | d|vrddg} |d| vrtd| |dt||dt|dt|dt|d t|dtd} ddt| D} dd|dtd} ddt| D} |jj|d|jd} | rt | t j s`|j | | |j| j|jj||| | d|d |||d! S|jj||| | d|d |||d! Sd"S)#aM Lists the shapes that can be reserved within the specified compartment. :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. Example: `Uocm:PHX-AD-1` :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str display_name: (optional) A filter to return only resources that match the given display name exactly. :param str sort_by: (optional) The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. **Note:** In general, some "List" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these "List" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted. Allowed values are: "TIMECREATED", "DISPLAYNAME" :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.ComputeCapacityReservationInstanceShapeSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_compute_capacity_reservation_instance_shapes API. rz)/computeCapacityReservationInstanceShapesr1list_compute_capacity_reservation_instance_shapeszhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCapacityReservationInstanceShapeSummary/ListComputeCapacityReservationInstanceShapes) rrr:r-rrr)r.r csg|]}|vr|qSr&r&r0r2r&r'r3Ar4zSComputeClient.list_compute_capacity_reservation_instance_shapes..zFlist_compute_capacity_reservation_instance_shapes got unknown kwargs: r.r/r0r1r r!r"r#r:rrr))r5rrrr*r2r$cSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:]r4zSComputeClient.list_compute_capacity_reservation_instance_shapes..r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:dr4rrEz4list[ComputeCapacityReservationInstanceShapeSummary]rr+Nr9r3r&r2r'r;sK              z?ComputeClient.list_compute_capacity_reservation_instance_shapesc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrddg} |d| vrtd| |dt |dt |dt |dt |dt |dt d}dd t|D}dd|d t d!}d"d t|D}|j j |d#|j d$}|rt|t js|j |||j|j|j j||| ||d%|d&|||d' S|j j||| ||d%|d&|||d' Sd S)(aC Lists the instances launched under a capacity reservation. You can filter results by specifying criteria. :param str capacity_reservation_id: (required) The OCID of the compute capacity reservation. :param str availability_domain: (optional) The name of the availability domain. Example: `Uocm:PHX-AD-1` :param str compartment_id: (optional) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str sort_by: (optional) The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. **Note:** In general, some "List" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these "List" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted. Allowed values are: "TIMECREATED", "DISPLAYNAME" :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.CapacityReservationInstanceSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_compute_capacity_reservation_instances API. rz>/computeCapacityReservations/{capacityReservationId}/instancesr+list_compute_capacity_reservation_instancesz~https://docs.oracle.com/iaas/api/#/en/iaas/20160918/CapacityReservationInstanceSummary/ListComputeCapacityReservationInstances) rrr:rr-rrr.r csg|]}|vr|qSr&r&r0r2r&r'r3r4zMComputeClient.list_compute_capacity_reservation_instances..z@list_compute_capacity_reservation_instances got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4zMComputeClient.list_compute_capacity_reservation_instances..Nrr;r<r.r/r0r1r r!r"r#r:rrrr5rrrr2r$cSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4r8r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4rrEz(list[CapacityReservationInstanceSummary]rrr)r$rr%rMrGrHrKrLr_rIr8r9r4r%rrJrr&r2r'r<sK $            z9ComputeClient.list_compute_capacity_reservation_instancesc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrddg} |d| vrtd| |dt||d t|dt|dt|dt|d t|dtd} ddt| D} dd|dtd} d dt| D} |jj|d!|jd"}|rt |t j s|j | | |j|j|jj||| | d#|d$|||d% S|jj||| | d#|d$|||d% Sd&S)'a Lists the compute capacity reservations that match the specified criteria and compartment. You can limit the list by specifying a compute capacity reservation display name (the list will include all the identically-named compute capacity reservations in the compartment). :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. Example: `Uocm:PHX-AD-1` :param str lifecycle_state: (optional) A filter to only return resources that match the given lifecycle state. Allowed values are: "ACTIVE", "CREATING", "UPDATING", "MOVING", "DELETED", "DELETING" :param str display_name: (optional) A filter to return only resources that match the given display name exactly. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str sort_by: (optional) The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. **Note:** In general, some "List" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these "List" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted. Allowed values are: "TIMECREATED", "DISPLAYNAME" :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.ComputeCapacityReservationSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_compute_capacity_reservations API. rrr"list_compute_capacity_reservationsznhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCapacityReservation/ListComputeCapacityReservations) rrr:lifecycle_stater)rrr-r.r csg|]}|vr|qSr&r&r0r2r&r'r3r4zDComputeClient.list_compute_capacity_reservations..z7list_compute_capacity_reservations got unknown kwargs: r?)ACTIVECREATINGUPDATINGMOVINGDELETEDDELETING4Invalid value for `lifecycle_state`, must be one of r.r/r0r1r r!r"r#r:r)rr)r5rlifecycleStater*rrr2r$cSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4zDComputeClient.list_compute_capacity_reservations..r8r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4rrEz'list[ComputeCapacityReservationSummary]rr+Nr9r$rr%rMrGrHrKrLr_lifecycle_state_allowed_valuesr4r%rrJrr&r2r'r>3sS                z0ComputeClient.list_compute_capacity_reservationsc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | d|vrddg} |d| vrtd| |dt||dt|dt|dt|d t|dtd} ddt| D} dd|dtd} ddt| D} |jj|d|jd} | durDt j } | rt | t j sp|j | | |j| j|jj||| | d |d!|||d" S|jj||| | d |d!|||d" SdS)#a& Lists the compute capacity topologies in the specified compartment. You can filter the list by a compute capacity topology display name. :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. Example: `Uocm:PHX-AD-1` :param str display_name: (optional) A filter to return only resources that match the given display name exactly. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str sort_by: (optional) The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. **Note:** In general, some "List" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these "List" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted. Allowed values are: "TIMECREATED", "DISPLAYNAME" :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeCapacityTopologyCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_compute_capacity_topologies API. rrr list_compute_capacity_topologieszihttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCapacityTopology/ListComputeCapacityTopologies) rrr:r)rrr-r.r csg|]}|vr|qSr&r&r0r2r&r'r3Dr4zBComputeClient.list_compute_capacity_topologies..z5list_compute_capacity_topologies got unknown kwargs: r.r/r0r1r r!r"r#r:r)rrr5rr*rrr2r$cSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:`r4zBComputeClient.list_compute_capacity_topologies..r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:gr4rrENZ!ComputeCapacityTopologyCollectionrr+r,r3r&r2r'rJsL               z.ComputeClient.list_compute_capacity_topologiesc sHdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrddg} |d| vrtd| |dt |dt |dt |dt |dt |dt |dt |dt |dt d }d d t|D}d!d!|d"t d#}d$d t|D}|j j |d%|j d&}|d urt j}|rt|t js|j |||j|j|j j||| ||d'|d(|||d) S|j j||| ||d'|d(|||d) Sd S)*a Lists compute bare metal hosts in the specified compute capacity topology. :param str compute_capacity_topology_id: (required) The `OCID`__ of the compute capacity topology. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. Example: `Uocm:PHX-AD-1` :param str compartment_id: (optional) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str compute_hpc_island_id: (optional) The `OCID`__ of the compute HPC island. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str compute_network_block_id: (optional) The `OCID`__ of the compute network block. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str compute_local_block_id: (optional) The `OCID`__ of the compute local block. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str sort_by: (optional) The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. **Note:** In general, some "List" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these "List" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted. Allowed values are: "TIMECREATED", "DISPLAYNAME" :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeBareMetalHostCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_compute_capacity_topology_compute_bare_metal_hosts API. rzL/computeCapacityTopologies/{computeCapacityTopologyId}/computeBareMetalHostsr7list_compute_capacity_topology_compute_bare_metal_hostszyhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeBareMetalHost/ListComputeCapacityTopologyComputeBareMetalHosts) rrr:rcompute_hpc_island_idcompute_network_block_idcompute_local_block_idrrr-r.r csg|]}|vr|qSr&r&r0r2r&r'r3r4zYComputeClient.list_compute_capacity_topology_compute_bare_metal_hosts..zLlist_compute_capacity_topology_compute_bare_metal_hosts got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4zYComputeClient.list_compute_capacity_topology_compute_bare_metal_hosts..Nrr;r<r.r/r0r1r r!r"r#r:rrMrNrOrr) r5rcomputeHpcIslandIdZcomputeNetworkBlockIdZcomputeLocalBlockIdrrr2r$cSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:$r4r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:+r4rrEZComputeBareMetalHostCollectionrrrr$rr%rMrGrHrKrLr_rIr8r9r4r%rrJrr&r2r'rLs\$                 zEComputeClient.list_compute_capacity_topology_compute_bare_metal_hostsc s*dg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrddg} |d| vrtd| |dt |dt |dt |dt |dt |dt d}dd t|D}dd|dt d }d!d t|D}|j j |d"|j d#}|d urt j}|rt|t js|j |||j|j|j j||| ||d$|d%|||d& S|j j||| ||d$|d%|||d& Sd S)'aF Lists compute HPC islands in the specified compute capacity topology. :param str compute_capacity_topology_id: (required) The `OCID`__ of the compute capacity topology. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. Example: `Uocm:PHX-AD-1` :param str compartment_id: (optional) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str sort_by: (optional) The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. **Note:** In general, some "List" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these "List" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted. Allowed values are: "TIMECREATED", "DISPLAYNAME" :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeHpcIslandCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_compute_capacity_topology_compute_hpc_islands API. rzH/computeCapacityTopologies/{computeCapacityTopologyId}/computeHpcIslandsr2list_compute_capacity_topology_compute_hpc_islandszqhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHpcIsland/ListComputeCapacityTopologyComputeHpcIslands) rrr:rrrr-r.r csg|]}|vr|qSr&r&r0r2r&r'r3r4zTComputeClient.list_compute_capacity_topology_compute_hpc_islands..zGlist_compute_capacity_topology_compute_hpc_islands got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:r4zTComputeClient.list_compute_capacity_topology_compute_hpc_islands..Nrr;r<r.r/r0r1r r!r"r#r:rrrr=cSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4rrEZComputeHpcIslandCollectionrrrrQr&r2r'rRQsM $             z@ComputeClient.list_compute_capacity_topology_compute_hpc_islandsc s4dg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrddg} |d| vrtd| |dt |dt |dt |dt |dt |dt |dt d}dd t|D}dd|d t d!}d"d t|D}|j j |d#|j d$}|d urt j}|r t|t js|j |||j|j|j j||| ||d%|d&|||d' S|j j||| ||d%|d&|||d' Sd S)(a Lists compute network blocks in the specified compute capacity topology. :param str compute_capacity_topology_id: (required) The `OCID`__ of the compute capacity topology. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. Example: `Uocm:PHX-AD-1` :param str compartment_id: (optional) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str compute_hpc_island_id: (optional) The `OCID`__ of the compute HPC island. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str sort_by: (optional) The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. **Note:** In general, some "List" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these "List" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted. Allowed values are: "TIMECREATED", "DISPLAYNAME" :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeNetworkBlockCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_compute_capacity_topology_compute_network_blocks API. rzK/computeCapacityTopologies/{computeCapacityTopologyId}/computeNetworkBlocksr5list_compute_capacity_topology_compute_network_blockszwhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeNetworkBlock/ListComputeCapacityTopologyComputeNetworkBlocks) rrr:rrMrrr-r.r csg|]}|vr|qSr&r&r0r2r&r'r3gr4zWComputeClient.list_compute_capacity_topology_compute_network_blocks..zJlist_compute_capacity_topology_compute_network_blocks got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:pr4zWComputeClient.list_compute_capacity_topology_compute_network_blocks..Nrr;r<r.r/r0r1r r!r"r#r:rrMrr)r5rrPrrr2r$cSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:r4rrEZComputeNetworkBlockCollectionrrrrQr&r2r'rSsR $               zCComputeClient.list_compute_capacity_topology_compute_network_blocksc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | d|vrddg} |d| vrtd| |dt||dt|dt|dt|d t|dtd} ddt| D} dd|dtd} ddt| D} |jj|d|jd} | rt | t j s`|j | | |j| j|jj||| | d|d |||d! S|jj||| | d|d |||d! Sd"S)#a Lists the compute clusters in the specified compartment. A `compute cluster`__ is a remote direct memory access (RDMA) network group. __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. Example: `Uocm:PHX-AD-1` :param str display_name: (optional) A filter to return only resources that match the given display name exactly. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str sort_by: (optional) The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. **Note:** In general, some "List" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these "List" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted. Allowed values are: "TIMECREATED", "DISPLAYNAME" :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeClusterCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_compute_clusters API. rrrlist_compute_clusterszVhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCluster/ListComputeClusters) rrr:r)rrr.r r-csg|]}|vr|qSr&r&r0r2r&r'r3 r4z7ComputeClient.list_compute_clusters..z*list_compute_clusters got unknown kwargs: r.r/r0r1r r!r"r#r:r)rrrKcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:6 r4z7ComputeClient.list_compute_clusters..r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:= r4rrEZComputeClusterCollectionrr+Nr9r3r&r2r'rTsN              z#ComputeClient.list_compute_clustersc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrddg} |d| vrtd| |dt |dt |dt |dt |dt d}dd t|D}ddd}|j j |d|j d }|d urt j}|rt|t js|j |||j|j|j j||| ||d!|d"|||d# S|j j||| ||d!|d"|||d# Sd S)$a Lists Compute Global Image Capability Schema versions in the specified compartment. :param str compute_global_image_capability_schema_id: (required) The `OCID`__ of the compute global image capability schema __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str display_name: (optional) A filter to return only resources that match the given display name exactly. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str sort_by: (optional) The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. **Note:** In general, some "List" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these "List" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted. Allowed values are: "TIMECREATED", "DISPLAYNAME" :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.ComputeGlobalImageCapabilitySchemaVersionSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_compute_global_image_capability_schema_versions API. rzT/computeGlobalImageCapabilitySchemas/{computeGlobalImageCapabilitySchemaId}/versionsr4list_compute_global_image_capability_schema_versionszhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGlobalImageCapabilitySchemaVersionSummary/ListComputeGlobalImageCapabilitySchemaVersions)rrr)rrr.r csg|]}|vr|qSr&r&r0r2r&r'r3 r4zVComputeClient.list_compute_global_image_capability_schema_versions..zIlist_compute_global_image_capability_schema_versions got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r: r4zVComputeClient.list_compute_global_image_capability_schema_versions..Nrr;r<r.r/r0r1r r!r"r#r)rr)r*rrr2r$cSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r: r4r=rgrrEz6list[ComputeGlobalImageCapabilitySchemaVersionSummary]rrr)r$rr%rMrGrHrKrLr_rIr8r9r4r%rrJrr&r2r'rU_ sB $           zBComputeClient.list_compute_global_image_capability_schema_versionsc sg}d}d}d}d}gdfddt|D}|rFtd|d |vrpd d g}|d |vrptd |d |vrddg} |d | vrtd| |dt|dt|dt|dt|d t|d td} ddt| D} ddd} |jj|d|jd} | dur"t j } | rvt | t j sN|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS) a Lists Compute Global Image Capability Schema in the specified compartment. :param str compartment_id: (optional) A filter to return only resources that match the given compartment OCID exactly. :param str display_name: (optional) A filter to return only resources that match the given display name exactly. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str sort_by: (optional) The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. **Note:** In general, some "List" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these "List" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted. Allowed values are: "TIMECREATED", "DISPLAYNAME" :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.ComputeGlobalImageCapabilitySchemaSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_compute_global_image_capability_schemas API. z$/computeGlobalImageCapabilitySchemasr,list_compute_global_image_capability_schemaszhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGlobalImageCapabilitySchemaSummary/ListComputeGlobalImageCapabilitySchemas)rrrr)rrr.r csg|]}|vr|qSr&r&r0r2r&r'r3Q!r4zNComputeClient.list_compute_global_image_capability_schemas..zAlist_compute_global_image_capability_schemas got unknown kwargs: r.r/r0r1r r!r"r#rr)rr)rr*rrr2r$cSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:l!r4zNComputeClient.list_compute_global_image_capability_schemas..r=rgrrENz/list[ComputeGlobalImageCapabilitySchemaSummary]rr+r, r$r%rMrGrHrKrLr_r4r%rrJrr&r2r'rV!s@             z:ComputeClient.list_compute_global_image_capability_schemasc sg}d}d}d}d}gdfddt|D}|rFtd|d |vrpd d g}|d |vrptd |d |vrddg} |d | vrtd| |dt|dt|dt|dt|dt|d t|d td} ddt| D} ddd} |jj|d|jd} | dur,t j } | rt | t j sX|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)!aH Lists Compute Image Capability Schema in the specified compartment. You can also query by a specific imageId. :param str compartment_id: (optional) A filter to return only resources that match the given compartment OCID exactly. :param str image_id: (optional) The `OCID`__ of an image. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str display_name: (optional) A filter to return only resources that match the given display name exactly. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str sort_by: (optional) The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. **Note:** In general, some "List" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these "List" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted. Allowed values are: "TIMECREATED", "DISPLAYNAME" :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.ComputeImageCapabilitySchemaSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_compute_image_capability_schemas API. rr%list_compute_image_capability_schemaszyhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeImageCapabilitySchemaSummary/ListComputeImageCapabilitySchemas) rrrrnr)rrr.r csg|]}|vr|qSr&r&r0r2r&r'r3!r4zGComputeClient.list_compute_image_capability_schemas..z:list_compute_image_capability_schemas got unknown kwargs: r.r/r0r1r r!r"r#rrnr)rr)rr`r*rrr2r$cSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:"r4zGComputeClient.list_compute_image_capability_schemas..r=rgrrENz)list[ComputeImageCapabilitySchemaSummary]rr+r,rWr&r2r'rX!sE               z3ComputeClient.list_compute_image_capability_schemasc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | d|vrddg} |d| vrtd| d|vrgd} |d| vrtd| |dt||dt|dt|dt|d t|dt|dtd} ddt| D} ddd} |jj|d|jd}|rt |t j sv|j | | |j|j|jj||| | d |d!|||d" S|jj||| | d |d!|||d" Sd#S)$a Lists the console history metadata for the specified compartment or instance. :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. Example: `Uocm:PHX-AD-1` :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str instance_id: (optional) The OCID of the instance. :param str sort_by: (optional) The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. **Note:** In general, some "List" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these "List" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted. Allowed values are: "TIMECREATED", "DISPLAYNAME" :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param str lifecycle_state: (optional) A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. Allowed values are: "REQUESTED", "GETTING-HISTORY", "SUCCEEDED", "FAILED" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.ConsoleHistory` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_console_histories API. rr|rlist_console_historieszWhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ConsoleHistory/ListConsoleHistories) rrr:rrr^r.r r?csg|]}|vr|qSr&r&r0r2r&r'r3"r4z8ComputeClient.list_console_histories..z+list_console_histories got unknown kwargs: r.r/r0r1r r!r"r#r?)Z REQUESTEDzGETTING-HISTORY SUCCEEDEDFAILEDrFr:rrr^)r5rrrr)r2r$rGcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:"r4z8ComputeClient.list_console_histories..r=rgrrEzlist[ConsoleHistory]rr+Nr9r$rr%rMrGrHrKrLr_r4r%rIrrJrr&r2r'rY1"sM               z$ComputeClient.list_console_historiesc sFdg}d}d}d}d}gdfddt|D}|rHtd ||d t||d t|d t|d td} ddt| D} dd|dtd} ddt| D} |jj|d|jd} | rt | t j s|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)a Lists the shapes that can be used to launch a virtual machine instance on a dedicated virtual machine host within the specified compartment. You can filter the list by compatibility with a specific dedicated virtual machine host shape. :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. Example: `Uocm:PHX-AD-1` :param str dedicated_vm_host_shape: (optional) Dedicated VM host shape name :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.DedicatedVmHostInstanceShapeSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_dedicated_vm_host_instance_shapes API. rz/dedicatedVmHostInstanceShapesr&list_dedicated_vm_host_instance_shapeszyhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/DedicatedVmHostInstanceShapeSummary/ListDedicatedVmHostInstanceShapes)rrr:dedicated_vm_host_shaperrr-csg|]}|vr|qSr&r&r0r2r&r'r3%#r4zHComputeClient.list_dedicated_vm_host_instance_shapes..z;list_dedicated_vm_host_instance_shapes got unknown kwargs: r:r^rr)r5rZdedicatedVmHostShaperrcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:1#r4zHComputeClient.list_dedicated_vm_host_instance_shapes..r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:8#r4rrEz)list[DedicatedVmHostInstanceShapeSummary]rr+Nr9 r$rr%rMrGrHrKrLr_rrJrr&r2r'r]"sl:          z4ComputeClient.list_dedicated_vm_host_instance_shapesc sddg}d}d}d}d}gdfdd t|D} | rJtd | d|i} d d t| D} t| D]<\} } | d ust| tjrpt| dkrptd| dqpd|vrddg} |d| vrtd| d|vrddg}|d|vrtd||dt ||dt |dt |dt |dt d}dd t|D}dd|d t d!}d"d t|D}|j j |d#|j d$}|rt|t js|j |||j|j|j j||| ||d%|d&|||d' S|j j||| ||d%|d&|||d' Sd S)(a Returns the list of instances on the dedicated virtual machine hosts that match the specified criteria. :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str dedicated_vm_host_id: (required) The OCID of the dedicated VM host. :param str availability_domain: (optional) The name of the availability domain. Example: `Uocm:PHX-AD-1` :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str sort_by: (optional) The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. **Note:** In general, some "List" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these "List" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted. Allowed values are: "TIMECREATED", "DISPLAYNAME" :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.DedicatedVmHostInstanceSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_dedicated_vm_host_instances API. rrz//dedicatedVmHosts/{dedicatedVmHostId}/instancesr list_dedicated_vm_host_instanceszohttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/DedicatedVmHostInstanceSummary/ListDedicatedVmHostInstances)rrr:rrr-r.r csg|]}|vr|qSr&r&r0r2r&r'r3#r4zBComputeClient.list_dedicated_vm_host_instances..z5list_dedicated_vm_host_instances got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:#r4zBComputeClient.list_dedicated_vm_host_instances..Nrr;r<r.r/r0r1r r!r"r#r:rrr=cSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:#r4r8r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:#r4rrEz$list[DedicatedVmHostInstanceSummary]rrr)r$rrr%rMrGrHrKrLr_rIr8r9r4r%rrJrr&r2r'r`Z#sK $           z.ComputeClient.list_dedicated_vm_host_instancesc sFdg}d}d}d}d}gdfddt|D}|rHtd ||d t||d t|d t|d td} ddt| D} dd|dtd} ddt| D} |jj|d|jd} | rt | t j s|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)aL Lists the shapes that can be used to launch a dedicated virtual machine host within the specified compartment. :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. Example: `Uocm:PHX-AD-1` :param str instance_shape_name: (optional) The name for the instance's shape. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.DedicatedVmHostShapeSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_dedicated_vm_host_shapes API. rz/dedicatedVmHostShapesrlist_dedicated_vm_host_shapeszihttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/DedicatedVmHostShapeSummary/ListDedicatedVmHostShapes)rrr:instance_shape_namerrr-csg|]}|vr|qSr&r&r0r2r&r'r3O$r4z?ComputeClient.list_dedicated_vm_host_shapes..z2list_dedicated_vm_host_shapes got unknown kwargs: r:rbrr)r5rinstanceShapeNamerrcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:[$r4z?ComputeClient.list_dedicated_vm_host_shapes..r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:b$r4rrEz!list[DedicatedVmHostShapeSummary]rr+Nr9r_r&r2r'ra$sl9          z+ComputeClient.list_dedicated_vm_host_shapesc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrddg} |d| vrtd| |dt||d t|dt|dt|dt|dt|d t|dt|dt|dtd } ddt| D} dd |d!td"} d#dt| D} |jj|d$|jd%}|rt |t j s|j | | |j|j|jj||| | d&|d'|||d( S|jj||| | d&|d'|||d( Sd)S)*a[ Returns the list of dedicated virtual machine hosts that match the specified criteria in the specified compartment. You can limit the list by specifying a dedicated virtual machine host display name. The list will include all the identically-named dedicated virtual machine hosts in the compartment. :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. Example: `Uocm:PHX-AD-1` :param str lifecycle_state: (optional) A filter to only return resources that match the given lifecycle state. Allowed values are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED" :param str display_name: (optional) A filter to return only resources that match the given display name exactly. :param str instance_shape_name: (optional) The name for the instance's shape. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str sort_by: (optional) The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. **Note:** In general, some "List" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these "List" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted. Allowed values are: "TIMECREATED", "DISPLAYNAME" :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param float remaining_memory_in_gbs_greater_than_or_equal_to: (optional) The remaining memory of the dedicated VM host, in GBs. :param float remaining_ocpus_greater_than_or_equal_to: (optional) The available OCPUs of the dedicated VM host. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.DedicatedVmHostSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_dedicated_vm_hosts API. rrrlist_dedicated_vm_hostsz_https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DedicatedVmHostSummary/ListDedicatedVmHosts) rrr:r?r)rbrrr-r.r 0remaining_memory_in_gbs_greater_than_or_equal_to(remaining_ocpus_greater_than_or_equal_tocsg|]}|vr|qSr&r&r0r2r&r'r3$r4z9ComputeClient.list_dedicated_vm_hosts..z,list_dedicated_vm_hosts got unknown kwargs: r?)rAr@rBrErDr[rFr.r/r0r1r r!r"r#r:r)rbrrrerf) r5rrGr*rcrrr2r$Z(remainingMemoryInGBsGreaterThanOrEqualToZ"remainingOcpusGreaterThanOrEqualTocSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:%r4z9ComputeClient.list_dedicated_vm_hosts..r8r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:$%r4rrEzlist[DedicatedVmHostSummary]rr+Nr9rHr&r2r'rd$s\                  z%ComputeClient.list_dedicated_vm_hostsc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqn|dt |dt d} dd t| D} dd|dt d} dd t| D} |j j |d|j d}|d ur*t j}|rt|t jsV|j | ||j|j|j j||| | | d|d|||d S|j j||| | | d|d|||d Sd S)a Lists the compatible shapes for the specified image. :param str image_id: (required) The `OCID`__ of the image. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.ImageShapeCompatibilitySummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_image_shape_compatibility_entries API. r`z/images/{imageId}/shapesr&list_image_shape_compatibility_entrieszshttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ImageShapeCompatibilityEntry/ListImageShapeCompatibilityEntries)rrrrr-csg|]}|vr|qSr&r&r0r2r&r'r3%r4zHComputeClient.list_image_shape_compatibility_entries..z;list_image_shape_compatibility_entries got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:%r4zHComputeClient.list_image_shape_compatibility_entries..Nrr;r<rr)rrcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:%r4r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:%r4rrEz$list[ImageShapeCompatibilitySummary]rrr)r$rnr%rMrGrHrKrLr_rIr8r9rrJrr&r2r'rgF%sz1$       z4ComputeClient.list_image_shape_compatibility_entriesc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | d|vrddg} |d| vrtd| d|vrgd} |d| vrtd| ||dt|dt|dt|dt|dt|dt|d t|dt|dtd } ddt| D} ddd} |jj|d |jd!}|d"urnt j }|rt |t j s|j | ||j|j|jj||| | d#|d$|||d% S|jj||| | d#|d$|||d% Sd"S)&a Lists a subset of images available in the specified compartment, including `platform images`__ and `custom images`__. The list of platform images includes the three most recently published versions of each major distribution. The list does not support filtering based on image tags. The list of images returned is ordered to first show the recent platform images, then all of the custom images. **Caution:** Platform images are refreshed regularly. When new images are released, older versions are replaced. The image OCIDs remain available, but when the platform image is replaced, the image OCIDs are no longer returned as part of the platform image list. __ https://docs.cloud.oracle.com/iaas/Content/Compute/References/images.htm __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingcustomimages.htm :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str display_name: (optional) A filter to return only resources that match the given display name exactly. :param str operating_system: (optional) The image's operating system. Example: `Oracle Linux` :param str operating_system_version: (optional) The image's operating system version. Example: `7.2` :param str shape: (optional) Shape name. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str sort_by: (optional) The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. **Note:** In general, some "List" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these "List" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted. Allowed values are: "TIMECREATED", "DISPLAYNAME" :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param str lifecycle_state: (optional) A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. Allowed values are: "PROVISIONING", "IMPORTING", "AVAILABLE", "EXPORTING", "DISABLED", "DELETED" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.Image` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_images API. rrr list_imageszDhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/Image/ListImages) rrr)operating_systemoperating_system_versionshaperrr.r r?csg|]}|vr|qSr&r&r0r2r&r'r3;&r4z-ComputeClient.list_images..z list_images got unknown kwargs: r.r/r0r1r r!r"r#r?) PROVISIONINGZ IMPORTINGZ AVAILABLEZ EXPORTINGZDISABLEDrDrFr)rirjrkrr) rr*ZoperatingSystemZoperatingSystemVersionrkrrr2r$rGcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:a&r4z-ComputeClient.list_images..r=rgrrENz list[Image]rr+r,r\r&r2r'rh%sb                  zComputeClient.list_imagesc sdg}d}d}d}d}gdfddt|D}|rHtd |||d t|d t|d td } ddt| D} ddd} |jj|d|jd} | rt | t j s|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)a Lists the console connections for the specified compartment or instance. For more information about instance console connections, see `Troubleshooting Instances Using Instance Console Connections`__. __ https://docs.cloud.oracle.com/iaas/Content/Compute/References/serialconsole.htm :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str instance_id: (optional) The OCID of the instance. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.InstanceConsoleConnection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_instance_console_connections API. rrr!list_instance_console_connectionszlhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConsoleConnection/ListInstanceConsoleConnections)rrr^rrcsg|]}|vr|qSr&r&r0r2r&r'r3&r4zCComputeClient.list_instance_console_connections..z6list_instance_console_connections got unknown kwargs: r^rr)rr)rrcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:&r4zCComputeClient.list_instance_console_connections..r=rgrrEzlist[InstanceConsoleConnection]rr+Nr9r_r&r2r'rm&sf4       z/ComputeClient.list_instance_console_connectionsc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrddg} |d| vrtd| |dt |dt |dt |dt |dt |dt d}dd t|D}dd|dt d }d!d t|D}|j j |d"|j d#}|rt|t js|j |||j|j|j j||| ||d$|d%|||d& S|j j||| ||d$|d%|||d& Sd S)'a Gets a list of all the devices for given instance. You can optionally filter results by device availability. :param str instance_id: (required) The `OCID`__ of the instance. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param bool is_available: (optional) A filter to return only available devices or only used devices. :param str name: (optional) A filter to return only devices that match the given name exactly. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str sort_by: (optional) The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. **Note:** In general, some "List" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these "List" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted. Allowed values are: "TIMECREATED", "DISPLAYNAME" :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.Device` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_instance_devices API. r)z/instances/{instanceId}/devicesrlist_instance_deviceszNhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/Device/ListInstanceDevices) rr is_availablenamerrr-r.r csg|]}|vr|qSr&r&r0r2r&r'r3Y'r4z7ComputeClient.list_instance_devices..z*list_instance_devices got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:b'r4z7ComputeClient.list_instance_devices..Nrr;r<r.r/r0r1r r!r"r#rorprr)Z isAvailablerprrr2r$cSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:~'r4r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:'r4rrEz list[Device]rrr)r$r^r%rMrGrHrKrLr_rIr8r9r4r%rrJrr&r2r'rn&sI $            z#ComputeClient.list_instance_devicesc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrddg} |d| vrtd| ||dt|d t|dt|dt|dt|dt|dt|dt|d t|dtd } ddt| D} dd|d td!} d"dt| D} |jj|d#|jd$}|rt |t j s|j | | |j|j|jj||| | d%|d&|||d' S|jj||| | d%|d&|||d' Sd(S))a: Gets a list of all the maintenance events for the given instance. :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str instance_id: (optional) The OCID of the instance. :param str lifecycle_state: (optional) A filter to only return resources that match the given lifecycle state. Allowed values are: "SCHEDULED", "STARTED", "PROCESSING", "SUCCEEDED", "FAILED", "CANCELED" :param str correlation_token: (optional) A filter to only return resources that have a matching correlationToken. :param str instance_action: (optional) A filter to only return resources that match the given instance action. :param datetime time_window_start_greater_than_or_equal_to: (optional) Starting range to return the maintenances which are not completed (date-time is in `RFC3339`__ format). __ https://tools.ietf.org/html/rfc3339 :param datetime time_window_start_less_than_or_equal_to: (optional) Ending range to return the maintenances which are not completed (date-time is in `RFC3339`__ format). __ https://tools.ietf.org/html/rfc3339 :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str sort_by: (optional) The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. **Note:** In general, some "List" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these "List" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted. Allowed values are: "TIMECREATED", "DISPLAYNAME" :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.InstanceMaintenanceEventSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_instance_maintenance_events API. rz/instanceMaintenanceEventsr list_instance_maintenance_eventszqhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceMaintenanceEventSummary/ListInstanceMaintenanceEvents) rrr^r?correlation_tokenr*time_window_start_greater_than_or_equal_to'time_window_start_less_than_or_equal_torrr.r r-csg|]}|vr|qSr&r&r0r2r&r'r3(r4zBComputeClient.list_instance_maintenance_events..z5list_instance_maintenance_events got unknown kwargs: r?)Z SCHEDULEDZSTARTEDZ PROCESSINGrZr[ZCANCELEDrFr.r/r0r1r r!r"r#r^rrrrsrtrr) rr)rGZcorrelationTokenZinstanceActionZ#timeWindowStartGreaterThanOrEqualToZ timeWindowStartLessThanOrEqualTorrr2r$cSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:A(r4zBComputeClient.list_instance_maintenance_events..r=r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:H(r4rrEz%list[InstanceMaintenanceEventSummary]rr+Nr9rHr&r2r'rq's[                  z.ComputeClient.list_instance_maintenance_eventsc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | d|vrddg} |d| vrtd| d|vrgd} |d| vrtd| |dt|dt|dt||dt|dt|dt|d t|dt|dtd } ddt| D} ddd } |jj|d!|jd"}|rt |t j s|j | | |j|j|jj||| | d#|d$|||d% S|jj||| | d#|d$|||d% Sd&S)'a Lists the instances in the specified compartment and the specified availability domain. You can filter the results by specifying an instance name (the list will include all the identically-named instances in the compartment). **Note:** To retrieve public and private IP addresses for an instance, use the :func:`list_vnic_attachments` operation to get the VNIC ID for the instance, and then call :func:`get_vnic` with the VNIC ID. :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. Example: `Uocm:PHX-AD-1` :param str capacity_reservation_id: (optional) The OCID of the compute capacity reservation. :param str compute_cluster_id: (optional) The `OCID`__ of the compute cluster. A `compute cluster`__ is a remote direct memory access (RDMA) network group. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm :param str display_name: (optional) A filter to return only resources that match the given display name exactly. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str sort_by: (optional) The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. **Note:** In general, some "List" operations (for example, `ListInstances`) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these "List" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted. Allowed values are: "TIMECREATED", "DISPLAYNAME" :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param str lifecycle_state: (optional) A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. Allowed values are: "MOVING", "PROVISIONING", "RUNNING", "STARTING", "STOPPING", "STOPPED", "CREATING_IMAGE", "TERMINATING", "TERMINATED" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.Instance` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_instances API. rrrlist_instanceszJhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/Instance/ListInstances) rrr:rrr)rrr.r r?csg|]}|vr|qSr&r&r0r2r&r'r3(r4z0ComputeClient.list_instances..z#list_instances got unknown kwargs: r.r/r0r1r r!r"r#r?) rCrlZRUNNINGZSTARTINGZSTOPPINGZSTOPPEDZCREATING_IMAGEZ TERMINATINGZ TERMINATEDrFr:rrr)rr) r5rrrr*rrr2r$rGcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:)r4z0ComputeClient.list_instances..r8r=rgrrEzlist[Instance]rr+Nr9r\r&r2r'ruj(s]                 zComputeClient.list_instancesc s(dg}d}d}d}d}gdfddt|D}|rHtd ||d t||d t|d t|d td} ddt| D} ddd} |jj|d|jd} | rt | t j s|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)a Lists the shapes that can be used to launch an instance within the specified compartment. You can filter the list by compatibility with a specific image. :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. Example: `Uocm:PHX-AD-1` :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str image_id: (optional) The `OCID`__ of an image. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.Shape` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_shapes API. rz/shapesr list_shapeszDhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/Shape/ListShapes)rrr:rrrncsg|]}|vr|qSr&r&r0r2r&r'r3o)r4z-ComputeClient.list_shapes..z list_shapes got unknown kwargs: r:rrrn)r5rrrr`cSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:{)r4z-ComputeClient.list_shapes..r=rgrrEz list[Shape]rr+Nr9r_r&r2r'rv()sh8        zComputeClient.list_shapesc s2dg}d}d}d}d}gdfddt|D}|rHtd ||d t||d t|d t|d t|dtd} ddt| D} ddd} |jj|d|jd} | r t | t j s|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)a Lists the VNIC attachments in the specified compartment. A VNIC attachment resides in the same compartment as the attached instance. The list can be filtered by instance, VNIC, or availability domain. :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. Example: `Uocm:PHX-AD-1` :param str instance_id: (optional) The OCID of the instance. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str vnic_id: (optional) The OCID of the VNIC. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.VnicAttachment` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_vnic_attachments API. rrvrlist_vnic_attachmentszVhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VnicAttachment/ListVnicAttachments)rrr:r^rrvnic_idcsg|]}|vr|qSr&r&r0r2r&r'r3)r4z7ComputeClient.list_vnic_attachments..z*list_vnic_attachments got unknown kwargs: r:r^rrrx)r5rr)rrZvnicIdcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:)r4z7ComputeClient.list_vnic_attachments..r8r=rgrrEzlist[VnicAttachment]rr+Nr9r_r&r2r'rw)sj:          z#ComputeClient.list_vnic_attachmentsc s2dg}d}d}d}d}gdfddt|D}|rHtd ||d t||d t|d t|d t|dtd} ddt| D} ddd} |jj|d|jd} | r t | t j s|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)ah Lists the volume attachments in the specified compartment. You can filter the list by specifying an instance OCID, volume OCID, or both. Currently, the only supported volume attachment type are :class:`IScsiVolumeAttachment` and :class:`ParavirtualizedVolumeAttachment`. :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str availability_domain: (optional) The name of the availability domain. Example: `Uocm:PHX-AD-1` :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str instance_id: (optional) The OCID of the instance. :param str volume_id: (optional) The OCID of the volume. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.VolumeAttachment` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_volume_attachments API. rryrlist_volume_attachmentszZhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeAttachment/ListVolumeAttachments)rrr:rrr^ volume_idcsg|]}|vr|qSr&r&r0r2r&r'r3l*r4z9ComputeClient.list_volume_attachments..z,list_volume_attachments got unknown kwargs: r:rrr^rz)r5rrrr)ZvolumeIdcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:y*r4z9ComputeClient.list_volume_attachments..r8r=rgrrEzlist[VolumeAttachment]rr+Nr9r_r&r2r'ry *sj<          z%ComputeClient.list_volume_attachmentsc sFddg}d}d}d}d}dgfdd t|D} | rHtd | ||d } d d t| D} t| D]<\} } | dust| tjrpt| dkrptd| dqpddd} |jj | d|j d}|r t|t j s|j| ||j|j|jj||| | | d|||d S|jj||| | | d|||dSdS)a Removes a shape from the compatible shapes list for the image. :param str image_id: (required) The `OCID`__ of the image. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str shape_name: (required) Shape name. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use remove_image_shape_compatibility_entry API. r`rarbr&remove_image_shape_compatibility_entryzshttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ImageShapeCompatibilityEntry/RemoveImageShapeCompatibilityEntryrcsg|]}|vr|qSr&r&r0r2r&r'r3*r4zHComputeClient.remove_image_shape_compatibility_entry..z;remove_image_shape_compatibility_entry got unknown kwargs: rfcSsi|]\}}|tur||qSr&r5r7r&r&r'r:*r4zHComputeClient.remove_image_shape_compatibility_entry..Nrr;r<r=rgrErrFrlrmr&r2r'r{*sd $    z4ComputeClient.remove_image_shape_compatibility_entryc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqn|dt |dt d} dd t| D} dd|dt d} dd t| D} |j j |d|j d}|rnt|t jsF|j | ||j|j|j j||| | | |d|||d S|j j||| | | |d|||d Sd S)a Permanently terminates (deletes) the specified instance. Any attached VNICs and volumes are automatically detached when the instance terminates. To preserve the boot volume associated with the instance, specify `true` for `PreserveBootVolumeQueryParam`. To delete the boot volume when the instance is deleted, specify `false` or do not specify a value for `PreserveBootVolumeQueryParam`. To preserve data volumes created with the instance, specify `true` or do not specify a value for `PreserveDataVolumesQueryParam`. To delete the data volumes when the instance itself is deleted, specify `false` for `PreserveDataVolumesQueryParam`. This is an asynchronous operation. The instance's `lifecycleState` changes to TERMINATING temporarily until the instance is completely deleted. After the instance is deleted, the record remains visible in the list of instances with the state TERMINATED for at least 12 hours, but no further action is needed. :param str instance_id: (required) The `OCID`__ of the instance. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param bool preserve_boot_volume: (optional) Specifies whether to delete or preserve the boot volume when terminating an instance. When set to `true`, the boot volume is preserved. The default value is `false`. :param bool preserve_data_volumes_created_at_launch: (optional) Specifies whether to delete or preserve the data volumes created during launch when terminating an instance. When set to `true`, the data volumes are preserved. The default value is `true`. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use terminate_instance API. r)r rterminate_instancer)rrr.preserve_boot_volume'preserve_data_volumes_created_at_launchcsg|]}|vr|qSr&r&r0r2r&r'r3>+r4z4ComputeClient.terminate_instance..z'terminate_instance got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:G+r4z4ComputeClient.terminate_instance..Nrr;r<r}r~)ZpreserveBootVolumeZ"preserveDataVolumesCreatedAtLaunchcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:Q+r4r=r.rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:X+r4rrEr) rGrHrIrrJrrKrLrMr)r$r^r%rMrGrHrKrLr_rIr8r9rrJrr&r2r'r|*sr6$      z ComputeClient.terminate_instancec srdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rJt|t js"|j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Updates the specified capacity reservation and its associated capacity configurations. Fields that are not provided in the request will not be updated. Capacity configurations that are not included will be deleted. Avoid entering confidential information. :param str capacity_reservation_id: (required) The OCID of the compute capacity reservation. :param oci.core.models.UpdateComputeCapacityReservationDetails update_compute_capacity_reservation_details: (required) Update compute capacity reservation details. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_compute_capacity_reservation API. rrrc#update_compute_capacity_reservationzohttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCapacityReservation/UpdateComputeCapacityReservationrcsg|]}|vr|qSr&r&r0r2r&r'r3+r4zEComputeClient.update_compute_capacity_reservation..z8update_compute_capacity_reservation got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:+r4zEComputeClient.update_compute_capacity_reservation..Nrr;r<r=r.r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:+r4rrErrr)r$rZ+update_compute_capacity_reservation_detailsr%rMrGrHrKrLr_rIr8r9rJrr&r2r'rz+sl)$     z1ComputeClient.update_compute_capacity_reservationc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|d urt j}|rZt|t js2|j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)aq Updates the specified compute capacity topology. Fields that are not provided in the request will not be updated. :param str compute_capacity_topology_id: (required) The `OCID`__ of the compute capacity topology. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param oci.core.models.UpdateComputeCapacityTopologyDetails update_compute_capacity_topology_details: (required) Update compute capacity topology details. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_compute_capacity_topology API. rrrc update_compute_capacity_topologyzihttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCapacityTopology/UpdateComputeCapacityTopologyrcsg|]}|vr|qSr&r&r0r2r&r'r3,r4zBComputeClient.update_compute_capacity_topology..z5update_compute_capacity_topology got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:&,r4zBComputeClient.update_compute_capacity_topology..Nrr;r<r=r.r-rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:2,r4rrErrr)r$rZ(update_compute_capacity_topology_detailsr%rMrGrHrKrLr_rIr8r9rJrr&r2r'r+sp)$      z.ComputeClient.update_compute_capacity_topologyc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|rbt|t js8|j | |j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)as Updates a compute cluster. A `compute cluster`__ is a remote direct memory access (RDMA) network group. To create instances within a compute cluster, use the :func:`launch_instance` operation. To delete instances from a compute cluster, use the :func:`terminate_instance` operation. __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm :param str compute_cluster_id: (required) The `OCID`__ of the compute cluster. A `compute cluster`__ is a remote direct memory access (RDMA) network group. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm :param oci.core.models.UpdateComputeClusterDetails update_compute_cluster_details: (required) Details for updating the compute cluster. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeCluster` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_compute_cluster API. rrrcupdate_compute_clusterzWhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeCluster/UpdateComputeCluster)rrr-r/r.csg|]}|vr|qSr&r&r0r2r&r'r3,r4z8ComputeClient.update_compute_cluster..z+update_compute_cluster got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:,r4z8ComputeClient.update_compute_cluster..Nrr;r<r=r-r/r.)r?r@rArCrBcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:,r4rrErrrirN)r$rZupdate_compute_cluster_detailsr%rMrGrHrKrLr_rIr8r9rJrr&r2r'rV,st<$       z$ComputeClient.update_compute_clusterc sldg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d}|rBt|t js|j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)a Updates the specified Compute Image Capability Schema :param str compute_image_capability_schema_id: (required) The id of the compute image capability schema or the image ocid :param oci.core.models.UpdateComputeImageCapabilitySchemaDetails update_compute_image_capability_schema_details: (required) Updates the freeFormTags, definedTags, and display name of the image capability schema :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ComputeImageCapabilitySchema` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_compute_image_capability_schema API. rrrc&update_compute_image_capability_schemazshttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeImageCapabilitySchema/UpdateComputeImageCapabilitySchemarcsg|]}|vr|qSr&r&r0r2r&r'r3 -r4zHComputeClient.update_compute_image_capability_schema..z;update_compute_image_capability_schema got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:-r4zHComputeClient.update_compute_image_capability_schema..Nrr;r<r=r.rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:-r4rrErrrir)r$rZ.update_compute_image_capability_schema_detailsr%rMrGrHrKrLr_rIr8r9rJrr&r2r'r,sn#$    z4ComputeClient.update_compute_image_capability_schemac sldg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d}|rBt|t js|j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)a$ Updates the specified console history metadata. :param str instance_console_history_id: (required) The OCID of the console history. :param oci.core.models.UpdateConsoleHistoryDetails update_console_history_details: (required) Update instance fields :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.ConsoleHistory` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_console_history API. rrrcupdate_console_historyzWhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/ConsoleHistory/UpdateConsoleHistoryrcsg|]}|vr|qSr&r&r0r2r&r'r3q-r4z8ComputeClient.update_console_history..z+update_console_history got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:z-r4z8ComputeClient.update_console_history..Nrr;r<r=r.rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:-r4rrEr~rrir)r$rZupdate_console_history_detailsr%rMrGrHrKrLr_rIr8r9rJrr&r2r'rB-sn#$    z$ComputeClient.update_console_historyc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|rbt|t js8|j | |j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)ap Updates the displayName, freeformTags, and definedTags attributes for the specified dedicated virtual machine host. If an attribute value is not included, it will not be updated. :param str dedicated_vm_host_id: (required) The OCID of the dedicated VM host. :param oci.core.models.UpdateDedicatedVmHostDetails update_dedicated_vm_host_details: (required) Update dedicated VM host details :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.DedicatedVmHost` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_dedicated_vm_host API. rrrcupdate_dedicated_vm_hostzYhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/DedicatedVmHost/UpdateDedicatedVmHostrcsg|]}|vr|qSr&r&r0r2r&r'r3-r4z:ComputeClient.update_dedicated_vm_host..z-update_dedicated_vm_host got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:-r4z:ComputeClient.update_dedicated_vm_host..Nrr;r<r=r.r-r/rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:-r4rrErrrirN)r$rZ update_dedicated_vm_host_detailsr%rMrGrHrKrLr_rIr8r9rJrr&r2r'r-st/$       z&ComputeClient.update_dedicated_vm_hostc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rXt|t js.|j | |j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)a Updates the display name of the image. Avoid entering confidential information. :param str image_id: (required) The `OCID`__ of the image. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param oci.core.models.UpdateImageDetails update_image_details: (required) Updates the image display name field. Avoid entering confidential information. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.Image` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_image API. r`rrc update_imagezEhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/Image/UpdateImagercsg|]}|vr|qSr&r&r0r2r&r'r3Z.r4z.ComputeClient.update_image..z!update_image got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:c.r4z.ComputeClient.update_image..Nrr;r<r=r/r.rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:o.r4rrErrrirN)r$rnZupdate_image_detailsr%rMrGrHrKrLr_rIr8r9rJrr&r2r'r!.sr,$      zComputeClient.update_imagec sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rXt|t js.|j | |j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)ad Updates certain fields on the specified instance. Fields that are not provided in the request will not be updated. Avoid entering confidential information. Changes to metadata fields will be reflected in the instance metadata service (this may take up to a minute). The OCID of the instance remains the same. :param str instance_id: (required) The `OCID`__ of the instance. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param oci.core.models.UpdateInstanceDetails update_instance_details: (required) Update instance fields :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.Instance` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_instance API. r)r rcupdate_instancezKhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/Instance/UpdateInstancercsg|]}|vr|qSr&r&r0r2r&r'r3.r4z1ComputeClient.update_instance..z$update_instance got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:.r4z1ComputeClient.update_instance..Nrr;r<r=r/r.rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:.r4rrEr rrirN)r$r^Zupdate_instance_detailsr%rMrGrHrKrLr_rIr8r9rJrr&r2r'r.sr2$      zComputeClient.update_instancec svdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rLt|t js"|j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)aj Updates the defined tags and free-form tags for the specified instance console connection. :param str instance_console_connection_id: (required) The OCID of the instance console connection. :param oci.core.models.UpdateInstanceConsoleConnectionDetails update_instance_console_connection_details: (required) Update instanceConsoleConnection tags :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.InstanceConsoleConnection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_instance_console_connection API. rrrc"update_instance_console_connectionzmhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConsoleConnection/UpdateInstanceConsoleConnectionrcsg|]}|vr|qSr&r&r0r2r&r'r3A/r4zDComputeClient.update_instance_console_connection..z7update_instance_console_connection got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:J/r4zDComputeClient.update_instance_console_connection..Nrr;r<r=r-r.rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:V/r4rrErrrir)r$rZ*update_instance_console_connection_detailsr%rMrGrHrKrLr_rIr8r9rJrr&r2r'r /sp'$     z0ComputeClient.update_instance_console_connectionc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|d urt j}|rpt|t jsH|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Updates the maintenance event for the given instance. :param str instance_maintenance_event_id: (required) The OCID of the instance maintenance event. :param oci.core.models.UpdateInstanceMaintenanceEventDetails update_instance_maintenance_event_details: (required) Update instance maintenance event due date. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_instance_maintenance_event API. rrrc!update_instance_maintenance_eventzkhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceMaintenanceEvent/UpdateInstanceMaintenanceEventr,csg|]}|vr|qSr&r&r0r2r&r'r3/r4zCComputeClient.update_instance_maintenance_event..z6update_instance_maintenance_event got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:/r4zCComputeClient.update_instance_maintenance_event..Nrr;r<r=r-r.r/r>cSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r:/r4rrErrr)r$rZ)update_instance_maintenance_event_detailsr%rMrGrHrKrLr_rIr8r9rJrr&r2r'rz/st.$        z/ComputeClient.update_instance_maintenance_eventc svdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rLt|t js"|j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)a Updates information about the specified volume attachment. :param str volume_attachment_id: (required) The OCID of the volume attachment. :param oci.core.models.UpdateVolumeAttachmentDetails update_volume_attachment_details: (required) Update information about the specified volume attachment. :param str opc_request_id: (optional) Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.VolumeAttachment` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_volume_attachment API. rrrcupdate_volume_attachmentz[https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeAttachment/UpdateVolumeAttachmentrcsg|]}|vr|qSr&r&r0r2r&r'r3%0r4z:ComputeClient.update_volume_attachment..z-update_volume_attachment got unknown kwargs: cSsi|]\}}|tur||qSr&r5r7r&r&r'r:.0r4z:ComputeClient.update_volume_attachment..Nrr;r<r=r-r.rcSs&i|]\}}|tur|dur||qSrDr5r7r&r&r'r::0r4rrEr{rrir)r$rZ update_volume_attachment_detailsr%rMrGrHrKrLr_rIr8r9rJrr&r2r'r/sp'$     z&ComputeClient.update_volume_attachmentN)k__name__ __module__ __qualname____doc__r(r+rdrprwrzr}rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr r r rrrrrrrrrrr&r-r6r;r<r>rJrLrRrSrTrUrVrXrYr]r`rardrgrhrmrnrqrurvrwryr{r|rrrrrrrrrrrr&r&r&r'rs [rf[_[ky|{u}~]hihz]fxaYfjq``bb`ckcX\\VaeiZ^gXlaZi[VafcVVY/ |#.4&G29&"+-~CFt,B?z~ZmoggxsymwrN)Z __future__rZ oci._vendorrrZocirrZoci.base_clientrZ oci.configrr Z oci.signerr Zoci.utilr r r Zoci.exceptionsrZ oci.alloyrZmodelsrr6objectrr&r&r&r's