v2

package
v0.18.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// An unspecified format version that will default to V2.
	BillingAccountSinkOutputVersionFormatVersionFormatUnspecified = BillingAccountSinkOutputVersionFormat("VERSION_FORMAT_UNSPECIFIED")
	// LogEntry version 2 format.
	BillingAccountSinkOutputVersionFormatV2 = BillingAccountSinkOutputVersionFormat("V2")
	// LogEntry version 1 format.
	BillingAccountSinkOutputVersionFormatV1 = BillingAccountSinkOutputVersionFormat("V1")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BigQueryOptions

type BigQueryOptions struct {
	// Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax (https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone.
	UsePartitionedTables *bool `pulumi:"usePartitionedTables"`
}

Options that change functionality of a sink exporting data to BigQuery.

type BigQueryOptionsArgs

type BigQueryOptionsArgs struct {
	// Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax (https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone.
	UsePartitionedTables pulumi.BoolPtrInput `pulumi:"usePartitionedTables"`
}

Options that change functionality of a sink exporting data to BigQuery.

func (BigQueryOptionsArgs) ElementType

func (BigQueryOptionsArgs) ElementType() reflect.Type

func (BigQueryOptionsArgs) ToBigQueryOptionsOutput

func (i BigQueryOptionsArgs) ToBigQueryOptionsOutput() BigQueryOptionsOutput

func (BigQueryOptionsArgs) ToBigQueryOptionsOutputWithContext

func (i BigQueryOptionsArgs) ToBigQueryOptionsOutputWithContext(ctx context.Context) BigQueryOptionsOutput

func (BigQueryOptionsArgs) ToBigQueryOptionsPtrOutput

func (i BigQueryOptionsArgs) ToBigQueryOptionsPtrOutput() BigQueryOptionsPtrOutput

func (BigQueryOptionsArgs) ToBigQueryOptionsPtrOutputWithContext

func (i BigQueryOptionsArgs) ToBigQueryOptionsPtrOutputWithContext(ctx context.Context) BigQueryOptionsPtrOutput

type BigQueryOptionsInput

type BigQueryOptionsInput interface {
	pulumi.Input

	ToBigQueryOptionsOutput() BigQueryOptionsOutput
	ToBigQueryOptionsOutputWithContext(context.Context) BigQueryOptionsOutput
}

BigQueryOptionsInput is an input type that accepts BigQueryOptionsArgs and BigQueryOptionsOutput values. You can construct a concrete instance of `BigQueryOptionsInput` via:

BigQueryOptionsArgs{...}

type BigQueryOptionsOutput

type BigQueryOptionsOutput struct{ *pulumi.OutputState }

Options that change functionality of a sink exporting data to BigQuery.

func (BigQueryOptionsOutput) ElementType

func (BigQueryOptionsOutput) ElementType() reflect.Type

func (BigQueryOptionsOutput) ToBigQueryOptionsOutput

func (o BigQueryOptionsOutput) ToBigQueryOptionsOutput() BigQueryOptionsOutput

func (BigQueryOptionsOutput) ToBigQueryOptionsOutputWithContext

func (o BigQueryOptionsOutput) ToBigQueryOptionsOutputWithContext(ctx context.Context) BigQueryOptionsOutput

func (BigQueryOptionsOutput) ToBigQueryOptionsPtrOutput

func (o BigQueryOptionsOutput) ToBigQueryOptionsPtrOutput() BigQueryOptionsPtrOutput

func (BigQueryOptionsOutput) ToBigQueryOptionsPtrOutputWithContext

func (o BigQueryOptionsOutput) ToBigQueryOptionsPtrOutputWithContext(ctx context.Context) BigQueryOptionsPtrOutput

func (BigQueryOptionsOutput) UsePartitionedTables

