DnsClientCompositeOperations

class oci.dns.DnsClientCompositeOperations(client, **kwargs)

This class provides a wrapper around DnsClient and offers convenience methods for operations that would otherwise need to be chained together. For example, instead of performing an action on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource to enter a given state, you can call a single method in this class to accomplish the same functionality

Methods:

__init__(client, **kwargs)

Creates a new DnsClientCompositeOperations object

change_resolver_compartment_and_wait_for_work_request(...)

Calls change_resolver_compartment() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

change_steering_policy_compartment_and_wait_for_work_request(...)

Calls change_steering_policy_compartment() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

change_view_compartment_and_wait_for_work_request(...)

Calls change_view_compartment() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

change_zone_compartment_and_wait_for_work_request(...)

Calls change_zone_compartment() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

create_resolver_endpoint_and_wait_for_state(...)

Calls create_resolver_endpoint() and waits for the ResolverEndpoint acted upon to enter the given state(s).

create_resolver_endpoint_and_wait_for_work_request(...)

Calls create_resolver_endpoint() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

create_steering_policy_and_wait_for_state(...)

Calls create_steering_policy() and waits for the SteeringPolicy acted upon to enter the given state(s).

create_steering_policy_and_wait_for_work_request(...)

Calls create_steering_policy() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

create_steering_policy_attachment_and_wait_for_state(...)

Calls create_steering_policy_attachment() and waits for the SteeringPolicyAttachment acted upon to enter the given state(s).

create_steering_policy_attachment_and_wait_for_work_request(...)

Calls create_steering_policy_attachment() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

create_tsig_key_and_wait_for_state(...[, ...])

Calls create_tsig_key() and waits for the TsigKey acted upon to enter the given state(s).

create_tsig_key_and_wait_for_work_request(...)

Calls create_tsig_key() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

create_view_and_wait_for_state(...[, ...])

Calls create_view() and waits for the View acted upon to enter the given state(s).

create_view_and_wait_for_work_request(...[, ...])

Calls create_view() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

create_zone_and_wait_for_state(...[, ...])

Calls create_zone() and waits for the Zone acted upon to enter the given state(s).

create_zone_and_wait_for_work_request(...[, ...])

Calls create_zone() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

create_zone_from_zone_file_and_wait_for_work_request(...)

Calls create_zone_from_zone_file() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

delete_resolver_endpoint_and_wait_for_work_request(...)

Calls delete_resolver_endpoint() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

delete_steering_policy_and_wait_for_work_request(...)

Calls delete_steering_policy() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

delete_steering_policy_attachment_and_wait_for_work_request(...)

Calls delete_steering_policy_attachment() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

delete_tsig_key_and_wait_for_work_request(...)

Calls delete_tsig_key() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

delete_view_and_wait_for_work_request(view_id)

Calls delete_view() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

delete_zone_and_wait_for_work_request(...[, ...])

Calls delete_zone() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

promote_zone_dnssec_key_version_and_wait_for_work_request(...)

Calls promote_zone_dnssec_key_version() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

stage_zone_dnssec_key_version_and_wait_for_work_request(...)

Calls stage_zone_dnssec_key_version() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

update_resolver_and_wait_for_state(...[, ...])

Calls update_resolver() and waits for the Resolver acted upon to enter the given state(s).

update_resolver_and_wait_for_work_request(...)

Calls update_resolver() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

update_resolver_endpoint_and_wait_for_state(...)

Calls update_resolver_endpoint() and waits for the ResolverEndpoint acted upon to enter the given state(s).

update_resolver_endpoint_and_wait_for_work_request(...)

Calls update_resolver_endpoint() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

update_steering_policy_and_wait_for_state(...)

Calls update_steering_policy() and waits for the SteeringPolicy acted upon to enter the given state(s).

update_steering_policy_and_wait_for_work_request(...)

Calls update_steering_policy() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

update_steering_policy_attachment_and_wait_for_state(...)

Calls update_steering_policy_attachment() and waits for the SteeringPolicyAttachment acted upon to enter the given state(s).

update_steering_policy_attachment_and_wait_for_work_request(...)

Calls update_steering_policy_attachment() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

update_tsig_key_and_wait_for_state(...[, ...])

Calls update_tsig_key() and waits for the TsigKey acted upon to enter the given state(s).

update_tsig_key_and_wait_for_work_request(...)

Calls update_tsig_key() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

update_view_and_wait_for_state(view_id, ...)

