NetworkFirewallClientCompositeOperations

class oci.network_firewall.NetworkFirewallClientCompositeOperations(client, **kwargs)

This class provides a wrapper around NetworkFirewallClient 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 NetworkFirewallClientCompositeOperations object
apply_network_firewall_policy_and_wait_for_state(…) Calls apply_network_firewall_policy() and waits for the WorkRequest to enter the given state(s).
bulk_upload_address_lists_and_wait_for_state(…) Calls bulk_upload_address_lists() and waits for the WorkRequest to enter the given state(s).
bulk_upload_application_groups_and_wait_for_state(…) Calls bulk_upload_application_groups() and waits for the WorkRequest to enter the given state(s).
bulk_upload_applications_and_wait_for_state(…) Calls bulk_upload_applications() and waits for the WorkRequest to enter the given state(s).
bulk_upload_decryption_profiles_and_wait_for_state(…) Calls bulk_upload_decryption_profiles() and waits for the WorkRequest to enter the given state(s).
bulk_upload_decryption_rules_and_wait_for_state(…) Calls bulk_upload_decryption_rules() and waits for the WorkRequest to enter the given state(s).
bulk_upload_mapped_secrets_and_wait_for_state(…) Calls bulk_upload_mapped_secrets() and waits for the WorkRequest to enter the given state(s).
bulk_upload_security_rules_and_wait_for_state(…) Calls bulk_upload_security_rules() and waits for the WorkRequest to enter the given state(s).
bulk_upload_service_lists_and_wait_for_state(…) Calls bulk_upload_service_lists() and waits for the WorkRequest to enter the given state(s).
bulk_upload_services_and_wait_for_state(…) Calls bulk_upload_services() and waits for the WorkRequest to enter the given state(s).
bulk_upload_url_lists_and_wait_for_state(…) Calls bulk_upload_url_lists() and waits for the WorkRequest to enter the given state(s).
change_network_firewall_compartment_and_wait_for_state(…) Calls change_network_firewall_compartment() and waits for the WorkRequest to enter the given state(s).
clone_network_firewall_policy_and_wait_for_state(…) Calls clone_network_firewall_policy() and waits for the WorkRequest to enter the given state(s).
create_network_firewall_and_wait_for_state(…) Calls create_network_firewall() and waits for the WorkRequest to enter the given state(s).
create_network_firewall_policy_and_wait_for_state(…) Calls create_network_firewall_policy() and waits for the WorkRequest to enter the given state(s).
delete_network_firewall_and_wait_for_state(…) Calls delete_network_firewall() and waits for the WorkRequest to enter the given state(s).
delete_network_firewall_policy_and_wait_for_state(…) Calls delete_network_firewall_policy() and waits for the WorkRequest to enter the given state(s).
migrate_network_firewall_policy_and_wait_for_state(…) Calls migrate_network_firewall_policy() and waits for the WorkRequest to enter the given state(s).
update_network_firewall_and_wait_for_state(…) Calls update_network_firewall() and waits for the WorkRequest to enter the given state(s).
update_network_firewall_policy_and_wait_for_state(…) Calls update_network_firewall_policy() and waits for the WorkRequest to enter the given state(s).
__init__(client, **kwargs)

Creates a new NetworkFirewallClientCompositeOperations object

Parameters:client (NetworkFirewallClient) – The service client which will be wrapped by this object
apply_network_firewall_policy_and_wait_for_state(network_firewall_policy_id, apply_network_firewall_policy_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls apply_network_firewall_policy() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • network_firewall_policy_id (str) – (required) Unique Network Firewall Policy identifier
  • apply_network_firewall_policy_details (oci.network_firewall.models.ApplyNetworkFirewallPolicyDetails) – (required) The information to be updated.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to apply_network_firewall_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
bulk_upload_address_lists_and_wait_for_state(network_firewall_policy_id, bulk_upload_address_lists_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls bulk_upload_address_lists() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • network_firewall_policy_id (str) – (required) Unique Network Firewall Policy identifier
  • bulk_upload_address_lists_details (stream) – (required) Request Details to create the Address Lists for the Network Firewall Policy Resource.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to bulk_upload_address_lists()
  • 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
bulk_upload_application_groups_and_wait_for_state(network_firewall_policy_id, bulk_upload_application_groups_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls bulk_upload_application_groups() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • network_firewall_policy_id (str) – (required) Unique Network Firewall Policy identifier
  • bulk_upload_application_groups_details (stream) – (required) Request Details to create the Application Group for the Network Firewall Policy Resource.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to bulk_upload_application_groups()
  • 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
bulk_upload_applications_and_wait_for_state(network_firewall_policy_id, bulk_upload_applications_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls bulk_upload_applications() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • network_firewall_policy_id (str) – (required) Unique Network Firewall Policy identifier
  • bulk_upload_applications_details (stream) – (required) Request Details to create the Applications for the Network Firewall Policy Resource.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to bulk_upload_applications()
  • 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
bulk_upload_decryption_profiles_and_wait_for_state(network_firewall_policy_id, bulk_upload_decryption_profiles_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls bulk_upload_decryption_profiles() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • network_firewall_policy_id (str) – (required) Unique Network Firewall Policy identifier
  • bulk_upload_decryption_profiles_details (stream) – (required) Request Details to create the Decryption Profile for the Network Firewall Policy Resource.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to bulk_upload_decryption_profiles()
  • 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
bulk_upload_decryption_rules_and_wait_for_state(network_firewall_policy_id, bulk_upload_decryption_rules_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls bulk_upload_decryption_rules() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • network_firewall_policy_id (str) – (required) Unique Network Firewall Policy identifier
  • bulk_upload_decryption_rules_details (stream) – (required) Request Details to create the Decryption Rule for the Network Firewall Policy Resource.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to bulk_upload_decryption_rules()
  • 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
bulk_upload_mapped_secrets_and_wait_for_state(network_firewall_policy_id, bulk_upload_mapped_secrets_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls bulk_upload_mapped_secrets() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • network_firewall_policy_id (str) – (required) Unique Network Firewall Policy identifier
  • bulk_upload_mapped_secrets_details (stream) – (required) Request Details to create the Mapped Secret for the Network Firewall Policy Resource.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to bulk_upload_mapped_secrets()
  • 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
bulk_upload_security_rules_and_wait_for_state(network_firewall_policy_id, bulk_upload_security_rules_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls bulk_upload_security_rules() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • network_firewall_policy_id (str) – (required) Unique Network Firewall Policy identifier
  • bulk_upload_security_rules_details (stream) – (required) Request Details to create the Security Rule for the Network Firewall Policy Resource.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to bulk_upload_security_rules()
  • 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
bulk_upload_service_lists_and_wait_for_state(network_firewall_policy_id, bulk_upload_service_lists_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls bulk_upload_service_lists() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • network_firewall_policy_id (str) – (required) Unique Network Firewall Policy identifier
  • bulk_upload_service_lists_details (stream) – (required) Request Details to create the Service List for the Network Firewall Policy Resource.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to bulk_upload_service_lists()
  • 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
bulk_upload_services_and_wait_for_state(network_firewall_policy_id, bulk_upload_services_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls bulk_upload_services() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • network_firewall_policy_id (str) – (required) Unique Network Firewall Policy identifier
  • bulk_upload_services_details (stream) – (required) Request Details to create the Services for the Network Firewall Policy Resource.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to bulk_upload_services()
  • 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
bulk_upload_url_lists_and_wait_for_state(network_firewall_policy_id, bulk_upload_url_lists_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls bulk_upload_url_lists() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • network_firewall_policy_id (str) – (required) Unique Network Firewall Policy identifier
  • bulk_upload_url_lists_details (stream) – (required) Request Details to create the Url Lists for the Network Firewall Policy Resource.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to bulk_upload_url_lists()
  • 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_network_firewall_compartment_and_wait_for_state(network_firewall_id, change_network_firewall_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls change_network_firewall_compartment() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • network_firewall_id (str) –

    (required) The OCID of the Network Firewall resource.

  • change_network_firewall_compartment_details (oci.network_firewall.models.ChangeNetworkFirewallCompartmentDetails) – (required) The information to be updated.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to change_network_firewall_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
clone_network_firewall_policy_and_wait_for_state(network_firewall_policy_id, clone_network_firewall_policy_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls clone_network_firewall_policy() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • network_firewall_policy_id (str) – (required) Unique Network Firewall Policy identifier
  • clone_network_firewall_policy_details (oci.network_firewall.models.CloneNetworkFirewallPolicyDetails) – (required) The information to be updated.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to clone_network_firewall_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_network_firewall_and_wait_for_state(create_network_firewall_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_network_firewall() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • create_network_firewall_details (oci.network_firewall.models.CreateNetworkFirewallDetails) – (required) Details for the new NetworkFirewall.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_network_firewall()
  • 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_network_firewall_policy_and_wait_for_state(create_network_firewall_policy_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_network_firewall_policy() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • create_network_firewall_policy_details (oci.network_firewall.models.CreateNetworkFirewallPolicyDetails) – (required) Request Details to create the Network Firewall Policy Resource.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_network_firewall_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_network_firewall_and_wait_for_state(network_firewall_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_network_firewall() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • network_firewall_id (str) –

    (required) The OCID of the Network Firewall resource.

  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_network_firewall()
  • 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_network_firewall_policy_and_wait_for_state(network_firewall_policy_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_network_firewall_policy() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • network_firewall_policy_id (str) – (required) Unique Network Firewall Policy identifier
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_network_firewall_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
migrate_network_firewall_policy_and_wait_for_state(network_firewall_policy_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls migrate_network_firewall_policy() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • network_firewall_policy_id (str) – (required) Unique Network Firewall Policy identifier
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to migrate_network_firewall_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_network_firewall_and_wait_for_state(network_firewall_id, update_network_firewall_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_network_firewall() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • network_firewall_id (str) –

    (required) The OCID of the Network Firewall resource.

  • update_network_firewall_details (oci.network_firewall.models.UpdateNetworkFirewallDetails) – (required) The information to be updated.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_network_firewall()
  • 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_network_firewall_policy_and_wait_for_state(network_firewall_policy_id, update_network_firewall_policy_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_network_firewall_policy() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • network_firewall_policy_id (str) – (required) Unique Network Firewall Policy identifier
  • update_network_firewall_policy_details (oci.network_firewall.models.UpdateNetworkFirewallPolicyDetails) – (required) The information to be updated.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_network_firewall_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