func (o BigQueryOptionsOutput) UsePartitionedTables() pulumi.BoolPtrOutput

Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax (https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone.

type BigQueryOptionsPtrInput

type BigQueryOptionsPtrInput interface {
	pulumi.Input

	ToBigQueryOptionsPtrOutput() BigQueryOptionsPtrOutput
	ToBigQueryOptionsPtrOutputWithContext(context.Context) BigQueryOptionsPtrOutput
}

BigQueryOptionsPtrInput is an input type that accepts BigQueryOptionsArgs, BigQueryOptionsPtr and BigQueryOptionsPtrOutput values. You can construct a concrete instance of `BigQueryOptionsPtrInput` via:

        BigQueryOptionsArgs{...}

or:

        nil

type BigQueryOptionsPtrOutput

type BigQueryOptionsPtrOutput struct{ *pulumi.OutputState }

func (BigQueryOptionsPtrOutput) Elem

func (BigQueryOptionsPtrOutput) ElementType

func (BigQueryOptionsPtrOutput) ElementType() reflect.Type

func (BigQueryOptionsPtrOutput) ToBigQueryOptionsPtrOutput

func (o BigQueryOptionsPtrOutput) ToBigQueryOptionsPtrOutput() BigQueryOptionsPtrOutput

func (BigQueryOptionsPtrOutput) ToBigQueryOptionsPtrOutputWithContext

func (o BigQueryOptionsPtrOutput) ToBigQueryOptionsPtrOutputWithContext(ctx context.Context) BigQueryOptionsPtrOutput

func (BigQueryOptionsPtrOutput) UsePartitionedTables

func (o BigQueryOptionsPtrOutput) UsePartitionedTables() pulumi.BoolPtrOutput

Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax (https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone.

type BigQueryOptionsResponse

type BigQueryOptionsResponse struct {
	// Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax (https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone.
	UsePartitionedTables bool `pulumi:"usePartitionedTables"`
	// True if new timestamp column based partitioning is in use, false if legacy ingestion-time partitioning is in use.All new sinks will have this field set true and will use timestamp column based partitioning. If use_partitioned_tables is false, this value has no meaning and will be false. Legacy sinks using partitioned tables will have this field set to false.
	UsesTimestampColumnPartitioning bool `pulumi:"usesTimestampColumnPartitioning"`
}

Options that change functionality of a sink exporting data to BigQuery.

type BigQueryOptionsResponseOutput

type BigQueryOptionsResponseOutput struct{ *pulumi.OutputState }

Options that change functionality of a sink exporting data to BigQuery.

func (BigQueryOptionsResponseOutput) ElementType

func (BigQueryOptionsResponseOutput) ToBigQueryOptionsResponseOutput

func (o BigQueryOptionsResponseOutput) ToBigQueryOptionsResponseOutput() BigQueryOptionsResponseOutput

func (BigQueryOptionsResponseOutput) ToBigQueryOptionsResponseOutputWithContext

func (o BigQueryOptionsResponseOutput) ToBigQueryOptionsResponseOutputWithContext(ctx context.Context) BigQueryOptionsResponseOutput

func (BigQueryOptionsResponseOutput) UsePartitionedTables

func (o BigQueryOptionsResponseOutput) UsePartitionedTables() pulumi.BoolOutput

Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax (https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone.

func (BigQueryOptionsResponseOutput) UsesTimestampColumnPartitioning

func (o BigQueryOptionsResponseOutput) UsesTimestampColumnPartitioning() pulumi.BoolOutput

True if new timestamp column based partitioning is in use, false if legacy ingestion-time partitioning is in use.All new sinks will have this field set true and will use timestamp column based partitioning. If use_partitioned_tables is false, this value has no meaning and will be false. Legacy sinks using partitioned tables will have this field set to false.

type BillingAccountExclusion

type BillingAccountExclusion struct {
	pulumi.CustomResourceState

	// The creation timestamp of the exclusion.This field may not be present for older exclusions.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Optional. A description of this exclusion.
	Description pulumi.StringOutput `pulumi:"description"`
	// 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.BoolOutput `pulumi:"disabled"`
	// 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<ERROR sample(insertId, 0.99)
	Filter pulumi.StringOutput `pulumi:"filter"`
	// 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.StringOutput `pulumi:"name"`
	// The last update timestamp of the exclusion.This field may not be present for older exclusions.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

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.

func GetBillingAccountExclusion

func GetBillingAccountExclusion(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BillingAccountExclusionState, opts ...pulumi.ResourceOption) (*BillingAccountExclusion, error)

GetBillingAccountExclusion gets an existing BillingAccountExclusion resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBillingAccountExclusion

func NewBillingAccountExclusion(ctx *pulumi.Context,
	name string, args *BillingAccountExclusionArgs, opts ...pulumi.ResourceOption) (*BillingAccountExclusion, error)

NewBillingAccountExclusion registers a new resource with the given unique name, arguments, and options.

func (*BillingAccountExclusion) ElementType

func (*BillingAccountExclusion) ElementType() reflect.Type

func (*BillingAccountExclusion) ToBillingAccountExclusionOutput

func (i *BillingAccountExclusion) ToBillingAccountExclusionOutput() BillingAccountExclusionOutput

func (*BillingAccountExclusion) ToBillingAccountExclusionOutputWithContext

func (i *BillingAccountExclusion) ToBillingAccountExclusionOutputWithContext(ctx context.Context) BillingAccountExclusionOutput

type BillingAccountExclusionArgs

type BillingAccountExclusionArgs struct {
	BillingAccountId pulumi.StringInput
	// Optional. A description of this exclusion.
	Description pulumi.StringPtrInput
	// 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.BoolPtrInput
	// 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<ERROR sample(insertId, 0.99)
	Filter pulumi.StringInput
	// 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.StringPtrInput
}

The set of arguments for constructing a BillingAccountExclusion resource.

func (BillingAccountExclusionArgs) ElementType

type BillingAccountExclusionInput

type BillingAccountExclusionInput interface {
	pulumi.Input

	ToBillingAccountExclusionOutput() BillingAccountExclusionOutput
	ToBillingAccountExclusionOutputWithContext(ctx context.Context) BillingAccountExclusionOutput
}

type BillingAccountExclusionOutput

type BillingAccountExclusionOutput struct{ *pulumi.OutputState }

func (BillingAccountExclusionOutput) ElementType

func (BillingAccountExclusionOutput) ToBillingAccountExclusionOutput

func (o BillingAccountExclusionOutput) ToBillingAccountExclusionOutput() BillingAccountExclusionOutput

func (BillingAccountExclusionOutput) ToBillingAccountExclusionOutputWithContext

func (o BillingAccountExclusionOutput) ToBillingAccountExclusionOutputWithContext(ctx context.Context) BillingAccountExclusionOutput

type BillingAccountExclusionState

type BillingAccountExclusionState struct {
}

func (BillingAccountExclusionState) ElementType

type BillingAccountSink

type BillingAccountSink struct {
	pulumi.CustomResourceState

	// Optional. Options that affect sinks exporting data to BigQuery.
	BigqueryOptions BigQueryOptionsResponseOutput `pulumi:"bigqueryOptions"`
	// The creation timestamp of the sink.This field may not be present for older sinks.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Optional. A description of this sink.The maximum length of the description is 8000 characters.
	Description pulumi.StringOutput `pulumi:"description"`
	// The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
	Destination pulumi.StringOutput `pulumi:"destination"`
	// Optional. If set to true, then this sink is disabled and it does not export any log entries.
	Disabled pulumi.BoolOutput `pulumi:"disabled"`
	// Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.
	Exclusions LogExclusionResponseArrayOutput `pulumi:"exclusions"`
	// Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
	Filter pulumi.StringOutput `pulumi:"filter"`
	// Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance
	IncludeChildren pulumi.BoolOutput `pulumi:"includeChildren"`
	// The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name pulumi.StringOutput `pulumi:"name"`
	// Deprecated. This field is unused.
	//
	// Deprecated: Deprecated. This field is unused.
	OutputVersionFormat pulumi.StringOutput `pulumi:"outputVersionFormat"`
	// The last update timestamp of the sink.This field may not be present for older sinks.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is set by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink do not have a writer_identity and no additional permissions are required.
	WriterIdentity pulumi.StringOutput `pulumi:"writerIdentity"`
}

Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.

func GetBillingAccountSink

func GetBillingAccountSink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BillingAccountSinkState, opts ...pulumi.ResourceOption) (*BillingAccountSink, error)

GetBillingAccountSink gets an existing BillingAccountSink resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBillingAccountSink

func NewBillingAccountSink(ctx *pulumi.Context,
	name string, args *BillingAccountSinkArgs, opts ...pulumi.ResourceOption) (*BillingAccountSink, error)

NewBillingAccountSink registers a new resource with the given unique name, arguments, and options.

func (*BillingAccountSink) ElementType

func (*BillingAccountSink) ElementType() reflect.Type

func (*BillingAccountSink) ToBillingAccountSinkOutput

func (i *BillingAccountSink) ToBillingAccountSinkOutput() BillingAccountSinkOutput

func (*BillingAccountSink) ToBillingAccountSinkOutputWithContext

func (i *BillingAccountSink) ToBillingAccountSinkOutputWithContext(ctx context.Context) BillingAccountSinkOutput

type BillingAccountSinkArgs

type BillingAccountSinkArgs struct {
	// Optional. Options that affect sinks exporting data to BigQuery.
	BigqueryOptions  BigQueryOptionsPtrInput
	BillingAccountId pulumi.StringInput
	// Optional. A description of this sink.The maximum length of the description is 8000 characters.
	Description pulumi.StringPtrInput
	// The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
	Destination pulumi.StringInput
	// Optional. If set to true, then this sink is disabled and it does not export any log entries.
	Disabled pulumi.BoolPtrInput
	// Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.
	Exclusions LogExclusionArrayInput
	// Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
	Filter pulumi.StringPtrInput
	// Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance
	IncludeChildren pulumi.BoolPtrInput
	// The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name pulumi.StringPtrInput
	// Deprecated. This field is unused.
	//
	// Deprecated: Deprecated. This field is unused.
	OutputVersionFormat BillingAccountSinkOutputVersionFormatPtrInput
	// Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.
	UniqueWriterIdentity pulumi.StringPtrInput
}

The set of arguments for constructing a BillingAccountSink resource.

func (BillingAccountSinkArgs) ElementType

func (BillingAccountSinkArgs) ElementType() reflect.Type

type BillingAccountSinkInput

type BillingAccountSinkInput interface {
	pulumi.Input

	ToBillingAccountSinkOutput() BillingAccountSinkOutput
	ToBillingAccountSinkOutputWithContext(ctx context.Context) BillingAccountSinkOutput
}

type BillingAccountSinkOutput

type BillingAccountSinkOutput struct{ *pulumi.OutputState }

func (BillingAccountSinkOutput) ElementType

func (BillingAccountSinkOutput) ElementType() reflect.Type

func (BillingAccountSinkOutput) ToBillingAccountSinkOutput

func (o BillingAccountSinkOutput) ToBillingAccountSinkOutput() BillingAccountSinkOutput

func (BillingAccountSinkOutput) ToBillingAccountSinkOutputWithContext

func (o BillingAccountSinkOutput) ToBillingAccountSinkOutputWithContext(ctx context.Context) BillingAccountSinkOutput

type BillingAccountSinkOutputVersionFormat added in v0.17.0

type BillingAccountSinkOutputVersionFormat string

Deprecated. This field is unused.

func (BillingAccountSinkOutputVersionFormat) ElementType added in v0.17.0

func (BillingAccountSinkOutputVersionFormat) ToBillingAccountSinkOutputVersionFormatOutput added in v0.17.0

func (e BillingAccountSinkOutputVersionFormat) ToBillingAccountSinkOutputVersionFormatOutput() BillingAccountSinkOutputVersionFormatOutput

func (BillingAccountSinkOutputVersionFormat) ToBillingAccountSinkOutputVersionFormatOutputWithContext added in v0.17.0

func (e BillingAccountSinkOutputVersionFormat) ToBillingAccountSinkOutputVersionFormatOutputWithContext(ctx context.Context) BillingAccountSinkOutputVersionFormatOutput

func (BillingAccountSinkOutputVersionFormat) ToBillingAccountSinkOutputVersionFormatPtrOutput added in v0.17.0

func (e BillingAccountSinkOutputVersionFormat) ToBillingAccountSinkOutputVersionFormatPtrOutput() BillingAccountSinkOutputVersionFormatPtrOutput

func (BillingAccountSinkOutputVersionFormat) ToBillingAccountSinkOutputVersionFormatPtrOutputWithContext added in v0.17.0

func (e BillingAccountSinkOutputVersionFormat) ToBillingAccountSinkOutputVersionFormatPtrOutputWithContext(ctx context.Context) BillingAccountSinkOutputVersionFormatPtrOutput

func (BillingAccountSinkOutputVersionFormat) ToStringOutput added in v0.17.0

func (BillingAccountSinkOutputVersionFormat) ToStringOutputWithContext added in v0.17.0

func (e BillingAccountSinkOutputVersionFormat) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (BillingAccountSinkOutputVersionFormat) ToStringPtrOutput added in v0.17.0

func (BillingAccountSinkOutputVersionFormat) ToStringPtrOutputWithContext added in v0.17.0

func (e BillingAccountSinkOutputVersionFormat) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type BillingAccountSinkOutputVersionFormatInput added in v0.17.0

type BillingAccountSinkOutputVersionFormatInput interface {
	pulumi.Input

	ToBillingAccountSinkOutputVersionFormatOutput() BillingAccountSinkOutputVersionFormatOutput
	ToBillingAccountSinkOutputVersionFormatOutputWithContext(context.Context) BillingAccountSinkOutputVersionFormatOutput
}

BillingAccountSinkOutputVersionFormatInput is an input type that accepts BillingAccountSinkOutputVersionFormatArgs and BillingAccountSinkOutputVersionFormatOutput values. You can construct a concrete instance of `BillingAccountSinkOutputVersionFormatInput` via:

BillingAccountSinkOutputVersionFormatArgs{...}

type BillingAccountSinkOutputVersionFormatOutput added in v0.17.0

type BillingAccountSinkOutputVersionFormatOutput struct{ *pulumi.OutputState }

func (BillingAccountSinkOutputVersionFormatOutput) ElementType added in v0.17.0

func (BillingAccountSinkOutputVersionFormatOutput) ToBillingAccountSinkOutputVersionFormatOutput added in v0.17.0

func (o BillingAccountSinkOutputVersionFormatOutput) ToBillingAccountSinkOutputVersionFormatOutput() BillingAccountSinkOutputVersionFormatOutput

func (BillingAccountSinkOutputVersionFormatOutput) ToBillingAccountSinkOutputVersionFormatOutputWithContext added in v0.17.0

func (o BillingAccountSinkOutputVersionFormatOutput) ToBillingAccountSinkOutputVersionFormatOutputWithContext(ctx context.Context) BillingAccountSinkOutputVersionFormatOutput

func (BillingAccountSinkOutputVersionFormatOutput) ToBillingAccountSinkOutputVersionFormatPtrOutput added in v0.17.0

func (o BillingAccountSinkOutputVersionFormatOutput) ToBillingAccountSinkOutputVersionFormatPtrOutput() BillingAccountSinkOutputVersionFormatPtrOutput

func (BillingAccountSinkOutputVersionFormatOutput) ToBillingAccountSinkOutputVersionFormatPtrOutputWithContext added in v0.17.0

func (o BillingAccountSinkOutputVersionFormatOutput) ToBillingAccountSinkOutputVersionFormatPtrOutputWithContext(ctx context.Context) BillingAccountSinkOutputVersionFormatPtrOutput

func (BillingAccountSinkOutputVersionFormatOutput) ToStringOutput added in v0.17.0

func (BillingAccountSinkOutputVersionFormatOutput) ToStringOutputWithContext added in v0.17.0

func (BillingAccountSinkOutputVersionFormatOutput) ToStringPtrOutput added in v0.17.0

func (BillingAccountSinkOutputVersionFormatOutput) ToStringPtrOutputWithContext added in v0.17.0

type BillingAccountSinkOutputVersionFormatPtrInput added in v0.17.0

type BillingAccountSinkOutputVersionFormatPtrInput interface {
	pulumi.Input

	ToBillingAccountSinkOutputVersionFormatPtrOutput() BillingAccountSinkOutputVersionFormatPtrOutput
	ToBillingAccountSinkOutputVersionFormatPtrOutputWithContext(context.Context) BillingAccountSinkOutputVersionFormatPtrOutput
}

func BillingAccountSinkOutputVersionFormatPtr added in v0.17.0

func BillingAccountSinkOutputVersionFormatPtr(v string) BillingAccountSinkOutputVersionFormatPtrInput

type BillingAccountSinkOutputVersionFormatPtrOutput added in v0.17.0

type BillingAccountSinkOutputVersionFormatPtrOutput struct{ *pulumi.OutputState }

func (BillingAccountSinkOutputVersionFormatPtrOutput) Elem added in v0.17.0

func (BillingAccountSinkOutputVersionFormatPtrOutput) ElementType added in v0.17.0

func (BillingAccountSinkOutputVersionFormatPtrOutput) ToBillingAccountSinkOutputVersionFormatPtrOutput added in v0.17.0

func (o BillingAccountSinkOutputVersionFormatPtrOutput) ToBillingAccountSinkOutputVersionFormatPtrOutput() BillingAccountSinkOutputVersionFormatPtrOutput

func (BillingAccountSinkOutputVersionFormatPtrOutput) ToBillingAccountSinkOutputVersionFormatPtrOutputWithContext added in v0.17.0

func (o BillingAccountSinkOutputVersionFormatPtrOutput) ToBillingAccountSinkOutputVersionFormatPtrOutputWithContext(ctx context.Context) BillingAccountSinkOutputVersionFormatPtrOutput

func (BillingAccountSinkOutputVersionFormatPtrOutput) ToStringPtrOutput added in v0.17.0

func (BillingAccountSinkOutputVersionFormatPtrOutput) ToStringPtrOutputWithContext added in v0.17.0

type BillingAccountSinkState

type BillingAccountSinkState struct {
}

func (BillingAccountSinkState) ElementType

func (BillingAccountSinkState) ElementType() reflect.Type

type LogExclusion

type LogExclusion struct {
	// Optional. A description of this exclusion.
	Description *string `pulumi:"description"`
	// 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 *bool `pulumi:"disabled"`
	// 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<ERROR sample(insertId, 0.99)
	Filter string `pulumi:"filter"`
	// 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 string `pulumi:"name"`
}

Specifies a set of log entries that are filtered out by a sink. If your Google Cloud resource receives a large volume of log entries, you can use exclusions to reduce your chargeable logs. Note that exclusions on organization-level and folder-level sinks don't apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.

type LogExclusionArgs

type LogExclusionArgs struct {
	// Optional. A description of this exclusion.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// 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.BoolPtrInput `pulumi:"disabled"`
	// 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<ERROR sample(insertId, 0.99)
	Filter pulumi.StringInput `pulumi:"filter"`
	// 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.StringInput `pulumi:"name"`
}

Specifies a set of log entries that are filtered out by a sink. If your Google Cloud resource receives a large volume of log entries, you can use exclusions to reduce your chargeable logs. Note that exclusions on organization-level and folder-level sinks don't apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.

func (LogExclusionArgs) ElementType

func (LogExclusionArgs) ElementType() reflect.Type

func (LogExclusionArgs) ToLogExclusionOutput

func (i LogExclusionArgs) ToLogExclusionOutput() LogExclusionOutput

func (LogExclusionArgs) ToLogExclusionOutputWithContext

func (i LogExclusionArgs) ToLogExclusionOutputWithContext(ctx context.Context) LogExclusionOutput

type LogExclusionArray

type LogExclusionArray []LogExclusionInput

func (LogExclusionArray) ElementType

func (LogExclusionArray) ElementType() reflect.Type

func (LogExclusionArray) ToLogExclusionArrayOutput

func (i LogExclusionArray) ToLogExclusionArrayOutput() LogExclusionArrayOutput

func (LogExclusionArray) ToLogExclusionArrayOutputWithContext

func (i LogExclusionArray) ToLogExclusionArrayOutputWithContext(ctx context.Context) LogExclusionArrayOutput

type LogExclusionArrayInput

type LogExclusionArrayInput interface {
	pulumi.Input

	ToLogExclusionArrayOutput() LogExclusionArrayOutput
	ToLogExclusionArrayOutputWithContext(context.Context) LogExclusionArrayOutput
}

LogExclusionArrayInput is an input type that accepts LogExclusionArray and LogExclusionArrayOutput values. You can construct a concrete instance of `LogExclusionArrayInput` via:

LogExclusionArray{ LogExclusionArgs{...} }

type LogExclusionArrayOutput

type LogExclusionArrayOutput struct{ *pulumi.OutputState }

func (LogExclusionArrayOutput) ElementType

func (LogExclusionArrayOutput) ElementType() reflect.Type

func (LogExclusionArrayOutput) Index

func (LogExclusionArrayOutput) ToLogExclusionArrayOutput

func (o LogExclusionArrayOutput) ToLogExclusionArrayOutput() LogExclusionArrayOutput

func (LogExclusionArrayOutput) ToLogExclusionArrayOutputWithContext

func (o LogExclusionArrayOutput) ToLogExclusionArrayOutputWithContext(ctx context.Context) LogExclusionArrayOutput

type LogExclusionInput

type LogExclusionInput interface {
	pulumi.Input

	ToLogExclusionOutput() LogExclusionOutput
	ToLogExclusionOutputWithContext(context.Context) LogExclusionOutput
}

LogExclusionInput is an input type that accepts LogExclusionArgs and LogExclusionOutput values. You can construct a concrete instance of `LogExclusionInput` via:

LogExclusionArgs{...}

type LogExclusionOutput

type LogExclusionOutput struct{ *pulumi.OutputState }

Specifies a set of log entries that are filtered out by a sink. If your Google Cloud resource receives a large volume of log entries, you can use exclusions to reduce your chargeable logs. Note that exclusions on organization-level and folder-level sinks don't apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.

func (LogExclusionOutput) Description

func (o LogExclusionOutput) Description() pulumi.StringPtrOutput

Optional. A description of this exclusion.

func (LogExclusionOutput) Disabled

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.

func (LogExclusionOutput) ElementType

func (LogExclusionOutput) ElementType() reflect.Type

func (LogExclusionOutput) Filter

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<ERROR sample(insertId, 0.99)

func (LogExclusionOutput) Name

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.

func (LogExclusionOutput) ToLogExclusionOutput

func (o LogExclusionOutput) ToLogExclusionOutput() LogExclusionOutput

func (LogExclusionOutput) ToLogExclusionOutputWithContext

func (o LogExclusionOutput) ToLogExclusionOutputWithContext(ctx context.Context) LogExclusionOutput

type LogExclusionResponse

type LogExclusionResponse struct {
	// The creation timestamp of the exclusion.This field may not be present for older exclusions.
	CreateTime string `pulumi:"createTime"`
	// Optional. A description of this exclusion.
	Description string `pulumi:"description"`
	// 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 bool `pulumi:"disabled"`
	// 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<ERROR sample(insertId, 0.99)
	Filter string `pulumi:"filter"`
	// 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 string `pulumi:"name"`
	// The last update timestamp of the exclusion.This field may not be present for older exclusions.
	UpdateTime string `pulumi:"updateTime"`
}

Specifies a set of log entries that are filtered out by a sink. If your Google Cloud resource receives a large volume of log entries, you can use exclusions to reduce your chargeable logs. Note that exclusions on organization-level and folder-level sinks don't apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.

type LogExclusionResponseArrayOutput

type LogExclusionResponseArrayOutput struct{ *pulumi.OutputState }

func (LogExclusionResponseArrayOutput) ElementType

func (LogExclusionResponseArrayOutput) Index

func (LogExclusionResponseArrayOutput) ToLogExclusionResponseArrayOutput

func (o LogExclusionResponseArrayOutput) ToLogExclusionResponseArrayOutput() LogExclusionResponseArrayOutput

func (LogExclusionResponseArrayOutput) ToLogExclusionResponseArrayOutputWithContext

func (o LogExclusionResponseArrayOutput) ToLogExclusionResponseArrayOutputWithContext(ctx context.Context) LogExclusionResponseArrayOutput

type LogExclusionResponseOutput

type LogExclusionResponseOutput struct{ *pulumi.OutputState }

Specifies a set of log entries that are filtered out by a sink. If your Google Cloud resource receives a large volume of log entries, you can use exclusions to reduce your chargeable logs. Note that exclusions on organization-level and folder-level sinks don't apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.

func (LogExclusionResponseOutput) CreateTime

The creation timestamp of the exclusion.This field may not be present for older exclusions.

func (LogExclusionResponseOutput) Description

Optional. A description of this exclusion.

func (LogExclusionResponseOutput) Disabled

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.

func (LogExclusionResponseOutput) ElementType

func (LogExclusionResponseOutput) ElementType() reflect.Type

func (LogExclusionResponseOutput) Filter

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<ERROR sample(insertId, 0.99)

func (LogExclusionResponseOutput) Name

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.

func (LogExclusionResponseOutput) ToLogExclusionResponseOutput

func (o LogExclusionResponseOutput) ToLogExclusionResponseOutput() LogExclusionResponseOutput

func (LogExclusionResponseOutput) ToLogExclusionResponseOutputWithContext

func (o LogExclusionResponseOutput) ToLogExclusionResponseOutputWithContext(ctx context.Context) LogExclusionResponseOutput

func (LogExclusionResponseOutput) UpdateTime

The last update timestamp of the exclusion.This field may not be present for older exclusions.

type LookupBillingAccountExclusionArgs added in v0.4.0

type LookupBillingAccountExclusionArgs struct {
	BillingAccountId string `pulumi:"billingAccountId"`
	ExclusionId      string `pulumi:"exclusionId"`
}

type LookupBillingAccountExclusionOutputArgs added in v0.8.0

type LookupBillingAccountExclusionOutputArgs struct {
	BillingAccountId pulumi.StringInput `pulumi:"billingAccountId"`
	ExclusionId      pulumi.StringInput `pulumi:"exclusionId"`
}

func (LookupBillingAccountExclusionOutputArgs) ElementType added in v0.8.0

type LookupBillingAccountExclusionResult added in v0.4.0

type LookupBillingAccountExclusionResult struct {
	// The creation timestamp of the exclusion.This field may not be present for older exclusions.
	CreateTime string `pulumi:"createTime"`
	// Optional. A description of this exclusion.
	Description string `pulumi:"description"`
	// 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 bool `pulumi:"disabled"`
	// 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<ERROR sample(insertId, 0.99)
	Filter string `pulumi:"filter"`
	// 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 string `pulumi:"name"`
	// The last update timestamp of the exclusion.This field may not be present for older exclusions.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupBillingAccountExclusion added in v0.4.0

Gets the description of an exclusion in the _Default sink.

type LookupBillingAccountExclusionResultOutput added in v0.8.0

type LookupBillingAccountExclusionResultOutput struct{ *pulumi.OutputState }

func (LookupBillingAccountExclusionResultOutput) CreateTime added in v0.8.0

The creation timestamp of the exclusion.This field may not be present for older exclusions.

func (LookupBillingAccountExclusionResultOutput) Description added in v0.8.0

Optional. A description of this exclusion.

func (LookupBillingAccountExclusionResultOutput) Disabled added in v0.8.0

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.

func (LookupBillingAccountExclusionResultOutput) ElementType added in v0.8.0

func (LookupBillingAccountExclusionResultOutput) Filter added in v0.8.0

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<ERROR sample(insertId, 0.99)

func (LookupBillingAccountExclusionResultOutput) Name added in v0.8.0

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.

func (LookupBillingAccountExclusionResultOutput) ToLookupBillingAccountExclusionResultOutput added in v0.8.0

func (o LookupBillingAccountExclusionResultOutput) ToLookupBillingAccountExclusionResultOutput() LookupBillingAccountExclusionResultOutput

func (LookupBillingAccountExclusionResultOutput) ToLookupBillingAccountExclusionResultOutputWithContext added in v0.8.0

func (o LookupBillingAccountExclusionResultOutput) ToLookupBillingAccountExclusionResultOutputWithContext(ctx context.Context) LookupBillingAccountExclusionResultOutput

func (LookupBillingAccountExclusionResultOutput) UpdateTime added in v0.8.0

The last update timestamp of the exclusion.This field may not be present for older exclusions.

type LookupBillingAccountSinkArgs added in v0.4.0

type LookupBillingAccountSinkArgs struct {
	BillingAccountId string `pulumi:"billingAccountId"`
	SinkId           string `pulumi:"sinkId"`
}

type LookupBillingAccountSinkOutputArgs added in v0.8.0

type LookupBillingAccountSinkOutputArgs struct {
	BillingAccountId pulumi.StringInput `pulumi:"billingAccountId"`
	SinkId           pulumi.StringInput `pulumi:"sinkId"`
}

func (LookupBillingAccountSinkOutputArgs) ElementType added in v0.8.0

type LookupBillingAccountSinkResult added in v0.4.0

type LookupBillingAccountSinkResult struct {
	// Optional. Options that affect sinks exporting data to BigQuery.
	BigqueryOptions BigQueryOptionsResponse `pulumi:"bigqueryOptions"`
	// The creation timestamp of the sink.This field may not be present for older sinks.
	CreateTime string `pulumi:"createTime"`
	// Optional. A description of this sink.The maximum length of the description is 8000 characters.
	Description string `pulumi:"description"`
	// The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
	Destination string `pulumi:"destination"`
	// Optional. If set to true, then this sink is disabled and it does not export any log entries.
	Disabled bool `pulumi:"disabled"`
	// Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.
	Exclusions []LogExclusionResponse `pulumi:"exclusions"`
	// Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
	Filter string `pulumi:"filter"`
	// Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance
	IncludeChildren bool `pulumi:"includeChildren"`
	// The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.
	Name string `pulumi:"name"`
	// Deprecated. This field is unused.
	//
	// Deprecated: Deprecated. This field is unused.
	OutputVersionFormat string `pulumi:"outputVersionFormat"`
	// The last update timestamp of the sink.This field may not be present for older sinks.
	UpdateTime string `pulumi:"updateTime"`
	// An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is set by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink do not have a writer_identity and no additional permissions are required.
	WriterIdentity string `pulumi:"writerIdentity"`
}

func LookupBillingAccountSink added in v0.4.0

func LookupBillingAccountSink(ctx *pulumi.Context, args *LookupBillingAccountSinkArgs, opts ...pulumi.InvokeOption) (*LookupBillingAccountSinkResult, error)

Gets a sink.

type LookupBillingAccountSinkResultOutput added in v0.8.0

type LookupBillingAccountSinkResultOutput struct{ *pulumi.OutputState }

func (LookupBillingAccountSinkResultOutput) BigqueryOptions added in v0.8.0

Optional. Options that affect sinks exporting data to BigQuery.

func (LookupBillingAccountSinkResultOutput) CreateTime added in v0.8.0

The creation timestamp of the sink.This field may not be present for older sinks.

func (LookupBillingAccountSinkResultOutput) Description added in v0.8.0

Optional. A description of this sink.The maximum length of the description is 8000 characters.

func (LookupBillingAccountSinkResultOutput) Destination added in v0.8.0

The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).

func (LookupBillingAccountSinkResultOutput) Disabled added in v0.8.0

Optional. If set to true, then this sink is disabled and it does not export any log entries.

func (LookupBillingAccountSinkResultOutput) ElementType added in v0.8.0

func (LookupBillingAccountSinkResultOutput) Exclusions added in v0.8.0

Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusion_filters it will not be exported.

func (LookupBillingAccountSinkResultOutput) Filter added in v0.8.0

Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR

func (LookupBillingAccountSinkResultOutput) IncludeChildren added in v0.8.0

Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance

func (LookupBillingAccountSinkResultOutput) Name added in v0.8.0

The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric.

func (LookupBillingAccountSinkResultOutput) OutputVersionFormat deprecated added in v0.17.0

Deprecated. This field is unused.

Deprecated: Deprecated. This field is unused.

func (LookupBillingAccountSinkResultOutput) ToLookupBillingAccountSinkResultOutput added in v0.8.0

func (o LookupBillingAccountSinkResultOutput) ToLookupBillingAccountSinkResultOutput() LookupBillingAccountSinkResultOutput

func (LookupBillingAccountSinkResultOutput) ToLookupBillingAccountSinkResultOutputWithContext added in v0.8.0

func (o LookupBillingAccountSinkResultOutput) ToLookupBillingAccountSinkResultOutputWithContext(ctx context.Context) LookupBillingAccountSinkResultOutput

func (LookupBillingAccountSinkResultOutput) UpdateTime added in v0.8.0

The last update timestamp of the sink.This field may not be present for older sinks.

func (LookupBillingAccountSinkResultOutput) WriterIdentity added in v0.8.0

An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is set by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink do not have a writer_identity and no additional permissions are required.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL