CertificatesManagementClientCompositeOperations

class oci.certificates_management.CertificatesManagementClientCompositeOperations(client, **kwargs)

This class provides a wrapper around CertificatesManagementClient 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 CertificatesManagementClientCompositeOperations object
create_ca_bundle_and_wait_for_state(…[, …]) Calls create_ca_bundle() and waits for the CaBundle acted upon to enter the given state(s).
create_certificate_and_wait_for_state(…[, …]) Calls create_certificate() and waits for the Certificate acted upon to enter the given state(s).
create_certificate_authority_and_wait_for_state(…) Calls create_certificate_authority() and waits for the CertificateAuthority acted upon to enter the given state(s).
delete_ca_bundle_and_wait_for_state(ca_bundle_id) Calls delete_ca_bundle() and waits for the CaBundle acted upon to enter the given state(s).
update_ca_bundle_and_wait_for_state(…[, …]) Calls update_ca_bundle() and waits for the CaBundle acted upon to enter the given state(s).
update_certificate_and_wait_for_state(…[, …]) Calls update_certificate() and waits for the Certificate acted upon to enter the given state(s).
update_certificate_authority_and_wait_for_state(…) Calls update_certificate_authority() and waits for the CertificateAuthority acted upon to enter the given state(s).
__init__(client, **kwargs)

Creates a new CertificatesManagementClientCompositeOperations object

Parameters:client (CertificatesManagementClient) – The service client which will be wrapped by this object
create_ca_bundle_and_wait_for_state(create_ca_bundle_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_ca_bundle() and waits for the CaBundle acted upon to enter the given state(s).

Parameters:
  • create_ca_bundle_details (oci.certificates_management.models.CreateCaBundleDetails) – (required) The details of the request to create a new CA bundle.
  • 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_ca_bundle()
  • 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_certificate_and_wait_for_state(create_certificate_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_certificate() and waits for the Certificate acted upon to enter the given state(s).

Parameters:
  • create_certificate_details (oci.certificates_management.models.CreateCertificateDetails) – (required) The details of the request to create a new certificate.
  • 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_certificate()
  • 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_certificate_authority_and_wait_for_state(create_certificate_authority_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_certificate_authority() and waits for the CertificateAuthority acted upon to enter the given state(s).

Parameters:
  • create_certificate_authority_details (oci.certificates_management.models.CreateCertificateAuthorityDetails) – (required) The details of the request to create a new CA.
  • 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_certificate_authority()
  • 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_ca_bundle_and_wait_for_state(ca_bundle_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_ca_bundle() and waits for the CaBundle acted upon to enter the given state(s).

Parameters:
  • ca_bundle_id (str) – (required) The OCID of the CA bundle.
  • 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 delete_ca_bundle()
  • 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_ca_bundle_and_wait_for_state(ca_bundle_id, update_ca_bundle_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_ca_bundle() and waits for the CaBundle acted upon to enter the given state(s).

Parameters:
  • ca_bundle_id (str) – (required) The OCID of the CA bundle.
  • update_ca_bundle_details (oci.certificates_management.models.UpdateCaBundleDetails) – (required) The details of the request to update a CA bundle.
  • 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_ca_bundle()
  • 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_certificate_and_wait_for_state(certificate_id, update_certificate_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_certificate() and waits for the Certificate acted upon to enter the given state(s).

Parameters:
  • certificate_id (str) – (required) The OCID of the certificate.
  • update_certificate_details (oci.certificates_management.models.UpdateCertificateDetails) – (required) The details of the request to update a certificate.
  • 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_certificate()
  • 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_certificate_authority_and_wait_for_state(certificate_authority_id, update_certificate_authority_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_certificate_authority() and waits for the CertificateAuthority acted upon to enter the given state(s).

Parameters:
  • certificate_authority_id (str) – (required) The OCID of the certificate authority (CA).
  • update_certificate_authority_details (oci.certificates_management.models.UpdateCertificateAuthorityDetails) – (required) The details of the request to update a CA.
  • 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_certificate_authority()
  • 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