import * as pulumi from "@pulumi/pulumi"; /** * Represents a sharedflow attachment to a flowhook point. * * To get more information about Flowhook, see: * * * [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.flowhooks#FlowHook) * * How-to Guides * * [organizations.environments.flowhooks](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.flowhooks#FlowHook) * * ## Import * * Flowhook can be imported using any of these accepted formats: * * * `organizations/{{org_id}}/environments/{{environment}}/flowhooks/{{flow_hook_point}}` * * * `{{org_id}}/{{environment}}/{{flow_hook_point}}` * * When using the `pulumi import` command, Flowhook can be imported using one of the formats above. For example: * * ```sh * $ pulumi import gcp:apigee/flowhook:Flowhook default organizations/{{org_id}}/environments/{{environment}}/flowhooks/{{flow_hook_point}} * ``` * * ```sh * $ pulumi import gcp:apigee/flowhook:Flowhook default {{org_id}}/{{environment}}/{{flow_hook_point}} * ``` */ export declare class Flowhook extends pulumi.CustomResource { /** * Get an existing Flowhook resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: FlowhookState, opts?: pulumi.CustomResourceOptions): Flowhook; /** * Returns true if the given object is an instance of Flowhook. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Flowhook; /** * Flag that specifies whether execution should continue if the flow hook throws an exception. Set to true to continue execution. Set to false to stop execution if the flow hook throws an exception. Defaults to true. */ readonly continueOnError: pulumi.Output; /** * Description of the flow hook. */ readonly description: pulumi.Output; /** * The resource ID of the environment. */ readonly environment: pulumi.Output; /** * Where in the API call flow the flow hook is invoked. Must be one of PreProxyFlowHook, PostProxyFlowHook, PreTargetFlowHook, or PostTargetFlowHook. */ readonly flowHookPoint: pulumi.Output; /** * The Apigee Organization associated with the environment */ readonly orgId: pulumi.Output; /** * Id of the Sharedflow attaching to a flowhook point. */ readonly sharedflow: pulumi.Output; /** * Create a Flowhook resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: FlowhookArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Flowhook resources. */ export interface FlowhookState { /** * Flag that specifies whether execution should continue if the flow hook throws an exception. Set to true to continue execution. Set to false to stop execution if the flow hook throws an exception. Defaults to true. */ continueOnError?: pulumi.Input; /** * Description of the flow hook. */ description?: pulumi.Input; /** * The resource ID of the environment. */ environment?: pulumi.Input; /** * Where in the API call flow the flow hook is invoked. Must be one of PreProxyFlowHook, PostProxyFlowHook, PreTargetFlowHook, or PostTargetFlowHook. */ flowHookPoint?: pulumi.Input; /** * The Apigee Organization associated with the environment */ orgId?: pulumi.Input; /** * Id of the Sharedflow attaching to a flowhook point. */ sharedflow?: pulumi.Input; } /** * The set of arguments for constructing a Flowhook resource. */ export interface FlowhookArgs { /** * Flag that specifies whether execution should continue if the flow hook throws an exception. Set to true to continue execution. Set to false to stop execution if the flow hook throws an exception. Defaults to true. */ continueOnError?: pulumi.Input; /** * Description of the flow hook. */ description?: pulumi.Input; /** * The resource ID of the environment. */ environment: pulumi.Input; /** * Where in the API call flow the flow hook is invoked. Must be one of PreProxyFlowHook, PostProxyFlowHook, PreTargetFlowHook, or PostTargetFlowHook. */ flowHookPoint: pulumi.Input; /** * The Apigee Organization associated with the environment */ orgId: pulumi.Input; /** * Id of the Sharedflow attaching to a flowhook point. */ sharedflow: pulumi.Input; }