v2beta1

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LookupTraceSinkArgs added in v0.4.0

type LookupTraceSinkArgs struct {
	Project     *string `pulumi:"project"`
	TraceSinkId string  `pulumi:"traceSinkId"`
}

type LookupTraceSinkOutputArgs added in v0.8.0

type LookupTraceSinkOutputArgs struct {
	Project     pulumi.StringPtrInput `pulumi:"project"`
	TraceSinkId pulumi.StringInput    `pulumi:"traceSinkId"`
}

func (LookupTraceSinkOutputArgs) ElementType added in v0.8.0

func (LookupTraceSinkOutputArgs) ElementType() reflect.Type

type LookupTraceSinkResult added in v0.4.0

type LookupTraceSinkResult struct {
	// The canonical sink resource name, unique within the project. Must be of the form: projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]. E.g.: `"projects/12345/traceSinks/my-project-trace-sink"`. Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.
	Name string `pulumi:"name"`
	// The export destination.
	OutputConfig OutputConfigResponse `pulumi:"outputConfig"`
	// A service account name for exporting the data. This field is set by sinks.create and sinks.update. The service account will need to be granted write access to the destination specified in the output configuration, see [Granting access for a resource](/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). To create tables and to write data, this account needs the `dataEditor` role. Read more about roles in the [BigQuery documentation](https://cloud.google.com/bigquery/docs/access-control). E.g.: "service-00000001@00000002.iam.gserviceaccount.com"
	WriterIdentity string `pulumi:"writerIdentity"`
}

func LookupTraceSink added in v0.4.0

func LookupTraceSink(ctx *pulumi.Context, args *LookupTraceSinkArgs, opts ...pulumi.InvokeOption) (*LookupTraceSinkResult, error)

Get a trace sink by name under the parent resource (GCP project).

type LookupTraceSinkResultOutput added in v0.8.0

type LookupTraceSinkResultOutput struct{ *pulumi.OutputState }

func LookupTraceSinkOutput added in v0.8.0

func (LookupTraceSinkResultOutput) ElementType added in v0.8.0

func (LookupTraceSinkResultOutput) Name added in v0.8.0

The canonical sink resource name, unique within the project. Must be of the form: projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]. E.g.: `"projects/12345/traceSinks/my-project-trace-sink"`. Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.

func (LookupTraceSinkResultOutput) OutputConfig added in v0.8.0

The export destination.

func (LookupTraceSinkResultOutput) ToLookupTraceSinkResultOutput added in v0.8.0

func (o LookupTraceSinkResultOutput) ToLookupTraceSinkResultOutput() LookupTraceSinkResultOutput

func (LookupTraceSinkResultOutput) ToLookupTraceSinkResultOutputWithContext added in v0.8.0

func (o LookupTraceSinkResultOutput) ToLookupTraceSinkResultOutputWithContext(ctx context.Context) LookupTraceSinkResultOutput

func (LookupTraceSinkResultOutput) WriterIdentity added in v0.8.0

func (o LookupTraceSinkResultOutput) WriterIdentity() pulumi.StringOutput

A service account name for exporting the data. This field is set by sinks.create and sinks.update. The service account will need to be granted write access to the destination specified in the output configuration, see [Granting access for a resource](/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). To create tables and to write data, this account needs the `dataEditor` role. Read more about roles in the [BigQuery documentation](https://cloud.google.com/bigquery/docs/access-control). E.g.: "service-00000001@00000002.iam.gserviceaccount.com"

type OutputConfig

type OutputConfig struct {
	// The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
	Destination *string `pulumi:"destination"`
}

OutputConfig contains a destination for writing trace data.

type OutputConfigArgs

type OutputConfigArgs struct {
	// The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
	Destination pulumi.StringPtrInput `pulumi:"destination"`
}

OutputConfig contains a destination for writing trace data.

func (OutputConfigArgs) ElementType

func (OutputConfigArgs) ElementType() reflect.Type

func (OutputConfigArgs) ToOutputConfigOutput

func (i OutputConfigArgs) ToOutputConfigOutput() OutputConfigOutput

func (OutputConfigArgs) ToOutputConfigOutputWithContext

func (i OutputConfigArgs) ToOutputConfigOutputWithContext(ctx context.Context) OutputConfigOutput

type OutputConfigInput

type OutputConfigInput interface {
	pulumi.Input

	ToOutputConfigOutput() OutputConfigOutput
	ToOutputConfigOutputWithContext(context.Context) OutputConfigOutput
}

OutputConfigInput is an input type that accepts OutputConfigArgs and OutputConfigOutput values. You can construct a concrete instance of `OutputConfigInput` via:

OutputConfigArgs{...}

type OutputConfigOutput

type OutputConfigOutput struct{ *pulumi.OutputState }

OutputConfig contains a destination for writing trace data.

func (OutputConfigOutput) Destination

func (o OutputConfigOutput) Destination() pulumi.StringPtrOutput

The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"

func (OutputConfigOutput) ElementType

func (OutputConfigOutput) ElementType() reflect.Type

func (OutputConfigOutput) ToOutputConfigOutput

func (o OutputConfigOutput) ToOutputConfigOutput() OutputConfigOutput

func (OutputConfigOutput) ToOutputConfigOutputWithContext

func (o OutputConfigOutput) ToOutputConfigOutputWithContext(ctx context.Context) OutputConfigOutput

type OutputConfigResponse

type OutputConfigResponse struct {
	// The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
	Destination string `pulumi:"destination"`
}

OutputConfig contains a destination for writing trace data.

type OutputConfigResponseOutput

type OutputConfigResponseOutput struct{ *pulumi.OutputState }

OutputConfig contains a destination for writing trace data.

func (OutputConfigResponseOutput) Destination

The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"

func (OutputConfigResponseOutput) ElementType

func (OutputConfigResponseOutput) ElementType() reflect.Type

func (OutputConfigResponseOutput) ToOutputConfigResponseOutput

func (o OutputConfigResponseOutput) ToOutputConfigResponseOutput() OutputConfigResponseOutput

func (OutputConfigResponseOutput) ToOutputConfigResponseOutputWithContext

func (o OutputConfigResponseOutput) ToOutputConfigResponseOutputWithContext(ctx context.Context) OutputConfigResponseOutput

type TraceSink

type TraceSink struct {
	pulumi.CustomResourceState

	// The canonical sink resource name, unique within the project. Must be of the form: projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]. E.g.: `"projects/12345/traceSinks/my-project-trace-sink"`. Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.
	Name pulumi.StringOutput `pulumi:"name"`
	// The export destination.
	OutputConfig OutputConfigResponseOutput `pulumi:"outputConfig"`
	Project      pulumi.StringOutput        `pulumi:"project"`
	// A service account name for exporting the data. This field is set by sinks.create and sinks.update. The service account will need to be granted write access to the destination specified in the output configuration, see [Granting access for a resource](/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). To create tables and to write data, this account needs the `dataEditor` role. Read more about roles in the [BigQuery documentation](https://cloud.google.com/bigquery/docs/access-control). E.g.: "service-00000001@00000002.iam.gserviceaccount.com"
	WriterIdentity pulumi.StringOutput `pulumi:"writerIdentity"`
}

Creates a sink that exports trace spans to a destination. The export of newly-ingested traces begins immediately, unless the sink's `writer_identity` is not permitted to write to the destination. A sink can export traces only from the resource owning the sink (the 'parent').

func GetTraceSink

func GetTraceSink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TraceSinkState, opts ...pulumi.ResourceOption) (*TraceSink, error)

GetTraceSink gets an existing TraceSink 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 NewTraceSink

func NewTraceSink(ctx *pulumi.Context,
	name string, args *TraceSinkArgs, opts ...pulumi.ResourceOption) (*TraceSink, error)

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

func (*TraceSink) ElementType

func (*TraceSink) ElementType() reflect.Type

func (*TraceSink) ToTraceSinkOutput

func (i *TraceSink) ToTraceSinkOutput() TraceSinkOutput

func (*TraceSink) ToTraceSinkOutputWithContext

func (i *TraceSink) ToTraceSinkOutputWithContext(ctx context.Context) TraceSinkOutput

type TraceSinkArgs

type TraceSinkArgs struct {
	// The canonical sink resource name, unique within the project. Must be of the form: projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]. E.g.: `"projects/12345/traceSinks/my-project-trace-sink"`. Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.
	Name pulumi.StringPtrInput
	// The export destination.
	OutputConfig OutputConfigInput
	Project      pulumi.StringPtrInput
}

The set of arguments for constructing a TraceSink resource.

func (TraceSinkArgs) ElementType

func (TraceSinkArgs) ElementType() reflect.Type

type TraceSinkInput

type TraceSinkInput interface {
	pulumi.Input

	ToTraceSinkOutput() TraceSinkOutput
	ToTraceSinkOutputWithContext(ctx context.Context) TraceSinkOutput
}

type TraceSinkOutput

type TraceSinkOutput struct{ *pulumi.OutputState }

func (TraceSinkOutput) ElementType

func (TraceSinkOutput) ElementType() reflect.Type

func (TraceSinkOutput) Name added in v0.19.0

The canonical sink resource name, unique within the project. Must be of the form: projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]. E.g.: `"projects/12345/traceSinks/my-project-trace-sink"`. Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.

func (TraceSinkOutput) OutputConfig added in v0.19.0

The export destination.

func (TraceSinkOutput) Project added in v0.21.0

func (o TraceSinkOutput) Project() pulumi.StringOutput

func (TraceSinkOutput) ToTraceSinkOutput

func (o TraceSinkOutput) ToTraceSinkOutput() TraceSinkOutput

func (TraceSinkOutput) ToTraceSinkOutputWithContext

func (o TraceSinkOutput) ToTraceSinkOutputWithContext(ctx context.Context) TraceSinkOutput

func (TraceSinkOutput) WriterIdentity added in v0.19.0

func (o TraceSinkOutput) WriterIdentity() pulumi.StringOutput

A service account name for exporting the data. This field is set by sinks.create and sinks.update. The service account will need to be granted write access to the destination specified in the output configuration, see [Granting access for a resource](/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). To create tables and to write data, this account needs the `dataEditor` role. Read more about roles in the [BigQuery documentation](https://cloud.google.com/bigquery/docs/access-control). E.g.: "service-00000001@00000002.iam.gserviceaccount.com"

type TraceSinkState

type TraceSinkState struct {
}

func (TraceSinkState) ElementType

func (TraceSinkState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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