a fB@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@seZdZdZddZddZddZdd 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|S)}BlockstorageClienta4 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 Ks2tdstdt||ddd|vr6|d}nDt|vrHt|}n2t|d|d|d|dt|d |d d }d |d ddi|dd|dt j |dd}d|vr|d|d<|ddurt j |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 uses :py:data:`~oci.circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY` as default if no circuit breaker strategy is provided. 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_realmrrrtimeoutNallow_control_charsZ blockstorageretry_strategycircuit_breaker_callback)rZis_service_enabledrr getr r r rrZGLOBAL_CIRCUIT_BREAKER_STRATEGYZ DEFAULT_CIRCUIT_BREAKER_STRATEGYrr base_clientrr Z_config_kwargs)selfZconfigkwargsrZbase_client_init_kwargsr&@/usr/lib/python3.9/site-packages/oci/core/blockstorage_client.py__init__"sF3          zBlockstorageClient.__init__c 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 S|j j||| | ||d|||d Sd S)a Moves a boot volume backup 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 boot_volume_backup_id: (required) The OCID of the boot volume backup. :param oci.core.models.ChangeBootVolumeBackupCompartmentDetails change_boot_volume_backup_compartment_details: (required) Request to change the compartment of given boot volume backup. :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 change_boot_volume_backup_compartment API. bootVolumeBackupIdzA/bootVolumeBackups/{bootVolumeBackupId}/actions/changeCompartmentPOST%change_boot_volume_backup_compartmentzfhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeBackup/ChangeBootVolumeBackupCompartmentrropc_request_idcsg|]}|vr|qSr&r&.0Z_keyZexpected_kwargsr&r' zLBlockstorageClient.change_boot_volume_backup_compartment..z:change_boot_volume_backup_compartment got unknown kwargs: cSsi|]\}}|tur||qSr&missingr/kvr&r&r' r2zLBlockstorageClient.change_boot_volume_backup_compartment..Nr Parameter + cannot be None, whitespace or empty stringapplication/jsonr-accept content-typeopc-request-idcSs&i|]\}}|tur|dur||qSNr3r5r&r&r'r8r2rZoperation_retry_strategyZclient_retry_strategyr resource_pathmethod path_params header_paramsbodyroperation_nameapi_reference_linkrequired_argumentsriterkeys ValueError iteritems isinstance string_typeslenstripr!r4r"get_preferred_retry_strategyrrNoneRetryStrategyadd_opc_client_retries_headeradd_circuit_breaker_callbackr make_retrying_callcall_api)r$boot_volume_backup_idZ-change_boot_volume_backup_compartment_detailsr%rJrCrDrHrI extra_kwargsrEr6r7rFrr&r0r'r+sj&$    z8BlockstorageClient.change_boot_volume_backup_compartmentc 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 S|j j||| | ||d|||d Sd S)a| Moves a boot volume 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 boot_volume_id: (required) The OCID of the boot volume. :param oci.core.models.ChangeBootVolumeCompartmentDetails change_boot_volume_compartment_details: (required) Request to change the compartment of given boot volume. :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 change_boot_volume_compartment API. bootVolumeIdz5/bootVolumes/{bootVolumeId}/actions/changeCompartmentr*change_boot_volume_compartmentzZhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolume/ChangeBootVolumeCompartmentr,csg|]}|vr|qSr&r&r.r0r&r'r1r2zEBlockstorageClient.change_boot_volume_compartment..z3change_boot_volume_compartment got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8"r2zEBlockstorageClient.change_boot_volume_compartment..Nrr9r:r;r-r<cSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8-r2rrArrBrK)r$boot_volume_idZ&change_boot_volume_compartment_detailsr%rJrCrDrHrIrZrEr6r7rFrr&r0r'r\sj&$    z1BlockstorageClient.change_boot_volume_compartmentc 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 S|j j||| | ||d|||d Sd S)a Moves a volume backup 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 volume_backup_id: (required) The OCID of the volume backup. :param oci.core.models.ChangeVolumeBackupCompartmentDetails change_volume_backup_compartment_details: (required) Request to change the compartment of given volume backup. :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 change_volume_backup_compartment API. volumeBackupIdz9/volumeBackups/{volumeBackupId}/actions/changeCompartmentr* change_volume_backup_compartmentz^https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackup/ChangeVolumeBackupCompartmentr,csg|]}|vr|qSr&r&r.r0r&r'r1r2zGBlockstorageClient.change_volume_backup_compartment..z5change_volume_backup_compartment got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8r2zGBlockstorageClient.change_volume_backup_compartment..Nrr9r:r;r-r<cSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2rrArrBrK)r$volume_backup_idZ(change_volume_backup_compartment_detailsr%rJrCrDrHrIrZrEr6r7rFrr&r0r'r_Osj&$    z3BlockstorageClient.change_volume_backup_compartmentc 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 S|j j||| | ||d|||d Sd S)aU Moves a volume 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 volume_id: (required) The OCID of the volume. :param oci.core.models.ChangeVolumeCompartmentDetails change_volume_compartment_details: (required) Request to change the compartment of given volume. :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 change_volume_compartment API. volumeIdz-/volumes/{volumeId}/actions/changeCompartmentr*change_volume_compartmentzRhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/Volume/ChangeVolumeCompartmentr,csg|]}|vr|qSr&r&r.r0r&r'r1r2z@BlockstorageClient.change_volume_compartment..z.change_volume_compartment got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8r2z@BlockstorageClient.change_volume_compartment..Nrr9r:r;r-r<cSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2rrArrBrK)r$ volume_idZ!change_volume_compartment_detailsr%rJrCrDrHrIrZrEr6r7rFrr&r0r'rbsj&$    z,BlockstorageClient.change_volume_compartmentc 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 S|j j||| | ||d|||d Sd S)a Moves a volume group backup 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 volume_group_backup_id: (required) The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup. :param oci.core.models.ChangeVolumeGroupBackupCompartmentDetails change_volume_group_backup_compartment_details: (required) Request to change the compartment of given volume group backup. :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 change_volume_group_backup_compartment API. volumeGroupBackupIdzC/volumeGroupBackups/{volumeGroupBackupId}/actions/changeCompartmentr*&change_volume_group_backup_compartmentzhhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroupBackup/ChangeVolumeGroupBackupCompartmentr,csg|]}|vr|qSr&r&r.r0r&r'r1Qr2zMBlockstorageClient.change_volume_group_backup_compartment..z;change_volume_group_backup_compartment got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8Zr2zMBlockstorageClient.change_volume_group_backup_compartment..Nrr9r:r;r-r<cSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8er2rrArrBrK)r$volume_group_backup_idZ.change_volume_group_backup_compartment_detailsr%rJrCrDrHrIrZrEr6r7rFrr&r0r'resj&$    z9BlockstorageClient.change_volume_group_backup_compartmentc 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 S|j j||| | ||d|||d Sd S)a Moves a volume group 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 volume_group_id: (required) The Oracle Cloud ID (OCID) that uniquely identifies the volume group. :param oci.core.models.ChangeVolumeGroupCompartmentDetails change_volume_group_compartment_details: (required) Request to change the compartment of given volume group. :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 change_volume_group_compartment API. volumeGroupIdz7/volumeGroups/{volumeGroupId}/actions/changeCompartmentr*change_volume_group_compartmentz\https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroup/ChangeVolumeGroupCompartmentr,csg|]}|vr|qSr&r&r.r0r&r'r1r2zFBlockstorageClient.change_volume_group_compartment..z4change_volume_group_compartment got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8r2zFBlockstorageClient.change_volume_group_compartment..Nrr9r:r;r-r<cSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2rrArrBrK)r$volume_group_idZ'change_volume_group_compartment_detailsr%rJrCrDrHrIrZrEr6r7rFrr&r0r'rhsj&$    z2BlockstorageClient.change_volume_group_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 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)aN Creates a boot volume backup copy in specified region. For general information about volume backups, see `Overview of Boot Volume Backups`__ __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/bootvolumebackups.htm :param str boot_volume_backup_id: (required) The OCID of the boot volume backup. :param oci.core.models.CopyBootVolumeBackupDetails copy_boot_volume_backup_details: (required) Request to create a cross-region copy of given boot volume backup. :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.BootVolumeBackup` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use copy_boot_volume_backup API. r)z4/bootVolumeBackups/{bootVolumeBackupId}/actions/copyr*copy_boot_volume_backupzYhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeBackup/CopyBootVolumeBackuprropc_retry_tokenr-csg|]}|vr|qSr&r&r.r0r&r'r1(r2z>BlockstorageClient.copy_boot_volume_backup..z,copy_boot_volume_backup got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r81r2z>BlockstorageClient.copy_boot_volume_backup..Nrr9r:r;rlr-r=r>opc-retry-tokenr?cSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8=r2rrABootVolumeBackupr rCrDrErFrG response_typerrHrIrJrrLrMrNrOrPrQrRr!r4r"rSrrrTadd_opc_retry_token_if_neededrUrVr rWrX)r$rYZcopy_boot_volume_backup_detailsr%rJrCrDrHrIrZrEr6r7rFrr&r0r'rjsr,$      z*BlockstorageClient.copy_boot_volume_backupc 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& Creates a volume backup copy in specified region. For general information about volume backups, see `Overview of Block Volume Service Backups`__ __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumebackups.htm :param str volume_backup_id: (required) The OCID of the volume backup. :param oci.core.models.CopyVolumeBackupDetails copy_volume_backup_details: (required) Request to create a cross-region copy of given backup. :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.VolumeBackup` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use copy_volume_backup API. r^z,/volumeBackups/{volumeBackupId}/actions/copyr*copy_volume_backupzQhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackup/CopyVolumeBackuprkcsg|]}|vr|qSr&r&r.r0r&r'r1r2z9BlockstorageClient.copy_volume_backup..z'copy_volume_backup got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8r2z9BlockstorageClient.copy_volume_backup..Nrr9r:r;rlr-rmcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2rrA VolumeBackuprrprr)r$r`Zcopy_volume_backup_detailsr%rJrCrDrHrIrZrEr6r7rFrr&r0r'rtbsr,$      z%BlockstorageClient.copy_volume_backupc 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 Creates a volume group backup copy in specified region. For general information about volume group backups, see `Overview of Block Volume Backups`__. __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumebackups.htm :param str volume_group_backup_id: (required) The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup. :param oci.core.models.CopyVolumeGroupBackupDetails copy_volume_group_backup_details: (required) Request to create a cross-region copy of given volume group backup. :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.VolumeGroupBackup` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use copy_volume_group_backup API. rdz6/volumeGroupBackups/{volumeGroupBackupId}/actions/copyr*copy_volume_group_backupz[https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroupBackup/CopyVolumeGroupBackuprkcsg|]}|vr|qSr&r&r.r0r&r'r1r2z?BlockstorageClient.copy_volume_group_backup..z-copy_volume_group_backup got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8r2z?BlockstorageClient.copy_volume_group_backup..Nrr9r:r;rlr-rmcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8#r2rrAVolumeGroupBackuprrprr)r$rfZ copy_volume_group_backup_detailsr%rJrCrDrHrIrZrEr6r7rFrr&r0r'rvsr,$      z+BlockstorageClient.copy_volume_group_backupc 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 boot volume in the specified compartment from an existing boot volume or a boot volume backup. For general information about boot volumes, see `Boot Volumes`__. You may optionally specify a *display name* for the volume, which is simply a friendly name or description. It does not have to be unique, and you can change it. Avoid entering confidential information. __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/bootvolumes.htm :param oci.core.models.CreateBootVolumeDetails create_boot_volume_details: (required) Request to create a new boot volume. :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.BootVolume` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_boot_volume API. /bootVolumesr*create_boot_volumezOhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolume/CreateBootVolumerrrlcsg|]}|vr|qSr&r&r.r0r&r'r1{r2z9BlockstorageClient.create_boot_volume..z'create_boot_volume got unknown kwargs: r;rlr=r>rncSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2z9BlockstorageClient.create_boot_volume..rrA BootVolumer rCrDrFrGrqrrHrIrJNrrLrMr!r4rNr"rSrrOrrTrsrUrVr rWrX) r$Zcreate_boot_volume_detailsr%rJrCrDrHrIrZrFrr&r0r'ryHs`'      z%BlockstorageClient.create_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 new boot volume backup of the specified boot volume. For general information about boot volume backups, see `Overview of Boot Volume Backups`__ When the request is received, the backup object is in a REQUEST_RECEIVED state. When the data is imaged, it goes into a CREATING state. After the backup is fully uploaded to the cloud, it goes into an AVAILABLE state. __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/bootvolumebackups.htm :param oci.core.models.CreateBootVolumeBackupDetails create_boot_volume_backup_details: (required) Request to create a new backup of given boot volume. :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.BootVolumeBackup` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_boot_volume_backup API. /bootVolumeBackupsr*create_boot_volume_backupz[https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeBackup/CreateBootVolumeBackuprzcsg|]}|vr|qSr&r&r.r0r&r'r1r2z@BlockstorageClient.create_boot_volume_backup..z.create_boot_volume_backup got unknown kwargs: r;rlr{cSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2z@BlockstorageClient.create_boot_volume_backup..rrArorr}Nr~) r$Z!create_boot_volume_backup_detailsr%rJrCrDrHrIrZrFrr&r0r'rs`)      z,BlockstorageClient.create_boot_volume_backupc 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 volume in the specified compartment. Volumes can be created in sizes ranging from 50 GB (51200 MB) to 32 TB (33554432 MB), in 1 GB (1024 MB) increments. By default, volumes are 1 TB (1048576 MB). For general information about block volumes, see `Overview of Block Volume Service`__. A volume and instance can be in separate compartments but must be in the same availability domain. 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. You may optionally specify a *display name* for the volume, which is simply a friendly name or description. It does not have to be unique, and you can change it. Avoid entering confidential information. __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm __ https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm :param oci.core.models.CreateVolumeDetails create_volume_details: (required) Request to create a new volume. :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.Volume` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_volume API. /volumesr* create_volumezGhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/Volume/CreateVolumerzcsg|]}|vr|qSr&r&r.r0r&r'r1Ir2z4BlockstorageClient.create_volume..z"create_volume got unknown kwargs: r;rlr{cSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8Sr2z4BlockstorageClient.create_volume..rrAVolumerr}Nr~) r$Zcreate_volume_detailsr%rJrCrDrHrIrZrFrr&r0r'r s`3      z BlockstorageClient.create_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 new backup of the specified volume. For general information about volume backups, see `Overview of Block Volume Service Backups`__ When the request is received, the backup object is in a REQUEST_RECEIVED state. When the data is imaged, it goes into a CREATING state. After the backup is fully uploaded to the cloud, it goes into an AVAILABLE state. __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumebackups.htm :param oci.core.models.CreateVolumeBackupDetails create_volume_backup_details: (required) Request to create a new backup of given volume. :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.VolumeBackup` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_volume_backup API. /volumeBackupsr*create_volume_backupzShttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackup/CreateVolumeBackuprzcsg|]}|vr|qSr&r&r.r0r&r'r1r2z;BlockstorageClient.create_volume_backup..z)create_volume_backup got unknown kwargs: r;rlr{cSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2z;BlockstorageClient.create_volume_backup..rrArurr}Nr~) r$Zcreate_volume_backup_detailsr%rJrCrDrHrIrZrFrr&r0r'rvs`)      z'BlockstorageClient.create_volume_backupc 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 user defined backup policy. For more information about Oracle defined backup policies and user defined backup policies, see `Policy-Based Backups`__. __ https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm :param oci.core.models.CreateVolumeBackupPolicyDetails create_volume_backup_policy_details: (required) Request to create a new scheduled backup policy. :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.VolumeBackupPolicy` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_volume_backup_policy API. /volumeBackupPoliciesr*create_volume_backup_policyz_https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackupPolicy/CreateVolumeBackupPolicyrkcsg|]}|vr|qSr&r&r.r0r&r'r1r2zBBlockstorageClient.create_volume_backup_policy..z0create_volume_backup_policy got unknown kwargs: r;rlr-rmcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2zBBlockstorageClient.create_volume_backup_policy..rrAVolumeBackupPolicyrr}Nr~) r$Z#create_volume_backup_policy_detailsr%rJrCrDrHrIrZrFrr&r0r'rsb+       z.BlockstorageClient.create_volume_backup_policyc sg}d}d}d}d}dgfddt|D}|rDtd|d d d } |jj|d|jd } | rt| tj s|j | | |j | j |jj||| |d |d |||d S|jj||| |d |d |||d SdS)a Assigns a volume backup policy to the specified volume. Note that a given volume can only have one backup policy assigned to it. If this operation is used for a volume that already has a different backup policy assigned, the prior backup policy will be silently unassigned. :param oci.core.models.CreateVolumeBackupPolicyAssignmentDetails create_volume_backup_policy_assignment_details: (required) Request to assign a specified policy to a particular 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 :class:`~oci.core.models.VolumeBackupPolicyAssignment` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_volume_backup_policy_assignment API. /volumeBackupPolicyAssignmentsr*&create_volume_backup_policy_assignmentzshttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackupPolicyAssignment/CreateVolumeBackupPolicyAssignmentrcsg|]}|vr|qSr&r&r.r0r&r'r1br2zMBlockstorageClient.create_volume_backup_policy_assignment..z;create_volume_backup_policy_assignment got unknown kwargs: r;r=r>rAVolumeBackupPolicyAssignmentrr}N)rrLrMr"rSr!rrOrrTrUrVr rWrX) r$Z.create_volume_backup_policy_assignment_detailsr%rJrCrDrHrIrZrFrr&r0r'r>sZ    z9BlockstorageClient.create_volume_backup_policy_assignmentc 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)aX Creates a new volume group in the specified compartment. A volume group is a collection of volumes and may be created from a list of volumes, cloning an existing volume group, or by restoring a volume group backup. You may optionally specify a *display name* for the volume group, which is simply a friendly name or description. It does not have to be unique, and you can change it. Avoid entering confidential information. For more information, see `Volume Groups`__. __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm :param oci.core.models.CreateVolumeGroupDetails create_volume_group_details: (required) Request to create a new volume group. :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.VolumeGroup` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_volume_group API. /volumeGroupsr*create_volume_groupzQhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroup/CreateVolumeGrouprzcsg|]}|vr|qSr&r&r.r0r&r'r1r2z:BlockstorageClient.create_volume_group..z(create_volume_group got unknown kwargs: r;rlr{cSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2z:BlockstorageClient.create_volume_group..rrA VolumeGrouprr}Nr~) r$Zcreate_volume_group_detailsr%rJrCrDrHrIrZrFrr&r0r'rs`*      z&BlockstorageClient.create_volume_groupc 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 backup volume group of the specified volume group. For more information, see `Volume Groups`__. __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm :param oci.core.models.CreateVolumeGroupBackupDetails create_volume_group_backup_details: (required) Request to create a new backup group of given volume group. :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.VolumeGroupBackup` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_volume_group_backup API. /volumeGroupBackupsr*create_volume_group_backupz]https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroupBackup/CreateVolumeGroupBackuprzcsg|]}|vr|qSr&r&r.r0r&r'r1 r2zABlockstorageClient.create_volume_group_backup..z/create_volume_group_backup got unknown kwargs: r;rlr{cSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8*r2zABlockstorageClient.create_volume_group_backup..rrArwrr}Nr~) r$Z"create_volume_group_backup_detailsr%rJrCrDrHrIrZrFrr&r0r'rs`%      z-BlockstorageClient.create_volume_group_backupc 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 boot volume. The volume cannot have an active connection to an instance. To disconnect the boot volume from a connected instance, see `Disconnecting From a Boot Volume`__. **Warning:** All data on the boot volume will be permanently lost when the boot volume is deleted. __ https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/deletingbootvolume.htm :param str boot_volume_id: (required) The OCID of the boot volume. :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_boot_volume API. r[/bootVolumes/{bootVolumeId}DELETEdelete_boot_volumerrif_matchcsg|]}|vr|qSr&r&r.r0r&r'r1~r2z9BlockstorageClient.delete_boot_volume..z'delete_boot_volume got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8r2z9BlockstorageClient.delete_boot_volume..Nrr9r:r;rr=r>if-matchcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2rrArrCrDrErFrrHrIrJrKr$r]r%rJrCrDrHrIrZrEr6r7rFrr&r0r'rMsf%$    z%BlockstorageClient.delete_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)ag Deletes a boot volume backup. :param str boot_volume_backup_id: (required) The OCID of the boot volume backup. :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_boot_volume_backup API. r)'/bootVolumeBackups/{bootVolumeBackupId}rdelete_boot_volume_backuprrcsg|]}|vr|qSr&r&r.r0r&r'r1r2z@BlockstorageClient.delete_boot_volume_backup..z.delete_boot_volume_backup got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8r2z@BlockstorageClient.delete_boot_volume_backup..Nrr9r:r;rrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2rrArrrKr$rYr%rJrCrDrHrIrZrEr6r7rFrr&r0r'rsf $    z,BlockstorageClient.delete_boot_volume_backupc 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 Removes the specified boot volume's assigned Vault Service encryption key. :param str boot_volume_id: (required) The OCID of the boot volume. :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_boot_volume_kms_key API. r["/bootVolumes/{bootVolumeId}/kmsKeyrdelete_boot_volume_kms_keyrrcsg|]}|vr|qSr&r&r.r0r&r'r1>r2zABlockstorageClient.delete_boot_volume_kms_key..z/delete_boot_volume_kms_key got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8Gr2zABlockstorageClient.delete_boot_volume_kms_key..Nrr9r:r;rrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8Rr2rrArrrKrr&r0r'rsf $    z-BlockstorageClient.delete_boot_volume_kms_keyc 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 volume. The volume cannot have an active connection to an instance. To disconnect the volume from a connected instance, see `Disconnecting From a Volume`__. **Warning:** All data on the volume will be permanently lost when the volume is deleted. __ https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/disconnectingfromavolume.htm :param str volume_id: (required) The OCID of the volume. :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_volume API. ra/volumes/{volumeId}r delete_volumerrcsg|]}|vr|qSr&r&r.r0r&r'r1r2z4BlockstorageClient.delete_volume..z"delete_volume got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8r2z4BlockstorageClient.delete_volume..Nrr9r:r;rrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2rrArrrKr$rcr%rJrCrDrHrIrZrEr6r7rFrr&r0r'rrsf%$    z BlockstorageClient.delete_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)aN Deletes a volume backup. :param str volume_backup_id: (required) The OCID of the volume backup. :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_volume_backup API. r^/volumeBackups/{volumeBackupId}rdelete_volume_backuprrcsg|]}|vr|qSr&r&r.r0r&r'r1 r2z;BlockstorageClient.delete_volume_backup..z)delete_volume_backup got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8 r2z;BlockstorageClient.delete_volume_backup..Nrr9r:r;rrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8 r2rrArrrKr$r`r%rJrCrDrHrIrZrEr6r7rFrr&r0r'rsf $    z'BlockstorageClient.delete_volume_backupc 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)aA Deletes a user defined backup policy. For more information about user defined backup policies, see `Policy-Based Backups`__. Avoid entering confidential information. __ https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies :param str policy_id: (required) The OCID of the volume backup policy. :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_volume_backup_policy API. policyId /volumeBackupPolicies/{policyId}rdelete_volume_backup_policyr)rrr-rcsg|]}|vr|qSr&r&r.r0r&r'r1n r2zBBlockstorageClient.delete_volume_backup_policy..z0delete_volume_backup_policy got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8w r2zBBlockstorageClient.delete_volume_backup_policy..Nrr9r:r;r-r)r=r>r?rcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8 r2rrArrrKr$ policy_idr%rJrCrDrHrIrZrEr6r7rFrr&r0r'r7 sh*$     z.BlockstorageClient.delete_volume_backup_policyc 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 a volume backup policy assignment. :param str policy_assignment_id: (required) The OCID of the volume backup policy assignment. :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_volume_backup_policy_assignment API. policyAssignmentId3/volumeBackupPolicyAssignments/{policyAssignmentId}r&delete_volume_backup_policy_assignmentrrcsg|]}|vr|qSr&r&r.r0r&r'r1 r2zMBlockstorageClient.delete_volume_backup_policy_assignment..z;delete_volume_backup_policy_assignment got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8 r2zMBlockstorageClient.delete_volume_backup_policy_assignment..Nrr9r:r;rrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8 r2rrArrrKr$Zpolicy_assignment_idr%rJrCrDrHrIrZrEr6r7rFrr&r0r'r sf $    z9BlockstorageClient.delete_volume_backup_policy_assignmentc 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)aO Deletes the specified volume group. Individual volumes are not deleted, only the volume group is deleted. For more information, see `Volume Groups`__. __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm :param str volume_group_id: (required) The Oracle Cloud ID (OCID) that uniquely identifies the volume group. :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_volume_group API. rg/volumeGroups/{volumeGroupId}rdelete_volume_grouprrcsg|]}|vr|qSr&r&r.r0r&r'r12 r2z:BlockstorageClient.delete_volume_group..z(delete_volume_group got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8; r2z:BlockstorageClient.delete_volume_group..Nrr9r:r;rrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8F r2rrArrrKr$rir%rJrCrDrHrIrZrEr6r7rFrr&r0r'r sf#$    z&BlockstorageClient.delete_volume_groupc 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 a volume group backup. This operation deletes all the backups in the volume group. For more information, see `Volume Groups`__. __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm :param str volume_group_backup_id: (required) The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup. :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_volume_group_backup API. rd)/volumeGroupBackups/{volumeGroupBackupId}rdelete_volume_group_backuprrcsg|]}|vr|qSr&r&r.r0r&r'r1 r2zABlockstorageClient.delete_volume_group_backup..z/delete_volume_group_backup got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8 r2zABlockstorageClient.delete_volume_group_backup..Nrr9r:r;rrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8 r2rrArrrKr$rfr%rJrCrDrHrIrZrEr6r7rFrr&r0r'rf sf#$    z-BlockstorageClient.delete_volume_group_backupc 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)ao Removes the specified volume's assigned Vault service encryption key. :param str volume_id: (required) The OCID of the volume. :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_volume_kms_key API. ra/volumes/{volumeId}/kmsKeyrdelete_volume_kms_keyrrcsg|]}|vr|qSr&r&r.r0r&r'r1 r2z.z*delete_volume_kms_key got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8 r2z.Nrr9r:r;rrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8 r2rrArrrKrr&r0r'r sf $    z(BlockstorageClient.delete_volume_kms_keyc 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)a3 Gets information for the specified block volume replica. :param str block_volume_replica_id: (required) The OCID of the block volume replica. :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.BlockVolumeReplica` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_block_volume_replica API. ZblockVolumeReplicaIdz+/blockVolumeReplicas/{blockVolumeReplicaId}GETget_block_volume_replicaz\https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BlockVolumeReplica/GetBlockVolumeReplicarcsg|]}|vr|qSr&r&r.r0r&r'r1K r2z?BlockstorageClient.get_block_volume_replica..z-get_block_volume_replica got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8T r2z?BlockstorageClient.get_block_volume_replica..Nrr9r:r;rrAZBlockVolumeReplicar rCrDrErFrqrrHrIrJrrLrMrNrOrPrQrRr"rSr!rrrTrUrVr rWrX)r$Zblock_volume_replica_idr%rJrCrDrHrIrZrEr6r7rFrr&r0r'r) sf$    z+BlockstorageClient.get_block_volume_replicac 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 for the specified boot volume. :param str boot_volume_id: (required) 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 :class:`~oci.core.models.BootVolume` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_boot_volume API. r[rrget_boot_volumezLhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolume/GetBootVolumercsg|]}|vr|qSr&r&r.r0r&r'r1 r2z6BlockstorageClient.get_boot_volume..z$get_boot_volume got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8 r2z6BlockstorageClient.get_boot_volume..Nrr9r:r;rrAr|rrrrr&r0r'r sf$    z"BlockstorageClient.get_boot_volumec 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 for the specified boot volume backup. :param str boot_volume_backup_id: (required) The OCID of the boot volume backup. :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.BootVolumeBackup` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_boot_volume_backup API. r)rrget_boot_volume_backupzXhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeBackup/GetBootVolumeBackuprcsg|]}|vr|qSr&r&r.r0r&r'r1 r2z=BlockstorageClient.get_boot_volume_backup..z+get_boot_volume_backup got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8 r2z=BlockstorageClient.get_boot_volume_backup..Nrr9r:r;rrArorrrrr&r0r'r sf$    z)BlockstorageClient.get_boot_volume_backupc 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 Vault service encryption key assigned to the specified boot volume. :param str boot_volume_id: (required) The OCID of the boot volume. :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.BootVolumeKmsKey` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_boot_volume_kms_key API. r[rrget_boot_volume_kms_keyzXhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeKmsKey/GetBootVolumeKmsKeyrcsg|]}|vr|qSr&r&r.r0r&r'r1W r2z>BlockstorageClient.get_boot_volume_kms_key..z,get_boot_volume_kms_key got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8` r2z>BlockstorageClient.get_boot_volume_kms_key..Nrr9r:r;rrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8k r2rrABootVolumeKmsKeyrrrKrr&r0r'r+ sj $    z*BlockstorageClient.get_boot_volume_kms_keyc 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 for the specified boot volume replica. :param str boot_volume_replica_id: (required) The OCID of the boot volume replica. :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.BootVolumeReplica` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_boot_volume_replica API. ZbootVolumeReplicaIdz)/bootVolumeReplicas/{bootVolumeReplicaId}rget_boot_volume_replicazZhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeReplica/GetBootVolumeReplicarcsg|]}|vr|qSr&r&r.r0r&r'r1 r2z>BlockstorageClient.get_boot_volume_replica..z,get_boot_volume_replica got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8 r2z>BlockstorageClient.get_boot_volume_replica..Nrr9r:r;rrAZBootVolumeReplicarrr)r$Zboot_volume_replica_idr%rJrCrDrHrIrZrEr6r7rFrr&r0r'r sf$    z*BlockstorageClient.get_boot_volume_replicac 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 for the specified volume. :param str volume_id: (required) 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 :class:`~oci.core.models.Volume` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_volume API. rarr get_volumezDhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/Volume/GetVolumercsg|]}|vr|qSr&r&r.r0r&r'r1 r2z1BlockstorageClient.get_volume..zget_volume got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8 r2z1BlockstorageClient.get_volume..Nrr9r:r;rrArrrrrr&r0r'r sf$    zBlockstorageClient.get_volumec 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 for the specified volume backup. :param str volume_backup_id: (required) The OCID of the volume backup. :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.VolumeBackup` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_volume_backup API. r^rrget_volume_backupzPhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackup/GetVolumeBackuprcsg|]}|vr|qSr&r&r.r0r&r'r1[ r2z8BlockstorageClient.get_volume_backup..z&get_volume_backup got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8d r2z8BlockstorageClient.get_volume_backup..Nrr9r:r;rrArurrrrr&r0r'r9 sf$    z$BlockstorageClient.get_volume_backupc 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 for the specified volume backup policy. :param str policy_id: (required) The OCID of the volume backup policy. :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.VolumeBackupPolicy` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_volume_backup_policy API. rrrget_volume_backup_policyz\https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackupPolicy/GetVolumeBackupPolicyrcsg|]}|vr|qSr&r&r.r0r&r'r1 r2z?BlockstorageClient.get_volume_backup_policy..z-get_volume_backup_policy got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8 r2z?BlockstorageClient.get_volume_backup_policy..Nrr9r:r;rrArrrrrr&r0r'r sf$    z+BlockstorageClient.get_volume_backup_policyc sdg}d}d}d}d}gdfddt|D}|rHtd |||d t|d td } d dt| D} ddd} |jj|d|jd} | rt | t j s|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)a Gets the volume backup policy assignment for the specified volume. The `assetId` query parameter is required, and the returned list will contain at most one item, since volume can only have one volume backup policy assigned at a time. :param str asset_id: (required) The OCID of an asset (e.g. a volume). :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.VolumeBackupPolicyAssignment` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_volume_backup_policy_asset_assignment API. assetIdrr)get_volume_backup_policy_asset_assignmentzuhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackupPolicyAssignment/GetVolumeBackupPolicyAssetAssignment)rrlimitpagecsg|]}|vr|qSr&r&r.r0r&r'r1r2zPBlockstorageClient.get_volume_backup_policy_asset_assignment..z>get_volume_backup_policy_asset_assignment got unknown kwargs: rr)rrrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8)r2zPBlockstorageClient.get_volume_backup_policy_asset_assignment..r;rrrAz"list[VolumeBackupPolicyAssignment]r rCrD query_paramsrFrqrrHrIrJNrrLrMr!r4rNr"rSrrOrrTrUrVr rWrX) r$Zasset_idr%rJrCrDrHrIrZrrFrr&r0r'r sd-      z`__. 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.VolumeBackupPolicyAssignment` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_volume_backup_policy_assignment API. rrr#get_volume_backup_policy_assignmentzphttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackupPolicyAssignment/GetVolumeBackupPolicyAssignmentrcsg|]}|vr|qSr&r&r.r0r&r'r1rr2zJBlockstorageClient.get_volume_backup_policy_assignment..z8get_volume_backup_policy_assignment got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8{r2zJBlockstorageClient.get_volume_backup_policy_assignment..Nrr9r:r;rrArrrrrr&r0r'rPsf$    z6BlockstorageClient.get_volume_backup_policy_assignmentc 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 for the specified volume group. For more information, see `Volume Groups`__. __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm :param str volume_group_id: (required) The Oracle Cloud ID (OCID) that uniquely identifies the volume group. :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.VolumeGroup` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_volume_group API. rgrrget_volume_groupzNhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroup/GetVolumeGrouprcsg|]}|vr|qSr&r&r.r0r&r'r1r2z7BlockstorageClient.get_volume_group..z%get_volume_group got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8r2z7BlockstorageClient.get_volume_group..Nrr9r:r;rrArrrrrr&r0r'rsf$    z#BlockstorageClient.get_volume_groupc 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 for the specified volume group backup. For more information, see `Volume Groups`__. __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm :param str volume_group_backup_id: (required) The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup. :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.VolumeGroupBackup` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_volume_group_backup API. rdrrget_volume_group_backupzZhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroupBackup/GetVolumeGroupBackuprcsg|]}|vr|qSr&r&r.r0r&r'r1"r2z>BlockstorageClient.get_volume_group_backup..z,get_volume_group_backup got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8+r2z>BlockstorageClient.get_volume_group_backup..Nrr9r:r;rrArwrrrrr&r0r'rsf$    z*BlockstorageClient.get_volume_group_backupc 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)a3 Gets information for the specified volume group replica. :param str volume_group_replica_id: (required) The OCID of the volume replica group. :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.VolumeGroupReplica` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_volume_group_replica API. volumeGroupReplicaIdz+/volumeGroupReplicas/{volumeGroupReplicaId}rget_volume_group_replicaz\https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroupReplica/GetVolumeGroupReplicarcsg|]}|vr|qSr&r&r.r0r&r'r1xr2z?BlockstorageClient.get_volume_group_replica..z-get_volume_group_replica got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8r2z?BlockstorageClient.get_volume_group_replica..Nrr9r:r;rrAZVolumeGroupReplicarrr)r$volume_group_replica_idr%rJrCrDrHrIrZrEr6r7rFrr&r0r'rVsf$    z+BlockstorageClient.get_volume_group_replicac 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 Vault service encryption key assigned to the specified volume. :param str volume_id: (required) The OCID of the volume. :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.VolumeKmsKey` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_volume_kms_key API. rarrget_volume_kms_keyzPhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeKmsKey/GetVolumeKmsKeyrcsg|]}|vr|qSr&r&r.r0r&r'r1r2z9BlockstorageClient.get_volume_kms_key..z'get_volume_kms_key got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8r2z9BlockstorageClient.get_volume_kms_key..Nrr9r:r;rrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2rrA VolumeKmsKeyrrrKrr&r0r'rsj $    z%BlockstorageClient.get_volume_kms_keyc sg}d}d}d}d}gdfddt|D}|rFtd|d |vrpd d g}|d |vrptd |d |vrddg} |d | vrtd| d|vrgd} |d| vrtd| |dt|dt|dt|dt|dt|dt|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# Sd$S)%a Lists the block volume replicas in the specified compartment and availability domain. :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 volume_group_replica_id: (optional) The OCID of the volume group replica. :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 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", "AVAILABLE", "ACTIVATING", "TERMINATING", "TERMINATED", "FAULTY" :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.BlockVolumeReplica` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_block_volume_replicas API. z/blockVolumeReplicasrlist_block_volume_replicasz^https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BlockVolumeReplica/ListBlockVolumeReplicas rravailability_domaincompartment_idrrr display_namesort_by sort_orderlifecycle_statecsg|]}|vr|qSr&r&r.r0r&r'r1qr2zABlockstorageClient.list_block_volume_replicas..z/list_block_volume_replicas got unknown kwargs: r TIMECREATED DISPLAYNAME,Invalid value for `sort_by`, must be one of rASCDESC/Invalid value for `sort_order`, must be one of r PROVISIONING AVAILABLEZ ACTIVATING TERMINATING TERMINATEDFAULTY4Invalid value for `lifecycle_state`, must be one of rrrrrr availabilityDomain compartmentIdrrr displayNamesortBy sortOrderlifecycleStatecSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2zABlockstorageClient.list_block_volume_replicas..r;rrrAzlist[BlockVolumeReplica]rrNrr$r%rJrCrDrHrIrZsort_by_allowed_valuessort_order_allowed_valueslifecycle_state_allowed_valuesrrFrr&r0r'rsO                 z-BlockstorageClient.list_block_volume_replicasc 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|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 boot volume backups in the specified compartment. You can filter the results by boot volume. :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str boot_volume_id: (optional) The OCID of the boot volume. :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 source_boot_volume_backup_id: (optional) A filter to return only resources that originated from the given source boot volume backup. :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: "CREATING", "AVAILABLE", "TERMINATING", "TERMINATED", "FAULTY", "REQUEST_RECEIVED" :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.BootVolumeBackup` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_boot_volume_backups API. rrrlist_boot_volume_backupszZhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeBackup/ListBootVolumeBackups) rrr]rrrsource_boot_volume_backup_idrrrcsg|]}|vr|qSr&r&r.r0r&r'r1r2z?BlockstorageClient.list_boot_volume_backups..z-list_boot_volume_backups got unknown kwargs: rrrrrrrrrZCREATINGrrrrZREQUEST_RECEIVEDrr]rrrr) rr[rrrZsourceBootVolumeBackupIdrrrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8Cr2z?BlockstorageClient.list_boot_volume_backups..r;rrrAzlist[BootVolumeBackup]rrNrr$rr%rJrCrDrHrIrZrrrrrFrr&r0r'rsN                z+BlockstorageClient.list_boot_volume_backupsc sg}d}d}d}d}gdfddt|D}|rFtd|d |vrpd d g}|d |vrptd |d |vrddg} |d | vrtd| d|vrgd} |d| vrtd| |dt|dt|dt|dt|dt|dt|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# Sd$S)%a Lists the boot volume replicas in the specified compartment and availability domain. :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 volume_group_replica_id: (optional) The OCID of the volume group replica. :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 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", "AVAILABLE", "ACTIVATING", "TERMINATING", "TERMINATED", "FAULTY" :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.BootVolumeReplica` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_boot_volume_replicas API. z/bootVolumeReplicasrlist_boot_volume_replicasz\https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeReplica/ListBootVolumeReplicasrcsg|]}|vr|qSr&r&r.r0r&r'r1r2z@BlockstorageClient.list_boot_volume_replicas..z.list_boot_volume_replicas got unknown kwargs: rrrrrrrrrrrrrrrrrrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2z@BlockstorageClient.list_boot_volume_replicas..r;rrrAzlist[BootVolumeReplica]rrNrrr&r0r'rjsO                 z,BlockstorageClient.list_boot_volume_replicasc s.g}d}d}d}d}gdfddt|D}|rFtd||d t|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)a5 Lists the boot volumes in the specified compartment and availability domain. :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 volume_group_id: (optional) The OCID of the volume group. :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.BootVolume` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_boot_volumes API. rxrlist_boot_volumeszNhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolume/ListBootVolumes)rrrrrrricsg|]}|vr|qSr&r&r.r0r&r'r1^r2z8BlockstorageClient.list_boot_volumes..z&list_boot_volumes got unknown kwargs: rrrrri)rrrrrgcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8jr2z8BlockstorageClient.list_boot_volumes..r;rrrAzlist[BootVolume]rrNr r$r%rJrCrDrHrIrZrrFrr&r0r'rsh5          z$BlockstorageClient.list_boot_volumesc sg}d}d}d}d}gdfddt|D}|rFtd||d t|d t|d td }d dt|D}ddd} |jj|d|jd} | rt | t j s|j | | |j| j|jj|||| d|d|||d S|jj|||| d|d|||d SdS)aQ Lists all the volume backup policies available in the specified compartment. For more information about Oracle defined backup policies and user defined backup policies, see `Policy-Based Backups`__. __ https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.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 compartment_id: (optional) The OCID of the compartment. If no compartment is specified, the Oracle defined backup policies are listed. :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.VolumeBackupPolicy` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_volume_backup_policies API. rrlist_volume_backup_policiesz_https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackupPolicy/ListVolumeBackupPolicies)rrrrrcsg|]}|vr|qSr&r&r.r0r&r'r1r2zBBlockstorageClient.list_volume_backup_policies..z0list_volume_backup_policies got unknown kwargs: rrr)rrrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2zBBlockstorageClient.list_volume_backup_policies..r;rrrAzlist[VolumeBackupPolicy]rrNrrr&r0r'rsd1       z.BlockstorageClient.list_volume_backup_policiesc 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|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 volume backups in the specified compartment. You can filter the results by volume. :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str volume_id: (optional) The OCID of the volume. :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 source_volume_backup_id: (optional) A filter to return only resources that originated from the given source volume backup. :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: "CREATING", "AVAILABLE", "TERMINATING", "TERMINATED", "FAULTY", "REQUEST_RECEIVED" :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.VolumeBackup` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_volume_backups API. rrrlist_volume_backupszRhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackup/ListVolumeBackups) rrrcrrrsource_volume_backup_idrrrcsg|]}|vr|qSr&r&r.r0r&r'r1br2z:BlockstorageClient.list_volume_backups..z(list_volume_backups got unknown kwargs: rrrrrrrrrrrrcrrrr) rrarrrZsourceVolumeBackupIdrrrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2z:BlockstorageClient.list_volume_backups..r;rrrAzlist[VolumeBackup]rrNrrr&r0r'rsN                z&BlockstorageClient.list_volume_backupsc 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} ddd} |jj|d|jd} | rjt | t j sB|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d Sd S)!a Lists the volume group backups in the specified compartment. You can filter the results by volume group. For more information, see `Volume Groups`__. __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm :param str compartment_id: (required) The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param str volume_group_id: (optional) The OCID of the volume group. :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.VolumeGroupBackup` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_volume_group_backups API. rrrlist_volume_group_backupsz\https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroupBackup/ListVolumeGroupBackups)rrrirrrrrcsg|]}|vr|qSr&r&r.r0r&r'r1r2z@BlockstorageClient.list_volume_group_backups..z.list_volume_group_backups got unknown kwargs: rrrrrrrrrirrr)rrgrrrrrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8#r2z@BlockstorageClient.list_volume_group_backups..r;rrrAzlist[VolumeGroupBackup]rrNr)r$rr%rJrCrDrHrIrZrrrrFrr&r0r'rsH             z,BlockstorageClient.list_volume_group_backupsc sddg}d}d}d}d}gdfdd t|D} | rJtd | d |vrtd d g} |d | vrttd| d|vrddg} |d| vrtd| d|vrgd} |d| vrtd| |||dt|dt|dt|d t|dt|dtd} ddt| D} ddd}|jj|d|jd}|rt |t j sp|j || |j|j|jj||| |d |d!|||d" S|jj||| |d |d!|||d" Sd#S)$a Lists the volume group replicas in the specified compartment. You can filter the results by volume group. For more information, see `Volume Group Replication`__. __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroupreplication.htm :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 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 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", "AVAILABLE", "ACTIVATING", "TERMINATING", "TERMINATED", "FAULTY" :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.VolumeGroupReplica` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_volume_group_replicas API. rrz/volumeGroupReplicasrlist_volume_group_replicasz^https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroupReplica/ListVolumeGroupReplicas)rrrrrrrrcsg|]}|vr|qSr&r&r.r0r&r'r1r2zABlockstorageClient.list_volume_group_replicas..z/list_volume_group_replicas got unknown kwargs: rrrrrrrrrrrrrrrrrrrrrrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2zABlockstorageClient.list_volume_group_replicas..r;rrrAzlist[VolumeGroupReplica]rrNr)r$rrr%rJrCrDrHrIrZrrrrrFrr&r0r'rJsO              z-BlockstorageClient.list_volume_group_replicasc 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 volume groups in the specified compartment and availability domain. For more information, see `Volume Groups`__. __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.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 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 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", "AVAILABLE", "TERMINATING", "TERMINATED", "FAULTY", "UPDATE_PENDING" :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.VolumeGroup` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_volume_groups API. rrrlist_volume_groupszPhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroup/ListVolumeGroups) rrrrrrrrrcsg|]}|vr|qSr&r&r.r0r&r'r1Wr2z9BlockstorageClient.list_volume_groups..z'list_volume_groups got unknown kwargs: rrrrrrrrr)rrrrrZUPDATE_PENDINGrrrrrrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8{r2z9BlockstorageClient.list_volume_groups..r;rrrAzlist[VolumeGroup]rrNrrr&r0r'rsP               z%BlockstorageClient.list_volume_groupsc sg}d}d}d}d}gdfddt|D}|rFtd|d |vrpd d g}|d |vrptd |d |vrddg} |d | vrtd| d|vrgd} |d| vrtd| |dt|dt|dt|dt|dt|d t|d t|dt|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 volumes in the specified compartment and availability domain. :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 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 str volume_group_id: (optional) The OCID of the volume group. :param str cluster_placement_group_id: (optional) A filter to return only resources that match the given cluster placement group Id exactly. :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", "RESTORING", "AVAILABLE", "TERMINATING", "TERMINATED", "FAULTY" :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.Volume` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_volumes API. rr list_volumeszFhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/Volume/ListVolumes) rrrrrrrrrricluster_placement_group_idrcsg|]}|vr|qSr&r&r.r0r&r'r1 r2z3BlockstorageClient.list_volumes..z!list_volumes got unknown kwargs: rrrrrrrrr)rZ RESTORINGrrrrrrrrrrrir) rrrrrrrrgZclusterPlacementGroupIdrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r80r2z3BlockstorageClient.list_volumes..r;rrrAz list[Volume]rrNrrr&r0r'rsS                 zBlockstorageClient.list_volumesc 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 boot volume's display name, defined tags, and free-form tags. :param str boot_volume_id: (required) The OCID of the boot volume. :param oci.core.models.UpdateBootVolumeDetails update_boot_volume_details: (required) Update boot volume's display name. :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.BootVolume` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_boot_volume API. r[rPUTupdate_boot_volumezOhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolume/UpdateBootVolumercsg|]}|vr|qSr&r&r.r0r&r'r1r2z9BlockstorageClient.update_boot_volume..z'update_boot_volume got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8r2z9BlockstorageClient.update_boot_volume..Nrr9r:r;rrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2rrAr|rrprK)r$r]Zupdate_boot_volume_detailsr%rJrCrDrHrIrZrEr6r7rFrr&r0r'rWsn#$    z%BlockstorageClient.update_boot_volumec 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)ax Updates the display name for the specified boot volume backup. Avoid entering confidential information. :param str boot_volume_backup_id: (required) The OCID of the boot volume backup. :param oci.core.models.UpdateBootVolumeBackupDetails update_boot_volume_backup_details: (required) Update boot volume backup 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.BootVolumeBackup` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_boot_volume_backup API. r)rrupdate_boot_volume_backupz[https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeBackup/UpdateBootVolumeBackuprcsg|]}|vr|qSr&r&r.r0r&r'r1r2z@BlockstorageClient.update_boot_volume_backup..z.update_boot_volume_backup got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8r2z@BlockstorageClient.update_boot_volume_backup..Nrr9r:r;rrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2rrArorrprK)r$rYZ!update_boot_volume_backup_detailsr%rJrCrDrHrIrZrEr6r7rFrr&r0r'rsn$$    z,BlockstorageClient.update_boot_volume_backupc 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 volume with a new Vault service master encryption key. :param str boot_volume_id: (required) The OCID of the boot volume. :param oci.core.models.UpdateBootVolumeKmsKeyDetails update_boot_volume_kms_key_details: (required) Updates the Vault service master encryption key assigned to the specified boot volume. :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.BootVolumeKmsKey` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_boot_volume_kms_key API. r[rrupdate_boot_volume_kms_keyz[https://docs.oracle.com/iaas/api/#/en/iaas/20160918/BootVolumeKmsKey/UpdateBootVolumeKmsKeyrcsg|]}|vr|qSr&r&r.r0r&r'r1Ur2zABlockstorageClient.update_boot_volume_kms_key..z/update_boot_volume_kms_key got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8^r2zABlockstorageClient.update_boot_volume_kms_key..Nrr9r:r;rrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8ir2rrArrrprK)r$r]Z"update_boot_volume_kms_key_detailsr%rJrCrDrHrIrZrEr6r7rFrr&r0r'r&sn#$    z-BlockstorageClient.update_boot_volume_kms_keyc 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 volume's display name. Avoid entering confidential information. :param str volume_id: (required) The OCID of the volume. :param oci.core.models.UpdateVolumeDetails update_volume_details: (required) Update volume's display name. Avoid entering confidential information. :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.Volume` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_volume API. rarr update_volumezGhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/Volume/UpdateVolumercsg|]}|vr|qSr&r&r.r0r&r'r1r2z4BlockstorageClient.update_volume..z"update_volume got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8r2z4BlockstorageClient.update_volume..Nrr9r:r;rrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2rrArrrprK)r$rcZupdate_volume_detailsr%rJrCrDrHrIrZrEr6r7rFrr&r0r'rsn$$    z BlockstorageClient.update_volumec 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)aM Updates the display name for the specified volume backup. Avoid entering confidential information. :param str volume_backup_id: (required) The OCID of the volume backup. :param oci.core.models.UpdateVolumeBackupDetails update_volume_backup_details: (required) Update volume backup 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.VolumeBackup` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_volume_backup API. r^rrupdate_volume_backupzShttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackup/UpdateVolumeBackuprcsg|]}|vr|qSr&r&r.r0r&r'r1%r2z;BlockstorageClient.update_volume_backup..z)update_volume_backup got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8.r2z;BlockstorageClient.update_volume_backup..Nrr9r:r;rrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r89r2rrArurrprK)r$r`Zupdate_volume_backup_detailsr%rJrCrDrHrIrZrEr6r7rFrr&r0r'rsn$$    z'BlockstorageClient.update_volume_backupc 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)a Updates a user defined backup policy. For more information about user defined backup policies, see `Policy-Based Backups`__. Avoid entering confidential information. __ https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies :param str policy_id: (required) The OCID of the volume backup policy. :param oci.core.models.UpdateVolumeBackupPolicyDetails update_volume_backup_policy_details: (required) Update volume backup policy 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 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.VolumeBackupPolicy` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_volume_backup_policy API. rrrupdate_volume_backup_policyz_https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeBackupPolicy/UpdateVolumeBackupPolicy)rrrr-rlcsg|]}|vr|qSr&r&r.r0r&r'r1r2zBBlockstorageClient.update_volume_backup_policy..z0update_volume_backup_policy got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8r2zBBlockstorageClient.update_volume_backup_policy..Nrr9r:r;rr-rl)r=r>rr?rncSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2rrArrrprr)r$rZ#update_volume_backup_policy_detailsr%rJrCrDrHrIrZrEr6r7rFrr&r0r'r ]st4$       z.BlockstorageClient.update_volume_backup_policyc 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} dd|dt d}dd t|D}|j j |d|j d}|rht|t js<|j |||j|j|j j||| | ||d|d|||d S|j j||| | ||d|d|||d Sd S)a[ Updates the set of volumes in a volume group along with the display name. Use this operation to add or remove volumes in a volume group. Specify the full list of volume IDs to include in the volume group. If the volume ID is not specified in the call, it will be removed from the volume group. Avoid entering confidential information. For more information, see `Volume Groups`__. __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm :param str volume_group_id: (required) The Oracle Cloud ID (OCID) that uniquely identifies the volume group. :param oci.core.models.UpdateVolumeGroupDetails update_volume_group_details: (required) Update volume group's set of volumes and/or display name :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_volume_replica: (optional) Specifies whether to disable or preserve the individual volume replication when removing a volume from the replication enabled volume group. When set to `true`, the individual volume replica is 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 :class:`~oci.core.models.VolumeGroup` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_volume_group API. rgrrupdate_volume_groupzQhttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroup/UpdateVolumeGroup)rrrpreserve_volume_replicacsg|]}|vr|qSr&r&r.r0r&r'r1r2z:BlockstorageClient.update_volume_group..z(update_volume_group got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8r2z:BlockstorageClient.update_volume_group..Nrr9r:ZpreserveVolumeReplicar cSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8(r2r;rrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8/r2rrArr) rCrDrErrFrGrqrrHrIrJrK)r$riZupdate_volume_group_detailsr%rJrCrDrHrIrZrEr6r7rrFrr&r0r'r sx/$    z&BlockstorageClient.update_volume_groupc 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 display name for the specified volume group backup. For more information, see `Volume Groups`__. __ https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm :param str volume_group_backup_id: (required) The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup. :param oci.core.models.UpdateVolumeGroupBackupDetails update_volume_group_backup_details: (required) Update volume group backup 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.VolumeGroupBackup` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_volume_group_backup API. rdrrupdate_volume_group_backupz]https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeGroupBackup/UpdateVolumeGroupBackuprcsg|]}|vr|qSr&r&r.r0r&r'r1r2zABlockstorageClient.update_volume_group_backup..z/update_volume_group_backup got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8r2zABlockstorageClient.update_volume_group_backup..Nrr9r:r;rrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2rrArwrrprK)r$rfZ"update_volume_group_backup_detailsr%rJrCrDrHrIrZrEr6r7rFrr&r0r'r Usn%$    z-BlockstorageClient.update_volume_group_backupc 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 volume with a new Key Management master encryption key. :param str volume_id: (required) The OCID of the volume. :param oci.core.models.UpdateVolumeKmsKeyDetails update_volume_kms_key_details: (required) Updates the Vault service master encryption key assigned to the specified volume. :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.VolumeKmsKey` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_volume_kms_key API. rarrupdate_volume_kms_keyzShttps://docs.oracle.com/iaas/api/#/en/iaas/20160918/VolumeKmsKey/UpdateVolumeKmsKeyrcsg|]}|vr|qSr&r&r.r0r&r'r1r2z.z*update_volume_kms_key got unknown kwargs: cSsi|]\}}|tur||qSr&r3r5r&r&r'r8r2z.Nrr9r:r;rrcSs&i|]\}}|tur|dur||qSr@r3r5r&r&r'r8r2rrArrrprK)r$rcZupdate_volume_kms_key_detailsr%rJrCrDrHrIrZrEr6r7rFrr&r0r'r sn#$    z(BlockstorageClient.update_volume_kms_keyN)A__name__ __module__ __qualname____doc__r(r+r\r_rbrerhrjrtrvryrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr r r r r&r&r&r'rs ]hhhhhhsss`blbfNc^e``e`l`cc`VVVbVVVVkVXXVb0.0xp.,.6ghghh}{irN)Z __future__rZ oci._vendorrrZocirrZoci.base_clientrZ oci.configrr Z oci.signerr Zoci.utilr r r Zoci.exceptionsrZ oci.alloyrZmodelsrr4objectrr&r&r&r's