Module logging

@pulumi/gcp > logging

Index

logging/billingAccountExclusion.ts logging/billingAccountSink.ts logging/folderExclusion.ts logging/folderSink.ts logging/organizationExclusion.ts logging/organizationSink.ts logging/projectExclusion.ts logging/projectSink.ts

class BillingAccountExclusion

Manages a billing account logging exclusion. For more information see the official documentation and Excluding Logs.

Note that you must have the “Logs Configuration Writer” IAM role (roles/logging.configWriter) granted to the credentials used with Terraform.

constructor

new BillingAccountExclusion(name: string, args: BillingAccountExclusionArgs, opts?: pulumi.CustomResourceOptions)

Create a BillingAccountExclusion resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BillingAccountExclusionState): BillingAccountExclusion

Get an existing BillingAccountExclusion resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property billingAccount

public billingAccount: pulumi.Output<string>;

The billing account to create the exclusion for.

property description

public description: pulumi.Output<string | undefined>;

A human-readable description.

property disabled

public disabled: pulumi.Output<boolean | undefined>;

Whether this exclusion rule should be disabled or not. This defaults to false.

property filter

public filter: pulumi.Output<string>;

The filter to apply when excluding logs. Only log entries that match the filter are excluded. See Advanced Log Filters for information on how to write a filter.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the logging exclusion.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class BillingAccountSink

Manages a billing account logging sink. For more information see the official documentation and Exporting Logs in the API.

~> Note You must have the “Logs Configuration Writer” IAM role (roles/logging.configWriter) granted on the billing account to the credentials used with Terraform. IAM roles granted on a billing account are separate from the typical IAM roles granted on a project.

constructor

new BillingAccountSink(name: string, args: BillingAccountSinkArgs, opts?: pulumi.CustomResourceOptions)

Create a BillingAccountSink resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BillingAccountSinkState): BillingAccountSink

Get an existing BillingAccountSink resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property billingAccount

public billingAccount: pulumi.Output<string>;

The billing account exported to the sink.

property destination

public destination: pulumi.Output<string>;

The destination of the sink (or, in other words, where logs are written to). Can be a Cloud Storage bucket, a PubSub topic, or a BigQuery dataset. Examples:

"storage.googleapis.com/[GCS_BUCKET]"
"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"

The writer associated with the sink must have access to write to the above resource.

property filter

public filter: pulumi.Output<string | undefined>;

The filter to apply when exporting logs. Only log entries that match the filter are exported. See Advanced Log Filters for information on how to write a filter.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the logging sink.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property writerIdentity

public writerIdentity: pulumi.Output<string>;

The identity associated with this sink. This identity must be granted write access to the configured destination.

class FolderExclusion

Manages a folder-level logging exclusion. For more information see the official documentation and Excluding Logs.

Note that you must have the “Logs Configuration Writer” IAM role (roles/logging.configWriter) granted to the credentials used with Terraform.

constructor

new FolderExclusion(name: string, args: FolderExclusionArgs, opts?: pulumi.CustomResourceOptions)

Create a FolderExclusion resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FolderExclusionState): FolderExclusion

Get an existing FolderExclusion resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property description

public description: pulumi.Output<string | undefined>;

A human-readable description.

property disabled

public disabled: pulumi.Output<boolean | undefined>;

Whether this exclusion rule should be disabled or not. This defaults to false.

property filter

public filter: pulumi.Output<string>;

The filter to apply when excluding logs. Only log entries that match the filter are excluded. See Advanced Log Filters for information on how to write a filter.

property folder

public folder: pulumi.Output<string>;

The folder to be exported to the sink. Note that either [FOLDER_ID] or “folders/[FOLDER_ID]” is accepted.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the logging exclusion.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class FolderSink

Manages a folder-level logging sink. For more information see the official documentation and Exporting Logs in the API.

Note that you must have the “Logs Configuration Writer” IAM role (roles/logging.configWriter) granted to the credentials used with terraform.

constructor

