import * as pulumi from "@pulumi/pulumi"; /** * Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource. */ export declare class Exclusion extends pulumi.CustomResource { /** * Get an existing Exclusion 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): Exclusion; /** * Returns true if the given object is an instance of Exclusion. 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 Exclusion; /** * The creation timestamp of the exclusion.This field may not be present for older exclusions. */ readonly createTime: pulumi.Output; /** * Optional. A description of this exclusion. */ readonly description: pulumi.Output; /** * Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field. */ readonly disabled: pulumi.Output; /** * An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity; /** * A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * The last update timestamp of the exclusion.This field may not be present for older exclusions. */ readonly updateTime: pulumi.Output; /** * Create a Exclusion 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: ExclusionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Exclusion resource. */ export interface ExclusionArgs { /** * Optional. A description of this exclusion. */ description?: pulumi.Input; /** * Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field. */ disabled?: pulumi.Input; /** * An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity; /** * A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric. */ name?: pulumi.Input; project?: pulumi.Input; }