a f@sddlmZddlmZddlmZddlmZmZddlm Z ddl m Z m Z ddl mZddlmZmZmZdd lmZmZdd lmZdd lmZd d lmZedZGdddeZdS))absolute_import)requests)six)retrycircuit_breaker) BaseClient)get_config_value_or_defaultvalidate_config)Signer)Sentinel#get_signer_from_authentication_typeAUTHENTICATION_TYPE_FIELD_NAME),back_up_body_calculate_stream_content_length(is_content_length_calculable_by_req_util)InvalidAlloyConfig)OCI_SDK_ENABLED_SERVICES_SET)dns_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`daZ3dbdcZ4dddeZ5dfdgZ6dhdiZ7djdkZ8dlS)m DnsClientz API for the DNS service. Use this API to manage DNS zones, records, and other DNS resources. For more information, see [Overview of the DNS Service](/iaas/Content/DNS/Concepts/dnszonemanagement.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. ZdnsaThe 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 /20180115z,https://dns.{region}.oci.{secondLevelDomain}skip_deserializationFcircuit_breaker_strategy5client_level_realm_specific_endpoint_template_enabled)Zregional_clientr base_pathZservice_endpoint_templateZ#service_endpoint_template_per_realmrrrtimeoutNallow_control_charsretry_strategycircuit_breaker_callback)rZis_service_enabledrr getr r r rrZGLOBAL_CIRCUIT_BREAKER_STRATEGYZ DEFAULT_CIRCUIT_BREAKER_STRATEGYrr base_clientr!r")selfZconfigkwargsrZbase_client_init_kwargsr'6/usr/lib/python3.9/site-packages/oci/dns/dns_client.py__init__sB3         zDnsClient.__init__c sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|dt i}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d ur^t j}|rt|t js|j ||j |||j|j|j j||| ||||d|||d S|j j||| ||||d|||d Sd S)a Moves a resolver into a different compartment along with its protected default view and any endpoints. Zones in the default view are not moved. VCN-dedicated resolvers are initially created in the same compartment as their corresponding VCN, but can then be moved to a different compartment. :param str resolver_id: (required) The OCID of the target resolver. :param oci.dns.models.ChangeResolverCompartmentDetails change_resolver_compartment_details: (required) Details for moving a resolver, along with its protected default view and endpoints, into a different compartment. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param 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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_resolver_compartment API. resolverIdz1/resolvers/{resolverId}/actions/changeCompartmentPOSTchange_resolver_compartmentzUhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/Resolver/ChangeResolverCompartmentr r!if_matchopc_retry_tokenopc_request_idscopecsg|]}|vr|qSr'r'.0Z_keyZexpected_kwargsr'r( z9DnsClient.change_resolver_compartment..z0change_resolver_compartment got unknown kwargs: cSsi|]\}}|tur||qSr'missingr3kvr'r'r( r6z9DnsClient.change_resolver_compartment..Nr Parameter + cannot be None, whitespace or empty stringr1GLOBALPRIVATE*Invalid value for `scope`, must be one of cSs&i|]\}}|tur|dur||qSNr7r9r'r'r(r<r6application/jsonr.r/r0accept content-typeIf-Matchopc-retry-tokenopc-request-idcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!Zoperation_retry_strategyZclient_retry_strategyr resource_pathmethod path_params query_params header_paramsbodyr operation_nameapi_reference_linkrequired_argumentsriterkeys ValueError iteritems isinstance string_typeslenstripr#r8r$get_preferred_retry_strategyr!rDEFAULT_RETRY_STRATEGYNoneRetryStrategyadd_opc_retry_token_if_neededadd_opc_client_retries_headeradd_circuit_breaker_callbackr"make_retrying_callcall_api)r% resolver_idZ#change_resolver_compartment_detailsr&rTrLrMrRrS extra_kwargsrNr:r;scope_allowed_valuesrOrPr!r'r4r(r,ys;$          z%DnsClient.change_resolver_compartmentc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|dt i}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d ur^t j}|rt|t js|j ||j |||j|j|j j||| ||||d|||d S|j j||| ||||d|||d Sd S)a Moves a steering policy into a different compartment. :param str steering_policy_id: (required) The OCID of the target steering policy. :param oci.dns.models.ChangeSteeringPolicyCompartmentDetails change_steering_policy_compartment_details: (required) Details for moving a steering policy into a different compartment. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param 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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_steering_policy_compartment API. steeringPolicyIdz>/steeringPolicies/{steeringPolicyId}/actions/changeCompartmentr+"change_steering_policy_compartmentzahttps://docs.oracle.com/iaas/api/#/en/dns/20180115/SteeringPolicy/ChangeSteeringPolicyCompartmentr-csg|]}|vr|qSr'r'r2r4r'r(r5Rr6z@DnsClient.change_steering_policy_compartment..z7change_steering_policy_compartment got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<[r6z@DnsClient.change_steering_policy_compartment..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<kr6rCr.r/r0rDcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<tr6r!rJr rKrU)r%steering_policy_idZ*change_steering_policy_compartment_detailsr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(ri s7$          z,DnsClient.change_steering_policy_compartmentc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|dt i}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d ur^t j}|rt|t js|j ||j |||j|j|j j||| ||||d|||d S|j j||| ||||d|||d Sd S)a Moves a TSIG key into a different compartment. :param str tsig_key_id: (required) The OCID of the target TSIG key. :param oci.dns.models.ChangeTsigKeyCompartmentDetails change_tsig_key_compartment_details: (required) Details for moving a TSIG key into a different compartment. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param 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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_tsig_key_compartment API. tsigKeyIdz//tsigKeys/{tsigKeyId}/actions/changeCompartmentr+change_tsig_key_compartmentzShttps://docs.oracle.com/iaas/api/#/en/dns/20180115/TsigKey/ChangeTsigKeyCompartmentr-csg|]}|vr|qSr'r'r2r4r'r(r5r6z9DnsClient.change_tsig_key_compartment..z0change_tsig_key_compartment got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<r6z9DnsClient.change_tsig_key_compartment..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6rCr.r/r0rDcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJr rKrU)r% tsig_key_idZ#change_tsig_key_compartment_detailsr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(rls7$          z%DnsClient.change_tsig_key_compartmentc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|dt i}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d ur^t j}|rt|t js|j ||j |||j|j|j j||| ||||d|||d S|j j||| ||||d|||d Sd S)a Moves a view into a different compartment. To change the compartment of a protected view, change the compartment of its corresponding resolver. :param str view_id: (required) The OCID of the target view. :param oci.dns.models.ChangeViewCompartmentDetails change_view_compartment_details: (required) Details for moving a view into a different compartment. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param 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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_view_compartment API. viewIdz)/views/{viewId}/actions/changeCompartmentr+change_view_compartmentzMhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/View/ChangeViewCompartmentr-csg|]}|vr|qSr'r'r2r4r'r(r5rr6z5DnsClient.change_view_compartment..z,change_view_compartment got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<{r6z5DnsClient.change_view_compartment..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6rCr.r/r0rDcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJr rKrU)r%view_idZchange_view_compartment_detailsr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(ro*s9$          z!DnsClient.change_view_compartmentc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|dt i}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d ur^t j}|rt|t js|j ||j |||j|j|j j||| ||||d|||d S|j j||| ||||d|||d Sd S)a Moves a zone into a different compartment. Protected zones cannot have their compartment changed. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required. **Note:** All SteeringPolicyAttachment objects associated with this zone will also be moved into the provided compartment. :param str zone_id: (required) The OCID of the target zone. :param oci.dns.models.ChangeZoneCompartmentDetails change_zone_compartment_details: (required) Details for moving a zone into a different compartment. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param 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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_zone_compartment API. zoneIdz)/zones/{zoneId}/actions/changeCompartmentr+change_zone_compartmentzMhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/Zone/ChangeZoneCompartmentr-csg|]}|vr|qSr'r'r2r4r'r(r5r6z5DnsClient.change_zone_compartment..z,change_zone_compartment got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<r6z5DnsClient.change_zone_compartment..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<!r6rCr.r/r0rDcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<*r6r!rJr rKrU)r%zone_idZchange_zone_compartment_detailsr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(rrs>$          z!DnsClient.change_zone_compartmentc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|dt i}dd t|D}dd|dt |dt d}dd t|D}|j j |d|j d}|d urTt j}|rt|t js|j ||j |||j|j|j j||| |||d|d|||d S|j j||| |||d|d|||d Sd S)a# Creates a new resolver endpoint in the same compartment as the resolver. :param str resolver_id: (required) The OCID of the target resolver. :param oci.dns.models.CreateResolverEndpointDetails create_resolver_endpoint_details: (required) Details for creating a new resolver endpoint. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.ResolverEndpoint` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_resolver_endpoint API. r*!/resolvers/{resolverId}/endpointsr+create_resolver_endpointr r!r/r0r1csg|]}|vr|qSr'r'r2r4r'r(r5r6z6DnsClient.create_resolver_endpoint..z-create_resolver_endpoint got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<r6z6DnsClient.create_resolver_endpoint..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6rCr/r0rErFrHrIcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJResolverEndpointr rLrMrNrOrPrQ response_typer rRrSrTrU)r%reZ create_resolver_endpoint_detailsr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(ruQs0$        z"DnsClient.create_resolver_endpointc sxg}d}d}d}d}gdfddt|D}|rFtd|d |vrpd d g} |d | vrptd | d |d ti} d dt| D} dd|dt|dtd} ddt| D} |jj|d|jd} | durt j } | rNt | t j s$|j | |j| | |j| j|jj||| | |d|d|||d S|jj||| | |d|d|||d SdS)a Creates a new steering policy in the specified compartment. For more information on creating policies with templates, see `Traffic Management API Guide`__. __ https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm :param oci.dns.models.CreateSteeringPolicyDetails create_steering_policy_details: (required) Details for creating a new steering policy. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.SteeringPolicy` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_steering_policy API. /steeringPoliciesr+create_steering_policyrvrwcsg|]}|vr|qSr'r'r2r4r'r(r5r6z4DnsClient.create_steering_policy..z+create_steering_policy got unknown kwargs: r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<&r6z4DnsClient.create_steering_policy..rCr/r0rxcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<.r6r!rJNSteeringPolicyr rLrMrOrPrQr{r rRrSrTrrVrWr#r8rXr$r]r!rr^rYr_r`rarbr"rcrd) r%Zcreate_steering_policy_detailsr&rTrLrMrRrSrfrgrOrPr!r'r4r(r}s|0        z DnsClient.create_steering_policyc sxg}d}d}d}d}gdfddt|D}|rFtd|d |vrpd d g} |d | vrptd | d |d ti} d dt| D} dd|dt|dtd} ddt| D} |jj|d|jd} | durt j } | rNt | t j s$|j | |j| | |j| j|jj||| | |d|d|||d S|jj||| | |d|d|||d SdS)a@ Creates a new attachment between a steering policy and a domain, giving the policy permission to answer queries for the specified domain. A steering policy must be attached to a domain for the policy to answer DNS queries for that domain. For the purposes of access control, the attachment is automatically placed into the same compartment as the domain's zone. :param oci.dns.models.CreateSteeringPolicyAttachmentDetails create_steering_policy_attachment_details: (required) Details for creating a new steering policy attachment. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.SteeringPolicyAttachment` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_steering_policy_attachment API. /steeringPolicyAttachmentsr+!create_steering_policy_attachmentrvrwcsg|]}|vr|qSr'r'r2r4r'r(r5r6z?DnsClient.create_steering_policy_attachment..z6create_steering_policy_attachment got unknown kwargs: r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6z?DnsClient.create_steering_policy_attachment..rCr/r0rxcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJNSteeringPolicyAttachmentr rr) r%Z)create_steering_policy_attachment_detailsr&rTrLrMrRrSrfrgrOrPr!r'r4r(rUs|2        z+DnsClient.create_steering_policy_attachmentc sbg}d}d}d}d}gdfddt|D}|rFtd|d |vrpd d g} |d | vrptd | d |d ti} d dt| D} dd|dtd} ddt| D} |jj|d|jd} | durt j } | r8t | t j s|j | | |j| j|jj||| | |d|d|||d S|jj||| | |d|d|||d SdS)a Creates a new TSIG key in the specified compartment. There is no `opc-retry-token` header since TSIG key names must be globally unique. :param oci.dns.models.CreateTsigKeyDetails create_tsig_key_details: (required) Details for creating a new TSIG key. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.TsigKey` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_tsig_key API. /tsigKeysr+create_tsig_keyrv)r r!r0r1csg|]}|vr|qSr'r'r2r4r'r(r5r6z-DnsClient.create_tsig_key..z$create_tsig_key got unknown kwargs: r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6z-DnsClient.create_tsig_key..rCr0rErFrIcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJNTsigKeyr rrrVrWr#r8rXr$r]r!rr^rYr_rarbr"rcrd) r%Zcreate_tsig_key_detailsr&rTrLrMrRrSrfrgrOrPr!r'r4r(rsx&      zDnsClient.create_tsig_keyc sxg}d}d}d}d}gdfddt|D}|rFtd|d |vrpd d g} |d | vrptd | d |d ti} d dt| D} dd|dt|dtd} ddt| D} |jj|d|jd} | durt j } | rNt | t j s$|j | |j| | |j| j|jj||| | |d|d|||d S|jj||| | |d|d|||d SdS)af Creates a new view in the specified compartment. :param oci.dns.models.CreateViewDetails create_view_details: (required) Details for creating a new view. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.View` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_view API. /viewsr+ create_viewrvrwcsg|]}|vr|qSr'r'r2r4r'r(r5}r6z)DnsClient.create_view..z create_view got unknown kwargs: r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6z)DnsClient.create_view..rCr/r0rxcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJNViewr rr) r%Zcreate_view_detailsr&rTrLrMrRrSrfrgrOrPr!r'r4r(rBs|-        zDnsClient.create_viewc shg}d}d}d}d}gdfddt|D}|rFtd|d |vrpd d g} |d | vrptd | |d t|d t|dtd} ddt| 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 Creates a new zone in the specified compartment. Private zones must have a zone type of `PRIMARY`. Creating a private zone at or under `oraclevcn.com` within the default protected view of a VCN-dedicated resolver is not permitted. :param oci.dns.models.CreateZoneBaseDetails create_zone_details: (required) Details for creating a new zone. :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 compartment_id: (optional) The OCID of the compartment the zone belongs to. This parameter is deprecated and should be omitted. :param str scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param str view_id: (optional) The OCID of the view the resource is associated with. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the 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.dns.models.Zone` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_zone API. /zonesr+ create_zonerv)r r!r0compartment_idr1rpcsg|]}|vr|qSr'r'r2r4r'r(r5r6z)DnsClient.create_zone..z create_zone got unknown kwargs: r1r?r@rArrp compartmentIdr1rncSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r< r6z)DnsClient.create_zone..rCr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJZoner rN)rrVrWr#r8rXr$r]r!rYrr_rarbr"rcrd) r%Zcreate_zone_detailsr&rTrLrMrRrSrfrgrOrPr!r'r4r(rsx0        zDnsClient.create_zonec s<dg}d}d}d}d}gdfddt|D} | rHtd | d |vrrd d g} |d | vrrtd | ||d t|dtd} ddt| D} d|dtd} ddt| D} z|Wnty|dt}Yn0|tur|durt|tjtj fs,t |ds,t dt |drlt |drl|j dkrlt j|dkrd| d<n8d| vrt|st||d } | d!| d<| d"}|jj|d#|jd$}|rt|tjs|j| ||j|j|jj||| | |d%|d&|||d' S|jj||| | |d%|d&|||d' SdS)(a Creates a new zone from a zone file in the specified compartment. Not supported for private zones. :param str compartment_id: (required) The OCID of the compartment the resource belongs to. :param stream create_zone_from_zone_file_details: (required) The zone file contents. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param str view_id: (optional) The OCID of the view the resource is associated with. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :param int buffer_limit: (optional) A buffer limit for the stream to be buffered. buffer_limit is used to set the buffer size capacity. Streams will be read until the size of the buffer reaches the buffer_limit. If the stream size is greater than the buffer_limit, a BufferError exception will be thrown. The buffer_limit parameter is used when the stream object does not have a `seek`, `tell`, or `fileno` property for the Python Request library to calculate out the content length. If buffer_limit is not passed, then the buffer_limit will be defaulted to 100MB. Large streams can cause the process to freeze, consider passing in content-length for large streams instead. :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.Zone` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_zone_from_zone_file API. rz/actions/createZoneFromZoneFiler+create_zone_from_zone_filezNhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/Zone/CreateZoneFromZoneFile)r r! buffer_limitr0r1rpcsg|]}|vr|qSr'r'r2r4r'r(r5wr6z8DnsClient.create_zone_from_zone_file..z/create_zone_from_zone_file got unknown kwargs: r1r?r@rArprcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6z8DnsClient.create_zone_from_zone_file..rCr0)rErIcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6"create_zone_from_zone_file_detailsNreadz=The body must be a string, bytes, or provide a read() method.filenonamezr0zContent-LengthrZcontent_lengthZ byte_contentr!rJrr r)rrVrWr#r8rX NameErrorrYZ binary_typerZhasattr TypeErrorrrZutilsZ super_lenrrr$r]r!rr_rarbr"rcrd)r%rrr&rTrLrMrRrSrfrgrOrPZcalculated_objr!r'r4r(r6s2     $     z$DnsClient.create_zone_from_zone_filec sddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrd|vrddg} |d| vrtd| |dt |dt |dt d}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d |j d!}|durvt j}|rt|t js|j |||j|j|j j||| |||d"|||d# S|j j||| |||d"|||d# SdS)$a Deletes all records at the specified zone and domain. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required. :param str zone_name_or_id: (required) The name or OCID of the target zone. :param str domain: (required) The target fully-qualified domain name (FQDN) within the target zone. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param str view_id: (optional) The OCID of the view the zone is associated with. Required when accessing a private zone by name. :param str compartment_id: (optional) The OCID of the compartment the zone belongs to. This parameter is deprecated and should be omitted. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_domain_records API. zoneNameOrIddomain&/zones/{zoneNameOrId}/records/{domain}DELETEdelete_domain_recordszNhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/Records/DeleteDomainRecordsr r!r.if_unmodified_sincer0r1rprcsg|]}|vr|qSr'r'r2r4r'r(r5r6z3DnsClient.delete_domain_records..z*delete_domain_records got unknown kwargs: rrcSsi|]\}}|tur||qSr'r7r9r'r'r(r<#r6z3DnsClient.delete_domain_records..Nrr=r>r1r?r@rArprr1rnrcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<5r6rCr.rr0rErFrGzIf-Unmodified-SincerIcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<>r6r!rJr rLrMrNrOrPr rRrSrTrrVrWrXrYrZr[r\r#r8r$r]r!rr^r_rarbr"rcrd)r%zone_name_or_idrr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(rsA $           zDnsClient.delete_domain_recordsc sddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrd|vrddg} |d| vrtd| d|dt i}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d|j d}|rt|t js~|j |||j|j|j j||| |||d|||d S|j j||| |||d|||d SdS)!ab Deletes the specified resolver endpoint. Note that attempting to delete a resolver endpoint in the DELETED lifecycle state will result in a `404` response to be consistent with other operations of the API. Resolver endpoints may not be deleted if they are referenced by a resolver rule. :param str resolver_id: (required) The OCID of the target resolver. :param str resolver_endpoint_name: (required) The name of the target resolver endpoint. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the 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_resolver_endpoint API. r*resolverEndpointName8/resolvers/{resolverId}/endpoints/{resolverEndpointName}rdelete_resolver_endpointzZhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/ResolverEndpoint/DeleteResolverEndpointr r!r.rr0r1csg|]}|vr|qSr'r'r2r4r'r(r5r6z6DnsClient.delete_resolver_endpoint..z-delete_resolver_endpoint got unknown kwargs: r*rcSsi|]\}}|tur||qSr'r7r9r'r'r(r<r6z6DnsClient.delete_resolver_endpoint..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6rCr.rr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJr rrrVrWrXrYrZr[r\r#r8r$r]r!rr_rarbr"rcrdr%reresolver_endpoint_namer&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(rbs:$        z"DnsClient.delete_resolver_endpointc sgd}d}d}d}d} gdfddt|D} | rJtd | |||d} d d t| D} t| D]<\} } | d ust| tjrtt| d krttd| dqtd|vrddg}|d|vrtd||dt |dt |dt d}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d urxt j}|rt|t js|j |||j|j|j j||| |||d || |d! S|j j||| |||d || |d! Sd S)"aj Deletes all records in the specified RRSet. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required. :param str zone_name_or_id: (required) The name or OCID of the target zone. :param str domain: (required) The target fully-qualified domain name (FQDN) within the target zone. :param str rtype: (required) The type of the target RRSet within the target zone. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 compartment_id: (optional) The OCID of the compartment the zone belongs to. This parameter is deprecated and should be omitted. :param str scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param str view_id: (optional) The OCID of the view the zone is associated with. Required when accessing a private zone by name. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_rr_set API. rrrtype./zones/{zoneNameOrId}/records/{domain}/{rtype}r delete_rr_setrv)r r!r.rr0rr1rpcsg|]}|vr|qSr'r'r2r4r'r(r5Er6z+DnsClient.delete_rr_set..z"delete_rr_set got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<Pr6z+DnsClient.delete_rr_set..Nrr=r>r1r?r@rArrprcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<br6rCr.rr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<kr6r!rJr rrr%rrrr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(rsD $           zDnsClient.delete_rr_setc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|dt i} dd t| D} dd|dt |dt |dt d}dd t|D}|j j |d|j d}|rt|t jsz|j |||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Deletes the specified steering policy. A `204` response indicates that the delete has been successful. Deletion will fail if the policy is attached to any zones. To detach a policy from a zone, see `DeleteSteeringPolicyAttachment`. :param str steering_policy_id: (required) The OCID of the target steering policy. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the 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_steering_policy API. rh$/steeringPolicies/{steeringPolicyId}rdelete_steering_policyrvrcsg|]}|vr|qSr'r'r2r4r'r(r5r6z4DnsClient.delete_steering_policy..z+delete_steering_policy got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<r6z4DnsClient.delete_steering_policy..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6rCr.rr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJr rrr%rjr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(rs7$        z DnsClient.delete_steering_policyc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|dt i} dd t| D} dd|dt |dt |dt d}dd t|D}|j j |d|j d}|rt|t jsz|j |||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)am Deletes the specified steering policy attachment. A `204` response indicates that the delete has been successful. :param str steering_policy_attachment_id: (required) The OCID of the target steering policy attachment. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the 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_steering_policy_attachment API. steeringPolicyAttachmentId7/steeringPolicyAttachments/{steeringPolicyAttachmentId}r!delete_steering_policy_attachmentrvrcsg|]}|vr|qSr'r'r2r4r'r(r5\ r6z?DnsClient.delete_steering_policy_attachment..z6delete_steering_policy_attachment got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<e r6z?DnsClient.delete_steering_policy_attachment..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<u r6rCr.rr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<~ r6r!rJr rrr%steering_policy_attachment_idr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(r s4$        z+DnsClient.delete_steering_policy_attachmentc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|dt i} dd t| D} dd|dt |dt |dt d}dd t|D}|j j |d|j d}|rt|t jsz|j |||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Deletes the specified TSIG key. :param str tsig_key_id: (required) The OCID of the target TSIG key. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the 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_tsig_key API. rk/tsigKeys/{tsigKeyId}rdelete_tsig_keyrvrcsg|]}|vr|qSr'r'r2r4r'r(r5 r6z-DnsClient.delete_tsig_key..z$delete_tsig_key got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r< r6z-DnsClient.delete_tsig_key..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r< r6rCr.rr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r< r6r!rJr rrr%rmr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(r s3$        zDnsClient.delete_tsig_keyc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|dt i} dd t| D} dd|dt |dt |dt d}dd t|D}|j j |d|j d}|rt|t jsz|j |||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Deletes the specified view. Note that attempting to delete a view in the DELETED lifecycleState will result in a `404` response to be consistent with other operations of the API. Views cannot be deleted if they are referenced by non-deleted zones or resolvers. Protected views cannot be deleted. :param str view_id: (required) The OCID of the target view. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the 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_view API. rn/views/{viewId}r delete_viewzBhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/View/DeleteViewrcsg|]}|vr|qSr'r'r2r4r'r(r5m r6z)DnsClient.delete_view..z delete_view got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<v r6z)DnsClient.delete_view..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r< r6rCr.rr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r< r6r!rJr rrr%rpr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(r& s8$        zDnsClient.delete_viewc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| |dt |dt |dt d} dd t| D} dd|dt |dt |dt d}dd t|D}|j j |d|j d}|rt|t js|j |||j|j|j j||| | ||d |||d! S|j j||| | ||d |||d! Sd S)"aJ Deletes the specified zone and all its steering policy attachments. A `204` response indicates that the zone has been successfully deleted. Protected zones cannot be deleted. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required. :param str zone_name_or_id: (required) The name or OCID of the target zone. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param str view_id: (optional) The OCID of the view the zone is associated with. Required when accessing a private zone by name. :param str compartment_id: (optional) The OCID of the compartment the zone belongs to. This parameter is deprecated and should be omitted. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the 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_zone API. r/zones/{zoneNameOrId}r delete_zonervrcsg|]}|vr|qSr'r'r2r4r'r(r5 r6z)DnsClient.delete_zone..z delete_zone got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r< r6z)DnsClient.delete_zone..Nrr=r>r1r?r@rArprrcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r< r6rCr.rr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<% r6r!rJr rrr%rr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(r s? $          zDnsClient.delete_zonec sddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrd|vrddg} |d| vrtd| d|vrddg}|d|vrtd|d|vr6ddg}|d|vr6td||dt |dt |d t |dt |dt |d!t |dt |dt |d"t d# }d$d t|D}d%d%|d&t |d't |d(t d)}d*d t|D}|j j |d+|j d,}|durt j}|rdt|t js:|j |||j|j|j j||| ||d-|d.|||d/ S|j j||| ||d-|d.|||d/ SdS)0a Gets a list of all records at the specified zone and domain. The results are sorted by `rtype` in alphabetical order by default. You can optionally filter and/or sort the results using the listed parameters. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required. :param str zone_name_or_id: (required) The name or OCID of the target zone. :param str domain: (required) The target fully-qualified domain name (FQDN) within the target zone. :param str if_none_match: (optional) The `If-None-Match` header field makes the request method conditional on the absence of any current representation of the target resource, when the field-value is `*`, or having a selected representation with an entity-tag that does not match any of those listed in the field-value. :param str if_modified_since: (optional) The `If-Modified-Since` header field makes a GET or HEAD request method conditional on the selected representation's modification date being more recent than the date provided in the field-value. Transfer of the selected representation's data is avoided if that data has not changed. :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 int limit: (optional) The maximum number of items to return in a page of the collection. :param str page: (optional) The value of the `opc-next-page` response header from the previous "List" call. :param str zone_version: (optional) The version of the zone for which data is requested. :param str rtype: (optional) Search by record type. Will match any record whose `type`__ (case-insensitive) equals the provided value. __ https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4 :param str scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param str view_id: (optional) The OCID of the view the zone is associated with. Required when accessing a private zone by name. :param str sort_by: (optional) The field by which to sort records. Allowed values are: "rtype", "ttl" :param str sort_order: (optional) The order to sort the resources. Allowed values are: "ASC", "DESC" :param str compartment_id: (optional) The OCID of the compartment the zone belongs to. This parameter is deprecated and should be omitted. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.RecordCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_domain_records API. rrrGETget_domain_recordszKhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/Records/GetDomainRecords)r r! if_none_matchif_modified_sincer0limitpage zone_versionrr1rpsort_by sort_orderrcsg|]}|vr|qSr'r'r2r4r'r(r5 r6z0DnsClient.get_domain_records..z'get_domain_records got unknown kwargs: rcSsi|]\}}|tur||qSr'r7r9r'r'r(r< r6z0DnsClient.get_domain_records..Nrr=r>r1r?r@rArrttl,Invalid value for `sort_by`, must be one of rASCDESC/Invalid value for `sort_order`, must be one of rrrrpr) rr zoneVersionrr1rnsortBy sortOrderrcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r< r6rCrrr0rErF If-None-MatchIf-Modified-SincerIcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r< r6r!rJRecordCollectionr rLrMrNrOrPr{r rRrSrTr)r%rrr&rTrLrMrRrSrfrNr:r;rgsort_by_allowed_valuessort_order_allowed_valuesrOrPr!r'r4r(rG sY$                    zDnsClient.get_domain_recordsc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|dt i} dd t| D} dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d ur^t j}|rt|t js|j |||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S) a Gets information about a specific resolver. Note that attempting to get a resolver in the DELETED lifecycleState will result in a `404` response to be consistent with other operations of the API. :param str resolver_id: (required) The OCID of the target resolver. :param str if_modified_since: (optional) The `If-Modified-Since` header field makes a GET or HEAD request method conditional on the selected representation's modification date being more recent than the date provided in the field-value. Transfer of the selected representation's data is avoided if that data has not changed. :param str if_none_match: (optional) The `If-None-Match` header field makes the request method conditional on the absence of any current representation of the target resource, when the field-value is `*`, or having a selected representation with an entity-tag that does not match any of those listed in the field-value. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.Resolver` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_resolver API. r*/resolvers/{resolverId}r get_resolverzGhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/Resolver/GetResolverr r!rrr0r1csg|]}|vr|qSr'r'r2r4r'r(r5Y r6z*DnsClient.get_resolver..z!get_resolver got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<b r6z*DnsClient.get_resolver..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r r6rCrrr0rErFrrrIcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<{ r6r!rJResolverr rr)r%rer&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(r s4$         zDnsClient.get_resolverc sddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrd|vrddg} |d| vrtd| d|dt i}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d|j d}|durbt j}|rt|t js|j |||j|j|j j||| ||d|d |||d! S|j j||| ||d|d |||d! SdS)"a Gets information about a specific resolver endpoint. Note that attempting to get a resolver endpoint in the DELETED lifecycle state will result in a `404` response to be consistent with other operations of the API. :param str resolver_id: (required) The OCID of the target resolver. :param str resolver_endpoint_name: (required) The name of the target resolver endpoint. :param str if_modified_since: (optional) The `If-Modified-Since` header field makes a GET or HEAD request method conditional on the selected representation's modification date being more recent than the date provided in the field-value. Transfer of the selected representation's data is avoided if that data has not changed. :param str if_none_match: (optional) The `If-None-Match` header field makes the request method conditional on the absence of any current representation of the target resource, when the field-value is `*`, or having a selected representation with an entity-tag that does not match any of those listed in the field-value. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.ResolverEndpoint` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_resolver_endpoint API. r*rrrget_resolver_endpointzWhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/ResolverEndpoint/GetResolverEndpointrcsg|]}|vr|qSr'r'r2r4r'r(r5 r6z3DnsClient.get_resolver_endpoint..z*get_resolver_endpoint got unknown kwargs: rcSsi|]\}}|tur||qSr'r7r9r'r'r(r< r6z3DnsClient.get_resolver_endpoint..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r< r6rCrrr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r< r6r!rJryr rrrr'r4r(r s7$         zDnsClient.get_resolver_endpointc sgd}d}d}d}d} gdfddt|D} | rJtd | |||d} d d t| D} t| D]<\} } | d ust| tjrtt| d krttd| dqtd|vrddg}|d|vrtd||dt |dt |dt |dt |dt |dt d}dd t|D}dd|dt |dt |dt d}d d t|D}|j j |d!|j d"}|d urt j}|rt|t js|j |||j|j|j j||| ||d#|d$|| |d% S|j j||| ||d#|d$|| |d% Sd S)&a Gets a list of all records in the specified RRSet. The results are sorted by `recordHash` by default. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required. :param str zone_name_or_id: (required) The name or OCID of the target zone. :param str domain: (required) The target fully-qualified domain name (FQDN) within the target zone. :param str rtype: (required) The type of the target RRSet within the target zone. :param str if_none_match: (optional) The `If-None-Match` header field makes the request method conditional on the absence of any current representation of the target resource, when the field-value is `*`, or having a selected representation with an entity-tag that does not match any of those listed in the field-value. :param str if_modified_since: (optional) The `If-Modified-Since` header field makes a GET or HEAD request method conditional on the selected representation's modification date being more recent than the date provided in the field-value. Transfer of the selected representation's data is avoided if that data has not changed. :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 int limit: (optional) The maximum number of items to return in a page of the collection. :param str page: (optional) The value of the `opc-next-page` response header from the previous "List" call. :param str zone_version: (optional) The version of the zone for which data is requested. :param str compartment_id: (optional) The OCID of the compartment the zone belongs to. This parameter is deprecated and should be omitted. :param str scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param str view_id: (optional) The OCID of the view the zone is associated with. Required when accessing a private zone by name. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.RRSet` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_rr_set API. rrr get_rr_setzAhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/RRSet/GetRrSet) r r!rrr0rrrrr1rpcsg|]}|vr|qSr'r'r2r4r'r(r5 r6z(DnsClient.get_rr_set..zget_rr_set got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r< r6z(DnsClient.get_rr_set..Nrr=r>r1r?r@rArrrrrp)rrrrr1rncSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r< r6rCrrr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r< r6r!rJZRRSetr rrrr'r4r(r0 sK $              zDnsClient.get_rr_setc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|dt i} dd t| D} dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d ur^t j}|rt|t js|j |||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S) ai Gets information about the specified steering policy. :param str steering_policy_id: (required) The OCID of the target steering policy. :param str if_none_match: (optional) The `If-None-Match` header field makes the request method conditional on the absence of any current representation of the target resource, when the field-value is `*`, or having a selected representation with an entity-tag that does not match any of those listed in the field-value. :param str if_modified_since: (optional) The `If-Modified-Since` header field makes a GET or HEAD request method conditional on the selected representation's modification date being more recent than the date provided in the field-value. Transfer of the selected representation's data is avoided if that data has not changed. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.SteeringPolicy` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_steering_policy API. rhrrget_steering_policyzShttps://docs.oracle.com/iaas/api/#/en/dns/20180115/SteeringPolicy/GetSteeringPolicyr r!rrr0r1csg|]}|vr|qSr'r'r2r4r'r(r5r6z1DnsClient.get_steering_policy..z(get_steering_policy got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<'r6z1DnsClient.get_steering_policy..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<7r6rCrrr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<@r6r!rJr~r rrrr'r4r(r s1$         zDnsClient.get_steering_policyc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|dt i} dd t| D} dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d ur^t j}|rt|t js|j |||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S) a Gets information about the specified steering policy attachment. :param str steering_policy_attachment_id: (required) The OCID of the target steering policy attachment. :param str if_none_match: (optional) The `If-None-Match` header field makes the request method conditional on the absence of any current representation of the target resource, when the field-value is `*`, or having a selected representation with an entity-tag that does not match any of those listed in the field-value. :param str if_modified_since: (optional) The `If-Modified-Since` header field makes a GET or HEAD request method conditional on the selected representation's modification date being more recent than the date provided in the field-value. Transfer of the selected representation's data is avoided if that data has not changed. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.SteeringPolicyAttachment` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_steering_policy_attachment API. rrrget_steering_policy_attachmentzghttps://docs.oracle.com/iaas/api/#/en/dns/20180115/SteeringPolicyAttachment/GetSteeringPolicyAttachmentrcsg|]}|vr|qSr'r'r2r4r'r(r5r6z.z3get_steering_policy_attachment got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<r6z.Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6rCrrr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJrr rrrr'r4r(rfs1$         z(DnsClient.get_steering_policy_attachmentc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|dt i} dd t| D} dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d ur^t j}|rt|t js|j |||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S) a? Gets information about the specified TSIG key. :param str tsig_key_id: (required) The OCID of the target TSIG key. :param str if_none_match: (optional) The `If-None-Match` header field makes the request method conditional on the absence of any current representation of the target resource, when the field-value is `*`, or having a selected representation with an entity-tag that does not match any of those listed in the field-value. :param str if_modified_since: (optional) The `If-Modified-Since` header field makes a GET or HEAD request method conditional on the selected representation's modification date being more recent than the date provided in the field-value. Transfer of the selected representation's data is avoided if that data has not changed. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.TsigKey` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_tsig_key API. rkrr get_tsig_keyzEhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/TsigKey/GetTsigKeyrcsg|]}|vr|qSr'r'r2r4r'r(r5.r6z*DnsClient.get_tsig_key..z!get_tsig_key got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<7r6z*DnsClient.get_tsig_key..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<Gr6rCrrr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<Pr6r!rJrr rrrr'r4r(rs1$         zDnsClient.get_tsig_keyc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|dt i} dd t| D} dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d ur^t j}|rt|t js|j |||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S) a Gets information about a specific view. Note that attempting to get a view in the DELETED lifecycleState will result in a `404` response to be consistent with other operations of the API. :param str view_id: (required) The OCID of the target view. :param str if_modified_since: (optional) The `If-Modified-Since` header field makes a GET or HEAD request method conditional on the selected representation's modification date being more recent than the date provided in the field-value. Transfer of the selected representation's data is avoided if that data has not changed. :param str if_none_match: (optional) The `If-None-Match` header field makes the request method conditional on the absence of any current representation of the target resource, when the field-value is `*`, or having a selected representation with an entity-tag that does not match any of those listed in the field-value. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.View` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_view API. rnrrget_viewz?https://docs.oracle.com/iaas/api/#/en/dns/20180115/View/GetViewrcsg|]}|vr|qSr'r'r2r4r'r(r5r6z&DnsClient.get_view..zget_view got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<r6z&DnsClient.get_view..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6rCrrr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJrr rrrr'r4r(rvs5$         zDnsClient.get_viewc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| |dt |dt |dt d} dd t| D} dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d urrt j}|rt|t js|j |||j|j|j j||| | |d |d!|||d" S|j j||| | |d |d!|||d" Sd S)#aT Gets information about the specified zone, including its creation date, zone type, and serial. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required. :param str zone_name_or_id: (required) The name or OCID of the target zone. :param str if_none_match: (optional) The `If-None-Match` header field makes the request method conditional on the absence of any current representation of the target resource, when the field-value is `*`, or having a selected representation with an entity-tag that does not match any of those listed in the field-value. :param str if_modified_since: (optional) The `If-Modified-Since` header field makes a GET or HEAD request method conditional on the selected representation's modification date being more recent than the date provided in the field-value. Transfer of the selected representation's data is avoided if that data has not changed. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param str view_id: (optional) The OCID of the view the zone is associated with. Required when accessing a private zone by name. :param str compartment_id: (optional) The OCID of the compartment the zone belongs to. This parameter is deprecated and should be omitted. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.Zone` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_zone API. rrrget_zonez?https://docs.oracle.com/iaas/api/#/en/dns/20180115/Zone/GetZone)r r!rrr0r1rprcsg|]}|vr|qSr'r'r2r4r'r(r5Or6z&DnsClient.get_zone..zget_zone got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<Xr6z&DnsClient.get_zone..Nrr=r>r1r?r@rArprrcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<jr6rCrrr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<sr6r!rJrr rrrr'r4r(rs< $           zDnsClient.get_zonec sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| |dt |dt d} dd t| D} dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d urht j}|rt|t js|j |||j|j|j j||| | |d |d!|||d" S|j j||| | |d |d!|||d" Sd S)#a Gets the requested zone's zone file. :param str zone_name_or_id: (required) The name or OCID of the target zone. :param str if_none_match: (optional) The `If-None-Match` header field makes the request method conditional on the absence of any current representation of the target resource, when the field-value is `*`, or having a selected representation with an entity-tag that does not match any of those listed in the field-value. :param str if_modified_since: (optional) The `If-Modified-Since` header field makes a GET or HEAD request method conditional on the selected representation's modification date being more recent than the date provided in the field-value. Transfer of the selected representation's data is avoided if that data has not changed. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param str view_id: (optional) The OCID of the view the zone is associated with. Required when accessing a private zone by name. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type stream :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_zone_content API. rz/zones/{zoneNameOrId}/contentrget_zone_contentzFhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/Zone/GetZoneContent)r r!rrr0r1rpcsg|]}|vr|qSr'r'r2r4r'r(r5r6z.DnsClient.get_zone_content..z%get_zone_content got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<r6z.DnsClient.get_zone_content..Nrr=r>r1r?r@rArp)r1rncSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6ztext/dnsrCrrr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJstreamr rrrr'r4r(rs4 $          zDnsClient.get_zone_contentc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrgd} |d| vrtd| d|vrddg} |d| vrtd| d|vr2ddg}|d|vr2td||dt |dt |dt |dt |dt |d t |dt |dt |d!t |dt |d"t d# }d$d t|D}d%d%|d&t |d't |d(t d)}d*d t|D}|j j |d+|j d,}|d urt j}|rtt|t jsJ|j |||j|j|j j||| ||d-|d.|||d/ S|j j||| ||d-|d.|||d/ Sd S)0a Gets all records in the specified zone. The results are sorted by `domain` in alphabetical order by default. For more information about records, see `Resource Record (RR) TYPEs`__. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required. __ https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4 :param str zone_name_or_id: (required) The name or OCID of the target zone. :param str if_none_match: (optional) The `If-None-Match` header field makes the request method conditional on the absence of any current representation of the target resource, when the field-value is `*`, or having a selected representation with an entity-tag that does not match any of those listed in the field-value. :param str if_modified_since: (optional) The `If-Modified-Since` header field makes a GET or HEAD request method conditional on the selected representation's modification date being more recent than the date provided in the field-value. Transfer of the selected representation's data is avoided if that data has not changed. :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 int limit: (optional) The maximum number of items to return in a page of the collection. :param str page: (optional) The value of the `opc-next-page` response header from the previous "List" call. :param str zone_version: (optional) The version of the zone for which data is requested. :param str domain: (optional) Search by domain. Will match any record whose domain (case-insensitive) equals the provided value. :param str domain_contains: (optional) Search by domain. Will match any record whose domain (case-insensitive) contains the provided value. :param str rtype: (optional) Search by record type. Will match any record whose `type`__ (case-insensitive) equals the provided value. __ https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4 :param str sort_by: (optional) The field by which to sort records. Allowed values are: "domain", "rtype", "ttl" :param str sort_order: (optional) The order to sort the resources. Allowed values are: "ASC", "DESC" :param str compartment_id: (optional) The OCID of the compartment the zone belongs to. This parameter is deprecated and should be omitted. :param str scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param str view_id: (optional) The OCID of the view the zone is associated with. Required when accessing a private zone by name. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.RecordCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_zone_records API. r/zones/{zoneNameOrId}/recordsrget_zone_recordszIhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/Records/GetZoneRecords)r r!rrr0rrrrdomain_containsrrrrr1rpcsg|]}|vr|qSr'r'r2r4r'r(r5r6z.DnsClient.get_zone_records..z%get_zone_records got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<r6z.DnsClient.get_zone_records..Nrr=r>r)rrrrrrrrr1r?r@rArrrrrrrrp) rrrrdomainContainsrrrrr1rncSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6rCrrr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJrr rr)r%rr&rTrLrMrRrSrfrNr:r;rrrgrOrPr!r'r4r(r&sa$                      zDnsClient.get_zone_recordsc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrddg} |d| vrtd| d|vr2gd}|d|vr2td|d|vr`ddg}|d|vr`td||dt |dt |d t |dt |dt |dt |dt d!}d"d t|D}d#d#|d$t d%}d&d t|D}|j j |d'|j d(}|d urt j}|rft|t js<|j |||j|j|j j||| ||d)|d*|||d+ S|j j||| ||d)|d*|||d+ Sd S),a Gets a list of all endpoints within a resolver. The collection can be filtered by name or lifecycle state. It can be sorted on creation time or name both in ASC or DESC order. Note that when no lifecycleState query parameter is provided, the collection does not include resolver endpoints in the DELETED lifecycle state to be consistent with other operations of the API. :param str resolver_id: (required) The OCID of the target resolver. :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 name: (optional) The name of a resource. :param str page: (optional) The value of the `opc-next-page` response header from the previous "List" call. :param int limit: (optional) The maximum number of items to return in a page of the collection. :param str sort_order: (optional) The order to sort the resources. Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field by which to sort resolver endpoints. Allowed values are: "name", "timeCreated" :param str lifecycle_state: (optional) The state of a resource. Allowed values are: "ACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "UPDATING" :param str scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.dns.models.ResolverEndpointSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_resolver_endpoints API. r*rtrlist_resolver_endpointszYhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/ResolverEndpoint/ListResolverEndpoints) r r!r0rrrrrlifecycle_stater1csg|]}|vr|qSr'r'r2r4r'r(r5Sr6z5DnsClient.list_resolver_endpoints..z,list_resolver_endpoints got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<\r6z5DnsClient.list_resolver_endpoints..Nrr=r>rrrrrr timeCreatedrrACTIVECREATINGDELETEDDELETINGZFAILEDUPDATING4Invalid value for `lifecycle_state`, must be one of r1r?r@rArr)rrrrrlifecycleStater1cSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6rCr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJzlist[ResolverEndpointSummary]r rr)r%rer&rTrLrMrRrSrfrNr:r;rrlifecycle_state_allowed_valuesrgrOrPr!r'r4r(rs@ $                 z!DnsClient.list_resolver_endpointsc s(dg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | d|vrddg} |d| vrtd| d|vrgd} |d| vrtd| d|vrddg} |d| vrtd| ||dt|dt|dt|dt|d t|dt|dt|dtd } ddt| D} d d |d!td"}d#dt|D}|jj|d$|jd%}|d&urt j }|rt |t j s|j |||j|j|jj||| |d'|d(|||d) S|jj||| |d'|d(|||d) Sd&S)*aP Gets a list of all resolvers within a compartment. The collection can be filtered by display name, id, or lifecycle state. It can be sorted on creation time or displayName both in ASC or DESC order. Note that when no lifecycleState query parameter is provided, the collection does not include resolvers in the DELETED lifecycleState to be consistent with other operations of the API. :param str compartment_id: (required) The OCID of the compartment the resource belongs to. :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 display_name: (optional) The displayName of a resource. :param str id: (optional) The OCID of a resource. :param str page: (optional) The value of the `opc-next-page` response header from the previous "List" call. :param int limit: (optional) The maximum number of items to return in a page of the collection. :param str sort_order: (optional) The order to sort the resources. Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field by which to sort resolvers. Allowed values are: "displayName", "timeCreated" :param str lifecycle_state: (optional) The state of a resource. Allowed values are: "ACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "UPDATING" :param str scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.dns.models.ResolverSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_resolvers API. rz /resolversrlist_resolverszIhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/Resolver/ListResolvers r r!r0 display_nameidrrrrrr1csg|]}|vr|qSr'r'r2r4r'r(r5 r6z,DnsClient.list_resolvers..z#list_resolvers got unknown kwargs: rrrrr displayNamerrrrrr1r?r@rArrrr rrrrrrrrr1cSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<9r6z,DnsClient.list_resolvers..rCr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<@r6r!rJNzlist[ResolverSummary]r rLrMrOrPr{r rRrSrTrr%rr&rTrLrMrRrSrfrrrrgrOrPr!r'r4r(rsE                   zDnsClient.list_resolversc sZdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrgd} |d | vrtd| d|vrddg} |d| vrtd| d|vrddg} |d| vrtd| |dt|dt||dt|dt|dt|dt|dt|dt|d t|d t|d t|dt|dtd!} d"d#t| D} d$d$|d%td&}d'd#t|D}|jj|d(|jd)}|d*urt j }|r2t |t j s |j |||j|j|jj||| |d+|d,|||d- S|jj||| |d+|d,|||d- Sd*S).a[ Gets a list of all steering policies in the specified compartment. :param str compartment_id: (required) The OCID of the compartment the resource belongs to. :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 int limit: (optional) The maximum number of items to return in a page of the collection. :param str page: (optional) The value of the `opc-next-page` response header from the previous "List" call. :param str id: (optional) The OCID of a resource. :param str display_name: (optional) The displayName of a resource. :param str display_name_contains: (optional) The partial displayName of a resource. Will match any resource whose name (case-insensitive) contains the provided value. :param str health_check_monitor_id: (optional) Search by health check monitor OCID. Will match any resource whose health check monitor ID matches the provided value. :param datetime time_created_greater_than_or_equal_to: (optional) An `RFC 3339`__ timestamp that states all returned resources were created on or after the indicated time. __ https://www.ietf.org/rfc/rfc3339.txt :param datetime time_created_less_than: (optional) An `RFC 3339`__ timestamp that states all returned resources were created before the indicated time. __ https://www.ietf.org/rfc/rfc3339.txt :param str template: (optional) Search by steering template type. Will match any resource whose template type matches the provided value. :param str lifecycle_state: (optional) The state of a resource. Allowed values are: "ACTIVE", "CREATING", "DELETED", "DELETING" :param str sort_by: (optional) The field by which to sort steering policies. If unspecified, defaults to `timeCreated`. Allowed values are: "displayName", "timeCreated", "template" :param str sort_order: (optional) The order to sort the resources. Allowed values are: "ASC", "DESC" :param str scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.dns.models.SteeringPolicySummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_steering_policies API. rr|rlist_steering_policieszVhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/SteeringPolicy/ListSteeringPolicies)r r!r0rrrrdisplay_name_containshealth_check_monitor_id%time_created_greater_than_or_equal_totime_created_less_thantemplaterrrr1csg|]}|vr|qSr'r'r2r4r'r(r5r6z4DnsClient.list_steering_policies..z+list_steering_policies got unknown kwargs: r)rrrrrr)rrr rrrrrr1r?r@rArrrrrrr r r )rrrrrZdisplayNameContainsZhealthCheckMonitorIdtimeCreatedGreaterThanOrEqualTotimeCreatedLessThanr rrrr1cSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6z4DnsClient.list_steering_policies..rCr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r< r6r!rJNzlist[SteeringPolicySummary]r rrr%rr&rTrLrMrRrSrfrrrrgrOrPr!r'r4r(rdsX                      z DnsClient.list_steering_policiesc sddg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrgd} |d | vrtd| d|vrddg} |d| vrtd| d|vrddg} |d| vrtd| |dt|dt||dt|dt|dt|dt|dt|dt|d t|d!t|d t|d t|dt|dtd"} d#d$t| D} d%d%|d&td'}d(d$t|D}|jj|d)|jd*}|d+urt j }|r`__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the 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.dns.models.SteeringPolicyAttachmentSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_steering_policy_attachments API. rrr list_steering_policy_attachmentszihttps://docs.oracle.com/iaas/api/#/en/dns/20180115/SteeringPolicyAttachment/ListSteeringPolicyAttachments)r r!r0rrrrrjrsrrr r rrrr1csg|]}|vr|qSr'r'r2r4r'r(r5r6z>DnsClient.list_steering_policy_attachments..z5list_steering_policy_attachments got unknown kwargs: r)rrrrr)rrZ domainNamerrrrrr1r?r@rArrrrrjrsrrr r )rrrrrrhrqrrr r rrrr1cSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6z>DnsClient.list_steering_policy_attachments..rCr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJNz%list[SteeringPolicyAttachmentSummary]r rrrr'r4r(r1s\                       z*DnsClient.list_steering_policy_attachmentsc s(dg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrddg} |d| vrtd| d|vrddg} |d| vrtd| |dt|dt||dt|dt|d t|d t|dt|dtd } ddt| D} dd|d td!}d"dt|D}|jj|d#|jd$}|d%urt j }|rt |t j s|j |||j|j|jj||| |d&|d'|||d( S|jj||| |d&|d'|||d( Sd%S))a Gets a list of all TSIG keys in the specified compartment. :param str compartment_id: (required) The OCID of the compartment the resource belongs to. :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 int limit: (optional) The maximum number of items to return in a page of the collection. :param str page: (optional) The value of the `opc-next-page` response header from the previous "List" call. :param str id: (optional) The OCID of a resource. :param str name: (optional) The name of a resource. :param str lifecycle_state: (optional) The state of a resource. Allowed values are: "ACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "UPDATING" :param str sort_by: (optional) The field by which to sort TSIG keys. If unspecified, defaults to `timeCreated`. Allowed values are: "name", "timeCreated" :param str sort_order: (optional) The order to sort the resources. Allowed values are: "ASC", "DESC" :param str scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.dns.models.TsigKeySummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_tsig_keys API. rrrlist_tsig_keyszGhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/TsigKey/ListTsigKeys) r r!r0rrrrrrrr1csg|]}|vr|qSr'r'r2r4r'r(r5Xr6z,DnsClient.list_tsig_keys..z#list_tsig_keys got unknown kwargs: rrrrrrrrrrrr1r?r@rArrr) rrrrrrrrr1cSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6z,DnsClient.list_tsig_keys..rCr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJNzlist[TsigKeySummary]r rrrr'r4r(rs@                   zDnsClient.list_tsig_keysc s(dg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | d|vrddg} |d| vrtd| d|vrgd} |d| vrtd| d|vrddg} |d| vrtd| ||dt|dt|dt|dt|d t|dt|dt|dtd } ddt| D} d d |d!td"}d#dt|D}|jj|d$|jd%}|d&urt j }|rt |t j s|j |||j|j|jj||| |d'|d(|||d) S|jj||| |d'|d(|||d) Sd&S)*a" Gets a list of all views within a compartment. The collection can be filtered by display name, id, or lifecycle state. It can be sorted on creation time or displayName both in ASC or DESC order. Note that when no lifecycleState query parameter is provided, the collection does not include views in the DELETED lifecycleState to be consistent with other operations of the API. :param str compartment_id: (required) The OCID of the compartment the resource belongs to. :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 display_name: (optional) The displayName of a resource. :param str id: (optional) The OCID of a resource. :param str page: (optional) The value of the `opc-next-page` response header from the previous "List" call. :param int limit: (optional) The maximum number of items to return in a page of the collection. :param str sort_order: (optional) The order to sort the resources. Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field by which to sort views. Allowed values are: "displayName", "timeCreated" :param str lifecycle_state: (optional) The state of a resource. Allowed values are: "ACTIVE", "DELETED", "DELETING", "UPDATING" :param str scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.dns.models.ViewSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_views API. rrr list_viewszAhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/View/ListViewsrcsg|]}|vr|qSr'r'r2r4r'r(r5r6z(DnsClient.list_views..zlist_views got unknown kwargs: rrrrrrrrr)rrrrrr1r?r@rArrrrrcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<4r6z(DnsClient.list_views..rCr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<;r6r!rJNzlist[ViewSummary]r rrrr'r4r(rsE                   zDnsClient.list_viewsc sldg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | ||d t|dtd} ddt| D} dd|dtd} ddt| D} |jj|d|jd} | durt j } | rDt | t j s|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)a Gets a list of IP addresses of OCI nameservers for inbound and outbound transfer of zones in the specified compartment (which must be the root compartment of a tenancy) that transfer zone data with external master or downstream nameservers. :param str compartment_id: (required) The OCID of the compartment the resource belongs to. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param str page: (optional) The value of the `opc-next-page` response header from the previous "List" call. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.dns.models.ZoneTransferServer` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_zone_transfer_servers API. rz/zoneTransferServersrlist_zone_transfer_serversz]https://docs.oracle.com/iaas/api/#/en/dns/20180115/ZoneTransferServer/ListZoneTransferServers)r r!r0r1rcsg|]}|vr|qSr'r'r2r4r'r(r5r6z8DnsClient.list_zone_transfer_servers..z/list_zone_transfer_servers got unknown kwargs: r1r?r@rAr)rr1rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6z8DnsClient.list_zone_transfer_servers..rCr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJNzlist[ZoneTransferServer]r rr) r%rr&rTrLrMrRrSrfrgrOrPr!r'r4r(r_sx*       z$DnsClient.list_zone_transfer_serversc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | d|vrgd} |d| vrtd| d|vrgd} |d| vrtd| d|vrddg} |d| vrtd| d|vrddg} |d| vrtd| |dt|dt||dt|dt|d t|d t|d!t|dt|dt|dt|dt|d"t|d#td$}d%d&t|D}d'd'|d(td)}d*d&t|D}|jj|d+|jd,}|d-ur t j }|r`t |t j s8|j |||j|j|jj||||d.|d/|||d0 S|jj||||d.|d/|||d0 Sd-S)1a Gets a list of all zones in the specified compartment. The collection can be filtered by name, time created, scope, associated view, and zone type. Filtering by view is only supported for private zones. :param str compartment_id: (required) The OCID of the compartment the resource belongs to. :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 int limit: (optional) The maximum number of items to return in a page of the collection. :param str page: (optional) The value of the `opc-next-page` response header from the previous "List" call. :param str name: (optional) A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value. :param str name_contains: (optional) Search by zone name. Will match any zone whose name (case-insensitive) contains the provided value. :param str zone_type: (optional) Search by zone type, `PRIMARY` or `SECONDARY`. Will match any zone whose type equals the provided value. Allowed values are: "PRIMARY", "SECONDARY" :param datetime time_created_greater_than_or_equal_to: (optional) An `RFC 3339`__ timestamp that states all returned resources were created on or after the indicated time. __ https://www.ietf.org/rfc/rfc3339.txt :param datetime time_created_less_than: (optional) An `RFC 3339`__ timestamp that states all returned resources were created before the indicated time. __ https://www.ietf.org/rfc/rfc3339.txt :param str lifecycle_state: (optional) The state of a resource. Allowed values are: "ACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "UPDATING" :param str sort_by: (optional) The field by which to sort zones. Allowed values are: "name", "zoneType", "timeCreated" :param str sort_order: (optional) The order to sort the resources. Allowed values are: "ASC", "DESC" :param str scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param str view_id: (optional) The OCID of the view the resource is associated with. :param str tsig_key_id: (optional) Search for zones that are associated with a TSIG key. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.dns.models.ZoneSummary` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_zones API. rrr list_zoneszAhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/Zone/ListZones)r r!r0rrr name_contains zone_typer r rrrr1rprmcsg|]}|vr|qSr'r'r2r4r'r(r5Ir6z(DnsClient.list_zones..zlist_zones got unknown kwargs: rZPRIMARYZ SECONDARYz.Invalid value for `zone_type`, must be one of rrrr)rzoneTyperrrrrrr1r?r@rArrrrr r rprm)rrrrZ nameContainsrr r rrrr1rnrkcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6z(DnsClient.list_zones..rCr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJNzlist[ZoneSummary]r rr)r%rr&rTrLrMrRrSrfZzone_type_allowed_valuesrrrrgrOrPr!r'r4r(rs]                       zDnsClient.list_zonesc sddg}d}d}d}d} gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrd|vrddg}|d|vrtd||dt |dt |dt d}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d |j d!}|durvt j}|rt|t js|j |||j|j|j j||| |||d"|d#|| |d$ S|j j||| |||d"|d#|| |d$ SdS)%a Updates records in the specified zone at a domain. You can update one record or all records for the specified zone depending on the changes provided in the request body. You can also add or remove records using this function. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required. :param str zone_name_or_id: (required) The name or OCID of the target zone. :param str domain: (required) The target fully-qualified domain name (FQDN) within the target zone. :param oci.dns.models.PatchDomainRecordsDetails patch_domain_records_details: (required) Operations describing how to modify the collection of records. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param str view_id: (optional) The OCID of the view the zone is associated with. Required when accessing a private zone by name. :param str compartment_id: (optional) The OCID of the compartment the zone belongs to. This parameter is deprecated and should be omitted. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.RecordCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use patch_domain_records API. rrrPATCHpatch_domain_recordszMhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/Records/PatchDomainRecordsrcsg|]}|vr|qSr'r'r2r4r'r(r5r6z2DnsClient.patch_domain_records..z)patch_domain_records got unknown kwargs: rcSsi|]\}}|tur||qSr'r7r9r'r'r(r< r6z2DnsClient.patch_domain_records..Nrr=r>r1r?r@rArprrcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6rCr.rr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<(r6r!rJrr rzr)r%rrZpatch_domain_records_detailsr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(rsF $          zDnsClient.patch_domain_recordsc sgd}d}d}d} d} gdfddt|D} | rJtd | |||d} d d t| D} t| D]<\} }|d ust|tjrtt|d krttd| dqtd|vrddg}|d|vrtd||dt |dt |dt d}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d urxt j}|rt|t js|j |||j|j|j j||| |||d |d!| | |d" S|j j||| |||d |d!| | |d" Sd S)#a& Updates records in the specified RRSet. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required. :param str zone_name_or_id: (required) The name or OCID of the target zone. :param str domain: (required) The target fully-qualified domain name (FQDN) within the target zone. :param str rtype: (required) The type of the target RRSet within the target zone. :param oci.dns.models.PatchRRSetDetails patch_rr_set_details: (required) Operations describing how to modify the collection of records. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param str view_id: (optional) The OCID of the view the zone is associated with. Required when accessing a private zone by name. :param str compartment_id: (optional) The OCID of the compartment the zone belongs to. This parameter is deprecated and should be omitted. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.RecordCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use patch_rr_set API. rrr patch_rr_setzChttps://docs.oracle.com/iaas/api/#/en/dns/20180115/RRSet/PatchRrSetrcsg|]}|vr|qSr'r'r2r4r'r(r5r6z*DnsClient.patch_rr_set..z!patch_rr_set got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<r6z*DnsClient.patch_rr_set..Nrr=r>r1r?r@rArprrcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6rCr.rr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJrr rzr)r%rrrZpatch_rr_set_detailsr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(rPsG $          zDnsClient.patch_rr_setc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| |dt |dt |dt d}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d urrt j}|rt|t js|j |||j|j|j j||| |||d |d!|||d" S|j j||| |||d |d!|||d" Sd S)#a0 Updates a collection of records in the specified zone. You can update one record or all records for the specified zone depending on the changes provided in the request body. You can also add or remove records using this function. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required. :param str zone_name_or_id: (required) The name or OCID of the target zone. :param oci.dns.models.PatchZoneRecordsDetails patch_zone_records_details: (required) The operations describing how to modify the collection of records. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param str view_id: (optional) The OCID of the view the zone is associated with. Required when accessing a private zone by name. :param str compartment_id: (optional) The OCID of the compartment the zone belongs to. This parameter is deprecated and should be omitted. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.RecordCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use patch_zone_records API. rrrpatch_zone_recordszKhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/Records/PatchZoneRecordsrcsg|]}|vr|qSr'r'r2r4r'r(r5Jr6z0DnsClient.patch_zone_records..z'patch_zone_records got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<Sr6z0DnsClient.patch_zone_records..Nrr=r>r1r?r@rArprrcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<er6rCr.rr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<nr6r!rJrr rzr)r%rZpatch_zone_records_detailsr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(rsC $          zDnsClient.patch_zone_recordsc sddg}d}d}d}d} gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrd|vrddg}|d|vrtd||dt |dt |dt d}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d |j d!}|durvt j}|rt|t js|j |||j|j|j j||| |||d"|d#|| |d$ S|j j||| |||d"|d#|| |d$ SdS)%a Replaces records in the specified zone at a domain with the records specified in the request body. If a specified record does not exist, it will be created. If the record exists, then it will be updated to represent the record in the body of the request. If a record in the zone does not exist in the request body, the record will be removed from the zone. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required. :param str zone_name_or_id: (required) The name or OCID of the target zone. :param str domain: (required) The target fully-qualified domain name (FQDN) within the target zone. :param oci.dns.models.UpdateDomainRecordsDetails update_domain_records_details: (required) A full list of records for the domain. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param str view_id: (optional) The OCID of the view the zone is associated with. Required when accessing a private zone by name. :param str compartment_id: (optional) The OCID of the compartment the zone belongs to. This parameter is deprecated and should be omitted. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.RecordCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_domain_records API. rrrPUTupdate_domain_recordszNhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/Records/UpdateDomainRecordsrcsg|]}|vr|qSr'r'r2r4r'r(r5r6z3DnsClient.update_domain_records..z*update_domain_records got unknown kwargs: rcSsi|]\}}|tur||qSr'r7r9r'r'r(r<r6z3DnsClient.update_domain_records..Nrr=r>r1r?r@rArprrcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r< r6rCr.rr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJrr rzr)r%rrZupdate_domain_records_detailsr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(rsF $          zDnsClient.update_domain_recordsc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|dt i}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d ur^t j}|rt|t js|j |||j|j|j j||| |||d|d|||d S|j j||| |||d|d|||d Sd S) aI Updates the specified resolver with your new information. :param str resolver_id: (required) The OCID of the target resolver. :param oci.dns.models.UpdateResolverDetails update_resolver_details: (required) New data for the resolver. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.Resolver` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_resolver API. r*rrupdate_resolverzJhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/Resolver/UpdateResolverrcsg|]}|vr|qSr'r'r2r4r'r(r5r6z-DnsClient.update_resolver..z$update_resolver got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<r6z-DnsClient.update_resolver..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6rCr.rr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJrr rzr)r%reZupdate_resolver_detailsr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(r:s6$        zDnsClient.update_resolverc sddg}d}d}d}d} gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrd|vrddg}|d|vrtd|d|dt i}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d|j d}|durbt j}|rt|t js|j |||j|j|j j||| |||d|d || |d! S|j j||| |||d|d || |d! SdS)"a Updates the specified resolver endpoint with your new information. :param str resolver_id: (required) The OCID of the target resolver. :param str resolver_endpoint_name: (required) The name of the target resolver endpoint. :param oci.dns.models.UpdateResolverEndpointDetails update_resolver_endpoint_details: (required) New data for the resolver endpoint. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.ResolverEndpoint` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_resolver_endpoint API. r*rrrupdate_resolver_endpointzZhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/ResolverEndpoint/UpdateResolverEndpointrcsg|]}|vr|qSr'r'r2r4r'r(r5r6z6DnsClient.update_resolver_endpoint..z-update_resolver_endpoint got unknown kwargs: rcSsi|]\}}|tur||qSr'r7r9r'r'r(r<r6z6DnsClient.update_resolver_endpoint..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<+r6rCr.rr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<4r6r!rJryr rzr)r%rerZ update_resolver_endpoint_detailsr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(rs9$        z"DnsClient.update_resolver_endpointc sgd}d}d}d} d} gdfddt|D} | rJtd | |||d} d d t| D} t| D]<\} }|d ust|tjrtt|d krttd| dqtd|vrddg}|d|vrtd||dt |dt |dt d}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d urxt j}|rt|t js|j |||j|j|j j||| |||d |d!| | |d" S|j j||| |||d |d!| | |d" Sd S)#a Replaces records in the specified RRSet. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required. :param str zone_name_or_id: (required) The name or OCID of the target zone. :param str domain: (required) The target fully-qualified domain name (FQDN) within the target zone. :param str rtype: (required) The type of the target RRSet within the target zone. :param oci.dns.models.UpdateRRSetDetails update_rr_set_details: (required) A full list of records for the RRSet. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param str view_id: (optional) The OCID of the view the zone is associated with. Required when accessing a private zone by name. :param str compartment_id: (optional) The OCID of the compartment the zone belongs to. This parameter is deprecated and should be omitted. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.RecordCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_rr_set API. rrr update_rr_setzDhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/RRSet/UpdateRrSetrcsg|]}|vr|qSr'r'r2r4r'r(r5r6z+DnsClient.update_rr_set..z"update_rr_set got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<r6z+DnsClient.update_rr_set..Nrr=r>r1r?r@rArprrcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6rCr.rr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJrr rzr)r%rrrZupdate_rr_set_detailsr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(r\sG $          zDnsClient.update_rr_setc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|dt i}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d ur^t j}|rt|t js|j |||j|j|j j||| |||d|d|||d S|j j||| |||d|d|||d Sd S) a Updates the configuration of the specified steering policy. :param str steering_policy_id: (required) The OCID of the target steering policy. :param oci.dns.models.UpdateSteeringPolicyDetails update_steering_policy_details: (required) New data for the steering policy. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.SteeringPolicy` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_steering_policy API. rhrrupdate_steering_policyzVhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/SteeringPolicy/UpdateSteeringPolicyrcsg|]}|vr|qSr'r'r2r4r'r(r5Gr6z4DnsClient.update_steering_policy..z+update_steering_policy got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<Pr6z4DnsClient.update_steering_policy..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<`r6rCr.rr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<ir6r!rJr~r rzr)r%rjZupdate_steering_policy_detailsr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(r s6$        z DnsClient.update_steering_policyc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|dt i}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d ur^t j}|rt|t js|j |||j|j|j j||| |||d|d|||d S|j j||| |||d|d|||d Sd S) a Updates the specified steering policy attachment with your new information. :param str steering_policy_attachment_id: (required) The OCID of the target steering policy attachment. :param oci.dns.models.UpdateSteeringPolicyAttachmentDetails update_steering_policy_attachment_details: (required) New data for the steering policy attachment. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.SteeringPolicyAttachment` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_steering_policy_attachment API. rrr!update_steering_policy_attachmentzjhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/SteeringPolicyAttachment/UpdateSteeringPolicyAttachmentrcsg|]}|vr|qSr'r'r2r4r'r(r5r6z?DnsClient.update_steering_policy_attachment..z6update_steering_policy_attachment got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<r6z?DnsClient.update_steering_policy_attachment..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6rCr.rr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJrr rzr)r%rZ)update_steering_policy_attachment_detailsr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(r!s6$        z+DnsClient.update_steering_policy_attachmentc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|dt i}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d ur^t j}|rt|t js|j |||j|j|j j||| |||d|d|||d S|j j||| |||d|d|||d Sd S) a- Updates the specified TSIG key. :param str tsig_key_id: (required) The OCID of the target TSIG key. :param oci.dns.models.UpdateTsigKeyDetails update_tsig_key_details: (required) New data for the TSIG key. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.TsigKey` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_tsig_key API. rkrrupdate_tsig_keyzHhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/TsigKey/UpdateTsigKeyrcsg|]}|vr|qSr'r'r2r4r'r(r5er6z-DnsClient.update_tsig_key..z$update_tsig_key got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<nr6z-DnsClient.update_tsig_key..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<~r6rCr.rr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJrr rzr)r%rmZupdate_tsig_key_detailsr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(r" s6$        zDnsClient.update_tsig_keyc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|dt i}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d ur^t j}|rt|t js|j |||j|j|j j||| |||d|d|||d S|j j||| |||d|d|||d Sd S) a% Updates the specified view with your new information. :param str view_id: (required) The OCID of the target view. :param oci.dns.models.UpdateViewDetails update_view_details: (required) New data for the view. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.View` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_view API. rnrr update_viewzBhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/View/UpdateViewrcsg|]}|vr|qSr'r'r2r4r'r(r5r6z)DnsClient.update_view..z update_view got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<r6z)DnsClient.update_view..Nrr=r>r1r?r@rAcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r< r6rCr.rr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJrr rzr)r%rpZupdate_view_detailsr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(r#s6$        zDnsClient.update_viewc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| |dt |dt |dt d}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d urrt j}|rt|t js|j |||j|j|j j||| |||d |d!|||d" S|j j||| |||d |d!|||d" Sd S)#a  Updates the zone with the specified information. Global secondary zones may have their external masters updated. For more information about secondary zones, see `Manage DNS Service Zone`__. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required. __ https://docs.cloud.oracle.com/iaas/Content/DNS/Tasks/managingdnszones.htm :param str zone_name_or_id: (required) The name or OCID of the target zone. :param oci.dns.models.UpdateZoneDetails update_zone_details: (required) New data for the zone. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param str view_id: (optional) The OCID of the view the zone is associated with. Required when accessing a private zone by name. :param str compartment_id: (optional) The OCID of the compartment the zone belongs to. This parameter is deprecated and should be omitted. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.Zone` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_zone API. rrr update_zonezBhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/Zone/UpdateZonercsg|]}|vr|qSr'r'r2r4r'r(r5r6z)DnsClient.update_zone..z update_zone got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<r6z)DnsClient.update_zone..Nrr=r>r1r?r@rArprrcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6rCr.rr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<r6r!rJrr rzr)r%rZupdate_zone_detailsr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(r$>sE $          zDnsClient.update_zonec sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| |dt |dt |dt d}dd t|D}dd|dt |dt |dt d}dd t|D}|j j |d|j d}|d urrt j}|rt|t js|j |||j|j|j j||| |||d |d!|||d" S|j j||| |||d |d!|||d" Sd S)#a Replaces records in the specified zone with the records specified in the request body. If a specified record does not exist, it will be created. If the record exists, then it will be updated to represent the record in the body of the request. If a record in the zone does not exist in the request body, the record will be removed from the zone. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required. :param str zone_name_or_id: (required) The name or OCID of the target zone. :param oci.dns.models.UpdateZoneRecordsDetails update_zone_records_details: (required) A full list of records for the zone. :param str if_match: (optional) The `If-Match` header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is `*`, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value. :param str if_unmodified_since: (optional) The `If-Unmodified-Since` header field makes the request method conditional on the selected representation's last modification date being earlier than or equal to the date provided in the field-value. This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. :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 scope: (optional) Specifies to operate only on resources that have a matching DNS scope. Allowed values are: "GLOBAL", "PRIVATE" :param str view_id: (optional) The OCID of the view the zone is associated with. Required when accessing a private zone by name. :param str compartment_id: (optional) The OCID of the compartment the zone belongs to. This parameter is deprecated and should be omitted. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dns.models.RecordCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_zone_records API. rrrupdate_zone_recordszLhttps://docs.oracle.com/iaas/api/#/en/dns/20180115/Records/UpdateZoneRecordsrcsg|]}|vr|qSr'r'r2r4r'r(r55r6z1DnsClient.update_zone_records..z(update_zone_records got unknown kwargs: cSsi|]\}}|tur||qSr'r7r9r'r'r(r<>r6z1DnsClient.update_zone_records..Nrr=r>r1r?r@rArprrcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<Pr6rCr.rr0rcSs&i|]\}}|tur|dur||qSrBr7r9r'r'r(r<Yr6r!rJrr rzr)r%rZupdate_zone_records_detailsr&rTrLrMrRrSrfrNr:r;rgrOrPr!r'r4r(r%sD $          zDnsClient.update_zone_recordsN)9__name__ __module__ __qualname____doc__r)r,rirlrorrrur}rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr r!r"r#r$r%r'r'r'r(rs[ |~oy{   P /    [51NT,1tZ%'!%'#rN)Z __future__rZ oci._vendorrrZocirrZoci.base_clientrZ oci.configrr Z oci.signerr Zoci.utilr r r rrZoci.exceptionsrZ oci.alloyrZmodelsrr8objectrr'r'r'r(s