def delete_resource(self): return oci_wait_utils.call_and_wait( call_fn=self.client.delete_budget, call_fn_args=(), call_fn_kwargs=dict(budget_id=self.module.params.get("budget_id")), waiter_type=oci_wait_utils.LIFECYCLE_STATE_WAITER_KEY, operation=oci_common_utils.DELETE_OPERATION_KEY, waiter_client=self.client, resource_helper=self, wait_for_states=self.module.params.get("wait_until") or oci_common_utils.get_resource_terminated_states(), )
def delete_resource(self): return oci_wait_utils.call_and_wait( call_fn=self.client.delete_auto_scaling_configuration, call_fn_args=(), call_fn_kwargs=dict(auto_scaling_configuration_id=self.module. params.get("auto_scaling_configuration_id")), waiter_type=oci_wait_utils.NONE_WAITER_KEY, operation=oci_common_utils.DELETE_OPERATION_KEY, waiter_client=self.client, resource_helper=self, wait_for_states=self.module.params.get("wait_until") or oci_common_utils.get_resource_terminated_states(), )
def delete_resource(self): return oci_wait_utils.call_and_wait( call_fn=self.client.delete_api_key, call_fn_args=(), call_fn_kwargs=dict( user_id=self.module.params.get("user_id"), fingerprint=self.module.params.get("fingerprint"), ), type=oci_wait_utils.NONE_WAITER_KEY, operation=oci_common_utils.DELETE_OPERATION_KEY, waiter_client=self.client, resource_helper=self, wait_for_states=self.module.params.get("wait_until") or oci_common_utils.get_resource_terminated_states(), )
def delete_resource(self): return oci_wait_utils.call_and_wait( call_fn=self.client.delete_object_lifecycle_policy, call_fn_args=(), call_fn_kwargs=dict( namespace_name=self.module.params.get("namespace_name"), bucket_name=self.module.params.get("bucket_name"), ), waiter_type=oci_wait_utils.NONE_WAITER_KEY, operation=oci_common_utils.DELETE_OPERATION_KEY, waiter_client=self.client, resource_helper=self, wait_for_states=self.module.params.get("wait_until") or oci_common_utils.get_resource_terminated_states(), )