new FolderSink(name: string, args: FolderSinkArgs, opts?: pulumi.CustomResourceOptions)

Create a FolderSink resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FolderSinkState): FolderSink

Get an existing FolderSink resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property destination

public destination: pulumi.Output<string>;

The destination of the sink (or, in other words, where logs are written to). Can be a Cloud Storage bucket, a PubSub topic, or a BigQuery dataset. Examples:

"storage.googleapis.com/[GCS_BUCKET]"
"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"

The writer associated with the sink must have access to write to the above resource.

property filter

public filter: pulumi.Output<string | undefined>;

The filter to apply when exporting logs. Only log entries that match the filter are exported. See Advanced Log Filters for information on how to write a filter.

property folder

public folder: pulumi.Output<string>;

The folder to be exported to the sink. Note that either [FOLDER_ID] or “folders/[FOLDER_ID]” is accepted.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property includeChildren

public includeChildren: pulumi.Output<boolean | undefined>;

Whether or not to include children folders in the sink export. If true, logs associated with child projects are also exported; otherwise only logs relating to the provided folder are included.

property name

public name: pulumi.Output<string>;

The name of the logging sink.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property writerIdentity

public writerIdentity: pulumi.Output<string>;

The identity associated with this sink. This identity must be granted write access to the configured destination.

class OrganizationExclusion

Manages an organization-level logging exclusion. For more information see the official documentation and Excluding Logs.

Note that you must have the “Logs Configuration Writer” IAM role (roles/logging.configWriter) granted to the credentials used with Terraform.

constructor

new OrganizationExclusion(name: string, args: OrganizationExclusionArgs, opts?: pulumi.CustomResourceOptions)

Create a OrganizationExclusion resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OrganizationExclusionState): OrganizationExclusion

Get an existing OrganizationExclusion resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property description

public description: pulumi.Output<string | undefined>;

A human-readable description.

property disabled

public disabled: pulumi.Output<boolean | undefined>;

Whether this exclusion rule should be disabled or not. This defaults to false.

property filter

public filter: pulumi.Output<string>;

The filter to apply when excluding logs. Only log entries that match the filter are excluded. See Advanced Log Filters for information on how to write a filter.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the logging exclusion.

property orgId

public orgId: pulumi.Output<string>;

The organization to create the exclusion in.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class OrganizationSink

Manages a organization-level logging sink. For more information see the official documentation and Exporting Logs in the API.

Note that you must have the “Logs Configuration Writer” IAM role (roles/logging.configWriter) granted to the credentials used with terraform.

constructor

new OrganizationSink(name: string, args: OrganizationSinkArgs, opts?: pulumi.CustomResourceOptions)

Create a OrganizationSink resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OrganizationSinkState): OrganizationSink

Get an existing OrganizationSink resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property destination

public destination: pulumi.Output<string>;

The destination of the sink (or, in other words, where logs are written to). Can be a Cloud Storage bucket, a PubSub topic, or a BigQuery dataset. Examples:

"storage.googleapis.com/[GCS_BUCKET]"
"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"

The writer associated with the sink must have access to write to the above resource.

property filter

public filter: pulumi.Output<string | undefined>;

The filter to apply when exporting logs. Only log entries that match the filter are exported. See Advanced Log Filters for information on how to write a filter.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property includeChildren

public includeChildren: pulumi.Output<boolean | undefined>;

Whether or not to include children organizations in the sink export. If true, logs associated with child projects are also exported; otherwise only logs relating to the provided organization are included.

property name

public name: pulumi.Output<string>;

The name of the logging sink.

property orgId

public orgId: pulumi.Output<string>;

The numeric ID of the organization to be exported to the sink.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property writerIdentity

public writerIdentity: pulumi.Output<string>;

The identity associated with this sink. This identity must be granted write access to the configured destination.

class ProjectExclusion

Manages a project-level logging exclusion. For more information see the official documentation and Excluding Logs.

Note that you must have the “Logs Configuration Writer” IAM role (roles/logging.configWriter) granted to the credentials used with Terraform.