Calls update_view() and waits for the View acted upon to enter the given state(s).

update_view_and_wait_for_work_request(...[, ...])

Calls update_view() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

update_zone_and_wait_for_state(...[, ...])

Calls update_zone() and waits for the Zone acted upon to enter the given state(s).

update_zone_and_wait_for_work_request(...[, ...])

Calls update_zone() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

__init__(client, **kwargs)

Creates a new DnsClientCompositeOperations object

Parameters

client (DnsClient) – The service client which will be wrapped by this object

change_resolver_compartment_and_wait_for_work_request(resolver_id, change_resolver_compartment_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls change_resolver_compartment() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • resolver_id (str) – (required) The OCID of the target resolver.

  • change_resolver_compartment_details (oci.dns.models.ChangeResolverCompartmentDetails) – (required) Details for moving a resolver, along with its protected default view and endpoints, into a different compartment.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to change_resolver_compartment()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

change_steering_policy_compartment_and_wait_for_work_request(steering_policy_id, change_steering_policy_compartment_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls change_steering_policy_compartment() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • steering_policy_id (str) – (required) The OCID of the target steering policy.

  • change_steering_policy_compartment_details (oci.dns.models.ChangeSteeringPolicyCompartmentDetails) – (required) Details for moving a steering policy into a different compartment.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to change_steering_policy_compartment()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

change_view_compartment_and_wait_for_work_request(view_id, change_view_compartment_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls change_view_compartment() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • view_id (str) – (required) The OCID of the target view.

  • change_view_compartment_details (oci.dns.models.ChangeViewCompartmentDetails) – (required) Details for moving a view into a different compartment.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to change_view_compartment()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

change_zone_compartment_and_wait_for_work_request(zone_id, change_zone_compartment_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls change_zone_compartment() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • zone_id (str) – (required) The OCID of the target zone.

  • change_zone_compartment_details (oci.dns.models.ChangeZoneCompartmentDetails) – (required) Details for moving a zone into a different compartment.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to change_zone_compartment()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

create_resolver_endpoint_and_wait_for_state(resolver_id, create_resolver_endpoint_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_resolver_endpoint() and waits for the ResolverEndpoint acted upon to enter the given state(s).

Parameters
  • resolver_id (str) – (required) The OCID of the target resolver.

  • create_resolver_endpoint_details (oci.dns.models.CreateResolverEndpointDetails) – (required) Details for creating a new resolver endpoint.

  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_resolver_endpoint()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

create_resolver_endpoint_and_wait_for_work_request(resolver_id, create_resolver_endpoint_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_resolver_endpoint() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • resolver_id (str) – (required) The OCID of the target resolver.

  • create_resolver_endpoint_details (oci.dns.models.CreateResolverEndpointDetails) – (required) Details for creating a new resolver endpoint.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_resolver_endpoint()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

create_steering_policy_and_wait_for_state(create_steering_policy_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_steering_policy() and waits for the SteeringPolicy acted upon to enter the given state(s).

Parameters
  • create_steering_policy_details (oci.dns.models.CreateSteeringPolicyDetails) – (required) Details for creating a new steering policy.

  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_steering_policy()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

create_steering_policy_and_wait_for_work_request(create_steering_policy_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_steering_policy() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • create_steering_policy_details (oci.dns.models.CreateSteeringPolicyDetails) – (required) Details for creating a new steering policy.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_steering_policy()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

create_steering_policy_attachment_and_wait_for_state(create_steering_policy_attachment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_steering_policy_attachment() and waits for the SteeringPolicyAttachment acted upon to enter the given state(s).

Parameters
  • create_steering_policy_attachment_details (oci.dns.models.CreateSteeringPolicyAttachmentDetails) – (required) Details for creating a new steering policy attachment.

  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_steering_policy_attachment()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

create_steering_policy_attachment_and_wait_for_work_request(create_steering_policy_attachment_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_steering_policy_attachment() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • create_steering_policy_attachment_details (oci.dns.models.CreateSteeringPolicyAttachmentDetails) – (required) Details for creating a new steering policy attachment.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_steering_policy_attachment()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

create_tsig_key_and_wait_for_state(create_tsig_key_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_tsig_key() and waits for the TsigKey acted upon to enter the given state(s).

Parameters
  • create_tsig_key_details (oci.dns.models.CreateTsigKeyDetails) – (required) Details for creating a new TSIG key.

  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_tsig_key()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

create_tsig_key_and_wait_for_work_request(create_tsig_key_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_tsig_key() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • create_tsig_key_details (oci.dns.models.CreateTsigKeyDetails) – (required) Details for creating a new TSIG key.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_tsig_key()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

create_view_and_wait_for_state(create_view_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_view() and waits for the View acted upon to enter the given state(s).

Parameters
  • create_view_details (oci.dns.models.CreateViewDetails) – (required) Details for creating a new view.

  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_view()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

create_view_and_wait_for_work_request(create_view_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_view() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • create_view_details (oci.dns.models.CreateViewDetails) – (required) Details for creating a new view.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_view()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

create_zone_and_wait_for_state(create_zone_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_zone() and waits for the Zone acted upon to enter the given state(s).

Parameters
  • create_zone_details (oci.dns.models.CreateZoneBaseDetails) – (required) Details for creating a new zone.

  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_zone()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

create_zone_and_wait_for_work_request(create_zone_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_zone() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • create_zone_details (oci.dns.models.CreateZoneBaseDetails) – (required) Details for creating a new zone.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_zone()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

create_zone_from_zone_file_and_wait_for_work_request(compartment_id, create_zone_from_zone_file_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_zone_from_zone_file() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • compartment_id (str) – (required) The OCID of the compartment the resource belongs to.

  • create_zone_from_zone_file_details (stream) – (required) The zone file contents.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_zone_from_zone_file()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

delete_resolver_endpoint_and_wait_for_work_request(resolver_id, resolver_endpoint_name, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_resolver_endpoint() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • resolver_id (str) – (required) The OCID of the target resolver.

  • resolver_endpoint_name (str) – (required) The name of the target resolver endpoint.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_resolver_endpoint()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

delete_steering_policy_and_wait_for_work_request(steering_policy_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_steering_policy() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • steering_policy_id (str) – (required) The OCID of the target steering policy.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_steering_policy()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

delete_steering_policy_attachment_and_wait_for_work_request(steering_policy_attachment_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_steering_policy_attachment() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • steering_policy_attachment_id (str) – (required) The OCID of the target steering policy attachment.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_steering_policy_attachment()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

delete_tsig_key_and_wait_for_work_request(tsig_key_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_tsig_key() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • tsig_key_id (str) – (required) The OCID of the target TSIG key.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_tsig_key()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

delete_view_and_wait_for_work_request(view_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_view() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • view_id (str) – (required) The OCID of the target view.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_view()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

delete_zone_and_wait_for_work_request(zone_name_or_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_zone() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • zone_name_or_id (str) – (required) The name or OCID of the target zone.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_zone()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

promote_zone_dnssec_key_version_and_wait_for_work_request(zone_id, promote_zone_dnssec_key_version_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls promote_zone_dnssec_key_version() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • zone_id (str) – (required) The OCID of the target zone.

  • promote_zone_dnssec_key_version_details (oci.dns.models.PromoteZoneDnssecKeyVersionDetails) – (required) Details for promoting a DnssecKeyVersion.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to promote_zone_dnssec_key_version()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

stage_zone_dnssec_key_version_and_wait_for_work_request(zone_id, stage_zone_dnssec_key_version_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls stage_zone_dnssec_key_version() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • zone_id (str) – (required) The OCID of the target zone.

  • stage_zone_dnssec_key_version_details (oci.dns.models.StageZoneDnssecKeyVersionDetails) – (required) Details for staging a DnssecKeyVersion.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to stage_zone_dnssec_key_version()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

update_resolver_and_wait_for_state(resolver_id, update_resolver_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_resolver() and waits for the Resolver acted upon to enter the given state(s).

Parameters
  • resolver_id (str) – (required) The OCID of the target resolver.

  • update_resolver_details (oci.dns.models.UpdateResolverDetails) – (required) New data for the resolver.

  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_resolver()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

update_resolver_and_wait_for_work_request(resolver_id, update_resolver_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_resolver() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • resolver_id (str) – (required) The OCID of the target resolver.

  • update_resolver_details (oci.dns.models.UpdateResolverDetails) – (required) New data for the resolver.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_resolver()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

update_resolver_endpoint_and_wait_for_state(resolver_id, resolver_endpoint_name, update_resolver_endpoint_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_resolver_endpoint() and waits for the ResolverEndpoint acted upon to enter the given state(s).

Parameters
  • resolver_id (str) – (required) The OCID of the target resolver.

  • resolver_endpoint_name (str) – (required) The name of the target resolver endpoint.

  • update_resolver_endpoint_details (oci.dns.models.UpdateResolverEndpointDetails) – (required) New data for the resolver endpoint.

  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_resolver_endpoint()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

update_resolver_endpoint_and_wait_for_work_request(resolver_id, resolver_endpoint_name, update_resolver_endpoint_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_resolver_endpoint() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • resolver_id (str) – (required) The OCID of the target resolver.

  • resolver_endpoint_name (str) – (required) The name of the target resolver endpoint.

  • update_resolver_endpoint_details (oci.dns.models.UpdateResolverEndpointDetails) – (required) New data for the resolver endpoint.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_resolver_endpoint()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

update_steering_policy_and_wait_for_state(steering_policy_id, update_steering_policy_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_steering_policy() and waits for the SteeringPolicy acted upon to enter the given state(s).

Parameters
  • steering_policy_id (str) – (required) The OCID of the target steering policy.

  • update_steering_policy_details (oci.dns.models.UpdateSteeringPolicyDetails) – (required) New data for the steering policy.

  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_steering_policy()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

update_steering_policy_and_wait_for_work_request(steering_policy_id, update_steering_policy_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_steering_policy() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • steering_policy_id (str) – (required) The OCID of the target steering policy.

  • update_steering_policy_details (oci.dns.models.UpdateSteeringPolicyDetails) – (required) New data for the steering policy.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_steering_policy()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

update_steering_policy_attachment_and_wait_for_state(steering_policy_attachment_id, update_steering_policy_attachment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_steering_policy_attachment() and waits for the SteeringPolicyAttachment acted upon to enter the given state(s).

Parameters
  • steering_policy_attachment_id (str) – (required) The OCID of the target steering policy attachment.

  • update_steering_policy_attachment_details (oci.dns.models.UpdateSteeringPolicyAttachmentDetails) – (required) New data for the steering policy attachment.

  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_steering_policy_attachment()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

update_steering_policy_attachment_and_wait_for_work_request(steering_policy_attachment_id, update_steering_policy_attachment_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_steering_policy_attachment() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • steering_policy_attachment_id (str) – (required) The OCID of the target steering policy attachment.

  • update_steering_policy_attachment_details (oci.dns.models.UpdateSteeringPolicyAttachmentDetails) – (required) New data for the steering policy attachment.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_steering_policy_attachment()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

update_tsig_key_and_wait_for_state(tsig_key_id, update_tsig_key_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_tsig_key() and waits for the TsigKey acted upon to enter the given state(s).

Parameters
  • tsig_key_id (str) – (required) The OCID of the target TSIG key.

  • update_tsig_key_details (oci.dns.models.UpdateTsigKeyDetails) – (required) New data for the TSIG key.

  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_tsig_key()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

update_tsig_key_and_wait_for_work_request(tsig_key_id, update_tsig_key_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_tsig_key() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • tsig_key_id (str) – (required) The OCID of the target TSIG key.

  • update_tsig_key_details (oci.dns.models.UpdateTsigKeyDetails) – (required) New data for the TSIG key.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_tsig_key()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

update_view_and_wait_for_state(view_id, update_view_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_view() and waits for the View acted upon to enter the given state(s).

Parameters
  • view_id (str) – (required) The OCID of the target view.

  • update_view_details (oci.dns.models.UpdateViewDetails) – (required) New data for the view.

  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_view()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

update_view_and_wait_for_work_request(view_id, update_view_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_view() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • view_id (str) – (required) The OCID of the target view.

  • update_view_details (oci.dns.models.UpdateViewDetails) – (required) New data for the view.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_view()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

update_zone_and_wait_for_state(zone_name_or_id, update_zone_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_zone() and waits for the Zone acted upon to enter the given state(s).

Parameters
  • zone_name_or_id (str) – (required) The name or OCID of the target zone.

  • update_zone_details (oci.dns.models.UpdateZoneDetails) – (required) New data for the zone.

  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_zone()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait

update_zone_and_wait_for_work_request(zone_name_or_id, update_zone_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_zone() and waits for the oci.work_requests.models.WorkRequest to enter the given state(s).

Parameters
  • zone_name_or_id (str) – (required) The name or OCID of the target zone.

  • update_zone_details (oci.dns.models.UpdateZoneDetails) – (required) New data for the zone.

  • work_request_states (list[str]) – (optional) An array of work requests states to wait on. These should be valid values for status Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]

  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_zone()

  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait