FleetAppsManagementAdminClientCompositeOperations

class oci.fleet_apps_management.FleetAppsManagementAdminClientCompositeOperations(client, **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, **kwargs) Creates a new FleetAppsManagementAdminClientCompositeOperations object
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 PlatformConfiguration acted upon 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, **kwargs)

Creates a new FleetAppsManagementAdminClientCompositeOperations object

Parameters:client (FleetAppsManagementAdminClient) – The service client which will be wrapped by this object
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 PlatformConfiguration acted upon 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 lifecycle_state
  • 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