constructor

new ProjectExclusion(name: string, args: ProjectExclusionArgs, opts?: pulumi.CustomResourceOptions)

Create a ProjectExclusion resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectExclusionState): ProjectExclusion

Get an existing ProjectExclusion resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property description

public description: pulumi.Output<string | undefined>;

A human-readable description.

property disabled

public disabled: pulumi.Output<boolean | undefined>;

Whether this exclusion rule should be disabled or not. This defaults to false.

property filter

public filter: pulumi.Output<string>;

The filter to apply when excluding logs. Only log entries that match the filter are excluded. See Advanced Log Filters for information on how to write a filter.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the logging exclusion.

property project

public project: pulumi.Output<string>;

The project to create the exclusion in. If omitted, the project associated with the provider is used.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class ProjectSink

Manages a project-level logging sink. For more information see the official documentation, Exporting Logs in the API and API.

~> Note: You must have granted the “Logs Configuration Writer” IAM role (roles/logging.configWriter) to the credentials used with terraform.

~> Note You must enable the Cloud Resource Manager API

constructor

new ProjectSink(name: string, args: ProjectSinkArgs, opts?: pulumi.CustomResourceOptions)

Create a ProjectSink resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectSinkState): ProjectSink

Get an existing ProjectSink resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property destination

public destination: pulumi.Output<string>;

The destination of the sink (or, in other words, where logs are written to). Can be a Cloud Storage bucket, a PubSub topic, or a BigQuery dataset. Examples:

"storage.googleapis.com/[GCS_BUCKET]"
"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"

The writer associated with the sink must have access to write to the above resource.

property filter

public filter: pulumi.Output<string | undefined>;

The filter to apply when exporting logs. Only log entries that match the filter are exported. See Advanced Log Filters for information on how to write a filter.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The name of the logging sink.

property project

public project: pulumi.Output<string>;

The ID of the project to create the sink in. If omitted, the project associated with the provider is used.

property uniqueWriterIdentity

public uniqueWriterIdentity: pulumi.Output<boolean | undefined>;

Whether or not to create a unique identity associated with this sink. If false (the default), then the writer_identity used is serviceAccount:cloud-logs@system.gserviceaccount.com. If true, then a unique service account is created and used for this sink. If you wish to publish logs across projects, you must set unique_writer_identity to true.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property writerIdentity

public writerIdentity: pulumi.Output<string>;

The identity associated with this sink. This identity must be granted write access to the configured destination.

interface BillingAccountExclusionArgs

The set of arguments for constructing a BillingAccountExclusion resource.

property billingAccount

billingAccount: pulumi.Input<string>;

The billing account to create the exclusion for.

property description

description?: pulumi.Input<string>;

A human-readable description.

property disabled

disabled?: pulumi.Input<boolean>;

Whether this exclusion rule should be disabled or not. This defaults to false.

property filter

filter: pulumi.Input<string>;

The filter to apply when excluding logs. Only log entries that match the filter are excluded. See Advanced Log Filters for information on how to write a filter.

property name

name?: pulumi.Input<string>;

The name of the logging exclusion.

interface BillingAccountExclusionState

Input properties used for looking up and filtering BillingAccountExclusion resources.

property billingAccount

billingAccount?: pulumi.Input<string>;

The billing account to create the exclusion for.

property description

description?: pulumi.Input<string>;

A human-readable description.

property disabled

disabled?: pulumi.Input<boolean>;

Whether this exclusion rule should be disabled or not. This defaults to false.

property filter

filter?: pulumi.Input<string>;

The filter to apply when excluding logs. Only log entries that match the filter are excluded. See Advanced Log Filters for information on how to write a filter.

property name

name?: pulumi.Input<string>;

The name of the logging exclusion.

interface BillingAccountSinkArgs

The set of arguments for constructing a BillingAccountSink resource.

property billingAccount

billingAccount: pulumi.Input<string>;

The billing account exported to the sink.

property destination

destination: pulumi.Input<string>;

