Documentation
¶
Index ¶
- type LookupTraceSinkArgs
- type LookupTraceSinkOutputArgs
- type LookupTraceSinkResult
- type LookupTraceSinkResultOutput
- func (LookupTraceSinkResultOutput) ElementType() reflect.Type
- func (o LookupTraceSinkResultOutput) Name() pulumi.StringOutput
- func (o LookupTraceSinkResultOutput) OutputConfig() OutputConfigResponseOutput
- func (o LookupTraceSinkResultOutput) ToLookupTraceSinkResultOutput() LookupTraceSinkResultOutput
- func (o LookupTraceSinkResultOutput) ToLookupTraceSinkResultOutputWithContext(ctx context.Context) LookupTraceSinkResultOutput
- func (o LookupTraceSinkResultOutput) WriterIdentity() pulumi.StringOutput
- type OutputConfig
- type OutputConfigArgs
- type OutputConfigInput
- type OutputConfigOutput
- type OutputConfigResponse
- type OutputConfigResponseOutput
- func (o OutputConfigResponseOutput) Destination() pulumi.StringOutput
- func (OutputConfigResponseOutput) ElementType() reflect.Type
- func (o OutputConfigResponseOutput) ToOutputConfigResponseOutput() OutputConfigResponseOutput
- func (o OutputConfigResponseOutput) ToOutputConfigResponseOutputWithContext(ctx context.Context) OutputConfigResponseOutput
- type TraceSink
- type TraceSinkArgs
- type TraceSinkInput
- type TraceSinkOutput
- type TraceSinkState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupTraceSinkArgs ¶ added in v0.4.0
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 LookupTraceSinkOutput(ctx *pulumi.Context, args LookupTraceSinkOutputArgs, opts ...pulumi.InvokeOption) LookupTraceSinkResultOutput
func (LookupTraceSinkResultOutput) ElementType ¶ added in v0.8.0
func (LookupTraceSinkResultOutput) ElementType() reflect.Type
func (LookupTraceSinkResultOutput) Name ¶ added in v0.8.0
func (o LookupTraceSinkResultOutput) Name() pulumi.StringOutput
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
func (o LookupTraceSinkResultOutput) OutputConfig() OutputConfigResponseOutput
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. Currently only BigQuery is supported. E.g.: "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. Currently only BigQuery is supported. E.g.: "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. Currently only BigQuery is supported. E.g.: "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. Currently only BigQuery is supported. E.g.: "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 ¶
func (o OutputConfigResponseOutput) Destination() pulumi.StringOutput
The destination for writing trace data. Currently only BigQuery is supported. E.g.: "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"` // 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) 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) ToTraceSinkOutput ¶
func (o TraceSinkOutput) ToTraceSinkOutput() TraceSinkOutput
func (TraceSinkOutput) ToTraceSinkOutputWithContext ¶
func (o TraceSinkOutput) ToTraceSinkOutputWithContext(ctx context.Context) TraceSinkOutput
type TraceSinkState ¶
type TraceSinkState struct { }
func (TraceSinkState) ElementType ¶
func (TraceSinkState) ElementType() reflect.Type