FleetAppsManagementAdminClientCompositeOperations

class oci.fleet_apps_management.FleetAppsManagementAdminClientCompositeOperations(client, work_request_clients=None, **kwargs)

This class provides a wrapper around FleetAppsManagementAdminClient 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[, work_request_clients])

Creates a new FleetAppsManagementAdminClientCompositeOperations object

change_platform_configuration_compartment_and_wait_for_state(...)

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

change_property_compartment_and_wait_for_state(...)

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

create_compliance_policy_rule_and_wait_for_state(...)

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

create_onboarding_and_wait_for_state(...[, ...])

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

create_platform_configuration_and_wait_for_state(...)

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

delete_compliance_policy_rule_and_wait_for_state(...)

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

delete_onboarding_and_wait_for_state(...[, ...])

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

delete_platform_configuration_and_wait_for_state(...)

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

delete_property_and_wait_for_state(property_id)

Calls delete_property() and waits for the ModelProperty acted upon to enter the given state(s).

update_compliance_policy_rule_and_wait_for_state(...)

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

update_onboarding_and_wait_for_state(...[, ...])

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

update_platform_configuration_and_wait_for_state(...)

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

__init__(client, work_request_clients=None, **kwargs)

Creates a new FleetAppsManagementAdminClientCompositeOperations object

Parameters
  • client (FleetAppsManagementAdminClient) – The service client which will be wrapped by this object

  • work_request_clients (dict) –

    (optional) Service-local clients keyed by generated client class name, for example {'WorkRequestClient': work_request_client}. By default, regional clients are created when needed using the wrapped client’s signer, endpoint and constructor options.

    Automatically created work-request clients are cached. Before each wait, their endpoint and signer are refreshed from the wrapped client; other client settings and HTTP session changes are not synchronized. Do not modify the wrapped client’s endpoint or signer while a wait is in progress.

    Supply a client for non-regional endpoints or customized HTTP sessions. These clients are separate from the shared Work Requests service.

change_platform_configuration_compartment_and_wait_for_state(platform_configuration_id, change_platform_configuration_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • platform_configuration_id (str) – (required) unique PlatformConfiguration identifier

  • change_platform_configuration_compartment_details (oci.fleet_apps_management.models.ChangePlatformConfigurationCompartmentDetails) – (required) Details of the target compartment.

  • 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_platform_configuration_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_property_compartment_and_wait_for_state(property_id, change_property_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • property_id (str) – (required) unique Property identifier

  • change_property_compartment_details (oci.fleet_apps_management.models.ChangePropertyCompartmentDetails) – (required) Details of the target compartment.

  • 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_property_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_compliance_policy_rule_and_wait_for_state(create_compliance_policy_rule_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • create_compliance_policy_rule_details (oci.fleet_apps_management.models.CreateCompliancePolicyRuleDetails) – (required) Details for the new CompliancePolicyRule.

  • 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_compliance_policy_rule()

  • 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_onboarding_and_wait_for_state(create_onboarding_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • create_onboarding_details (oci.fleet_apps_management.models.CreateOnboardingDetails) – (required) Details for onboarding Fleet Application Management.

  • 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_onboarding()

  • 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_platform_configuration_and_wait_for_state(create_platform_configuration_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • create_platform_configuration_details (oci.fleet_apps_management.models.CreatePlatformConfigurationDetails) – (required) Details for the new PlatformConfiguration.

  • 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_platform_configuration()

  • 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_compliance_policy_rule_and_wait_for_state(compliance_policy_rule_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • compliance_policy_rule_id (str) – (required) unique CompliancePolicyRule 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_compliance_policy_rule()

  • 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_onboarding_and_wait_for_state(onboarding_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • onboarding_id (str) – (required) A filter to return resources whose Onboarding identifier matches the given 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_onboarding()

  • 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_platform_configuration_and_wait_for_state(platform_configuration_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • platform_configuration_id (str) – (required) unique PlatformConfiguration 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_platform_configuration()

  • 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_property_and_wait_for_state(property_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_property() and waits for the ModelProperty acted upon to enter the given state(s).

Parameters
  • property_id (str) – (required) unique Property identifier

  • 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_property()

  • 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_compliance_policy_rule_and_wait_for_state(compliance_policy_rule_id, update_compliance_policy_rule_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • compliance_policy_rule_id (str) – (required) unique CompliancePolicyRule identifier.

  • update_compliance_policy_rule_details (oci.fleet_apps_management.models.UpdateCompliancePolicyRuleDetails) – (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_compliance_policy_rule()

  • 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_onboarding_and_wait_for_state(onboarding_id, update_onboarding_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • onboarding_id (str) – (required) A filter to return resources whose Onboarding identifier matches the given identifier.

  • update_onboarding_details (oci.fleet_apps_management.models.UpdateOnboardingDetails) – (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_onboarding()

  • 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_platform_configuration_and_wait_for_state(platform_configuration_id, update_platform_configuration_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • platform_configuration_id (str) – (required) unique PlatformConfiguration identifier

  • update_platform_configuration_details (oci.fleet_apps_management.models.UpdatePlatformConfigurationDetails) – (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_platform_configuration()

  • 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