The destination of the sink (or, in other words, where logs are written to). Can be a Cloud Storage bucket, a PubSub topic, or a BigQuery dataset. Examples:

"storage.googleapis.com/[GCS_BUCKET]"
"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"

The writer associated with the sink must have access to write to the above resource.

property filter

filter?: pulumi.Input<string>;

The filter to apply when exporting logs. Only log entries that match the filter are exported. See Advanced Log Filters for information on how to write a filter.

property name

name?: pulumi.Input<string>;

The name of the logging sink.

interface BillingAccountSinkState

Input properties used for looking up and filtering BillingAccountSink resources.

property billingAccount

billingAccount?: pulumi.Input<string>;

The billing account exported to the sink.

property destination

destination?: pulumi.Input<string>;

The destination of the sink (or, in other words, where logs are written to). Can be a Cloud Storage bucket, a PubSub topic, or a BigQuery dataset. Examples:

"storage.googleapis.com/[GCS_BUCKET]"
"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"

The writer associated with the sink must have access to write to the above resource.

property filter

filter?: pulumi.Input<string>;

The filter to apply when exporting logs. Only log entries that match the filter are exported. See Advanced Log Filters for information on how to write a filter.

property name

name?: pulumi.Input<string>;

The name of the logging sink.

property writerIdentity

writerIdentity?: pulumi.Input<string>;

The identity associated with this sink. This identity must be granted write access to the configured destination.

interface FolderExclusionArgs

The set of arguments for constructing a FolderExclusion resource.

property description

description?: pulumi.Input<string>;

A human-readable description.

property disabled

disabled?: pulumi.Input<boolean>;

Whether this exclusion rule should be disabled or not. This defaults to false.

property filter

filter: pulumi.Input<string>;

The filter to apply when excluding logs. Only log entries that match the filter are excluded. See Advanced Log Filters for information on how to write a filter.

property folder

folder: pulumi.Input<string>;

The folder to be exported to the sink. Note that either [FOLDER_ID] or “folders/[FOLDER_ID]” is accepted.

property name

name?: pulumi.Input<string>;

The name of the logging exclusion.

interface FolderExclusionState

Input properties used for looking up and filtering FolderExclusion resources.

property description

description?: pulumi.Input<string>;

A human-readable description.

property disabled

disabled?: pulumi.Input<boolean>;

Whether this exclusion rule should be disabled or not. This defaults to false.

property filter

filter?: pulumi.Input<string>;

The filter to apply when excluding logs. Only log entries that match the filter are excluded. See Advanced Log Filters for information on how to write a filter.

property folder

folder?: pulumi.Input<string>;

The folder to be exported to the sink. Note that either [FOLDER_ID] or “folders/[FOLDER_ID]” is accepted.

property name

name?: pulumi.Input<string>;

The name of the logging exclusion.

interface FolderSinkArgs

The set of arguments for constructing a FolderSink resource.

property destination

destination: pulumi.Input<string>;

The destination of the sink (or, in other words, where logs are written to). Can be a Cloud Storage bucket, a PubSub topic, or a BigQuery dataset. Examples:

"storage.googleapis.com/[GCS_BUCKET]"
"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"

The writer associated with the sink must have access to write to the above resource.

property filter

filter?: pulumi.Input<string>;

The filter to apply when exporting logs. Only log entries that match the filter are exported. See Advanced Log Filters for information on how to write a filter.

property folder

folder: pulumi.Input<string>;

The folder to be exported to the sink. Note that either [FOLDER_ID] or “folders/[FOLDER_ID]” is accepted.

property includeChildren

includeChildren?: pulumi.Input<boolean>;

Whether or not to include children folders in the sink export. If true, logs associated with child projects are also exported; otherwise only logs relating to the provided folder are included.

property name

name?: pulumi.Input<string>;

The name of the logging sink.

interface FolderSinkState

Input properties used for looking up and filtering FolderSink resources.

property destination

destination?: pulumi.Input<string>;

