a f@sddlmZddlmZddlmZddlmZmZddlm Z ddl m Z m Z ddl mZddlmZmZmZdd lmZdd lmZd d lmZed ZGdddeZdS))absolute_import)requests)six)retrycircuit_breaker) BaseClient)get_config_value_or_defaultvalidate_config)Signer)Sentinel#get_signer_from_authentication_typeAUTHENTICATION_TYPE_FIELD_NAME)InvalidAlloyConfig)OCI_SDK_ENABLED_SERVICES_SET)bds_type_mappingZMissingc@sXeZdZdZddZddZddZdd Zd d Zd d Z ddZ ddZ ddZ ddZ ddZddZddZddZddZd d!Zd"d#Zd$d%Zd&d'Zd(d)Zd*d+Zd,d-Zd.d/Zd0d1Zd2d3Zd4d5Zd6d7Zd8d9Zd:d;Z dd?Z"d@dAZ#dBdCZ$dDdEZ%dFdGZ&dHdIZ'dJdKZ(dLdMZ)dNdOZ*dPdQZ+dRdSZ,dTdUZ-dVdWZ.dXdYZ/dZd[Z0d\d]Z1d^d_Z2d`daZ3dbdcZ4dddeZ5dfdgZ6dhdiZ7djdkZ8dldmZ9dndoZ:dpdqZ;drdsZdxdyZ?dzd{Z@d|d}ZAd~dZBddZCddZDddZEddZFddZGddZHddZIddZJddZKddZLdS) BdsClienta! REST API for Oracle Big Data Service. Use this API to build, deploy, and manage fully elastic Big Data Service clusters. Build on Hadoop, Spark and Data Science distributions, which can be fully integrated with existing enterprise data in Oracle Database and Oracle applications. c Ks&tdstdt||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. ZbdsaThe 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 /20190531z7https://bigdataservice.{region}.oci.{secondLevelDomain}skip_deserializationFcircuit_breaker_strategy5client_level_realm_specific_endpoint_template_enabled)Zregional_clientr base_pathZservice_endpoint_templateZ#service_endpoint_template_per_realmrrrtimeoutNallow_control_charsretry_strategycircuit_breaker_callback)rZis_service_enabledrr getr r r rrZGLOBAL_CIRCUIT_BREAKER_STRATEGYZ DEFAULT_CIRCUIT_BREAKER_STRATEGYrr base_clientrr )selfZconfigkwargsrZbase_client_init_kwargsr%6/usr/lib/python3.9/site-packages/oci/bds/bds_client.py__init__sB3         zBdsClient.__init__c sddg}d}d}d}d} gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt |dt d}dd t|D}|j j |d|j d}|rdt|t js<|j ||j |||j|j|j j||| |||d|| |d S|j j||| |||d|| |d SdS)a Activate specified metastore configuration. :param str bds_instance_id: (required) The OCID of the cluster. :param str metastore_config_id: (required) The metastore configuration ID :param oci.bds.models.ActivateBdsMetastoreConfigurationDetails activate_bds_metastore_configuration_details: (required) The request body when activating specified metastore configuration. :param str opc_request_id: (optional) The client request ID for tracing. :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 might be rejected. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use activate_bds_metastore_configuration API. bdsInstanceIdmetastoreConfigIdzS/bdsInstances/{bdsInstanceId}/metastoreConfigs/{metastoreConfigId}/actions/activatePOST$activate_bds_metastore_configurationzrhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsMetastoreConfiguration/ActivateBdsMetastoreConfiguration)rropc_request_idopc_retry_tokenif_matchcsg|]}|vr|qSr%r%.0Z_keyZexpected_kwargsr%r& zBBdsClient.activate_bds_metastore_configuration..z9activate_bds_metastore_configuration got unknown kwargs: r(r)cSsi|]\}}|tur||qSr%missingr0kvr%r%r& r3zBBdsClient.activate_bds_metastore_configuration..Nr Parameter + cannot be None, whitespace or empty stringapplication/jsonr,r-r.)accept content-typeopc-request-idopc-retry-tokenif-matchcSs&i|]\}}|tur|dur||qSNr5r7r%r%r&r:r3rZoperation_retry_strategyZclient_retry_strategyr resource_pathmethod path_params header_paramsbodyroperation_nameapi_reference_linkrequired_argumentsriterkeys ValueError iteritems isinstance string_typeslenstripr!r6r"get_preferred_retry_strategyrrNoneRetryStrategyadd_opc_retry_token_if_neededadd_opc_client_retries_headeradd_circuit_breaker_callbackr make_retrying_callcall_api)r#bds_instance_idmetastore_config_idZ,activate_bds_metastore_configuration_detailsr$rMrFrGrKrL extra_kwargsrHr8r9rIrr%r1r&r+wsr2$       z.BdsClient.activate_bds_metastore_configurationc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Add an autoscale configuration to the cluster. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.AddAutoScalingConfigurationDetails add_auto_scaling_configuration_details: (required) Details for creating an autoscale configuration. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use add_auto_scaling_configuration API. r(6/bdsInstances/{bdsInstanceId}/autoScalingConfigurationr*add_auto_scaling_configurationz^https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/AddAutoScalingConfigurationrrr,r.r-csg|]}|vr|qSr%r%r/r1r%r&r2.r3z.z3add_auto_scaling_configuration got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:7r3z.Nrr;r<r=r,r.r-r>r?r@rBrAcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:Dr3rrDrrErN)r#r]Z&add_auto_scaling_configuration_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rasp/$       z(BdsClient.add_auto_scaling_configurationc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Adds block storage to existing worker/compute only worker nodes. The same amount of storage will be added to all worker/compute only worker nodes. No change will be made to storage that is already attached. Block storage cannot be removed. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.AddBlockStorageDetails add_block_storage_details: (required) Details for the added block storage. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use add_block_storage API. r(z5/bdsInstances/{bdsInstanceId}/actions/addBlockStorager*add_block_storagezRhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/AddBlockStoragerbcsg|]}|vr|qSr%r%r/r1r%r&r2r3z/BdsClient.add_block_storage..z&add_block_storage got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z/BdsClient.add_block_storage..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDrrErN)r#r]Zadd_block_storage_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rdgsp/$       zBdsClient.add_block_storagec sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)aL Adds Cloud SQL to your cluster. You can use Cloud SQL to query against non-relational data stored in multiple big data sources, including Apache Hive, HDFS, Oracle NoSQL Database, and Apache HBase. Adding Cloud SQL adds a query server node to the cluster and creates cell servers on all the worker nodes in the cluster. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.AddCloudSqlDetails add_cloud_sql_details: (required) Details for the Cloud SQL capability :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use add_cloud_sql API. r(z1/bdsInstances/{bdsInstanceId}/actions/addCloudSqlr* add_cloud_sqlzNhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/AddCloudSqlrbcsg|]}|vr|qSr%r%r/r1r%r&r2r3z+BdsClient.add_cloud_sql..z"add_cloud_sql got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:#r3z+BdsClient.add_cloud_sql..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:0r3rrDrrErN)r#r]Zadd_cloud_sql_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&resp/$       zBdsClient.add_cloud_sqlc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a4 Adds Kafka to a cluster. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.AddKafkaDetails add_kafka_details: (required) Details of the Kafka broker nodes to employ to enable the service. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use add_kafka API. r(z./bdsInstances/{bdsInstanceId}/actions/addKafkar* add_kafkazKhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/AddKafkarbcsg|]}|vr|qSr%r%r/r1r%r&r2r3z'BdsClient.add_kafka..zadd_kafka got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z'BdsClient.add_kafka..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDrrErN)r#r]Zadd_kafka_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rfSsp/$       zBdsClient.add_kafkac sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Increases the size (scales out) of a cluster by adding master nodes. The added master nodes will have the same shape and will have the same amount of attached block storage as other master nodes in the cluster. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.AddMasterNodesDetails add_master_nodes_details: (required) Details for the newly added nodes. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use add_master_nodes API. r(z4/bdsInstances/{bdsInstanceId}/actions/addMasterNodesr*add_master_nodeszQhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/AddMasterNodesrbcsg|]}|vr|qSr%r%r/r1r%r&r2r3z.BdsClient.add_master_nodes..z%add_master_nodes got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z.BdsClient.add_master_nodes..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDrrErN)r#r]Zadd_master_nodes_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rgsp/$       zBdsClient.add_master_nodesc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Increases the size (scales out) of a cluster by adding utility nodes. The added utility nodes will have the same shape and will have the same amount of attached block storage as other utility nodes in the cluster. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.AddUtilityNodesDetails add_utility_nodes_details: (required) Details for the newly added nodes. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use add_utility_nodes API. r(z5/bdsInstances/{bdsInstanceId}/actions/addUtilityNodesr*add_utility_nodeszRhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/AddUtilityNodesrbcsg|]}|vr|qSr%r%r/r1r%r&r2|r3z/BdsClient.add_utility_nodes..z&add_utility_nodes got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z/BdsClient.add_utility_nodes..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDrrErN)r#r]Zadd_utility_nodes_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rh?sp/$       zBdsClient.add_utility_nodesc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Increases the size (scales out) a cluster by adding worker nodes(data/compute). The added worker nodes will have the same shape and will have the same amount of attached block storage as other worker nodes in the cluster. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.AddWorkerNodesDetails add_worker_nodes_details: (required) Details for the newly added nodes. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use add_worker_nodes API. r(z4/bdsInstances/{bdsInstanceId}/actions/addWorkerNodesr*add_worker_nodeszQhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/AddWorkerNodesrbcsg|]}|vr|qSr%r%r/r1r%r&r2r3z.BdsClient.add_worker_nodes..z%add_worker_nodes got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z.BdsClient.add_worker_nodes..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDrrErN)r#r]Zadd_worker_nodes_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&risp/$       zBdsClient.add_worker_nodesc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a' Takes a backup of of given nodes. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.BackupNodeDetails backup_node_details: (required) Details for Taking the node's backup :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use backup_node API. r(z1/bdsInstances/{bdsInstanceId}/actions/backupNodesr* backup_nodezMhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/BackupNoderbcsg|]}|vr|qSr%r%r/r1r%r&r2hr3z)BdsClient.backup_node..z backup_node got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:qr3z)BdsClient.backup_node..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:~r3rrDrrErN)r#r]Zbackup_node_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rj+sp/$       zBdsClient.backup_nodec 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 A list of services and their certificate details. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.CertificateServiceInfoDetails certificate_service_info_details: (required) Details for certificate service info :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might 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 list of :class:`~oci.bds.models.CertificateServiceInfoSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use certificate_service_info API. r(z@/bdsInstances/{bdsInstanceId}/actions/fetchOdhServiceCertificater*certificate_service_infozYhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/CertificateServiceInforbcsg|]}|vr|qSr%r%r/r1r%r&r2r3z6BdsClient.certificate_service_info..z-certificate_service_info got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z6BdsClient.certificate_service_info..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDz#list[CertificateServiceInfoSummary]r) rFrGrHrIrJ response_typerrKrLrMrN)r#r]Z certificate_service_info_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rkst/$       z"BdsClient.certificate_service_infoc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Moves a Big Data Service cluster into a different compartment. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.ChangeBdsInstanceCompartmentDetails change_bds_instance_compartment_details: (required) Details for the comparment change. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_bds_instance_compartment API. r(z7/bdsInstances/{bdsInstanceId}/actions/changeCompartmentr*change_bds_instance_compartmentz_https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ChangeBdsInstanceCompartmentrbcsg|]}|vr|qSr%r%r/r1r%r&r2Vr3z=BdsClient.change_bds_instance_compartment..z4change_bds_instance_compartment got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:_r3z=BdsClient.change_bds_instance_compartment..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:lr3rrDrrErN)r#r]Z'change_bds_instance_compartment_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rmsp/$       z)BdsClient.change_bds_instance_compartmentc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Changes the size of a cluster by scaling up or scaling down the nodes. Nodes are scaled up or down by changing the shapes of all the nodes of the same type to the next larger or smaller shape. The node types are master, utility, worker, and Cloud SQL. Only nodes with VM-STANDARD shapes can be scaled. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.ChangeShapeDetails change_shape_details: (required) Individual change shape settings per node type. You can change the shape of master, worker, utility and Cloud SQL nodes. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_shape API. r(z1/bdsInstances/{bdsInstanceId}/actions/changeShaper* change_shapezNhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ChangeShaperbcsg|]}|vr|qSr%r%r/r1r%r&r2r3z*BdsClient.change_shape..z!change_shape got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z*BdsClient.change_shape..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDrrErN)r#r]Zchange_shape_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rnsp/$       zBdsClient.change_shapec s~dg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rVt|t js.|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Create an API key on behalf of the specified user. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.CreateBdsApiKeyDetails create_bds_api_key_details: (required) Create a new user's API key. :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 might be rejected. :param str opc_request_id: (optional) The client request ID for tracing. :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 create_bds_api_key API. r(%/bdsInstances/{bdsInstanceId}/apiKeysr*create_bds_api_keyzPhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsApiKey/CreateBdsApiKeyrrr-r,csg|]}|vr|qSr%r%r/r1r%r&r2:r3z0BdsClient.create_bds_api_key..z'create_bds_api_key got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:Cr3z0BdsClient.create_bds_api_key..Nrr;r<r=r-r,r>r?rAr@cSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:Or3rrDrrErN)r#r]Zcreate_bds_api_key_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rpsn($      zBdsClient.create_bds_api_keyc 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 S|jj||| ||d|||dSdS)aZ Creates a Big Data Service cluster. :param oci.bds.models.CreateBdsInstanceDetails create_bds_instance_details: (required) Details for the new cluster. :param str opc_request_id: (optional) The client request ID for tracing. :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 might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_bds_instance API. /bdsInstancesr*create_bds_instancezThttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/CreateBdsInstancerrr,r-csg|]}|vr|qSr%r%r/r1r%r&r2r3z1BdsClient.create_bds_instance..z(create_bds_instance got unknown kwargs: r=r,r-r>r?r@rAcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3z1BdsClient.create_bds_instance..rrDr)rFrGrIrJrrKrLrMN)rrOrPr!r6rQr"rVrrRrrWrXrYrZr r[r\) r#Zcreate_bds_instance_detailsr$rMrFrGrKrLr_rIrr%r1r&rtrs^%       zBdsClient.create_bds_instancec s~dg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rVt|t js.|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a/ Create and activate external metastore configuration. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.CreateBdsMetastoreConfigurationDetails create_bds_metastore_configuration_details: (required) The request body when creating and activating external metastore configuration. :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 might be rejected. :param str opc_request_id: (optional) The client request ID for tracing. :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 create_bds_metastore_configuration API. r(./bdsInstances/{bdsInstanceId}/metastoreConfigsr*"create_bds_metastore_configurationzphttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsMetastoreConfiguration/CreateBdsMetastoreConfigurationrqcsg|]}|vr|qSr%r%r/r1r%r&r2r3z@BdsClient.create_bds_metastore_configuration..z7create_bds_metastore_configuration got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z@BdsClient.create_bds_metastore_configuration..Nrr;r<r=r-r,rrcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDrrErN)r#r]Z*create_bds_metastore_configuration_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rxsn($      z,BdsClient.create_bds_metastore_configurationc s~dg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rVt|t js.|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a: Add a node volume backup configuration to the cluster for an indicated node type or node. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.CreateNodeBackupConfigurationDetails create_node_backup_configuration_details: (required) Details for adding nodeBackupConfiguration to the BDS cluster. :param str opc_request_id: (optional) The client request ID for tracing. :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 might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_node_backup_configuration API. r(6/bdsInstances/{bdsInstanceId}/nodeBackupConfigurationsr* create_node_backup_configurationz`https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/CreateNodeBackupConfigurationrucsg|]}|vr|qSr%r%r/r1r%r&r2rr3z>BdsClient.create_node_backup_configuration..z5create_node_backup_configuration got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:{r3z>BdsClient.create_node_backup_configuration..Nrr;r<r=r,r-rvcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDrrErN)r#r]Z(create_node_backup_configuration_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rz=sn($      z*BdsClient.create_node_backup_configurationc s~dg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rVt|t js.|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Add a nodeReplaceConfigurations to the cluster. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.CreateNodeReplaceConfigurationDetails create_node_replace_configuration_details: (required) Details for adding nodeReplaceConfiguration to the BDS cluster. :param str opc_request_id: (optional) The client request ID for tracing. :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 might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_node_replace_configuration API. r(7/bdsInstances/{bdsInstanceId}/nodeReplaceConfigurationsr*!create_node_replace_configurationzahttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/CreateNodeReplaceConfigurationrucsg|]}|vr|qSr%r%r/r1r%r&r2r3z?BdsClient.create_node_replace_configuration..z6create_node_replace_configuration got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z?BdsClient.create_node_replace_configuration..Nrr;r<r=r,r-rvcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDrrErN)r#r]Z)create_node_replace_configuration_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&r|sn($      z+BdsClient.create_node_replace_configurationc s~dg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rVt|t js.|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a@ Create a resource principal session token configuration. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.CreateResourcePrincipalConfigurationDetails create_resource_principal_configuration_details: (required) Details of creating resource principal session token for the bds cluster. :param str opc_request_id: (optional) The client request ID for tracing. :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 might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_resource_principal_configuration API. r(=/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurationsr*'create_resource_principal_configurationzghttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/CreateResourcePrincipalConfigurationrucsg|]}|vr|qSr%r%r/r1r%r&r2Lr3zEBdsClient.create_resource_principal_configuration..z.Nrr;r<r=r,r-rvcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:ar3rrDrrErN)r#r]Z/create_resource_principal_configuration_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&r~sn($      z1BdsClient.create_resource_principal_configurationc srddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt d} dd t| D} |j j |d|j d}|rLt|t js&|j | ||j|j|j j||| | |d|||d S|j j||| | |d|||dSdS)a) Deletes the user's API key represented by the provided ID. :param str bds_instance_id: (required) The OCID of the cluster. :param str api_key_id: (required) The API key identifier. :param str opc_request_id: (optional) The client request ID for tracing. :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_bds_api_key API. r(apiKeyId0/bdsInstances/{bdsInstanceId}/apiKeys/{apiKeyId}DELETEdelete_bds_api_keyzPhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsApiKey/DeleteBdsApiKeyrrr,r.csg|]}|vr|qSr%r%r/r1r%r&r2r3z0BdsClient.delete_bds_api_key..z'delete_bds_api_key got unknown kwargs: r(rcSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z0BdsClient.delete_bds_api_key..Nrr;r<r=r,r.r>r?r@rBcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDrrFrGrHrIrrKrLrMrrOrPrQrRrSrTrUr!r6r"rVrrrWrYrZr r[r\r#r] api_key_idr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rsj($     zBdsClient.delete_bds_api_keyc sndg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d} | rHt| t js"|j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a Deletes the cluster identified by the given ID. :param str bds_instance_id: (required) The OCID of the cluster. :param str opc_request_id: (optional) The client request ID for tracing. :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_bds_instance API. r(/bdsInstances/{bdsInstanceId}rdelete_bds_instancezThttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/DeleteBdsInstancercsg|]}|vr|qSr%r%r/r1r%r&r2! r3z1BdsClient.delete_bds_instance..z(delete_bds_instance got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:* r3z1BdsClient.delete_bds_instance..Nrr;r<r=r,r.rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:6 r3rrDrrrr#r]r$rMrFrGrKrLr_rHr8r9rIrr%r1r&rsh%$     zBdsClient.delete_bds_instancec srddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt d} dd t| D} |j j |d|j d}|rLt|t js&|j | ||j|j|j j||| | |d|||d S|j j||| | |d|||dSdS)ae Delete the BDS metastore configuration represented by the provided ID. :param str bds_instance_id: (required) The OCID of the cluster. :param str metastore_config_id: (required) The metastore configuration ID :param str opc_request_id: (optional) The client request ID for tracing. :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_bds_metastore_configuration API. r(r)B/bdsInstances/{bdsInstanceId}/metastoreConfigs/{metastoreConfigId}r"delete_bds_metastore_configurationzphttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsMetastoreConfiguration/DeleteBdsMetastoreConfigurationrcsg|]}|vr|qSr%r%r/r1r%r&r2 r3z@BdsClient.delete_bds_metastore_configuration..z7delete_bds_metastore_configuration got unknown kwargs: r4cSsi|]\}}|tur||qSr%r5r7r%r%r&r: r3z@BdsClient.delete_bds_metastore_configuration..Nrr;r<r=r,r.rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r: r3rrDrrrr#r]r^r$rMrFrGrKrLr_rHr8r9rIrr%r1r&rV sj($     z,BdsClient.delete_bds_metastore_configurationc srddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt d} dd t| D} |j j |d|j d}|rLt|t js&|j | ||j|j|j j||| | |d|||d S|j j||| | |d|||dSdS)a@ Delete the NodeBackup represented by the provided ID. :param str bds_instance_id: (required) The OCID of the cluster. :param str node_backup_id: (required) Unique assigned identifier of the nodeBackupId. :param str opc_request_id: (optional) The client request ID for tracing. :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_node_backup API. r( nodeBackupId8/bdsInstances/{bdsInstanceId}/nodeBackups/{nodeBackupId}rdelete_node_backupzRhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/NodeBackup/DeleteNodeBackuprcsg|]}|vr|qSr%r%r/r1r%r&r2 r3z0BdsClient.delete_node_backup..z'delete_node_backup got unknown kwargs: r(rcSsi|]\}}|tur||qSr%r5r7r%r%r&r: r3z0BdsClient.delete_node_backup..Nrr;r<r=r,r.rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r: r3rrDrrrr#r]Znode_backup_idr$rMrFrGrKrLr_rHr8r9rIrr%r1r&r sj($     zBdsClient.delete_node_backupc srddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt d} dd t| D} |j j |d|j d}|rLt|t js&|j | ||j|j|j j||| | |d|||d S|j j||| | |d|||dSdS)a Delete the NodeBackupConfiguration represented by the provided ID. :param str bds_instance_id: (required) The OCID of the cluster. :param str node_backup_configuration_id: (required) Unique Oracle-assigned identifier of the NodeBackupConfiguration. :param str opc_request_id: (optional) The client request ID for tracing. :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_node_backup_configuration API. r(nodeBackupConfigurationIdR/bdsInstances/{bdsInstanceId}/nodeBackupConfigurations/{nodeBackupConfigurationId}r delete_node_backup_configurationzlhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/NodeBackupConfiguration/DeleteNodeBackupConfigurationrcsg|]}|vr|qSr%r%r/r1r%r&r2a r3z>BdsClient.delete_node_backup_configuration..z5delete_node_backup_configuration got unknown kwargs: r(rcSsi|]\}}|tur||qSr%r5r7r%r%r&r:k r3z>BdsClient.delete_node_backup_configuration..Nrr;r<r=r,r.rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:w r3rrDrrrr#r]node_backup_configuration_idr$rMrFrGrKrLr_rHr8r9rIrr%r1r&r, sj($     z*BdsClient.delete_node_backup_configurationc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)aj Disabling TLS/SSL for various ODH services running on the BDS cluster. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.DisableCertificateDetails disable_certificate_details: (required) Details for disabling certificate. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use disable_certificate API. r(zB/bdsInstances/{bdsInstanceId}/actions/disableOdhServiceCertificater*disable_certificatezUhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/DisableCertificaterbcsg|]}|vr|qSr%r%r/r1r%r&r2 r3z1BdsClient.disable_certificate..z(disable_certificate got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r: r3z1BdsClient.disable_certificate..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r: r3rrDrrErN)r#r]Zdisable_certificate_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&r sp/$       zBdsClient.disable_certificatec sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)aj Configuring TLS/SSL for various ODH services running on the BDS cluster. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.EnableCertificateDetails enable_certificate_details: (required) Details for configuring certificate. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use enable_certificate API. r(zA/bdsInstances/{bdsInstanceId}/actions/enableOdhServiceCertificater*enable_certificatezThttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/EnableCertificaterbcsg|]}|vr|qSr%r%r/r1r%r&r2J r3z0BdsClient.enable_certificate..z'enable_certificate got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:S r3z0BdsClient.enable_certificate..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:` r3rrDrrErN)r#r]Zenable_certificate_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&r sp/$       zBdsClient.enable_certificatec sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)ai Execute bootstrap script. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.ExecuteBootstrapScriptDetails execute_bootstrap_script_details: (required) Details of the bootstrap script to execute on this cluster. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use execute_bootstrap_script API. r(z.z-execute_bootstrap_script got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r: r3z6BdsClient.execute_bootstrap_script..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r: r3rrDrrErN)r#r]Z execute_bootstrap_script_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&r sp/$       z"BdsClient.execute_bootstrap_scriptc sddg}d}d}d}d} gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt |dt d}dd t|D}|j j |d|j d}|rdt|t js<|j ||j |||j|j|j j||| |||d|| |d S|j j||| |||d|| |d SdS)a4 Force Refresh Resource Principal for the cluster. :param str bds_instance_id: (required) The OCID of the cluster. :param str resource_principal_configuration_id: (required) Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration. :param oci.bds.models.ForceRefreshResourcePrincipalDetails force_refresh_resource_principal_details: (required) Details of refreshing resource principal session token :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use force_refresh_resource_principal API. r( resourcePrincipalConfigurationIdz/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations/{resourcePrincipalConfigurationId}/actions/forceRefreshResourcePrincipalr* force_refresh_resource_principalz`https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ForceRefreshResourcePrincipalrbcsg|]}|vr|qSr%r%r/r1r%r&r29 r3z>BdsClient.force_refresh_resource_principal..z5force_refresh_resource_principal got unknown kwargs: r(rcSsi|]\}}|tur||qSr%r5r7r%r%r&r:C r3z>BdsClient.force_refresh_resource_principal..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:P r3rrDrrErN)r#r]#resource_principal_configuration_idZ(force_refresh_resource_principal_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&r sr2$       z*BdsClient.force_refresh_resource_principalc slddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt d} dd t| D} |j j |d|j d}|rDt|t js|j | ||j|j|j j||| | d|d|||d S|j j||| | d|d|||d SdS)a* Returns details of the autoscale configuration identified by the given ID. :param str bds_instance_id: (required) The OCID of the cluster. :param str auto_scaling_configuration_id: (required) Unique Oracle-assigned identifier of the autoscale configuration. :param str opc_request_id: (optional) The client request ID for tracing. :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.bds.models.AutoScalingConfiguration` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_auto_scaling_configuration API. r(autoScalingConfigurationIdS/bdsInstances/{bdsInstanceId}/autoScalingConfiguration/{autoScalingConfigurationId}GETget_auto_scaling_configurationz^https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetAutoScalingConfigurationrrr,csg|]}|vr|qSr%r%r/r1r%r&r2 r3z.z3get_auto_scaling_configuration got unknown kwargs: r(rcSsi|]\}}|tur||qSr%r5r7r%r%r&r: r3z.Nrr;r<r=r,r>r?r@cSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r: r3rrDZAutoScalingConfigurationr rFrGrHrIrlrrKrLrMr)r#r]auto_scaling_configuration_idr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rs sl!$    z(BdsClient.get_auto_scaling_configurationc slddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt d} dd t| D} |j j |d|j d}|rDt|t js|j | ||j|j|j j||| | d|d|||d S|j j||| | d|d|||d SdS)a Returns the user's API key information for the given ID. :param str bds_instance_id: (required) The OCID of the cluster. :param str api_key_id: (required) The API key identifier. :param str opc_request_id: (optional) The client request ID for tracing. :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.bds.models.BdsApiKey` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_bds_api_key API. r(rrrget_bds_api_keyzMhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsApiKey/GetBdsApiKeyrcsg|]}|vr|qSr%r%r/r1r%r&r2 r3z-BdsClient.get_bds_api_key..z$get_bds_api_key got unknown kwargs: rcSsi|]\}}|tur||qSr%r5r7r%r%r&r: r3z-BdsClient.get_bds_api_key..Nrr;r<r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r: r3rrDZ BdsApiKeyrrrrr%r1r&r sl!$    zBdsClient.get_bds_api_keyc 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} Returns information about the Big Data Service cluster identified by the given ID. :param str bds_instance_id: (required) The OCID of the cluster. :param str opc_request_id: (optional) The client request ID for tracing. :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.bds.models.BdsInstance` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_bds_instance API. r(rrget_bds_instancezQhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetBdsInstancercsg|]}|vr|qSr%r%r/r1r%r&r2e r3z.BdsClient.get_bds_instance..z%get_bds_instance got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:n r3z.BdsClient.get_bds_instance..Nrr;r<r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:y r3rrDZ BdsInstancerrrrr%r1r&r; sj$    zBdsClient.get_bds_instancec slddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt d} dd t| D} |j j |d|j d}|rDt|t js|j | ||j|j|j j||| | d|d|||d S|j j||| | d|d|||d SdS)a Returns the BDS Metastore configuration information for the given ID. :param str bds_instance_id: (required) The OCID of the cluster. :param str metastore_config_id: (required) The metastore configuration ID :param str opc_request_id: (optional) The client request ID for tracing. :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.bds.models.BdsMetastoreConfiguration` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_bds_metastore_configuration API. r(r)rrget_bds_metastore_configurationzmhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsMetastoreConfiguration/GetBdsMetastoreConfigurationrcsg|]}|vr|qSr%r%r/r1r%r&r2 r3z=BdsClient.get_bds_metastore_configuration..z4get_bds_metastore_configuration got unknown kwargs: r4cSsi|]\}}|tur||qSr%r5r7r%r%r&r: r3z=BdsClient.get_bds_metastore_configuration..Nrr;r<r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r: r3rrDZBdsMetastoreConfigurationrrrrr%r1r&r sl!$    z)BdsClient.get_bds_metastore_configurationc slddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt d} dd t| D} |j j |d|j d}|rDt|t js|j | ||j|j|j j||| | d|d|||d S|j j||| | d|d|||d SdS)a Returns details of NodeBackup identified by the given ID. :param str bds_instance_id: (required) The OCID of the cluster. :param str node_backup_id: (required) Unique assigned identifier of the nodeBackupId. :param str opc_request_id: (optional) The client request ID for tracing. :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.bds.models.NodeBackup` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_node_backup API. r(rrrget_node_backupzPhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetNodeBackuprcsg|]}|vr|qSr%r%r/r1r%r&r2,r3z-BdsClient.get_node_backup..z$get_node_backup got unknown kwargs: rcSsi|]\}}|tur||qSr%r5r7r%r%r&r:6r3z-BdsClient.get_node_backup..Nrr;r<r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:Ar3rrDZ NodeBackuprrrrr%r1r&r sl!$    zBdsClient.get_node_backupc slddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt d} dd t| D} |j j |d|j d}|rDt|t js|j | ||j|j|j j||| | d|d|||d S|j j||| | d|d|||d SdS)a& Returns details of the NodeBackupConfiguration identified by the given ID. :param str bds_instance_id: (required) The OCID of the cluster. :param str node_backup_configuration_id: (required) Unique Oracle-assigned identifier of the NodeBackupConfiguration. :param str opc_request_id: (optional) The client request ID for tracing. :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.bds.models.NodeBackupConfiguration` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_node_backup_configuration API. r(rrrget_node_backup_configurationz]https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetNodeBackupConfigurationrcsg|]}|vr|qSr%r%r/r1r%r&r2r3z;BdsClient.get_node_backup_configuration..z2get_node_backup_configuration got unknown kwargs: rcSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z;BdsClient.get_node_backup_configuration..Nrr;r<r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDZNodeBackupConfigurationrrrrr%r1r&rcsl!$    z'BdsClient.get_node_backup_configurationc slddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt d} dd t| D} |j j |d|j d}|rDt|t js|j | ||j|j|j j||| | d|d|||d S|j j||| | d|d|||d SdS)a- Returns details of the nodeReplaceConfiguration identified by the given ID. :param str bds_instance_id: (required) The OCID of the cluster. :param str node_replace_configuration_id: (required) Unique Oracle-assigned identifier of the NodeReplaceConfiguration. :param str opc_request_id: (optional) The client request ID for tracing. :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.bds.models.NodeReplaceConfiguration` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_node_replace_configuration API. r(nodeReplaceConfigurationIdT/bdsInstances/{bdsInstanceId}/nodeReplaceConfigurations/{nodeReplaceConfigurationId}rget_node_replace_configurationz^https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetNodeReplaceConfigurationrcsg|]}|vr|qSr%r%r/r1r%r&r2r3z.z3get_node_replace_configuration got unknown kwargs: r(rcSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z.Nrr;r<r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r: r3rrDZNodeReplaceConfigurationrrr)r#r]node_replace_configuration_idr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rsl!$    z(BdsClient.get_node_replace_configurationc sddg}d}d}d}d}gdfdd t|D} | rJtd | d|i} d d t| D} t| D]<\} } | d ust| tjrpt| dkrptd| dqpd|i} dd t| D} dd|dt |dt |dt d}dd t|D}|j j |d|j d}|rt|t jsV|j ||j |||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)a1 Get the details of an os patch :param str bds_instance_id: (required) The OCID of the cluster. :param str os_patch_version: (required) The version of the OS patch. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might 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.bds.models.OsPatchDetails` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_os_patch_details API. r(ZosPatchVersionz0/bdsInstances/{bdsInstanceId}/actions/getOsPatchr*get_os_patch_detailszThttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetOsPatchDetailsrbcsg|]}|vr|qSr%r%r/r1r%r&r2hr3z2BdsClient.get_os_patch_details..z)get_os_patch_details got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:qr3z2BdsClient.get_os_patch_details..Nrr;r<cSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:zr3r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDZOsPatchDetailsr rFrGrH query_paramsrIrlrrKrLrMrN)r#r]Zos_patch_versionr$rMrFrGrKrLr_rHr8r9rrIrr%r1r&r+sz/$       zBdsClient.get_os_patch_detailsc slddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt d} dd t| D} |j j |d|j d}|rDt|t js|j | ||j|j|j j||| | d|d|||d S|j j||| | d|d|||d SdS)aP Returns details of the resourcePrincipalConfiguration identified by the given ID. :param str bds_instance_id: (required) The OCID of the cluster. :param str resource_principal_configuration_id: (required) Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration. :param str opc_request_id: (optional) The client request ID for tracing. :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.bds.models.ResourcePrincipalConfiguration` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_resource_principal_configuration API. r(r`/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations/{resourcePrincipalConfigurationId}r$get_resource_principal_configurationzdhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/GetResourcePrincipalConfigurationrcsg|]}|vr|qSr%r%r/r1r%r&r2r3zBBdsClient.get_resource_principal_configuration..z9get_resource_principal_configuration got unknown kwargs: rcSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3zBBdsClient.get_resource_principal_configuration..Nrr;r<r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDZResourcePrincipalConfigurationrrr)r#r]rr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rsl!$    z.BdsClient.get_resource_principal_configurationc 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)ax Returns the status of the work request identified by the given ID. :param str work_request_id: (required) The ID of the asynchronous request. :param str opc_request_id: (optional) The client request ID for tracing. :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.bds.models.WorkRequest` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_work_request API. workRequestIdz/workRequests/{workRequestId}rget_work_requestzQhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/WorkRequest/GetWorkRequestrcsg|]}|vr|qSr%r%r/r1r%r&r26r3z.BdsClient.get_work_request..z%get_work_request got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:?r3z.BdsClient.get_work_request..Nrr;r<r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:Jr3rrDZ WorkRequestrrr)r#work_request_idr$rMrFrGrKrLr_rHr8r9rIrr%r1r&r sj$    zBdsClient.get_work_requestc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)aJ Install an os patch on a cluster :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.InstallOsPatchDetails install_os_patch_details: (required) Details of the target os patch that will be installed :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use install_os_patch API. r(z4/bdsInstances/{bdsInstanceId}/actions/installOsPatchr*install_os_patchzQhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/InstallOsPatchrbcsg|]}|vr|qSr%r%r/r1r%r&r2r3z.BdsClient.install_os_patch..z%install_os_patch got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z.BdsClient.install_os_patch..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDrrErN)r#r]Zinstall_os_patch_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rlsp/$       zBdsClient.install_os_patchc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a; Install the specified patch to this cluster. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.InstallPatchDetails install_patch_details: (required) Details of the patch to be installed. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use install_patch API. r(z2/bdsInstances/{bdsInstanceId}/actions/installPatchr* install_patchzOhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/InstallPatchrbcsg|]}|vr|qSr%r%r/r1r%r&r2r3z+BdsClient.install_patch..z"install_patch got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:(r3z+BdsClient.install_patch..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:5r3rrDrrErN)r#r]Zinstall_patch_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rsp/$       zBdsClient.install_patchc sLddg}d}d}d}d}gdfdd t|D} | rJtd | d|i} d d t| D} t| D]<\} } | d ust| tjrpt| dkrptd| dqpd|vrddg} |d| vrtd| d|vrddg}|d|vrtd|d|vr4gd}|d|vr4td|||dt |dt |dt |dt |dt |dt d}d d t|D}d!d!|d"t d#}d$d t|D}|j j |d%|j d&}|r"t|t js|j |||j|j|j j||| ||d'|d(|||d) S|j j||| ||d'|d(|||d) Sd S)*a6 Returns information about the autoscaling configurations for a cluster. :param str compartment_id: (required) The OCID of the compartment. :param str bds_instance_id: (required) The OCID of the cluster. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximum number of items to return. :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str sort_order: (optional) The sort order to use, either 'asc' or 'desc'. Allowed values are: "ASC", "DESC" :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param str lifecycle_state: (optional) The state of the autoscale configuration. Allowed values are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED" :param str opc_request_id: (optional) The client request ID for tracing. :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.bds.models.AutoScalingConfigurationSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_auto_scaling_configurations API. r( compartmentIdr`r list_auto_scaling_configurationsz`https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListAutoScalingConfigurations rrpagelimitsort_by sort_order display_namelifecycle_stater,csg|]}|vr|qSr%r%r/r1r%r&r2r3z>BdsClient.list_auto_scaling_configurations..z5list_auto_scaling_configurations got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z>BdsClient.list_auto_scaling_configurations..Nrr;r<r timeCreated displayName,Invalid value for `sort_by`, must be one of rASCDESC/Invalid value for `sort_order`, must be one of r)CREATINGACTIVEINACTIVEUPDATINGDELETINGDELETEDFAILED4Invalid value for `lifecycle_state`, must be one of rrr)rrrsortBy sortOrderrlifecycleStatecSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDz%list[AutoScalingConfigurationSummary]rrr)r#compartment_idr]r$rMrFrGrKrLr_rHr8r9sort_by_allowed_valuessort_order_allowed_valueslifecycle_state_allowed_valuesrrIrr%r1r&rXs9 $              z*BdsClient.list_auto_scaling_configurationsc sRdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrgd} |d| vrtd| d|vrddg} |d| vrtd| d|vr2ddg}|d|vr2td||dt |dt |dt |dt |dt |dt |dt d}d d t|D}d!d!|d"t d#}d$d t|D}|j j |d%|j d&}|r(t|t js|j |||j|j|j j||| ||d'|d(|||d) S|j j||| ||d'|d(|||d) Sd S)*a Returns a list of all API keys associated with this Big Data Service cluster. :param str bds_instance_id: (required) The OCID of the cluster. :param str lifecycle_state: (optional) The state of the API key. Allowed values are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED" :param str user_id: (optional) The OCID of the user for whom the API key belongs. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximum number of items to return. :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str sort_order: (optional) The sort order to use, either 'asc' or 'desc'. Allowed values are: "ASC", "DESC" :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param str opc_request_id: (optional) The client request ID for tracing. :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.bds.models.BdsApiKeySummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_bds_api_keys API. r(rorlist_bds_api_keyszOhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsApiKey/ListBdsApiKeys) rrruser_idrrrrrr,csg|]}|vr|qSr%r%r/r1r%r&r2Gr3z/BdsClient.list_bds_api_keys..z&list_bds_api_keys got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:Pr3z/BdsClient.list_bds_api_keys..Nrr;r<r)rrrrrrrrrrrrrrrrrr)rZuserIdrrrrrcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:tr3r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:{r3rrDzlist[BdsApiKeySummary]rrr)r#r]r$rMrFrGrKrLr_rHr8r9rrrrrIrr%r1r&rs9 $               zBdsClient.list_bds_api_keysc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrddg} |d| vrtd| ||d t|dt|dt|d t|dt|dtd} ddt| D} dd|dtd} ddt| D} |jj|d|jd }|rt |t j s|j | | |j|j|jj||| | d!|d"|||d# S|jj||| | d!|d"|||d# Sd$S)%a Returns a list of all Big Data Service clusters in a compartment. :param str compartment_id: (required) The OCID of the compartment. :param str lifecycle_state: (optional) The state of the cluster. Allowed values are: "CREATING", "ACTIVE", "UPDATING", "SUSPENDING", "SUSPENDED", "RESUMING", "DELETING", "DELETED", "FAILED", "INACTIVE" :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximum number of items to return. :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str sort_order: (optional) The sort order to use, either 'asc' or 'desc'. Allowed values are: "ASC", "DESC" :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param str opc_request_id: (optional) The client request ID for tracing. :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.bds.models.BdsInstanceSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_bds_instances API. rrsrlist_bds_instanceszZhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstanceSummary/ListBdsInstances) rrrrrrrrr,csg|]}|vr|qSr%r%r/r1r%r&r2r3z0BdsClient.list_bds_instances..z'list_bds_instances got unknown kwargs: r) rrrZ SUSPENDINGZ SUSPENDEDZRESUMINGrrrrrrrrrrrrrrrr)rrrrrrrcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r: r3z0BdsClient.list_bds_instances..r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDzlist[BdsInstanceSummary]r rFrGrrIrlrrKrLrMNrrOrPr!r6rQr"rVrrRrrWrYrZr r[r\)r#rr$rMrFrGrKrLr_rrrrrIrr%r1r&rs6               zBdsClient.list_bds_instancesc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrgd} |d| vrtd| d|vr2ddg}|d|vr2td|d|vr`ddg}|d|vr`td||dt |dt |dt |d t |d!t |d"t |dt |dt |d#t d$ }d%d t|D}d&d&|d't d(}d)d t|D}|j j |d*|j d+}|rjt|t js@|j |||j|j|j j||| ||d,|d-|||d. S|j j||| ||d,|d-|||d. Sd S)/a Returns a list of metastore configurations ssociated with this Big Data Service cluster. :param str bds_instance_id: (required) The OCID of the cluster. :param str metastore_type: (optional) The type of the metastore in the metastore configuration Allowed values are: "LOCAL", "EXTERNAL" :param str metastore_id: (optional) The OCID of the Data Catalog metastore in the metastore configuration :param str lifecycle_state: (optional) The lifecycle state of the metastore in the metastore configuration Allowed values are: "CREATING", "ACTIVATING", "ACTIVE", "INACTIVE", "UPDATING", "FAILED", "DELETING", "DELETED" :param str bds_api_key_id: (optional) The ID of the API key that is associated with the external metastore in the metastore configuration :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximum number of items to return. :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str sort_order: (optional) The sort order to use, either 'asc' or 'desc'. Allowed values are: "ASC", "DESC" :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param str opc_request_id: (optional) The client request ID for tracing. :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.bds.models.BdsMetastoreConfigurationSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_bds_metastore_configurations API. r(rwr!list_bds_metastore_configurationszohttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsMetastoreConfiguration/ListBdsMetastoreConfigurations) rrmetastore_type metastore_idrbds_api_key_idrrrrrr,csg|]}|vr|qSr%r%r/r1r%r&r2r3z?BdsClient.list_bds_metastore_configurations..z6list_bds_metastore_configurations got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z?BdsClient.list_bds_metastore_configurations..Nrr;r<rZLOCALZEXTERNALz3Invalid value for `metastore_type`, must be one of r)rZ ACTIVATINGrrrrrrrrrrrrrrrrrrrr) Z metastoreTypeZ metastoreIdrZ bdsApiKeyIdrrrrrcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDz&list[BdsMetastoreConfigurationSummary]rrr)r#r]r$rMrFrGrKrLr_rHr8r9Zmetastore_type_allowed_valuesrrrrrIrr%r1r&r3sA$                  z+BdsClient.list_bds_metastore_configurationsc sHdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrddg} |d| vrtd| d|vr2gd}|d|vr2td||dt |dt |dt |dt |dt |dt d}dd t|D}d d |d!t d"}d#d t|D}|j j |d$|j d%}|rt|t js|j |||j|j|j j||| ||d&|d'|||d( S|j j||| ||d&|d'|||d( Sd S))a Returns information about the NodeBackupConfigurations. :param str bds_instance_id: (required) The OCID of the cluster. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximum number of items to return. :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str sort_order: (optional) The sort order to use, either 'asc' or 'desc'. Allowed values are: "ASC", "DESC" :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param str lifecycle_state: (optional) The state of the NodeBackupConfiguration configuration. Allowed values are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED" :param str opc_request_id: (optional) The client request ID for tracing. :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.bds.models.NodeBackupConfigurationSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_node_backup_configurations API. r(ryrlist_node_backup_configurationsz_https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListNodeBackupConfigurationsrcsg|]}|vr|qSr%r%r/r1r%r&r22r3z=BdsClient.list_node_backup_configurations..z4list_node_backup_configurations got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:;r3z=BdsClient.list_node_backup_configurations..Nrr;r<rrrrrrrrrrrrrrrrrrrrrrrrrcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:^r3r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:er3rrDz$list[NodeBackupConfigurationSummary]rrrr#r]r$rMrFrGrKrLr_rHr8r9rrrrrIrr%r1r&rs6 $             z)BdsClient.list_node_backup_configurationsc sRdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrddg} |d| vrtd| d|vr2gd}|d|vr2td||dt |dt |dt |dt |dt |dt |dt d}d d t|D}d!d!|d"t d#}d$d t|D}|j j |d%|j d&}|r(t|t js|j |||j|j|j j||| ||d'|d(|||d) S|j j||| ||d'|d(|||d) Sd S)*a Returns information about the node Backups. :param str bds_instance_id: (required) The OCID of the cluster. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximum number of items to return. :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str sort_order: (optional) The sort order to use, either 'asc' or 'desc'. Allowed values are: "ASC", "DESC" :param str node_host_name: (optional) The node host name belonged to a node that has a node backup. :param str lifecycle_state: (optional) The state of the Node's Backup. Allowed values are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", "PARTIAL" :param str opc_request_id: (optional) The client request ID for tracing. :param str display_name: (optional) The display name belonged to the node 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 list of :class:`~oci.bds.models.NodeBackupSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_node_backups API. r(z)/bdsInstances/{bdsInstanceId}/nodeBackupsrlist_node_backupszRhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListNodeBackups) rrrrrrnode_host_namerr,rcsg|]}|vr|qSr%r%r/r1r%r&r2r3z/BdsClient.list_node_backups..z&list_node_backups got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z/BdsClient.list_node_backups..Nrr;r<rrrrrrrrr)rrrrrrZPARTIALrrrrr)rrrrZ nodeHostNamerrcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r: r3rrDzlist[NodeBackupSummary]rrrrr%r1r&rs9 $               zBdsClient.list_node_backupsc sHdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrddg} |d| vrtd| d|vr2gd}|d|vr2td||dt |dt |dt |dt |dt |dt d}dd t|D}d d |d!t d"}d#d t|D}|j j |d$|j d%}|rt|t js|j |||j|j|j j||| ||d&|d'|||d( S|j j||| ||d&|d'|||d( Sd S))a Returns information about the NodeReplaceConfiguration. :param str bds_instance_id: (required) The OCID of the cluster. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximum number of items to return. :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str sort_order: (optional) The sort order to use, either 'asc' or 'desc'. Allowed values are: "ASC", "DESC" :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param str lifecycle_state: (optional) The state of the NodeReplaceConfiguration. Allowed values are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED" :param str opc_request_id: (optional) The client request ID for tracing. :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.bds.models.NodeReplaceConfigurationSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_node_replace_configurations API. r(r{r list_node_replace_configurationsz`https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListNodeReplaceConfigurationsrcsg|]}|vr|qSr%r%r/r1r%r&r2ur3z>BdsClient.list_node_replace_configurations..z5list_node_replace_configurations got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:~r3z>BdsClient.list_node_replace_configurations..Nrr;r<rrrrrrrrrrrrrrrcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDz%list[NodeReplaceConfigurationSummary]rrrrr%r1r&r-s6 $             z*BdsClient.list_node_replace_configurationsc s&dg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrddg} |d| vrtd| |dt |dt |dt |dt d}dd t|D}dd|dt |dt |dt d }d!d t|D}|j j |d"|j d#}|rt|t js|j ||j |||j|j|j j||| ||d$|d%|||d& S|j j||| ||d$|d%|||d& Sd S)'a List all available os patches for a given cluster :param str bds_instance_id: (required) The OCID of the cluster. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximum number of items to return. :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str sort_order: (optional) The sort order to use, either 'asc' or 'desc'. Allowed values are: "ASC", "DESC" :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might 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 list of :class:`~oci.bds.models.OsPatchSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_os_patches API. r(z3/bdsInstances/{bdsInstanceId}/actions/listOsPatchesr*list_os_patcheszPhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListOsPatches) rrrrrrr,r.r-csg|]}|vr|qSr%r%r/r1r%r&r2r3z-BdsClient.list_os_patches..z$list_os_patches got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:#r3z-BdsClient.list_os_patches..Nrr;r<rrrrrrrrrrrrrrcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:=r3r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:Fr3rrDzlist[OsPatchSummary]rrrN)r#r]r$rMrFrGrKrLr_rHr8r9rrrrIrr%r1r&rs< $             zBdsClient.list_os_patchesc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrgd} |d| vrtd| d|vrddg} |d| vrtd| d|vr2ddg}|d|vr2td|d|vr`ddg}|d|vr`td||dt |dt |dt |dt |d t |d!t |dt d"}d#d t|D}d$d$|d%t d&}d'd t|D}|j j |d(|j d)}|rVt|t js,|j |||j|j|j j||| ||d*|d+|||d, S|j j||| ||d*|d+|||d, Sd S)-a List the patch history of this cluster. :param str bds_instance_id: (required) The OCID of the cluster. :param str opc_request_id: (optional) The client request ID for tracing. :param str lifecycle_state: (optional) The status of the patch. Allowed values are: "INSTALLING", "INSTALLED", "FAILED" :param str patch_version: (optional) The version of the patch :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str sort_order: (optional) The sort order to use, either 'asc' or 'desc'. Allowed values are: "ASC", "DESC" :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximum number of items to return. :param str patch_type: (optional) The type of a BDS patch history entity. Allowed values are: "ODH", "OS" :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.bds.models.PatchHistorySummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_patch_histories API. r(z*/bdsInstances/{bdsInstanceId}/patchHistoryrlist_patch_historieszUhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListPatchHistories) rrr,r patch_versionrrrr patch_typecsg|]}|vr|qSr%r%r/r1r%r&r2r3z2BdsClient.list_patch_histories..z)list_patch_histories got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z2BdsClient.list_patch_histories..Nrr;r<r)Z INSTALLINGZ INSTALLEDrrrrrrrrrrrZODHZOSz/Invalid value for `patch_type`, must be one of rrr)rZ patchVersionrrrrZ patchTypecSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDzlist[PatchHistorySummary]rrr)r#r]r$rMrFrGrKrLr_rHr8r9rrrZpatch_type_allowed_valuesrrIrr%r1r&rks; $                zBdsClient.list_patch_historiesc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqn|dt |dt d} dd t| D} dd|dt d} dd t| D} |j j |d|j d}|rpt|t jsF|j | ||j|j|j j||| | | d|d|||d S|j j||| | | d|d|||d Sd S)af List all the available patches for this cluster. :param str bds_instance_id: (required) The OCID of the cluster. :param str opc_request_id: (optional) The client request ID for tracing. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximum number of items to return. :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.bds.models.PatchSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_patches API. r(z%/bdsInstances/{bdsInstanceId}/patchesr list_patcheszNhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListPatches)rrr,rrcsg|]}|vr|qSr%r%r/r1r%r&r2Jr3z*BdsClient.list_patches..z!list_patches got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:Sr3z*BdsClient.list_patches..Nrr;r<rr)rrcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:]r3r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:dr3rrDzlist[PatchSummary]rrr)r#r]r$rMrFrGrKrLr_rHr8r9rrIrr%r1r&rsv$$      zBdsClient.list_patchesc sHdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrddg} |d| vrtd| d|vr2gd}|d|vr2td||dt |dt |dt |dt |dt |dt d}dd t|D}d d |d!t d"}d#d t|D}|j j |d$|j d%}|rt|t js|j |||j|j|j j||| ||d&|d'|||d( S|j j||| ||d&|d'|||d( Sd S))a Returns information about the ResourcePrincipalConfiguration. :param str bds_instance_id: (required) The OCID of the cluster. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximum number of items to return. :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str sort_order: (optional) The sort order to use, either 'asc' or 'desc'. Allowed values are: "ASC", "DESC" :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param str lifecycle_state: (optional) The state of the ResourcePrincipalConfiguration. Allowed values are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED" :param str opc_request_id: (optional) The client request ID for tracing. :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.bds.models.ResourcePrincipalConfigurationSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_resource_principal_configurations API. r(r}r&list_resource_principal_configurationszfhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ListResourcePrincipalConfigurationsrcsg|]}|vr|qSr%r%r/r1r%r&r2r3zDBdsClient.list_resource_principal_configurations..z;list_resource_principal_configurations got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3zDBdsClient.list_resource_principal_configurations..Nrr;r<rrrrrrrrrrrrrrrcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDz+list[ResourcePrincipalConfigurationSummary]rrrrr%r1r&rs6 $             z0BdsClient.list_resource_principal_configurationsc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrddg} |d| vrtd| |dt |dt |dt |dt d}dd t|D}dd|dt d}dd t|D}|j j |d |j d!}|rt|t js|j |||j|j|j j||| ||d"|d#|||d$ S|j j||| ||d"|d#|||d$ Sd S)%az Returns a paginated list of errors for a work request identified by the given ID. :param str work_request_id: (required) The ID of the asynchronous request. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximum number of items to return. :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str sort_order: (optional) The sort order to use, either 'asc' or 'desc'. Allowed values are: "ASC", "DESC" :param str opc_request_id: (optional) The client request ID for tracing. :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.bds.models.WorkRequestError` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_work_request_errors API. rz$/workRequests/{workRequestId}/errorsrlist_work_request_errorsz]https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/WorkRequestError/ListWorkRequestErrorsrrrrrrr,csg|]}|vr|qSr%r%r/r1r%r&r2er3z6BdsClient.list_work_request_errors..z-list_work_request_errors got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:nr3z6BdsClient.list_work_request_errors..Nrr;r<rrrrrrrrrrrcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDzlist[WorkRequestError]rrrr#rr$rMrFrGrKrLr_rHr8r9rrrrIrr%r1r&r's. $          z"BdsClient.list_work_request_errorsc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrddg} |d| vrtd| |dt |dt |dt |dt d}dd t|D}dd|dt d}dd t|D}|j j |d |j d!}|rt|t js|j |||j|j|j j||| ||d"|d#|||d$ S|j j||| ||d"|d#|||d$ Sd S)%ab Returns a paginated list of logs for a given work request. :param str work_request_id: (required) The ID of the asynchronous request. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximum number of items to return. :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str sort_order: (optional) The sort order to use, either 'asc' or 'desc'. Allowed values are: "ASC", "DESC" :param str opc_request_id: (optional) The client request ID for tracing. :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.bds.models.WorkRequestLogEntry` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_work_request_logs API. rz"/workRequests/{workRequestId}/logsrlist_work_request_logsz^https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/WorkRequestLogEntry/ListWorkRequestLogsrcsg|]}|vr|qSr%r%r/r1r%r&r2r3z4BdsClient.list_work_request_logs..z+list_work_request_logs got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z4BdsClient.list_work_request_logs..Nrr;r<rrrrrrrrrrrcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDzlist[WorkRequestLogEntry]rrrrr%r1r&rs. $          z BdsClient.list_work_request_logsc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | d|vrddg} |d| vrtd| ||dt|dt|dt|d t|dtd} ddt| D} dd|dtd} ddt| D} |jj|d|jd} | r~t | t j sV|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d Sd!S)"a Lists the work requests in a compartment. :param str compartment_id: (required) The OCID of the compartment. :param str resource_id: (optional) The OCID of the resource. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximum number of items to return. :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str sort_order: (optional) The sort order to use, either 'asc' or 'desc'. Allowed values are: "ASC", "DESC" :param str opc_request_id: (optional) The client request ID for tracing. :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.bds.models.WorkRequest` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_work_requests API. rz /workRequestsrlist_work_requestszShttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/WorkRequest/ListWorkRequests)rr resource_idrrrrr,csg|]}|vr|qSr%r%r/r1r%r&r2r3z0BdsClient.list_work_requests..z'list_work_requests got unknown kwargs: rrrrrrrrrrr)rZ resourceIdrrrrcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3z0BdsClient.list_work_requests..r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDzlist[WorkRequest]rrNr)r#rr$rMrFrGrKrLr_rrrrIrr%r1r&r?s1            zBdsClient.list_work_requestsc sddg}d}d}d}d} gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt |dt d}dd t|D}|j j |d|j d}|rdt|t js<|j ||j |||j|j|j j||| |||d|| |d S|j j||| |||d|| |d SdS)a Deletes an autoscale configuration. :param str bds_instance_id: (required) The OCID of the cluster. :param str auto_scaling_configuration_id: (required) Unique Oracle-assigned identifier of the autoscale configuration. :param oci.bds.models.RemoveAutoScalingConfigurationDetails remove_auto_scaling_configuration_details: (required) Details for the autoscale configuration :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use remove_auto_scaling_configuration API. r(rzb/bdsInstances/{bdsInstanceId}/autoScalingConfiguration/{autoScalingConfigurationId}/actions/remover*!remove_auto_scaling_configurationzahttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/RemoveAutoScalingConfigurationrbcsg|]}|vr|qSr%r%r/r1r%r&r2r3z?BdsClient.remove_auto_scaling_configuration..z6remove_auto_scaling_configuration got unknown kwargs: rcSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z?BdsClient.remove_auto_scaling_configuration..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDrrErN)r#r]rZ)remove_auto_scaling_configuration_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rsr2$       z+BdsClient.remove_auto_scaling_configurationc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a< Removes Cloud SQL from the cluster. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.RemoveCloudSqlDetails remove_cloud_sql_details: (required) Details for the Cloud SQL capability :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use remove_cloud_sql API. r(z4/bdsInstances/{bdsInstanceId}/actions/removeCloudSqlr*remove_cloud_sqlzQhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/RemoveCloudSqlrbcsg|]}|vr|qSr%r%r/r1r%r&r2|r3z.BdsClient.remove_cloud_sql..z%remove_cloud_sql got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z.BdsClient.remove_cloud_sql..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDrrErN)r#r]Zremove_cloud_sql_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&r?sp/$       zBdsClient.remove_cloud_sqlc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a% Remove Kafka from the cluster. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.RemoveKafkaDetails remove_kafka_details: (required) Details for the Kafka capability. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use remove_kafka API. r(z1/bdsInstances/{bdsInstanceId}/actions/removeKafkar* remove_kafkazNhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/RemoveKafkarbcsg|]}|vr|qSr%r%r/r1r%r&r2r3z*BdsClient.remove_kafka..z!remove_kafka got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z*BdsClient.remove_kafka..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDrrErN)r#r]Zremove_kafka_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rsp/$       zBdsClient.remove_kafkac srdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rJt|t js"|j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)aE Remove a single node of a Big Data Service cluster :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.RemoveNodeDetails remove_node_details: (required) Details for the node to be removed. :param str opc_request_id: (optional) The client request ID for tracing. :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 remove_node API. r(z0/bdsInstances/{bdsInstanceId}/actions/removeNoder* remove_nodezMhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/RemoveNodercsg|]}|vr|qSr%r%r/r1r%r&r2`r3z)BdsClient.remove_node..z remove_node got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:ir3z)BdsClient.remove_node..Nrr;r<r=r,r.rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:ur3rrDrrEr)r#r]Zremove_node_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&r+sl($     zBdsClient.remove_nodec sddg}d}d}d}d} gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt |dt d}dd t|D}|j j |d|j d}|rdt|t js<|j ||j |||j|j|j j||| |||d|| |d S|j j||| |||d|| |d SdS)a Deletes a nodeReplaceConfiguration :param str bds_instance_id: (required) The OCID of the cluster. :param str node_replace_configuration_id: (required) Unique Oracle-assigned identifier of the NodeReplaceConfiguration. :param oci.bds.models.RemoveNodeReplaceConfigurationDetails remove_node_replace_configuration_details: (required) Details for removing NodeReplaceConfiguration :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use remove_node_replace_configuration API. r(rzc/bdsInstances/{bdsInstanceId}/nodeReplaceConfigurations/{nodeReplaceConfigurationId}/actions/remover*!remove_node_replace_configurationznhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/NodeReplaceConfiguration/RemoveNodeReplaceConfigurationrbcsg|]}|vr|qSr%r%r/r1r%r&r2r3z?BdsClient.remove_node_replace_configuration..z6remove_node_replace_configuration got unknown kwargs: rcSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z?BdsClient.remove_node_replace_configuration..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDrrErN)r#r]rZ)remove_node_replace_configuration_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rsr2$       z+BdsClient.remove_node_replace_configurationc svddg}d}d}d}d} gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt d}dd t|D}|j j |d|j d}|rNt|t js&|j |||j|j|j j||| |||d|| |d S|j j||| |||d|| |d SdS)ap Delete the resource principal configuration for the cluster. :param str bds_instance_id: (required) The OCID of the cluster. :param str resource_principal_configuration_id: (required) Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration. :param oci.bds.models.RemoveResourcePrincipalConfigurationDetails remove_resource_principal_configuration_details: (required) Details of removing a resource principal for the bds cluster. :param str opc_request_id: (optional) The client request ID for tracing. :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 remove_resource_principal_configuration API. r(rzo/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations/{resourcePrincipalConfigurationId}/actions/remover*'remove_resource_principal_configurationzzhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/ResourcePrincipalConfiguration/RemoveResourcePrincipalConfigurationrcsg|]}|vr|qSr%r%r/r1r%r&r2Ir3zEBdsClient.remove_resource_principal_configuration..z.Nrr;r<r=r,r.rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:_r3rrDrrEr)r#r]rZ/remove_resource_principal_configuration_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rsn+$     z1BdsClient.remove_resource_principal_configurationc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a` Renewing TLS/SSL for various ODH services running on the BDS cluster. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.RenewCertificateDetails renew_certificate_details: (required) Details for renewing certificate. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use renew_certificate API. r(z@/bdsInstances/{bdsInstanceId}/actions/renewOdhServiceCertificater*renew_certificatezShttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/RenewCertificaterbcsg|]}|vr|qSr%r%r/r1r%r&r2r3z/BdsClient.renew_certificate..z&renew_certificate got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z/BdsClient.renew_certificate..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDrrErN)r#r]Zrenew_certificate_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rsp/$       zBdsClient.renew_certificatec sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)ae Replaces a node of a Big Data Service cluster from backup. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.ReplaceNodeDetails replace_node_details: (required) Details for Replacing the node. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) This if-match is for the BdsInstance. For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use replace_node API. r(z1/bdsInstances/{bdsInstanceId}/actions/replaceNoder* replace_nodezNhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/ReplaceNoderbcsg|]}|vr|qSr%r%r/r1r%r&r24r3z*BdsClient.replace_node..z!replace_node got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:=r3z*BdsClient.replace_node..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:Jr3rrDrrErN)r#r]Zreplace_node_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rsp/$       zBdsClient.replace_nodec sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a: Restarts a single node of a Big Data Service cluster :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.RestartNodeDetails restart_node_details: (required) Details for restarting the node. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use restart_node API. r(z1/bdsInstances/{bdsInstanceId}/actions/restartNoder* restart_nodezNhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/RestartNoderbcsg|]}|vr|qSr%r%r/r1r%r&r2r3z*BdsClient.restart_node..z!restart_node got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z*BdsClient.restart_node..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDrrErN)r#r]Zrestart_node_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rmsp/$       zBdsClient.restart_nodec srdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rJt|t js"|j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a\ Starts the BDS cluster that was stopped earlier. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.StartBdsInstanceDetails start_bds_instance_details: (required) Parameters for starting a cluster :param str opc_request_id: (optional) The client request ID for tracing. :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 start_bds_instance API. r(z+/bdsInstances/{bdsInstanceId}/actions/startr*start_bds_instancezShttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/StartBdsInstancercsg|]}|vr|qSr%r%r/r1r%r&r2r3z0BdsClient.start_bds_instance..z'start_bds_instance got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:!r3z0BdsClient.start_bds_instance..Nrr;r<r=r,r.rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:-r3rrDrrEr)r#r]Zstart_bds_instance_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rsl($     zBdsClient.start_bds_instancec srdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rJt|t js"|j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)ai Stops the BDS cluster that can be started at later point of time. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.StopBdsInstanceDetails stop_bds_instance_details: (required) Parameters for stopping a cluster :param str opc_request_id: (optional) The client request ID for tracing. :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 stop_bds_instance API. r(z*/bdsInstances/{bdsInstanceId}/actions/stopr*stop_bds_instancezRhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/StopBdsInstancercsg|]}|vr|qSr%r%r/r1r%r&r2r3z/BdsClient.stop_bds_instance..z&stop_bds_instance got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z/BdsClient.stop_bds_instance..Nrr;r<r=r,r.rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDrrEr)r#r]Zstop_bds_instance_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rOsl($     zBdsClient.stop_bds_instancec svddg}d}d}d}d} gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt d}dd t|D}|j j |d|j d}|rNt|t js&|j |||j|j|j j||| |||d|| |d S|j j||| |||d|| |d SdS)a Test specified metastore configuration. :param str bds_instance_id: (required) The OCID of the cluster. :param str metastore_config_id: (required) The metastore configuration ID :param oci.bds.models.TestBdsMetastoreConfigurationDetails test_bds_metastore_configuration_details: (required) Request body for testing BDS metastore configuration. :param str opc_request_id: (optional) The client request ID for tracing. :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 test_bds_metastore_configuration API. r(r)zO/bdsInstances/{bdsInstanceId}/metastoreConfigs/{metastoreConfigId}/actions/testr* test_bds_metastore_configurationznhttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsMetastoreConfiguration/TestBdsMetastoreConfigurationrcsg|]}|vr|qSr%r%r/r1r%r&r2r3z>BdsClient.test_bds_metastore_configuration..z5test_bds_metastore_configuration got unknown kwargs: r4cSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z>BdsClient.test_bds_metastore_configuration..Nrr;r<r=r,r.rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r: r3rrDrrEr)r#r]r^Z(test_bds_metastore_configuration_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rsn+$     z*BdsClient.test_bds_metastore_configurationc slddg}d}d}d}d} gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt d}dd t|D}|j j |d|j d}|rDt|t js|j |||j|j|j j||| |||d|| |d S|j j||| |||d|| |d SdS)a Test access to specified Object Storage bucket using the API key. :param str bds_instance_id: (required) The OCID of the cluster. :param str api_key_id: (required) The API key identifier. :param oci.bds.models.TestBdsObjectStorageConnectionDetails test_bds_object_storage_connection_details: (required) Parameters required to validate access to the specified Object Storage bucket using the API key. :param str opc_request_id: (optional) The client request ID for tracing. :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 test_bds_object_storage_connection API. r(rzT/bdsInstances/{bdsInstanceId}/apiKeys/{apiKeyId}/actions/testObjectStorageConnectionr*"test_bds_object_storage_connectionz_https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsApiKey/TestBdsObjectStorageConnectionrcsg|]}|vr|qSr%r%r/r1r%r&r2[r3z@BdsClient.test_bds_object_storage_connection..z7test_bds_object_storage_connection got unknown kwargs: rcSsi|]\}}|tur||qSr%r5r7r%r%r&r:er3z@BdsClient.test_bds_object_storage_connection..Nrr;r<r=r,rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:pr3rrDrrEr)r#r]rZ*test_bds_object_storage_connection_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&r+sl$$    z,BdsClient.test_bds_object_storage_connectionc sddg}d}d}d}d} gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt |dt d}dd t|D}|j j |d|j d}|rdt|t js<|j ||j |||j|j|j j||| |||d|| |d S|j j||| |||d|| |d SdS)a~ Updates fields on an autoscale configuration, including the name, the threshold value, and whether the autoscale configuration is enabled. :param str bds_instance_id: (required) The OCID of the cluster. :param str auto_scaling_configuration_id: (required) Unique Oracle-assigned identifier of the autoscale configuration. :param oci.bds.models.UpdateAutoScalingConfigurationDetails update_auto_scaling_configuration_details: (required) Details for update an autoscaling configuration. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_auto_scaling_configuration API. r(rrPUT!update_auto_scaling_configurationzahttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/UpdateAutoScalingConfigurationrbcsg|]}|vr|qSr%r%r/r1r%r&r2r3z?BdsClient.update_auto_scaling_configuration..z6update_auto_scaling_configuration got unknown kwargs: rcSsi|]\}}|tur||qSr%r5r7r%r%r&r:r3z?BdsClient.update_auto_scaling_configuration..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:r3rrDrrErN)r#r]rZ)update_auto_scaling_configuration_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&rsr2$       z+BdsClient.update_auto_scaling_configurationc srdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rJt|t js"|j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)au Updates the Big Data Service cluster identified by the given ID. :param str bds_instance_id: (required) The OCID of the cluster. :param oci.bds.models.UpdateBdsInstanceDetails update_bds_instance_details: (required) Details for the cluster to be updated. :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) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_bds_instance API. r(rrupdate_bds_instancezThttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/UpdateBdsInstance)rrr.r,csg|]}|vr|qSr%r%r/r1r%r&r2A r3z1BdsClient.update_bds_instance..z(update_bds_instance got unknown kwargs: cSsi|]\}}|tur||qSr%r5r7r%r%r&r:J r3z1BdsClient.update_bds_instance..Nrr;r<r=r.r,)r>r?rBr@cSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:V r3rrDrrEr)r#r]Zupdate_bds_instance_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&r  sl($     zBdsClient.update_bds_instancec svddg}d}d}d}d} gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt d}dd t|D}|j j |d|j d}|rNt|t js&|j |||j|j|j j||| |||d|| |d S|j j||| |||d|| |d SdS)a% Update the BDS metastore configuration represented by the provided ID. :param str bds_instance_id: (required) The OCID of the cluster. :param str metastore_config_id: (required) The metastore configuration ID :param oci.bds.models.UpdateBdsMetastoreConfigurationDetails update_bds_metastore_configuration_details: (required) Request body for updating BDS metastore configuration. :param str opc_request_id: (optional) The client request ID for tracing. :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 update_bds_metastore_configuration API. r(r)rr"update_bds_metastore_configurationzphttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsMetastoreConfiguration/UpdateBdsMetastoreConfigurationrcsg|]}|vr|qSr%r%r/r1r%r&r2 r3z@BdsClient.update_bds_metastore_configuration..z7update_bds_metastore_configuration got unknown kwargs: r4cSsi|]\}}|tur||qSr%r5r7r%r%r&r: r3z@BdsClient.update_bds_metastore_configuration..Nrr;r<r=r,r.rcSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r: r3rrDrrEr)r#r]r^Z*update_bds_metastore_configuration_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&r x sn+$     z,BdsClient.update_bds_metastore_configurationc sddg}d}d}d}d} gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt |dt d}dd t|D}|j j |d|j d}|rdt|t js<|j ||j |||j|j|j j||| |||d|| |d S|j j||| |||d|| |d SdS)a< Updates fields on NodeBackupConfiguration, including the name, the schedule. :param str bds_instance_id: (required) The OCID of the cluster. :param str node_backup_configuration_id: (required) Unique Oracle-assigned identifier of the NodeBackupConfiguration. :param oci.bds.models.UpdateNodeBackupConfigurationDetails update_node_backup_configuration_details: (required) Details for updating the NodeBackupConfiguration. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_node_backup_configuration API. r(rrr update_node_backup_configurationz`https://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/UpdateNodeBackupConfigurationrbcsg|]}|vr|qSr%r%r/r1r%r&r2(!r3z>BdsClient.update_node_backup_configuration..z5update_node_backup_configuration got unknown kwargs: rcSsi|]\}}|tur||qSr%r5r7r%r%r&r:2!r3z>BdsClient.update_node_backup_configuration..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:?!r3rrDrrErN)r#r]rZ(update_node_backup_configuration_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&r  sr2$       z*BdsClient.update_node_backup_configurationc sddg}d}d}d}d} gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt |dt d}dd t|D}|j j |d|j d}|rdt|t js<|j ||j |||j|j|j j||| |||d|| |d S|j j||| |||d|| |d SdS)aE Updates fields on nodeReplaceConfigurations, including the name, the schedule :param str bds_instance_id: (required) The OCID of the cluster. :param str node_replace_configuration_id: (required) Unique Oracle-assigned identifier of the NodeReplaceConfiguration. :param oci.bds.models.UpdateNodeReplaceConfigurationDetails update_node_replace_configuration_details: (required) Details for updating the nodeReplaceConfiguration. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_node_replace_configuration API. r(rrr!update_node_replace_configurationzahttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/UpdateNodeReplaceConfigurationrbcsg|]}|vr|qSr%r%r/r1r%r&r2!r3z?BdsClient.update_node_replace_configuration..z6update_node_replace_configuration got unknown kwargs: rcSsi|]\}}|tur||qSr%r5r7r%r%r&r:!r3z?BdsClient.update_node_replace_configuration..Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:!r3rrDrrErN)r#r]rZ)update_node_replace_configuration_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&r b!sr2$       z+BdsClient.update_node_replace_configurationc sddg}d}d}d}d} gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt |dt d}dd t|D}|j j |d|j d}|rdt|t js<|j ||j |||j|j|j j||| |||d|| |d S|j j||| |||d|| |d SdS)a Updates fields on resourcePrincipalConfiguration, including the name, the lifeSpanInHours of the token. :param str bds_instance_id: (required) The OCID of the cluster. :param str resource_principal_configuration_id: (required) Unique Oracle-assigned identifier of the ResourcePrincipalConfiguration. :param oci.bds.models.UpdateResourcePrincipalConfigurationDetails update_resource_principal_configuration_details: (required) Details for updating the resourcePrincipalConfiguration. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_resource_principal_configuration API. r(rrr'update_resource_principal_configurationzghttps://docs.oracle.com/iaas/api/#/en/bigdata/20190531/BdsInstance/UpdateResourcePrincipalConfigurationrbcsg|]}|vr|qSr%r%r/r1r%r&r2"r3zEBdsClient.update_resource_principal_configuration..z.Nrr;r<r=r,r.r-rccSs&i|]\}}|tur|dur||qSrCr5r7r%r%r&r:3"r3rrDrrErN)r#r]rZ/update_resource_principal_configuration_detailsr$rMrFrGrKrLr_rHr8r9rIrr%r1r&r !sr2$       z1BdsClient.update_resource_principal_configurationN)M__name__ __module__ __qualname____doc__r'r+rardrerfrgrhrirjrkrmrnrprtrxrzr|r~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr r r r r r%r%r%r&rs[zvvvvvvvvxvvm^mmmmkgkkkvvvzdd`dddd}d`vv$%8 %  .p   zvvlzpvvvllpgzlpzzrN)Z __future__rZ oci._vendorrrZocirrZoci.base_clientrZ oci.configrr Z oci.signerr Zoci.utilr r r Zoci.exceptionsrZ oci.alloyrZmodelsrr6objectrr%r%r%r&s