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)load_balancer_type_mappingZMissingc@seZdZdZddZddZddZdd Zd d Zd d Z ddZ ddZ ddZ ddZ ddZddZddZddZddZd d!Zd"d#Zd$d%Zd&d'Zd(d)Zd*d+Zd,d-Zd.d/Zd0d1Zd2d3Zd4d5Zd6d7Zd8d9Zd:d;Z dd?Z"d@dAZ#dBdCZ$dDdEZ%dFdGZ&dHdIZ'dJdKZ(dLdMZ)dNdOZ*dPdQZ+dRdSZ,dTdUZ-dVdWZ.dXdYZ/dZd[Z0d\d]Z1d^d_Z2d`daZ3dbdcZ4dddeZ5dfdgZ6dhdiZ7djdkZ8dldmZ9dndoZ:dpdqZ;drdsZdxdyZ?dzd{Z@d|d}ZAd~S)LoadBalancerClientz API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more information, see [Overview of Load Balancing](/iaas/Content/Balance/Concepts/balanceoverview.htm). 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. Z load_balanceraThe 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 /20170115z)https://iaas.{region}.{secondLevelDomain}skip_deserializationFcircuit_breaker_strategy5client_level_realm_specific_endpoint_template_enabled)Zregional_clientr base_pathZservice_endpoint_templateZ#service_endpoint_template_per_realmrrrtimeoutNallow_control_charsretry_strategycircuit_breaker_callback)rZis_service_enabledrr getr r r rrZGLOBAL_CIRCUIT_BREAKER_STRATEGYZ DEFAULT_CIRCUIT_BREAKER_STRATEGYrr base_clientrr )selfZconfigkwargsrZbase_client_init_kwargsr%J/usr/lib/python3.9/site-packages/oci/load_balancer/load_balancer_client.py__init__sB3         zLoadBalancerClient.__init__c sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)ao Moves a load balancer into a different compartment within the same tenancy. For information about moving resources between compartments, see `Moving Resources to a Different Compartment`__. __ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes :param str load_balancer_id: (required) The `OCID`__ of the load balancer to move. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param oci.load_balancer.models.ChangeLoadBalancerCompartmentDetails change_load_balancer_compartment_details: (required) The configuration details for moving a load balancer to a different compartment. :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_load_balancer_compartment API. loadBalancerIdz1/loadBalancers/{loadBalancerId}/changeCompartmentPOST change_load_balancer_compartmentzfhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancer/ChangeLoadBalancerCompartmentrropc_request_idopc_retry_tokenif_matchcsg|]}|vr|qSr%r%.0Z_keyZexpected_kwargsr%r& zGLoadBalancerClient.change_load_balancer_compartment..z5change_load_balancer_compartment got unknown kwargs: cSsi|]\}}|tur||qSr%missingr0kvr%r%r& r3zGLoadBalancerClient.change_load_balancer_compartment..Nr Parameter + cannot be None, whitespace or empty stringapplication/jsonr,r-r.accept content-typeopc-request-idopc-retry-tokenif-matchcSs&i|]\}}|tur|dur||qSNr4r6r%r%r&r9r3rZoperation_retry_strategyZclient_retry_strategyr resource_pathmethod path_params header_paramsbodyroperation_nameapi_reference_linkrequired_argumentsriterkeys ValueError iteritems isinstance string_typeslenstripr!r5r"get_preferred_retry_strategyrrNoneRetryStrategyadd_opc_retry_token_if_neededadd_opc_client_retries_headeradd_circuit_breaker_callbackr make_retrying_callcall_api)r#load_balancer_idZ(change_load_balancer_compartment_detailsr$rMrFrGrKrL extra_kwargsrHr7r8rIrr%r1r&r*xsp:$       z3LoadBalancerClient.change_load_balancer_compartmentc 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 Adds a backend server to a backend set. :param oci.load_balancer.models.CreateBackendDetails create_backend_details: (required) The details to add a backend server to a backend set. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the backend set and servers. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str backend_set_name: (required) The name of the backend set to add the backend server to. Example: `example_backend_set` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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 (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_backend API. r(backendSetNameE/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backendsr)create_backendrrr,r.r-csg|]}|vr|qSr%r%r/r1r%r&r2Cr3z5LoadBalancerClient.create_backend..z#create_backend got unknown kwargs: r(r_cSsi|]\}}|tur||qSr%r4r6r%r%r&r9Mr3z5LoadBalancerClient.create_backend..Nrr:r;r<r,r.r-r>r?r@rBrAcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Zr3rrDrrErN)r#Zcreate_backend_detailsr]backend_set_namer$rMrFrGrKrLr^rHr7r8rIrr%r1r&rasr<$       z!LoadBalancerClient.create_backendc 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 a backend set to a load balancer. :param oci.load_balancer.models.CreateBackendSetDetails create_backend_set_details: (required) The details for adding a backend set. :param str load_balancer_id: (required) The `OCID`__ of the load balancer on which to add a backend set. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_backend_set API. r(+/loadBalancers/{loadBalancerId}/backendSetsr)create_backend_setrbr+csg|]}|vr|qSr%r%r/r1r%r&r2r3z9LoadBalancerClient.create_backend_set..z'create_backend_set got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z9LoadBalancerClient.create_backend_set..Nrr:r;r<r,r-r.r=cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrErN)r#Zcreate_backend_set_detailsr]r$rMrFrGrKrLr^rHr7r8rIrr%r1r&rh}sp7$       z%LoadBalancerClient.create_backend_setc 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 Creates an asynchronous request to add an SSL certificate bundle. :param oci.load_balancer.models.CreateCertificateDetails create_certificate_details: (required) The details of the certificate bundle to add. :param str load_balancer_id: (required) The `OCID`__ of the load balancer on which to add the certificate bundle. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_certificate API. r(,/loadBalancers/{loadBalancerId}/certificatesr)create_certificaterbr+csg|]}|vr|qSr%r%r/r1r%r&r2@r3z9LoadBalancerClient.create_certificate..z'create_certificate got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9Ir3z9LoadBalancerClient.create_certificate..Nrr:r;r<r,r-r.r=cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Vr3rrDrrErN)r#Zcreate_certificate_detailsr]r$rMrFrGrKrLr^rHr7r8rIrr%r1r&rjsp7$       z%LoadBalancerClient.create_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)a Adds a hostname resource to the specified load balancer. For more information, see `Managing Request Routing`__. __ https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrequest.htm :param oci.load_balancer.models.CreateHostnameDetails create_hostname_details: (required) The details of the hostname resource to add to the specified load balancer. :param str load_balancer_id: (required) The `OCID`__ of the load balancer to add the hostname to. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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 (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_hostname API. r()/loadBalancers/{loadBalancerId}/hostnamesr)create_hostnamerbrccsg|]}|vr|qSr%r%r/r1r%r&r2r3z6LoadBalancerClient.create_hostname..z$create_hostname got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z6LoadBalancerClient.create_hostname..Nrr:r;r<r,r.r-recSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrErN)r#Zcreate_hostname_detailsr]r$rMrFrGrKrLr^rHr7r8rIrr%r1r&rlysp:$       z"LoadBalancerClient.create_hostnamec 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 a listener to a load balancer. :param oci.load_balancer.models.CreateListenerDetails create_listener_details: (required) Details to add a listener. :param str load_balancer_id: (required) The `OCID`__ of the load balancer on which to add a listener. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_listener API. r(z)/loadBalancers/{loadBalancerId}/listenersr)create_listenerrbr+csg|]}|vr|qSr%r%r/r1r%r&r2?r3z6LoadBalancerClient.create_listener..z$create_listener got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9Hr3z6LoadBalancerClient.create_listener..Nrr:r;r<r,r-r.r=cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Ur3rrDrrErN)r#Zcreate_listener_detailsr]r$rMrFrGrKrLr^rHr7r8rIrr%r1r&rmsp7$       z"LoadBalancerClient.create_listenerc 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)a Creates a new load balancer in the specified compartment. For general information about load balancers, see `Overview of the Load Balancing Service`__. For the purposes of access control, you must provide the OCID of the compartment where you want the load balancer to reside. Notice that the load balancer doesn't have to be in the same compartment as the VCN or backend set. If you're not sure which compartment to use, put the load balancer in the same compartment as the VCN. For information about access control and compartments, see `Overview of the IAM Service`__. You must specify a display name for the load balancer. It does not have to be unique, and you can change it. For information about Availability Domains, see `Regions and Availability Domains`__. To get a list of Availability Domains, use the `ListAvailabilityDomains` operation in the Identity and Access Management Service API. All Oracle Cloud Infrastructure resources, including load balancers, get an Oracle-assigned, unique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response. You can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the resource in the Console. Fore more information, see `Resource Identifiers`__. After you send your request, the new object's state will temporarily be PROVISIONING. Before using the object, first make sure its state has changed to RUNNING. When you create a load balancer, the system assigns an IP address. To get the IP address, use the :func:`get_load_balancer` operation. __ https://docs.cloud.oracle.com/Content/Balance/Concepts/balanceoverview.htm __ https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm __ https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param oci.load_balancer.models.CreateLoadBalancerDetails create_load_balancer_details: (required) The configuration details for creating a load balancer. :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_load_balancer API. /loadBalancersr)create_load_balancerrb)rrr,r-csg|]}|vr|qSr%r%r/r1r%r&r2r3z;LoadBalancerClient.create_load_balancer..z)create_load_balancer got unknown kwargs: r<r,r-)r>r?r@rAcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3z;LoadBalancerClient.create_load_balancer..rrDr)rFrGrIrJrrKrLrMN)rrOrPr!r5rQr"rVrrRrrWrXrYrZr r[r\) r#Zcreate_load_balancer_detailsr$rMrFrGrKrLr^rIrr%r1r&roxs^E       z'LoadBalancerClient.create_load_balancerc 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 a path route set to a load balancer. For more information, see `Managing Request Routing`__. __ https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrequest.htm :param oci.load_balancer.models.CreatePathRouteSetDetails create_path_route_set_details: (required) The details of the path route set to add. :param str load_balancer_id: (required) The `OCID`__ of the load balancer to add the path route set to. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_path_route_set API. r(-/loadBalancers/{loadBalancerId}/pathRouteSetsr)create_path_route_setrbr+csg|]}|vr|qSr%r%r/r1r%r&r2>r3z.z*create_path_route_set got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9Gr3z.Nrr:r;r<r,r-r.r=cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Tr3rrDrrErN)r#Zcreate_path_route_set_detailsr]r$rMrFrGrKrLr^rHr7r8rIrr%r1r&rqsp:$       z(LoadBalancerClient.create_path_route_setc 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 a routing policy to a load balancer. For more information, see `Managing Request Routing`__. __ https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrequest.htm :param oci.load_balancer.models.CreateRoutingPolicyDetails create_routing_policy_details: (required) The details of the routing policy rules to add. :param str load_balancer_id: (required) The `OCID`__ of the load balancer to add the routing policy rule list to. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_routing_policy API. r(//loadBalancers/{loadBalancerId}/routingPoliciesr)create_routing_policyrbr+csg|]}|vr|qSr%r%r/r1r%r&r2r3z.z*create_routing_policy got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z.Nrr:r;r<r,r-r.r=cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrErN)r#Zcreate_routing_policy_detailsr]r$rMrFrGrKrLr^rHr7r8rIrr%r1r&rswsp:$       z(LoadBalancerClient.create_routing_policyc 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 Creates a new rule set associated with the specified load balancer. For more information, see `Managing Rule Sets`__. __ https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrulesets.htm :param str load_balancer_id: (required) The `OCID`__ of the specified load balancer. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param oci.load_balancer.models.CreateRuleSetDetails create_rule_set_details: (required) The configuration details for the rule set to create. :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_rule_set API. r((/loadBalancers/{loadBalancerId}/ruleSetsr)create_rule_setrbr+csg|]}|vr|qSr%r%r/r1r%r&r2@r3z6LoadBalancerClient.create_rule_set..z$create_rule_set got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9Ir3z6LoadBalancerClient.create_rule_set..Nrr:r;r<r,r-r.r=cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Vr3rrDrrErN)r#r]Zcreate_rule_set_detailsr$rMrFrGrKrLr^rHr7r8rIrr%r1r&rusp:$       z"LoadBalancerClient.create_rule_setc 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 Creates a custom SSL cipher suite. :param oci.load_balancer.models.CreateSSLCipherSuiteDetails create_ssl_cipher_suite_details: (required) The details of the SSL cipher suite to add. :param str load_balancer_id: (required) The `OCID`__ of the associated load balancer. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_ssl_cipher_suite API. r(//loadBalancers/{loadBalancerId}/sslCipherSuitesr)create_ssl_cipher_suiterbr+csg|]}|vr|qSr%r%r/r1r%r&r2r3z>LoadBalancerClient.create_ssl_cipher_suite..z,create_ssl_cipher_suite got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z>LoadBalancerClient.create_ssl_cipher_suite..Nrr:r;r<r,r-r.r=cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrErN)r#Zcreate_ssl_cipher_suite_detailsr]r$rMrFrGrKrLr^rHr7r8rIrr%r1r&rwysp7$       z*LoadBalancerClient.create_ssl_cipher_suitec stgd}d}d}d}d} gdfddt|D} | rJtd | |||d} d d t| D} t| D]<\} } | d ust| tjrtt| d krttd| dqtdd|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|| |dSd S)a Removes a backend server from a given load balancer and backend set. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the backend set and server. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str backend_set_name: (required) The name of the backend set associated with the backend server. Example: `example_backend_set` :param str backend_name: (required) The IP address and port of the backend server to remove. Example: `10.0.0.3:8080` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_backend API. r(r_Z backendNameS/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backends/{backendName}DELETEdelete_backendrbrrr,r.csg|]}|vr|qSr%r%r/r1r%r&r2;r3z5LoadBalancerClient.delete_backend..z#delete_backend got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9Fr3z5LoadBalancerClient.delete_backend..Nrr:r;r<r,r.r>r?r@rBcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Rr3rrDrrFrGrHrIrrKrLrMrrOrPrQrRrSrTrUr!r5r"rVrrrWrYrZr r[r\r#r]rf backend_namer$rMrFrGrKrLr^rHr7r8rIrr%r1r&r{sl7$     z!LoadBalancerClient.delete_backendc 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 specified backend set. Note that deleting a backend set removes its backend servers from the load balancer. Before you can delete a backend set, you must remove it from any active listeners. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the backend set. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str backend_set_name: (required) The name of the backend set to delete. Example: `example_backend_set` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_backend_set API. r(r_.z'delete_backend_set got unknown kwargs: rdcSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z9LoadBalancerClient.delete_backend_set..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrr~rr#r]rfr$rMrFrGrKrLr^rHr7r8rIrr%r1r&rrsj4$     z%LoadBalancerClient.delete_backend_setc 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)af Deletes an SSL certificate bundle from a load balancer. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the certificate bundle to be deleted. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str certificate_name: (required) The name of the certificate bundle to delete. Example: `example_certificate_bundle` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_certificate API. r(certificateNamez>/loadBalancers/{loadBalancerId}/certificates/{certificateName}rzdelete_certificaterbr|csg|]}|vr|qSr%r%r/r1r%r&r2)r3z9LoadBalancerClient.delete_certificate..z'delete_certificate got unknown kwargs: )r(rcSsi|]\}}|tur||qSr%r4r6r%r%r&r93r3z9LoadBalancerClient.delete_certificate..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9?r3rrDrr~r)r#r]Zcertificate_namer$rMrFrGrKrLr^rHr7r8rIrr%r1r&rsj3$     z%LoadBalancerClient.delete_certificatec 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)a9 Deletes a hostname resource from the specified load balancer. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the hostname to delete. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str name: (required) The name of the hostname resource to delete. Example: `example_hostname_001` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_hostname API. r(name0/loadBalancers/{loadBalancerId}/hostnames/{name}rzdelete_hostnamerbr|csg|]}|vr|qSr%r%r/r1r%r&r2r3z6LoadBalancerClient.delete_hostname..z$delete_hostname got unknown kwargs: r(rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z6LoadBalancerClient.delete_hostname..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrr~rr#r]rr$rMrFrGrKrLr^rHr7r8rIrr%r1r&r_sj2$     z"LoadBalancerClient.delete_hostnamec 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 a listener from a load balancer. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the listener to delete. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str listener_name: (required) The name of the listener to delete. Example: `example_listener` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_listener API. r( listenerName8/loadBalancers/{loadBalancerId}/listeners/{listenerName}rzdelete_listenerrbr|csg|]}|vr|qSr%r%r/r1r%r&r2r3z6LoadBalancerClient.delete_listener..z$delete_listener got unknown kwargs: r(rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z6LoadBalancerClient.delete_listener..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9)r3rrDrr~rr#r] listener_namer$rMrFrGrKrLr^rHr7r8rIrr%r1r&rsj2$     z"LoadBalancerClient.delete_listenerc 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 Stops a load balancer and removes it from service. :param str load_balancer_id: (required) The `OCID`__ of the load balancer to delete. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_load_balancer API. r(/loadBalancers/{loadBalancerId}rzdelete_load_balancerrbr|csg|]}|vr|qSr%r%r/r1r%r&r2r3z;LoadBalancerClient.delete_load_balancer..z)delete_load_balancer got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z;LoadBalancerClient.delete_load_balancer..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrr~rr#r]r$rMrFrGrKrLr^rHr7r8rIrr%r1r&rIsh-$     z'LoadBalancerClient.delete_load_balancerc 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 a path route set from the specified load balancer. To delete a path route rule from a path route set, use the :func:`update_path_route_set` operation. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the path route set to delete. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str path_route_set_name: (required) The name of the path route set to delete. Example: `example_path_route_set` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_path_route_set API. r(pathRouteSetName@/loadBalancers/{loadBalancerId}/pathRouteSets/{pathRouteSetName}rzdelete_path_route_setrbr|csg|]}|vr|qSr%r%r/r1r%r&r2r3z.z*delete_path_route_set got unknown kwargs: r(rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9 r3z.Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3rrDrr~rr#r]path_route_set_namer$rMrFrGrKrLr^rHr7r8rIrr%r1r&rsj5$     z(LoadBalancerClient.delete_path_route_setc 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 a routing policy from the specified load balancer. To delete a routing rule from a routing policy, use the :func:`update_routing_policy` operation. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the routing policy to delete. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str routing_policy_name: (required) The name of the routing policy to delete. Example: `example_routing_policy` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_routing_policy API. r(routingPolicyNameC/loadBalancers/{loadBalancerId}/routingPolicies/{routingPolicyName}rzdelete_routing_policyrbr|csg|]}|vr|qSr%r%r/r1r%r&r2r r3z.z*delete_routing_policy got unknown kwargs: r(rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9| r3z.Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3rrDrr~rr#r]routing_policy_namer$rMrFrGrKrLr^rHr7r8rIrr%r1r&r0 sj5$     z(LoadBalancerClient.delete_routing_policyc 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)am Deletes a rule set from the specified load balancer. To delete a rule from a rule set, use the :func:`update_rule_set` operation. :param str load_balancer_id: (required) The `OCID`__ of the specified load balancer. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str rule_set_name: (required) The name of the rule set to delete. Example: `example_rule_set` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_rule_set API. r( ruleSetName6/loadBalancers/{loadBalancerId}/ruleSets/{ruleSetName}rzdelete_rule_setrbr|csg|]}|vr|qSr%r%r/r1r%r&r2 r3z6LoadBalancerClient.delete_rule_set..z$delete_rule_set got unknown kwargs: r(rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9 r3z6LoadBalancerClient.delete_rule_set..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3rrDrr~rr#r] rule_set_namer$rMrFrGrKrLr^rHr7r8rIrr%r1r&r sj5$     z"LoadBalancerClient.delete_rule_setc 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 an SSL cipher suite from a load balancer. :param str load_balancer_id: (required) The `OCID`__ of the associated load balancer. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str name: (required) The name of the SSL cipher suite to delete. example: `example_cipher_suite` :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_ssl_cipher_suite API. r(r6/loadBalancers/{loadBalancerId}/sslCipherSuites/{name}rzdelete_ssl_cipher_suiterbr|csg|]}|vr|qSr%r%r/r1r%r&r2_ r3z>LoadBalancerClient.delete_ssl_cipher_suite..z,delete_ssl_cipher_suite got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9i r3z>LoadBalancerClient.delete_ssl_cipher_suite..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9u r3rrDrr~rrr%r1r&r sj2$     z*LoadBalancerClient.delete_ssl_cipher_suitec sxgd}d}d}d}d} gdfddt|D} | rJtd | |||d} d d t| D} t| D]<\} } | d ust| tjrtt| d krttd| dqtdd|dt |dt d}dd t|D}|j j |d|j d}|rPt|t js(|j |||j|j|j j||| |d|d|| |d S|j j||| |d|d|| |d Sd S)a Gets the specified backend server's configuration information. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the backend set and server. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str backend_set_name: (required) The name of the backend set that includes the backend server. Example: `example_backend_set` :param str backend_name: (required) The IP address and port of the backend server to retrieve. Example: `10.0.0.3:8080` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.Backend` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_backend API. rxryGET get_backendzNhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/Backend/GetBackendr|csg|]}|vr|qSr%r%r/r1r%r&r2 r3z2LoadBalancerClient.get_backend..z get_backend got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9 r3z2LoadBalancerClient.get_backend..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3rrDZBackendr rFrGrHrI response_typerrKrLrMrrr%r1r&r sp7$     zLoadBalancerClient.get_backendc sxgd}d}d}d}d} gdfddt|D} | rJtd | |||d} d d t| D} t| D]<\} } | d ust| tjrtt| d krttd| dqtdd|dt |dt d}dd t|D}|j j |d|j d}|rPt|t js(|j |||j|j|j j||| |d|d|| |d S|j j||| |d|d|| |d Sd S)aw Gets the current health status of the specified backend server. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the backend server health status to be retrieved. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str backend_set_name: (required) The name of the backend set associated with the backend server to retrieve the health status for. Example: `example_backend_set` :param str backend_name: (required) The IP address and port of the backend server to retrieve the health status for. Example: `10.0.0.3:8080` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.BackendHealth` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_backend_health API. rxzZ/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/backends/{backendName}/healthrget_backend_healthzZhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/BackendHealth/GetBackendHealthr|csg|]}|vr|qSr%r%r/r1r%r&r2V r3z9LoadBalancerClient.get_backend_health..z'get_backend_health got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9a r3z9LoadBalancerClient.get_backend_health..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9m r3rrDZ BackendHealthrrrrr%r1r&r sp7$     z%LoadBalancerClient.get_backend_healthc 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|||d S|j j||| | d|d|||d SdS)aJ Gets the specified backend set's configuration information. :param str load_balancer_id: (required) The `OCID`__ of the specified load balancer. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str backend_set_name: (required) The name of the backend set to retrieve. Example: `example_backend_set` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.BackendSet` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_backend_set API. r(r_rrget_backend_setzThttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/BackendSet/GetBackendSetr|csg|]}|vr|qSr%r%r/r1r%r&r2 r3z6LoadBalancerClient.get_backend_set..z$get_backend_set got unknown kwargs: rdcSsi|]\}}|tur||qSr%r4r6r%r%r&r9 r3z6LoadBalancerClient.get_backend_set..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3rrDZ BackendSetrrrrr%r1r&r sn2$     z"LoadBalancerClient.get_backend_setc 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|||d S|j j||| | d|d|||d SdS)a Gets the health status for the specified backend set. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the backend set health status to be retrieved. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str backend_set_name: (required) The name of the backend set to retrieve the health status for. Example: `example_backend_set` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.BackendSetHealth` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_backend_set_health API. r(r_zC/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/healthrget_backend_set_healthz`https://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/BackendSetHealth/GetBackendSetHealthr|csg|]}|vr|qSr%r%r/r1r%r&r2E r3z=LoadBalancerClient.get_backend_set_health..z+get_backend_set_health got unknown kwargs: rdcSsi|]\}}|tur||qSr%r4r6r%r%r&r9O r3z=LoadBalancerClient.get_backend_set_health..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9[ r3rrDZBackendSetHealthrrrrr%r1r&r sn2$     z)LoadBalancerClient.get_backend_set_healthc 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|||d S|j j||| | d|d|||d SdS)a Gets the health check policy information for a given load balancer and backend set. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the health check policy to be retrieved. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str backend_set_name: (required) The name of the backend set associated with the health check policy to be retrieved. Example: `example_backend_set` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.HealthChecker` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_health_checker API. r(r_J/loadBalancers/{loadBalancerId}/backendSets/{backendSetName}/healthCheckerrget_health_checkerzZhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/HealthChecker/GetHealthCheckerr|csg|]}|vr|qSr%r%r/r1r%r&r2 r3z9LoadBalancerClient.get_health_checker..z'get_health_checker got unknown kwargs: rdcSsi|]\}}|tur||qSr%r4r6r%r%r&r9 r3z9LoadBalancerClient.get_health_checker..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3rrDZ HealthCheckerrrrrr%r1r&r} sn2$     z%LoadBalancerClient.get_health_checkerc 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|||d S|j j||| | d|d|||d SdS)aC Gets the specified hostname resource's configuration information. :param str load_balancer_id: (required) The `OCID`__ of the specified load balancer. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str name: (required) The name of the hostname resource to retrieve. Example: `example_hostname_001` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.Hostname` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_hostname API. r(rrr get_hostnamezPhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/Hostname/GetHostnamer|csg|]}|vr|qSr%r%r/r1r%r&r23 r3z3LoadBalancerClient.get_hostname..z!get_hostname got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9= r3z3LoadBalancerClient.get_hostname..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9I r3rrDZHostnamerrrrr%r1r&r sn2$     zLoadBalancerClient.get_hostnamec 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|||d S|j j||| | d|d|||d Sd S)a Gets the specified load balancer's configuration information. :param str load_balancer_id: (required) The `OCID`__ of the load balancer to retrieve. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.LoadBalancer` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_load_balancer API. r(rrget_load_balancerzXhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancer/GetLoadBalancerr|csg|]}|vr|qSr%r%r/r1r%r&r2 r3z8LoadBalancerClient.get_load_balancer..z&get_load_balancer got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9 r3z8LoadBalancerClient.get_load_balancer..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3rrDZ LoadBalancerrrrrr%r1r&rk sl-$     z$LoadBalancerClient.get_load_balancerc 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|||d S|j j||| | d|d|||d Sd S)a Gets the health status for the specified load balancer. :param str load_balancer_id: (required) The `OCID`__ of the load balancer to return health status for. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.LoadBalancerHealth` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_load_balancer_health API. r(z&/loadBalancers/{loadBalancerId}/healthrget_load_balancer_healthzdhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerHealth/GetLoadBalancerHealthr|csg|]}|vr|qSr%r%r/r1r%r&r2r3z?LoadBalancerClient.get_load_balancer_health..z-get_load_balancer_health got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z?LoadBalancerClient.get_load_balancer_health..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9+r3rrDZLoadBalancerHealthrrrrr%r1r&r sl-$     z+LoadBalancerClient.get_load_balancer_healthc 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|||d S|j j||| | d|d|||d SdS)a^ Gets the specified path route set's configuration information. :param str load_balancer_id: (required) The `OCID`__ of the specified load balancer. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str path_route_set_name: (required) The name of the path route set to retrieve. Example: `example_path_route_set` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.PathRouteSet` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_path_route_set API. r(rrrget_path_route_setzXhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/PathRouteSet/GetPathRouteSetr|csg|]}|vr|qSr%r%r/r1r%r&r2r3z9LoadBalancerClient.get_path_route_set..z'get_path_route_set got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z9LoadBalancerClient.get_path_route_set..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDZ PathRouteSetrrrrr%r1r&rMsn2$     z%LoadBalancerClient.get_path_route_setc 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|||d S|j j||| | d|d|||d SdS)aC Gets the specified routing policy. :param str load_balancer_id: (required) The `OCID`__ of the specified load balancer. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str routing_policy_name: (required) The name of the routing policy to retrieve. Example: `example_routing_policy` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.RoutingPolicy` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_routing_policy API. r(rrrget_routing_policyzZhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/RoutingPolicy/GetRoutingPolicyr|csg|]}|vr|qSr%r%r/r1r%r&r2r3z9LoadBalancerClient.get_routing_policy..z'get_routing_policy got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9 r3z9LoadBalancerClient.get_routing_policy..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDZ RoutingPolicyrrrrr%r1r&rsn2$     z%LoadBalancerClient.get_routing_policyc 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|||d S|j j||| | d|d|||d SdS)a Gets the specified set of rules. :param str load_balancer_id: (required) The `OCID`__ of the specified load balancer. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str rule_set_name: (required) The name of the rule set to retrieve. Example: `example_rule_set` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.RuleSet` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_rule_set API. r(rrr get_rule_setzNhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/RuleSet/GetRuleSetr|csg|]}|vr|qSr%r%r/r1r%r&r2zr3z3LoadBalancerClient.get_rule_set..z!get_rule_set got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z3LoadBalancerClient.get_rule_set..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDZRuleSetrrrrr%r1r&r;sn2$     zLoadBalancerClient.get_rule_setc 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|||d S|j j||| | d|d|||d SdS)aT Gets the specified SSL cipher suite's configuration information. :param str load_balancer_id: (required) The `OCID`__ of the associated load balancer. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str name: (required) The name of the SSL cipher suite to retrieve. example: `example_cipher_suite` :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.SSLCipherSuite` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_ssl_cipher_suite API. r(rrrget_ssl_cipher_suitez\https://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/SSLCipherSuite/GetSslCipherSuiter|csg|]}|vr|qSr%r%r/r1r%r&r2r3z;LoadBalancerClient.get_ssl_cipher_suite..z)get_ssl_cipher_suite got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z;LoadBalancerClient.get_ssl_cipher_suite..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDZSSLCipherSuiterrrrr%r1r&rsn2$     z'LoadBalancerClient.get_ssl_cipher_suitec 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)aF Gets the details of a work request. :param str work_request_id: (required) The `OCID`__ of the work request to retrieve. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.load_balancer.models.WorkRequest` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_work_request API. Z workRequestIdz)/loadBalancerWorkRequests/{workRequestId}rget_work_requestzVhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/WorkRequest/GetWorkRequest)rrr,csg|]}|vr|qSr%r%r/r1r%r&r2Vr3z7LoadBalancerClient.get_work_request..z%get_work_request got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9_r3z7LoadBalancerClient.get_work_request..Nrr:r;r<r,r>r?r@cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9jr3rrDZ WorkRequestrrr)r#Zwork_request_idr$rMrFrGrKrLr^rHr7r8rIrr%r1r&r)sj!$    z#LoadBalancerClient.get_work_requestc 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|||d S|j j||| | d|d|||d Sd S)a Lists all backend sets associated with a given load balancer. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the backend sets to retrieve. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.BackendSet` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_backend_sets API. r(rgrlist_backend_setszVhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/BackendSet/ListBackendSetsr|csg|]}|vr|qSr%r%r/r1r%r&r2r3z8LoadBalancerClient.list_backend_sets..z&list_backend_sets got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z8LoadBalancerClient.list_backend_sets..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDzlist[BackendSet]rrrrr%r1r&rsl-$     z$LoadBalancerClient.list_backend_setsc 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|||d S|j j||| | d|d|||d SdS)a Lists the backend servers for a given load balancer and backend set. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the backend set and servers. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str backend_set_name: (required) The name of the backend set associated with the backend servers. Example: `example_backend_set` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.Backend` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_backends API. r(r_r`r list_backendszPhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/Backend/ListBackendsr|csg|]}|vr|qSr%r%r/r1r%r&r2<r3z4LoadBalancerClient.list_backends..z"list_backends got unknown kwargs: rdcSsi|]\}}|tur||qSr%r4r6r%r%r&r9Fr3z4LoadBalancerClient.list_backends..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Rr3rrDz list[Backend]rrrrr%r1r&rsn2$     z LoadBalancerClient.list_backendsc 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|||d S|j j||| | d|d|||d Sd S)a Lists all SSL certificates bundles associated with a given load balancer. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the certificate bundles to be listed. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.Certificate` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_certificates API. r(rirlist_certificateszXhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/Certificate/ListCertificatesr|csg|]}|vr|qSr%r%r/r1r%r&r2r3z8LoadBalancerClient.list_certificates..z&list_certificates got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z8LoadBalancerClient.list_certificates..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDzlist[Certificate]rrrrr%r1r&rtsl.$     z$LoadBalancerClient.list_certificatesc 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|||d S|j j||| | d|d|||d Sd S)a Lists all hostname resources associated with the specified load balancer. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the hostnames to retrieve. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.Hostname` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_hostnames API. r(rkrlist_hostnameszRhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/Hostname/ListHostnamesr|csg|]}|vr|qSr%r%r/r1r%r&r2!r3z5LoadBalancerClient.list_hostnames..z#list_hostnames got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9*r3z5LoadBalancerClient.list_hostnames..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r96r3rrDzlist[Hostname]rrrrr%r1r&rsl.$     z!LoadBalancerClient.list_hostnamesc 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|||d S|j j||| | d|d|||d SdS)a\ Lists all of the rules from all of the rule sets associated with the specified listener. The response organizes the rules in the following order: * Access control rules * Allow method rules * Request header rules * Response header rules :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the listener. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str listener_name: (required) The name of the listener the rules are associated with. Example: `example_listener` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.ListenerRuleSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_listener_rules API. r(rz>/loadBalancers/{loadBalancerId}/listeners/{listenerName}/rulesrlist_listener_ruleszahttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/ListenerRuleSummary/ListListenerRulesr|csg|]}|vr|qSr%r%r/r1r%r&r2r3z:LoadBalancerClient.list_listener_rules..z(list_listener_rules got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z:LoadBalancerClient.list_listener_rules..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDzlist[ListenerRuleSummary]rrrrr%r1r&rXsn7$     z&LoadBalancerClient.list_listener_rulesc s2dg}d}d}d}d}gdfddt|D}|rHtd ||d t|d t|d } d dt| D} dd|dtd} ddt| D} |jj|d|jd} | r t | t j s|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)a Lists the summary health statuses for all load balancers in the specified compartment. :param str compartment_id: (required) The `OCID`__ of the compartment containing the load balancers to return health status information for. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. Example: `3` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.load_balancer.models.LoadBalancerHealthSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_load_balancer_healths API. compartmentIdz/loadBalancerHealthsrlist_load_balancer_healthszmhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerHealthSummary/ListLoadBalancerHealthsrrr,limitpagecsg|]}|vr|qSr%r%r/r1r%r&r2r3zALoadBalancerClient.list_load_balancer_healths..z/list_load_balancer_healths got unknown kwargs: rr)rrrcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3zALoadBalancerClient.list_load_balancer_healths..r<r,rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9$r3rrDzlist[LoadBalancerHealthSummary]r rFrG query_paramsrIrrrKrLrMNrrOrPr!r5rQr"rVrrRrrWrYrZr r[r\ r#compartment_idr$rMrFrGrKrLr^rrIrr%r1r&rsh1       z-LoadBalancerClient.list_load_balancer_healthsc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | d|vrddg} |d| vrtd| d|vrgd} |d| vrtd| |dt|dt||dt|d t|dt|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 Lists all load balancers in the specified compartment. :param str compartment_id: (required) The `OCID`__ of the compartment containing the load balancers to list. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. Example: `3` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str detail: (optional) The level of detail to return for each result. Can be `full` or `simple`. Example: `full` :param str sort_by: (optional) The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. Allowed values are: "TIMECREATED", "DISPLAYNAME" :param str sort_order: (optional) The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order is case sensitive. Allowed values are: "ASC", "DESC" :param str display_name: (optional) A filter to return only resources that match the given display name exactly. Example: `example_load_balancer` :param str lifecycle_state: (optional) A filter to return only resources that match the given lifecycle state. Example: `SUCCEEDED` Allowed values are: "CREATING", "FAILED", "ACTIVE", "DELETING", "DELETED" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation 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.load_balancer.models.LoadBalancer` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_load_balancers API. rrnrlist_load_balancerszZhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancer/ListLoadBalancers) rrr,rrdetailsort_by sort_order display_namelifecycle_statecsg|]}|vr|qSr%r%r/r1r%r&r2r3z:LoadBalancerClient.list_load_balancers..z(list_load_balancers got unknown kwargs: rZ TIMECREATEDZ DISPLAYNAMEz,Invalid value for `sort_by`, must be one of rZASCZDESCz/Invalid value for `sort_order`, must be one of r)ZCREATINGZFAILEDZACTIVEZDELETINGZDELETEDz4Invalid value for `lifecycle_state`, must be one of rrrr)rrrrZsortByZ sortOrderZ displayNameZlifecycleStatecSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3z:LoadBalancerClient.list_load_balancers..r<r,rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDzlist[LoadBalancer]rrNr)r#rr$rMrFrGrKrLr^Zsort_by_allowed_valuesZsort_order_allowed_valuesZlifecycle_state_allowed_valuesrrIrr%r1r&rFsM                z&LoadBalancerClient.list_load_balancersc 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|||d S|j j||| | d|d|||d Sd S)a Lists all path route sets associated with the specified load balancer. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the path route sets to retrieve. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.PathRouteSet` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_path_route_sets API. r(rprlist_path_route_setszZhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/PathRouteSet/ListPathRouteSetsr|csg|]}|vr|qSr%r%r/r1r%r&r2.r3z;LoadBalancerClient.list_path_route_sets..z)list_path_route_sets got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r97r3z;LoadBalancerClient.list_path_route_sets..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Cr3rrDzlist[PathRouteSet]rrrrr%r1r&rsl.$     z'LoadBalancerClient.list_path_route_setsc s2dg}d}d}d}d}gdfddt|D}|rHtd |||d t|d td } d dt| D} dd|dtd} ddt| D} |jj|d|jd} | r t | t j s|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)aB Lists the available load balancer policies. :param str compartment_id: (required) The `OCID`__ of the compartment containing the load balancer policies to list. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. Example: `3` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.load_balancer.models.LoadBalancerPolicy` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_policies API. rz/loadBalancerPoliciesr list_policiesz[https://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerPolicy/ListPoliciesrcsg|]}|vr|qSr%r%r/r1r%r&r2r3z4LoadBalancerClient.list_policies..z"list_policies got unknown kwargs: rrrrrcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3z4LoadBalancerClient.list_policies..r<r,rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDzlist[LoadBalancerPolicy]rrNrrr%r1r&resh1       z LoadBalancerClient.list_policiesc s2dg}d}d}d}d}gdfddt|D}|rHtd |||d t|d td } d dt| D} dd|dtd} ddt| D} |jj|d|jd} | r t | t j s|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)aB Lists all supported traffic protocols. :param str compartment_id: (required) The `OCID`__ of the compartment containing the load balancer protocols to list. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. Example: `3` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.load_balancer.models.LoadBalancerProtocol` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_protocols API. rz/loadBalancerProtocolsrlist_protocolsz^https://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerProtocol/ListProtocolsrcsg|]}|vr|qSr%r%r/r1r%r&r2r3z5LoadBalancerClient.list_protocols..z#list_protocols got unknown kwargs: rrrcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3z5LoadBalancerClient.list_protocols..r<r,rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9'r3rrDzlist[LoadBalancerProtocol]rrNrrr%r1r&rsh1       z!LoadBalancerClient.list_protocolsc 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 |dt d} dd t| D} |j j |d|j d}|rzt|t jsP|j | ||j|j|j j||| | | d|d|||d S|j j||| | | d|d|||d Sd S)a Lists all routing policies associated with the specified load balancer. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the routing policies. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. Example: `3` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :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 for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.RoutingPolicy` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_routing_policies API. r(rrrlist_routing_policiesz]https://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/RoutingPolicy/ListRoutingPolicies)rrr,rrr.csg|]}|vr|qSr%r%r/r1r%r&r2r3z.z*list_routing_policies got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z.Nrr:r;rrrrcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDzlist[RoutingPolicy]r rFrGrHrrIrrrKrLrMrr#r]r$rMrFrGrKrLr^rHr7r8rrIrr%r1r&rIsx=$       z(LoadBalancerClient.list_routing_policiesc 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|||d S|j j||| | d|d|||d Sd S)a Lists all rule sets associated with the specified load balancer. :param str load_balancer_id: (required) The `OCID`__ of the specified load balancer. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.RuleSet` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_rule_sets API. r(rtrlist_rule_setszPhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/RuleSet/ListRuleSetsr|csg|]}|vr|qSr%r%r/r1r%r&r2r3z5LoadBalancerClient.list_rule_sets..z#list_rule_sets got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z5LoadBalancerClient.list_rule_sets..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9#r3rrDz list[RuleSet]rrrrr%r1r&rsl-$     z!LoadBalancerClient.list_rule_setsc s2dg}d}d}d}d}gdfddt|D}|rHtd |||d t|d td } d dt| D} dd|dtd} ddt| D} |jj|d|jd} | r t | t j s|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)a5 Lists the valid load balancer shapes. :param str compartment_id: (required) The `OCID`__ of the compartment containing the load balancer shapes to list. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. Example: `3` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.load_balancer.models.LoadBalancerShape` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_shapes API. rz/loadBalancerShapesr list_shapeszXhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapesrcsg|]}|vr|qSr%r%r/r1r%r&r2r3z2LoadBalancerClient.list_shapes..z list_shapes got unknown kwargs: rrrcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3z2LoadBalancerClient.list_shapes..r<r,rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDzlist[LoadBalancerShape]rrNrrr%r1r&rEsh1       zLoadBalancerClient.list_shapesc 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|||d S|j j||| | d|d|||d Sd S)a Lists all SSL cipher suites associated with the specified load balancer. :param str load_balancer_id: (required) The `OCID`__ of the associated load balancer. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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.load_balancer.models.SSLCipherSuite` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_ssl_cipher_suites API. r(rvrlist_ssl_cipher_suitesz^https://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/SSLCipherSuite/ListSslCipherSuitesr|csg|]}|vr|qSr%r%r/r1r%r&r2r3z=LoadBalancerClient.list_ssl_cipher_suites..z+list_ssl_cipher_suites got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z=LoadBalancerClient.list_ssl_cipher_suites..Nrr:r;r<r,r.r}cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDzlist[SSLCipherSuite]rrrrr%r1r&rsl-$     z)LoadBalancerClient.list_ssl_cipher_suitesc 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)aP Lists the work requests for a given load balancer. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the work requests to retrieve. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param int limit: (optional) For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see `List Pagination`__. Example: `50` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param str page: (optional) For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important details about how pagination works, see `List Pagination`__. Example: `3` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.load_balancer.models.WorkRequest` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_work_requests API. r(z,/loadBalancers/{loadBalancerId}/workRequestsrlist_work_requestszXhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/WorkRequest/ListWorkRequestsrcsg|]}|vr|qSr%r%r/r1r%r&r2gr3z9LoadBalancerClient.list_work_requests..z'list_work_requests got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9pr3z9LoadBalancerClient.list_work_requests..Nrr:r;rrrcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9zr3r<r,rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDzlist[WorkRequest]rrrrr%r1r&r(sv1$      z%LoadBalancerClient.list_work_requestsc sgd}d}d}d} d} gdfddt|D} | rJtd | |||d} d d t| D} t| D]<\} }|d ust|tjrtt|d krttd| dqtdd|dt |dt |dt d}dd t|D}|j j |d|j d}|rft|t js>|j ||j |||j|j|j j||| |||d| | |d S|j j||| |||d| | |d Sd S)a Updates the configuration of a backend server within the specified backend set. :param oci.load_balancer.models.UpdateBackendDetails update_backend_details: (required) Details for updating a backend server. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the backend set and server. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str backend_set_name: (required) The name of the backend set associated with the backend server. Example: `example_backend_set` :param str backend_name: (required) The IP address and port of the backend server to update. Example: `10.0.0.3:8080` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_backend API. rxryPUTupdate_backendrbr+csg|]}|vr|qSr%r%r/r1r%r&r2r3z5LoadBalancerClient.update_backend..z#update_backend got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z5LoadBalancerClient.update_backend..Nrr:r;r<r,r-r.r=cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3rrDrrErN)r#Zupdate_backend_detailsr]rfrr$rMrFrGrKrLr^rHr7r8rIrr%r1r&rstA$       z!LoadBalancerClient.update_backendc 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 a backend set. :param oci.load_balancer.models.UpdateBackendSetDetails update_backend_set_details: (required) The details to update a backend set. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the backend set. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str backend_set_name: (required) The name of the backend set to update. Example: `example_backend_set` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_backend_set API. r(r_rrupdate_backend_setrbr+csg|]}|vr|qSr%r%r/r1r%r&r2yr3z9LoadBalancerClient.update_backend_set..z'update_backend_set got unknown kwargs: rdcSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z9LoadBalancerClient.update_backend_set..Nrr:r;r<r,r-r.r=cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrErN)r#Zupdate_backend_set_detailsr]rfr$rMrFrGrKrLr^rHr7r8rIrr%r1r&r/sr<$       z%LoadBalancerClient.update_backend_setc 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 the health check policy for a given load balancer and backend set. :param oci.load_balancer.models.UpdateHealthCheckerDetails health_checker: (required) The health check policy configuration details. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the health check policy to be updated. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str backend_set_name: (required) The name of the backend set associated with the health check policy to be retrieved. Example: `example_backend_set` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_health_checker API. r(r_rrupdate_health_checkerrbr+csg|]}|vr|qSr%r%r/r1r%r&r2r3z.z*update_health_checker got unknown kwargs: rdcSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z.Nrr:r;r<r,r-r.r=cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrErN)r#Zhealth_checkerr]rfr$rMrFrGrKrLr^rHr7r8rIrr%r1r&rsr<$       z(LoadBalancerClient.update_health_checkerc 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" Overwrites an existing hostname resource on the specified load balancer. Use this operation to change a virtual hostname. :param oci.load_balancer.models.UpdateHostnameDetails update_hostname_details: (required) The configuration details to update a virtual hostname. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the virtual hostname to update. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str name: (required) The name of the hostname resource to update. Example: `example_hostname_001` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_hostname API. r(rrrupdate_hostnamerbr+csg|]}|vr|qSr%r%r/r1r%r&r2r3z6LoadBalancerClient.update_hostname..z$update_hostname got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z6LoadBalancerClient.update_hostname..Nrr:r;r<r,r-r.r=cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrErN)r#Zupdate_hostname_detailsr]rr$rMrFrGrKrLr^rHr7r8rIrr%r1r&r7sr>$       z"LoadBalancerClient.update_hostnamec 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 a listener for a given load balancer. :param oci.load_balancer.models.UpdateListenerDetails update_listener_details: (required) Details to update a listener. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the listener to update. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str listener_name: (required) The name of the listener to update. Example: `example_listener` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_listener API. r(rrrupdate_listenerrbr+csg|]}|vr|qSr%r%r/r1r%r&r2r3z6LoadBalancerClient.update_listener..z$update_listener got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z6LoadBalancerClient.update_listener..Nrr:r;r<r,r-r.r=cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrErN)r#Zupdate_listener_detailsr]rr$rMrFrGrKrLr^rHr7r8rIrr%r1r&rsr<$       z"LoadBalancerClient.update_listenerc 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" Updates a load balancer's configuration. :param oci.load_balancer.models.UpdateLoadBalancerDetails update_load_balancer_details: (required) The details for updating a load balancer's configuration. :param str load_balancer_id: (required) The `OCID`__ of the load balancer to update. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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 (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_load_balancer API. r(rrupdate_load_balancerrbrccsg|]}|vr|qSr%r%r/r1r%r&r2r3z;LoadBalancerClient.update_load_balancer..z)update_load_balancer got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z;LoadBalancerClient.update_load_balancer..Nrr:r;r<r,r.r-recSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrErN)r#Zupdate_load_balancer_detailsr]r$rMrFrGrKrLr^rHr7r8rIrr%r1r&rAsp7$       z'LoadBalancerClient.update_load_balancerc 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 Update the shape of a load balancer. The new shape can be larger or smaller compared to existing shape of the LB. The service will try to perform this operation in the least disruptive way to existing connections, but there is a possibility that they might be lost during the LB resizing process. The new shape becomes effective as soon as the related work request completes successfully, i.e. when reshaping to a larger shape, the LB will start accepting larger bandwidth and when reshaping to a smaller one, the LB will be accepting smaller bandwidth. :param str load_balancer_id: (required) The `OCID`__ of the load balancer whose shape will be updated. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param oci.load_balancer.models.UpdateLoadBalancerShapeDetails update_load_balancer_shape_details: (required) The details for updating a load balancer's shape. This contains the new, desired shape. :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_load_balancer_shape API. r(z+/loadBalancers/{loadBalancerId}/updateShaperupdate_load_balancer_shapez`https://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancer/UpdateLoadBalancerShaper+csg|]}|vr|qSr%r%r/r1r%r&r2 r3zALoadBalancerClient.update_load_balancer_shape..z/update_load_balancer_shape got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3zALoadBalancerClient.update_load_balancer_shape..Nrr:r;r<r,r-r.r=cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrErN)r#r]Z"update_load_balancer_shape_detailsr$rMrFrGrKrLr^rHr7r8rIrr%r1r&rsp<$       z-LoadBalancerClient.update_load_balancer_shapec 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 Updates the network security groups associated with the specified load balancer. :param oci.load_balancer.models.UpdateNetworkSecurityGroupsDetails update_network_security_groups_details: (required) The details for updating the NSGs associated with the specified load balancer. :param str load_balancer_id: (required) The `OCID`__ of the load balancer to update the NSGs for. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_network_security_groups API. r(z5/loadBalancers/{loadBalancerId}/networkSecurityGroupsrupdate_network_security_groupszmhttps://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/NetworkSecurityGroups/UpdateNetworkSecurityGroupsr+csg|]}|vr|qSr%r%r/r1r%r&r2r3zELoadBalancerClient.update_network_security_groups..z3update_network_security_groups got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3zELoadBalancerClient.update_network_security_groups..Nrr:r;r<r,r-r.r=cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrErN)r#Z&update_network_security_groups_detailsr]r$rMrFrGrKrLr^rHr7r8rIrr%r1r&rBsp7$       z1LoadBalancerClient.update_network_security_groupsc 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)aB Overwrites an existing path route set on the specified load balancer. Use this operation to add, delete, or alter path route rules in a path route set. To add a new path route rule to a path route set, the `pathRoutes` in the :func:`update_path_route_set_details` object must include both the new path route rule to add and the existing path route rules to retain. :param oci.load_balancer.models.UpdatePathRouteSetDetails update_path_route_set_details: (required) The configuration details to update a path route set. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the path route set to update. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str path_route_set_name: (required) The name of the path route set to update. Example: `example_path_route_set` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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 (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_path_route_set API. r(rrrupdate_path_route_setrbrccsg|]}|vr|qSr%r%r/r1r%r&r2r3z.z*update_path_route_set got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z.Nrr:r;r<r,r.r-recSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9&r3rrDrrErN)r#Zupdate_path_route_set_detailsr]rr$rMrFrGrKrLr^rHr7r8rIrr%r1r&rsrA$       z(LoadBalancerClient.update_path_route_setc 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 Overwrites an existing routing policy on the specified load balancer. Use this operation to add, delete, or alter routing policy rules in a routing policy. To add a new routing rule to a routing policy, the body must include both the new routing rule to add and the existing rules to retain. :param oci.load_balancer.models.UpdateRoutingPolicyDetails update_routing_policy_details: (required) The configuration details needed to update a routing policy. :param str load_balancer_id: (required) The `OCID`__ of the load balancer associated with the routing policy to update. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str routing_policy_name: (required) The name of the routing policy to update. Example: `example_routing_policy_name` :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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 (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_routing_policy API. r(rrrupdate_routing_policyrbrccsg|]}|vr|qSr%r%r/r1r%r&r2r3z.z*update_routing_policy got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z.Nrr:r;r<r,r.r-recSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrErN)r#Zupdate_routing_policy_detailsr]rr$rMrFrGrKrLr^rHr7r8rIrr%r1r&rIsr?$       z(LoadBalancerClient.update_routing_policyc 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)ad Overwrites an existing set of rules on the specified load balancer. Use this operation to add or alter the rules in a rule set. To add a new rule to a set, the body must include both the new rule to add and the existing rules to retain. :param str load_balancer_id: (required) The `OCID`__ of the specified load balancer. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str rule_set_name: (required) The name of the rule set to update. Example: `example_rule_set` :param oci.load_balancer.models.UpdateRuleSetDetails update_rule_set_details: (required) The configuration details to update a set of rules. :param str opc_request_id: (optional) The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_rule_set API. r(rrrupdate_rule_setrbr+csg|]}|vr|qSr%r%r/r1r%r&r2r3z6LoadBalancerClient.update_rule_set..z$update_rule_set got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9'r3z6LoadBalancerClient.update_rule_set..Nrr:r;r<r,r-r.r=cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r94r3rrDrrErN)r#r]rZupdate_rule_set_detailsr$rMrFrGrKrLr^rHr7r8rIrr%r1r&rsr?$       z"LoadBalancerClient.update_rule_setc 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 an existing SSL cipher suite for the specified load balancer. :param oci.load_balancer.models.UpdateSSLCipherSuiteDetails update_ssl_cipher_suite_details: (required) The configuration details to update an SSL cipher suite. :param str load_balancer_id: (required) The `OCID`__ of the associated load balancer. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param str name: (required) The name of the SSL cipher suite to update. example: `example_cipher_suite` :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (e.g., if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the ETag for the load balancer. This value can be obtained from a GET or POST response for any resource of that load balancer. For example, the eTag returned by getListener can be specified as the ifMatch for updateRuleSets. The resource is updated or deleted only if the ETag you provide matches the resource's current ETag value. Example: `example-etag` :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_ssl_cipher_suite API. r(rrrupdate_ssl_cipher_suiterbr+csg|]}|vr|qSr%r%r/r1r%r&r2r3z>LoadBalancerClient.update_ssl_cipher_suite..z,update_ssl_cipher_suite got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z>LoadBalancerClient.update_ssl_cipher_suite..Nrr:r;r<r,r-r.r=cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrErN)r#Zupdate_ssl_cipher_suite_detailsr]rr$rMrFrGrKrLr^rHr7r8rIrr%r1r&rWsr<$       z*LoadBalancerClient.update_ssl_cipher_suiteN)B__name__ __module__ __qualname____doc__r'r*rarhrjrlrmrorqrsrurwr{rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr%r%r%r&rs[~~~~~{wvuuoxxxu}}wwwwqqwwwwcqwrr|r.rrr qrq} ~~ rN)Z __future__rZ oci._vendorrrZocirrZoci.base_clientrZ oci.configrr Z oci.signerr Zoci.utilr r r Zoci.exceptionsrZ oci.alloyrZmodelsrr5objectrr%r%r%r&s