The destination of the sink (or, in other words, where logs are written to). Can be a Cloud Storage bucket, a PubSub topic, or a BigQuery dataset. Examples:

"storage.googleapis.com/[GCS_BUCKET]"
"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"

The writer associated with the sink must have access to write to the above resource.

property filter

filter?: pulumi.Input<string>;

The filter to apply when exporting logs. Only log entries that match the filter are exported. See Advanced Log Filters for information on how to write a filter.

property folder

folder?: pulumi.Input<string>;

The folder to be exported to the sink. Note that either [FOLDER_ID] or “folders/[FOLDER_ID]” is accepted.

property includeChildren

includeChildren?: pulumi.Input<boolean>;

Whether or not to include children folders in the sink export. If true, logs associated with child projects are also exported; otherwise only logs relating to the provided folder are included.

property name

name?: pulumi.Input<string>;

The name of the logging sink.

property writerIdentity

writerIdentity?: pulumi.Input<string>;

The identity associated with this sink. This identity must be granted write access to the configured destination.

interface OrganizationExclusionArgs

The set of arguments for constructing a OrganizationExclusion resource.

property description

description?: pulumi.Input<string>;

A human-readable description.

property disabled

disabled?: pulumi.Input<boolean>;

Whether this exclusion rule should be disabled or not. This defaults to false.

property filter

filter: pulumi.Input<string>;

The filter to apply when excluding logs. Only log entries that match the filter are excluded. See Advanced Log Filters for information on how to write a filter.

property name

name?: pulumi.Input<string>;

The name of the logging exclusion.

property orgId

orgId: pulumi.Input<string>;

The organization to create the exclusion in.

interface OrganizationExclusionState

Input properties used for looking up and filtering OrganizationExclusion resources.

property description

description?: pulumi.Input<string>;

A human-readable description.

property disabled

disabled?: pulumi.Input<boolean>;

Whether this exclusion rule should be disabled or not. This defaults to false.

property filter

filter?: pulumi.Input<string>;

The filter to apply when excluding logs. Only log entries that match the filter are excluded. See Advanced Log Filters for information on how to write a filter.

property name

name?: pulumi.Input<string>;

The name of the logging exclusion.

property orgId

orgId?: pulumi.Input<string>;

The organization to create the exclusion in.

interface OrganizationSinkArgs

The set of arguments for constructing a OrganizationSink resource.

property destination

destination: pulumi.Input<string>;

The destination of the sink (or, in other words, where logs are written to). Can be a Cloud Storage bucket, a PubSub topic, or a BigQuery dataset. Examples:

"storage.googleapis.com/[GCS_BUCKET]"
"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"

The writer associated with the sink must have access to write to the above resource.

property filter

filter?: pulumi.Input<string>;

The filter to apply when exporting logs. Only log entries that match the filter are exported. See Advanced Log Filters for information on how to write a filter.

property includeChildren

includeChildren?: pulumi.Input<boolean>;

Whether or not to include children organizations in the sink export. If true, logs associated with child projects are also exported; otherwise only logs relating to the provided organization are included.

property name

name?: pulumi.Input<string>;

The name of the logging sink.

property orgId

orgId: pulumi.Input<string>;

The numeric ID of the organization to be exported to the sink.

interface OrganizationSinkState

Input properties used for looking up and filtering OrganizationSink resources.

property destination

destination?: pulumi.Input<string>;

The destination of the sink (or, in other words, where logs are written to). Can be a Cloud Storage bucket, a PubSub topic, or a BigQuery dataset. Examples:

"storage.googleapis.com/[GCS_BUCKET]"
"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"

The writer associated with the sink must have access to write to the above resource.

property filter

filter?: pulumi.Input<string>;

The filter to apply when exporting logs. Only log entries that match the filter are exported. See Advanced Log Filters for information on how to write a filter.

property includeChildren

includeChildren?: pulumi.Input<boolean>;

Whether or not to include children organizations in the sink export. If true, logs associated with child projects are also exported; otherwise only logs relating to the provided organization are included.

property name

name?: pulumi.Input<string>;

