/** * Cloud Guard and Security Zones API * Use the Cloud Guard and Security Zones API to automate processes that you would otherwise perform through the Cloud Guard Console or the Security Zones Console. For more information on these services, see the [Cloud Guard](https://docs.oracle.com/iaas/cloud-guard/home.htm) and [Security Zones](https://docs.oracle.com/iaas/security-zone/home.htm) documentation. **Note:** For Cloud Guard, you can perform Create, Update, and Delete operations only from the reporting region of your Cloud Guard tenancy. You can perform Read operations from any region. * OpenAPI spec version: 20200131 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as serviceRequests from "./request"; import * as serviceResponses from "./response"; import * as models from "./model"; import { CloudGuardClient } from "./client"; export declare class CloudGuardWaiter { private client; private readonly config?; constructor(client: CloudGuardClient, config?: Partial | undefined); /** * Waits forAdhocQuery till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetAdhocQueryResponse | null (null in case of 404 response) */ forAdhocQuery(request: serviceRequests.GetAdhocQueryRequest, ...targetStates: models.LifecycleState[]): Promise; /** * Waits forDataMaskRule till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetDataMaskRuleResponse | null (null in case of 404 response) */ forDataMaskRule(request: serviceRequests.GetDataMaskRuleRequest, ...targetStates: models.LifecycleState[]): Promise; /** * Waits forDataSource till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetDataSourceResponse | null (null in case of 404 response) */ forDataSource(request: serviceRequests.GetDataSourceRequest, ...targetStates: models.LifecycleState[]): Promise; /** * Waits forDetector till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetDetectorResponse | null (null in case of 404 response) */ forDetector(request: serviceRequests.GetDetectorRequest, ...targetStates: models.LifecycleState[]): Promise; /** * Waits forDetectorRecipe till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetDetectorRecipeResponse | null (null in case of 404 response) */ forDetectorRecipe(request: serviceRequests.GetDetectorRecipeRequest, ...targetStates: models.LifecycleState[]): Promise; /** * Waits forDetectorRecipeDetectorRule till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetDetectorRecipeDetectorRuleResponse | null (null in case of 404 response) */ forDetectorRecipeDetectorRule(request: serviceRequests.GetDetectorRecipeDetectorRuleRequest, ...targetStates: models.LifecycleState[]): Promise; /** * Waits forDetectorRule till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetDetectorRuleResponse | null (null in case of 404 response) */ forDetectorRule(request: serviceRequests.GetDetectorRuleRequest, ...targetStates: models.LifecycleState[]): Promise; /** * Waits forManagedList till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetManagedListResponse | null (null in case of 404 response) */ forManagedList(request: serviceRequests.GetManagedListRequest, ...targetStates: models.LifecycleState[]): Promise; /** * Waits forProblem till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetProblemResponse */ forProblem(request: serviceRequests.GetProblemRequest, ...targetStates: models.ProblemLifecycleState[]): Promise; /** * Waits forResponderRecipe till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetResponderRecipeResponse | null (null in case of 404 response) */ forResponderRecipe(request: serviceRequests.GetResponderRecipeRequest, ...targetStates: models.LifecycleState[]): Promise; /** * Waits forResponderRecipeResponderRule till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetResponderRecipeResponderRuleResponse | null (null in case of 404 response) */ forResponderRecipeResponderRule(request: serviceRequests.GetResponderRecipeResponderRuleRequest, ...targetStates: models.LifecycleState[]): Promise; /** * Waits forResponderRule till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetResponderRuleResponse | null (null in case of 404 response) */ forResponderRule(request: serviceRequests.GetResponderRuleRequest, ...targetStates: models.LifecycleState[]): Promise; /** * Waits forSavedQuery till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetSavedQueryResponse | null (null in case of 404 response) */ forSavedQuery(request: serviceRequests.GetSavedQueryRequest, ...targetStates: models.LifecycleState[]): Promise; /** * Waits forSecurityPolicy till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetSecurityPolicyResponse | null (null in case of 404 response) */ forSecurityPolicy(request: serviceRequests.GetSecurityPolicyRequest, ...targetStates: models.LifecycleState[]): Promise; /** * Waits forSecurityRecipe till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetSecurityRecipeResponse | null (null in case of 404 response) */ forSecurityRecipe(request: serviceRequests.GetSecurityRecipeRequest, ...targetStates: models.LifecycleState[]): Promise; /** * Waits forSecurityZone till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetSecurityZoneResponse | null (null in case of 404 response) */ forSecurityZone(request: serviceRequests.GetSecurityZoneRequest, ...targetStates: models.LifecycleState[]): Promise; /** * Waits forTarget till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetTargetResponse | null (null in case of 404 response) */ forTarget(request: serviceRequests.GetTargetRequest, ...targetStates: models.LifecycleState[]): Promise; /** * Waits forTargetDetectorRecipe till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetTargetDetectorRecipeResponse | null (null in case of 404 response) */ forTargetDetectorRecipe(request: serviceRequests.GetTargetDetectorRecipeRequest, ...targetStates: models.LifecycleState[]): Promise; /** * Waits forTargetDetectorRecipeDetectorRule till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetTargetDetectorRecipeDetectorRuleResponse | null (null in case of 404 response) */ forTargetDetectorRecipeDetectorRule(request: serviceRequests.GetTargetDetectorRecipeDetectorRuleRequest, ...targetStates: models.LifecycleState[]): Promise; /** * Waits forTargetResponderRecipeResponderRule till it reaches any of the provided states * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states * @return response returns GetTargetResponderRecipeResponderRuleResponse | null (null in case of 404 response) */ forTargetResponderRecipeResponderRule(request: serviceRequests.GetTargetResponderRecipeResponderRuleRequest, ...targetStates: models.LifecycleState[]): Promise; /** * Waits forWorkRequest * * @param request the request to send * @return response returns GetWorkRequestResponse */ forWorkRequest(request: serviceRequests.GetWorkRequestRequest): Promise; }