import * as pulumi from "@pulumi/pulumi"; /** * Creates a debug session for a deployed API Proxy revision. * Note - this resource's API doesn't support deletion. When deleted, the resource will persist * on Google Cloud even though it will be deleted from Pulumi state. */ export declare class DebugSession extends pulumi.CustomResource { /** * Get an existing DebugSession 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DebugSession; /** * Returns true if the given object is an instance of DebugSession. 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 DebugSession; readonly apiId: pulumi.Output; /** * Optional. The number of request to be traced. Min = 1, Max = 15, Default = 10. */ readonly count: pulumi.Output; /** * The first transaction creation timestamp, recorded by UAP. */ readonly createTime: pulumi.Output; readonly environmentId: pulumi.Output; /** * Optional. A conditional statement which is evaluated against the request message to determine if it should be traced. Syntax matches that of on API Proxy bundle flow Condition. */ readonly filter: pulumi.Output; /** * A unique ID for this DebugSession. */ readonly name: pulumi.Output; readonly organizationId: pulumi.Output; readonly revisionId: pulumi.Output; /** * Optional. The time in seconds after which this DebugSession should end. A timeout specified in DebugSession will overwrite this value. */ readonly timeout: pulumi.Output; /** * Optional. The maximum number of bytes captured from the response payload. Min = 0, Max = 5120, Default = 5120. */ readonly tracesize: pulumi.Output; /** * Optional. The length of time, in seconds, that this debug session is valid, starting from when it's received in the control plane. Min = 1, Max = 15, Default = 10. */ readonly validity: pulumi.Output; /** * Create a DebugSession 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: DebugSessionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DebugSession resource. */ export interface DebugSessionArgs { apiId: pulumi.Input; /** * Optional. The number of request to be traced. Min = 1, Max = 15, Default = 10. */ count?: pulumi.Input; environmentId: pulumi.Input; /** * Optional. A conditional statement which is evaluated against the request message to determine if it should be traced. Syntax matches that of on API Proxy bundle flow Condition. */ filter?: pulumi.Input; /** * A unique ID for this DebugSession. */ name?: pulumi.Input; organizationId: pulumi.Input; revisionId: pulumi.Input; /** * Optional. The time in seconds after which this DebugSession should end. This value will override the value in query param, if both are provided. */ timeout?: pulumi.Input; /** * Optional. The maximum number of bytes captured from the response payload. Min = 0, Max = 5120, Default = 5120. */ tracesize?: pulumi.Input; /** * Optional. The length of time, in seconds, that this debug session is valid, starting from when it's received in the control plane. Min = 1, Max = 15, Default = 10. */ validity?: pulumi.Input; }