The name of the logging sink.

property orgId

orgId?: pulumi.Input<string>;

The numeric ID of the organization to be exported to the sink.

property writerIdentity

writerIdentity?: pulumi.Input<string>;

The identity associated with this sink. This identity must be granted write access to the configured destination.

interface ProjectExclusionArgs

The set of arguments for constructing a ProjectExclusion resource.

property description

description?: pulumi.Input<string>;

A human-readable description.

property disabled

disabled?: pulumi.Input<boolean>;

Whether this exclusion rule should be disabled or not. This defaults to false.

property filter

filter: pulumi.Input<string>;

The filter to apply when excluding logs. Only log entries that match the filter are excluded. See Advanced Log Filters for information on how to write a filter.

property name

name?: pulumi.Input<string>;

The name of the logging exclusion.

property project

project?: pulumi.Input<string>;

The project to create the exclusion in. If omitted, the project associated with the provider is used.

interface ProjectExclusionState

Input properties used for looking up and filtering ProjectExclusion resources.

property description

description?: pulumi.Input<string>;

A human-readable description.

property disabled

disabled?: pulumi.Input<boolean>;

Whether this exclusion rule should be disabled or not. This defaults to false.

property filter

filter?: pulumi.Input<string>;

The filter to apply when excluding logs. Only log entries that match the filter are excluded. See Advanced Log Filters for information on how to write a filter.

property name

name?: pulumi.Input<string>;

The name of the logging exclusion.

property project

project?: pulumi.Input<string>;

The project to create the exclusion in. If omitted, the project associated with the provider is used.

interface ProjectSinkArgs

The set of arguments for constructing a ProjectSink resource.

property destination

destination: pulumi.Input<string>;

The destination of the sink (or, in other words, where logs are written to). Can be a Cloud Storage bucket, a PubSub topic, or a BigQuery dataset. Examples:

"storage.googleapis.com/[GCS_BUCKET]"
"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"

The writer associated with the sink must have access to write to the above resource.

property filter

filter?: pulumi.Input<string>;

The filter to apply when exporting logs. Only log entries that match the filter are exported. See Advanced Log Filters for information on how to write a filter.

property name

name?: pulumi.Input<string>;

The name of the logging sink.

property project

project?: pulumi.Input<string>;

The ID of the project to create the sink in. If omitted, the project associated with the provider is used.

property uniqueWriterIdentity

uniqueWriterIdentity?: pulumi.Input<boolean>;

Whether or not to create a unique identity associated with this sink. If false (the default), then the writer_identity used is serviceAccount:cloud-logs@system.gserviceaccount.com. If true, then a unique service account is created and used for this sink. If you wish to publish logs across projects, you must set unique_writer_identity to true.

interface ProjectSinkState

Input properties used for looking up and filtering ProjectSink resources.

property destination

destination?: pulumi.Input<string>;

The destination of the sink (or, in other words, where logs are written to). Can be a Cloud Storage bucket, a PubSub topic, or a BigQuery dataset. Examples:

"storage.googleapis.com/[GCS_BUCKET]"
"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"

The writer associated with the sink must have access to write to the above resource.

property filter

filter?: pulumi.Input<string>;

The filter to apply when exporting logs. Only log entries that match the filter are exported. See Advanced Log Filters for information on how to write a filter.

property name

name?: pulumi.Input<string>;

The name of the logging sink.

property project

project?: pulumi.Input<string>;

The ID of the project to create the sink in. If omitted, the project associated with the provider is used.

property uniqueWriterIdentity

uniqueWriterIdentity?: pulumi.Input<boolean>;

Whether or not to create a unique identity associated with this sink. If false (the default), then the writer_identity used is serviceAccount:cloud-logs@system.gserviceaccount.com. If true, then a unique service account is created and used for this sink. If you wish to publish logs across projects, you must set unique_writer_identity to true.

property writerIdentity

writerIdentity?: pulumi.Input<string>;

The identity associated with this sink. This identity must be granted write access to the configured destination.