Documentation ¶
Overview ¶
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
Index ¶
- type BillingAccountExclusion
- type BillingAccountExclusionArgs
- type BillingAccountExclusionState
- type BillingAccountSink
- type BillingAccountSinkArgs
- type BillingAccountSinkBigqueryOptions
- type BillingAccountSinkBigqueryOptionsArgs
- func (BillingAccountSinkBigqueryOptionsArgs) ElementType() reflect.Type
- func (i BillingAccountSinkBigqueryOptionsArgs) ToBillingAccountSinkBigqueryOptionsOutput() BillingAccountSinkBigqueryOptionsOutput
- func (i BillingAccountSinkBigqueryOptionsArgs) ToBillingAccountSinkBigqueryOptionsOutputWithContext(ctx context.Context) BillingAccountSinkBigqueryOptionsOutput
- func (i BillingAccountSinkBigqueryOptionsArgs) ToBillingAccountSinkBigqueryOptionsPtrOutput() BillingAccountSinkBigqueryOptionsPtrOutput
- func (i BillingAccountSinkBigqueryOptionsArgs) ToBillingAccountSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) BillingAccountSinkBigqueryOptionsPtrOutput
- type BillingAccountSinkBigqueryOptionsInput
- type BillingAccountSinkBigqueryOptionsOutput
- func (BillingAccountSinkBigqueryOptionsOutput) ElementType() reflect.Type
- func (o BillingAccountSinkBigqueryOptionsOutput) ToBillingAccountSinkBigqueryOptionsOutput() BillingAccountSinkBigqueryOptionsOutput
- func (o BillingAccountSinkBigqueryOptionsOutput) ToBillingAccountSinkBigqueryOptionsOutputWithContext(ctx context.Context) BillingAccountSinkBigqueryOptionsOutput
- func (o BillingAccountSinkBigqueryOptionsOutput) ToBillingAccountSinkBigqueryOptionsPtrOutput() BillingAccountSinkBigqueryOptionsPtrOutput
- func (o BillingAccountSinkBigqueryOptionsOutput) ToBillingAccountSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) BillingAccountSinkBigqueryOptionsPtrOutput
- func (o BillingAccountSinkBigqueryOptionsOutput) UsePartitionedTables() pulumi.BoolOutput
- type BillingAccountSinkBigqueryOptionsPtrInput
- type BillingAccountSinkBigqueryOptionsPtrOutput
- func (o BillingAccountSinkBigqueryOptionsPtrOutput) Elem() BillingAccountSinkBigqueryOptionsOutput
- func (BillingAccountSinkBigqueryOptionsPtrOutput) ElementType() reflect.Type
- func (o BillingAccountSinkBigqueryOptionsPtrOutput) ToBillingAccountSinkBigqueryOptionsPtrOutput() BillingAccountSinkBigqueryOptionsPtrOutput
- func (o BillingAccountSinkBigqueryOptionsPtrOutput) ToBillingAccountSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) BillingAccountSinkBigqueryOptionsPtrOutput
- func (o BillingAccountSinkBigqueryOptionsPtrOutput) UsePartitionedTables() pulumi.BoolOutput
- type BillingAccountSinkState
- type FolderExclusion
- type FolderExclusionArgs
- type FolderExclusionState
- type FolderSink
- type FolderSinkArgs
- type FolderSinkBigqueryOptions
- type FolderSinkBigqueryOptionsArgs
- func (FolderSinkBigqueryOptionsArgs) ElementType() reflect.Type
- func (i FolderSinkBigqueryOptionsArgs) ToFolderSinkBigqueryOptionsOutput() FolderSinkBigqueryOptionsOutput
- func (i FolderSinkBigqueryOptionsArgs) ToFolderSinkBigqueryOptionsOutputWithContext(ctx context.Context) FolderSinkBigqueryOptionsOutput
- func (i FolderSinkBigqueryOptionsArgs) ToFolderSinkBigqueryOptionsPtrOutput() FolderSinkBigqueryOptionsPtrOutput
- func (i FolderSinkBigqueryOptionsArgs) ToFolderSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) FolderSinkBigqueryOptionsPtrOutput
- type FolderSinkBigqueryOptionsInput
- type FolderSinkBigqueryOptionsOutput
- func (FolderSinkBigqueryOptionsOutput) ElementType() reflect.Type
- func (o FolderSinkBigqueryOptionsOutput) ToFolderSinkBigqueryOptionsOutput() FolderSinkBigqueryOptionsOutput
- func (o FolderSinkBigqueryOptionsOutput) ToFolderSinkBigqueryOptionsOutputWithContext(ctx context.Context) FolderSinkBigqueryOptionsOutput
- func (o FolderSinkBigqueryOptionsOutput) ToFolderSinkBigqueryOptionsPtrOutput() FolderSinkBigqueryOptionsPtrOutput
- func (o FolderSinkBigqueryOptionsOutput) ToFolderSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) FolderSinkBigqueryOptionsPtrOutput
- func (o FolderSinkBigqueryOptionsOutput) UsePartitionedTables() pulumi.BoolOutput
- type FolderSinkBigqueryOptionsPtrInput
- type FolderSinkBigqueryOptionsPtrOutput
- func (o FolderSinkBigqueryOptionsPtrOutput) Elem() FolderSinkBigqueryOptionsOutput
- func (FolderSinkBigqueryOptionsPtrOutput) ElementType() reflect.Type
- func (o FolderSinkBigqueryOptionsPtrOutput) ToFolderSinkBigqueryOptionsPtrOutput() FolderSinkBigqueryOptionsPtrOutput
- func (o FolderSinkBigqueryOptionsPtrOutput) ToFolderSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) FolderSinkBigqueryOptionsPtrOutput
- func (o FolderSinkBigqueryOptionsPtrOutput) UsePartitionedTables() pulumi.BoolOutput
- type FolderSinkState
- type Metric
- type MetricArgs
- type MetricBucketOptions
- type MetricBucketOptionsArgs
- func (MetricBucketOptionsArgs) ElementType() reflect.Type
- func (i MetricBucketOptionsArgs) ToMetricBucketOptionsOutput() MetricBucketOptionsOutput
- func (i MetricBucketOptionsArgs) ToMetricBucketOptionsOutputWithContext(ctx context.Context) MetricBucketOptionsOutput
- func (i MetricBucketOptionsArgs) ToMetricBucketOptionsPtrOutput() MetricBucketOptionsPtrOutput
- func (i MetricBucketOptionsArgs) ToMetricBucketOptionsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsPtrOutput
- type MetricBucketOptionsExplicitBuckets
- type MetricBucketOptionsExplicitBucketsArgs
- func (MetricBucketOptionsExplicitBucketsArgs) ElementType() reflect.Type
- func (i MetricBucketOptionsExplicitBucketsArgs) ToMetricBucketOptionsExplicitBucketsOutput() MetricBucketOptionsExplicitBucketsOutput
- func (i MetricBucketOptionsExplicitBucketsArgs) ToMetricBucketOptionsExplicitBucketsOutputWithContext(ctx context.Context) MetricBucketOptionsExplicitBucketsOutput
- func (i MetricBucketOptionsExplicitBucketsArgs) ToMetricBucketOptionsExplicitBucketsPtrOutput() MetricBucketOptionsExplicitBucketsPtrOutput
- func (i MetricBucketOptionsExplicitBucketsArgs) ToMetricBucketOptionsExplicitBucketsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsExplicitBucketsPtrOutput
- type MetricBucketOptionsExplicitBucketsInput
- type MetricBucketOptionsExplicitBucketsOutput
- func (o MetricBucketOptionsExplicitBucketsOutput) Bounds() pulumi.Float64ArrayOutput
- func (MetricBucketOptionsExplicitBucketsOutput) ElementType() reflect.Type
- func (o MetricBucketOptionsExplicitBucketsOutput) ToMetricBucketOptionsExplicitBucketsOutput() MetricBucketOptionsExplicitBucketsOutput
- func (o MetricBucketOptionsExplicitBucketsOutput) ToMetricBucketOptionsExplicitBucketsOutputWithContext(ctx context.Context) MetricBucketOptionsExplicitBucketsOutput
- func (o MetricBucketOptionsExplicitBucketsOutput) ToMetricBucketOptionsExplicitBucketsPtrOutput() MetricBucketOptionsExplicitBucketsPtrOutput
- func (o MetricBucketOptionsExplicitBucketsOutput) ToMetricBucketOptionsExplicitBucketsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsExplicitBucketsPtrOutput
- type MetricBucketOptionsExplicitBucketsPtrInput
- type MetricBucketOptionsExplicitBucketsPtrOutput
- func (o MetricBucketOptionsExplicitBucketsPtrOutput) Bounds() pulumi.Float64ArrayOutput
- func (o MetricBucketOptionsExplicitBucketsPtrOutput) Elem() MetricBucketOptionsExplicitBucketsOutput
- func (MetricBucketOptionsExplicitBucketsPtrOutput) ElementType() reflect.Type
- func (o MetricBucketOptionsExplicitBucketsPtrOutput) ToMetricBucketOptionsExplicitBucketsPtrOutput() MetricBucketOptionsExplicitBucketsPtrOutput
- func (o MetricBucketOptionsExplicitBucketsPtrOutput) ToMetricBucketOptionsExplicitBucketsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsExplicitBucketsPtrOutput
- type MetricBucketOptionsExponentialBuckets
- type MetricBucketOptionsExponentialBucketsArgs
- func (MetricBucketOptionsExponentialBucketsArgs) ElementType() reflect.Type
- func (i MetricBucketOptionsExponentialBucketsArgs) ToMetricBucketOptionsExponentialBucketsOutput() MetricBucketOptionsExponentialBucketsOutput
- func (i MetricBucketOptionsExponentialBucketsArgs) ToMetricBucketOptionsExponentialBucketsOutputWithContext(ctx context.Context) MetricBucketOptionsExponentialBucketsOutput
- func (i MetricBucketOptionsExponentialBucketsArgs) ToMetricBucketOptionsExponentialBucketsPtrOutput() MetricBucketOptionsExponentialBucketsPtrOutput
- func (i MetricBucketOptionsExponentialBucketsArgs) ToMetricBucketOptionsExponentialBucketsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsExponentialBucketsPtrOutput
- type MetricBucketOptionsExponentialBucketsInput
- type MetricBucketOptionsExponentialBucketsOutput
- func (MetricBucketOptionsExponentialBucketsOutput) ElementType() reflect.Type
- func (o MetricBucketOptionsExponentialBucketsOutput) GrowthFactor() pulumi.Float64PtrOutput
- func (o MetricBucketOptionsExponentialBucketsOutput) NumFiniteBuckets() pulumi.IntPtrOutput
- func (o MetricBucketOptionsExponentialBucketsOutput) Scale() pulumi.Float64PtrOutput
- func (o MetricBucketOptionsExponentialBucketsOutput) ToMetricBucketOptionsExponentialBucketsOutput() MetricBucketOptionsExponentialBucketsOutput
- func (o MetricBucketOptionsExponentialBucketsOutput) ToMetricBucketOptionsExponentialBucketsOutputWithContext(ctx context.Context) MetricBucketOptionsExponentialBucketsOutput
- func (o MetricBucketOptionsExponentialBucketsOutput) ToMetricBucketOptionsExponentialBucketsPtrOutput() MetricBucketOptionsExponentialBucketsPtrOutput
- func (o MetricBucketOptionsExponentialBucketsOutput) ToMetricBucketOptionsExponentialBucketsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsExponentialBucketsPtrOutput
- type MetricBucketOptionsExponentialBucketsPtrInput
- type MetricBucketOptionsExponentialBucketsPtrOutput
- func (o MetricBucketOptionsExponentialBucketsPtrOutput) Elem() MetricBucketOptionsExponentialBucketsOutput
- func (MetricBucketOptionsExponentialBucketsPtrOutput) ElementType() reflect.Type
- func (o MetricBucketOptionsExponentialBucketsPtrOutput) GrowthFactor() pulumi.Float64PtrOutput
- func (o MetricBucketOptionsExponentialBucketsPtrOutput) NumFiniteBuckets() pulumi.IntPtrOutput
- func (o MetricBucketOptionsExponentialBucketsPtrOutput) Scale() pulumi.Float64PtrOutput
- func (o MetricBucketOptionsExponentialBucketsPtrOutput) ToMetricBucketOptionsExponentialBucketsPtrOutput() MetricBucketOptionsExponentialBucketsPtrOutput
- func (o MetricBucketOptionsExponentialBucketsPtrOutput) ToMetricBucketOptionsExponentialBucketsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsExponentialBucketsPtrOutput
- type MetricBucketOptionsInput
- type MetricBucketOptionsLinearBuckets
- type MetricBucketOptionsLinearBucketsArgs
- func (MetricBucketOptionsLinearBucketsArgs) ElementType() reflect.Type
- func (i MetricBucketOptionsLinearBucketsArgs) ToMetricBucketOptionsLinearBucketsOutput() MetricBucketOptionsLinearBucketsOutput
- func (i MetricBucketOptionsLinearBucketsArgs) ToMetricBucketOptionsLinearBucketsOutputWithContext(ctx context.Context) MetricBucketOptionsLinearBucketsOutput
- func (i MetricBucketOptionsLinearBucketsArgs) ToMetricBucketOptionsLinearBucketsPtrOutput() MetricBucketOptionsLinearBucketsPtrOutput
- func (i MetricBucketOptionsLinearBucketsArgs) ToMetricBucketOptionsLinearBucketsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsLinearBucketsPtrOutput
- type MetricBucketOptionsLinearBucketsInput
- type MetricBucketOptionsLinearBucketsOutput
- func (MetricBucketOptionsLinearBucketsOutput) ElementType() reflect.Type
- func (o MetricBucketOptionsLinearBucketsOutput) NumFiniteBuckets() pulumi.IntPtrOutput
- func (o MetricBucketOptionsLinearBucketsOutput) Offset() pulumi.Float64PtrOutput
- func (o MetricBucketOptionsLinearBucketsOutput) ToMetricBucketOptionsLinearBucketsOutput() MetricBucketOptionsLinearBucketsOutput
- func (o MetricBucketOptionsLinearBucketsOutput) ToMetricBucketOptionsLinearBucketsOutputWithContext(ctx context.Context) MetricBucketOptionsLinearBucketsOutput
- func (o MetricBucketOptionsLinearBucketsOutput) ToMetricBucketOptionsLinearBucketsPtrOutput() MetricBucketOptionsLinearBucketsPtrOutput
- func (o MetricBucketOptionsLinearBucketsOutput) ToMetricBucketOptionsLinearBucketsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsLinearBucketsPtrOutput
- func (o MetricBucketOptionsLinearBucketsOutput) Width() pulumi.IntPtrOutput
- type MetricBucketOptionsLinearBucketsPtrInput
- type MetricBucketOptionsLinearBucketsPtrOutput
- func (o MetricBucketOptionsLinearBucketsPtrOutput) Elem() MetricBucketOptionsLinearBucketsOutput
- func (MetricBucketOptionsLinearBucketsPtrOutput) ElementType() reflect.Type
- func (o MetricBucketOptionsLinearBucketsPtrOutput) NumFiniteBuckets() pulumi.IntPtrOutput
- func (o MetricBucketOptionsLinearBucketsPtrOutput) Offset() pulumi.Float64PtrOutput
- func (o MetricBucketOptionsLinearBucketsPtrOutput) ToMetricBucketOptionsLinearBucketsPtrOutput() MetricBucketOptionsLinearBucketsPtrOutput
- func (o MetricBucketOptionsLinearBucketsPtrOutput) ToMetricBucketOptionsLinearBucketsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsLinearBucketsPtrOutput
- func (o MetricBucketOptionsLinearBucketsPtrOutput) Width() pulumi.IntPtrOutput
- type MetricBucketOptionsOutput
- func (MetricBucketOptionsOutput) ElementType() reflect.Type
- func (o MetricBucketOptionsOutput) ExplicitBuckets() MetricBucketOptionsExplicitBucketsPtrOutput
- func (o MetricBucketOptionsOutput) ExponentialBuckets() MetricBucketOptionsExponentialBucketsPtrOutput
- func (o MetricBucketOptionsOutput) LinearBuckets() MetricBucketOptionsLinearBucketsPtrOutput
- func (o MetricBucketOptionsOutput) ToMetricBucketOptionsOutput() MetricBucketOptionsOutput
- func (o MetricBucketOptionsOutput) ToMetricBucketOptionsOutputWithContext(ctx context.Context) MetricBucketOptionsOutput
- func (o MetricBucketOptionsOutput) ToMetricBucketOptionsPtrOutput() MetricBucketOptionsPtrOutput
- func (o MetricBucketOptionsOutput) ToMetricBucketOptionsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsPtrOutput
- type MetricBucketOptionsPtrInput
- type MetricBucketOptionsPtrOutput
- func (o MetricBucketOptionsPtrOutput) Elem() MetricBucketOptionsOutput
- func (MetricBucketOptionsPtrOutput) ElementType() reflect.Type
- func (o MetricBucketOptionsPtrOutput) ExplicitBuckets() MetricBucketOptionsExplicitBucketsPtrOutput
- func (o MetricBucketOptionsPtrOutput) ExponentialBuckets() MetricBucketOptionsExponentialBucketsPtrOutput
- func (o MetricBucketOptionsPtrOutput) LinearBuckets() MetricBucketOptionsLinearBucketsPtrOutput
- func (o MetricBucketOptionsPtrOutput) ToMetricBucketOptionsPtrOutput() MetricBucketOptionsPtrOutput
- func (o MetricBucketOptionsPtrOutput) ToMetricBucketOptionsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsPtrOutput
- type MetricMetricDescriptor
- type MetricMetricDescriptorArgs
- func (MetricMetricDescriptorArgs) ElementType() reflect.Type
- func (i MetricMetricDescriptorArgs) ToMetricMetricDescriptorOutput() MetricMetricDescriptorOutput
- func (i MetricMetricDescriptorArgs) ToMetricMetricDescriptorOutputWithContext(ctx context.Context) MetricMetricDescriptorOutput
- func (i MetricMetricDescriptorArgs) ToMetricMetricDescriptorPtrOutput() MetricMetricDescriptorPtrOutput
- func (i MetricMetricDescriptorArgs) ToMetricMetricDescriptorPtrOutputWithContext(ctx context.Context) MetricMetricDescriptorPtrOutput
- type MetricMetricDescriptorInput
- type MetricMetricDescriptorLabel
- type MetricMetricDescriptorLabelArgs
- func (MetricMetricDescriptorLabelArgs) ElementType() reflect.Type
- func (i MetricMetricDescriptorLabelArgs) ToMetricMetricDescriptorLabelOutput() MetricMetricDescriptorLabelOutput
- func (i MetricMetricDescriptorLabelArgs) ToMetricMetricDescriptorLabelOutputWithContext(ctx context.Context) MetricMetricDescriptorLabelOutput
- type MetricMetricDescriptorLabelArray
- func (MetricMetricDescriptorLabelArray) ElementType() reflect.Type
- func (i MetricMetricDescriptorLabelArray) ToMetricMetricDescriptorLabelArrayOutput() MetricMetricDescriptorLabelArrayOutput
- func (i MetricMetricDescriptorLabelArray) ToMetricMetricDescriptorLabelArrayOutputWithContext(ctx context.Context) MetricMetricDescriptorLabelArrayOutput
- type MetricMetricDescriptorLabelArrayInput
- type MetricMetricDescriptorLabelArrayOutput
- func (MetricMetricDescriptorLabelArrayOutput) ElementType() reflect.Type
- func (o MetricMetricDescriptorLabelArrayOutput) Index(i pulumi.IntInput) MetricMetricDescriptorLabelOutput
- func (o MetricMetricDescriptorLabelArrayOutput) ToMetricMetricDescriptorLabelArrayOutput() MetricMetricDescriptorLabelArrayOutput
- func (o MetricMetricDescriptorLabelArrayOutput) ToMetricMetricDescriptorLabelArrayOutputWithContext(ctx context.Context) MetricMetricDescriptorLabelArrayOutput
- type MetricMetricDescriptorLabelInput
- type MetricMetricDescriptorLabelOutput
- func (o MetricMetricDescriptorLabelOutput) Description() pulumi.StringPtrOutput
- func (MetricMetricDescriptorLabelOutput) ElementType() reflect.Type
- func (o MetricMetricDescriptorLabelOutput) Key() pulumi.StringOutput
- func (o MetricMetricDescriptorLabelOutput) ToMetricMetricDescriptorLabelOutput() MetricMetricDescriptorLabelOutput
- func (o MetricMetricDescriptorLabelOutput) ToMetricMetricDescriptorLabelOutputWithContext(ctx context.Context) MetricMetricDescriptorLabelOutput
- func (o MetricMetricDescriptorLabelOutput) ValueType() pulumi.StringPtrOutput
- type MetricMetricDescriptorOutput
- func (o MetricMetricDescriptorOutput) DisplayName() pulumi.StringPtrOutput
- func (MetricMetricDescriptorOutput) ElementType() reflect.Type
- func (o MetricMetricDescriptorOutput) Labels() MetricMetricDescriptorLabelArrayOutput
- func (o MetricMetricDescriptorOutput) MetricKind() pulumi.StringOutput
- func (o MetricMetricDescriptorOutput) ToMetricMetricDescriptorOutput() MetricMetricDescriptorOutput
- func (o MetricMetricDescriptorOutput) ToMetricMetricDescriptorOutputWithContext(ctx context.Context) MetricMetricDescriptorOutput
- func (o MetricMetricDescriptorOutput) ToMetricMetricDescriptorPtrOutput() MetricMetricDescriptorPtrOutput
- func (o MetricMetricDescriptorOutput) ToMetricMetricDescriptorPtrOutputWithContext(ctx context.Context) MetricMetricDescriptorPtrOutput
- func (o MetricMetricDescriptorOutput) Unit() pulumi.StringPtrOutput
- func (o MetricMetricDescriptorOutput) ValueType() pulumi.StringOutput
- type MetricMetricDescriptorPtrInput
- type MetricMetricDescriptorPtrOutput
- func (o MetricMetricDescriptorPtrOutput) DisplayName() pulumi.StringPtrOutput
- func (o MetricMetricDescriptorPtrOutput) Elem() MetricMetricDescriptorOutput
- func (MetricMetricDescriptorPtrOutput) ElementType() reflect.Type
- func (o MetricMetricDescriptorPtrOutput) Labels() MetricMetricDescriptorLabelArrayOutput
- func (o MetricMetricDescriptorPtrOutput) MetricKind() pulumi.StringOutput
- func (o MetricMetricDescriptorPtrOutput) ToMetricMetricDescriptorPtrOutput() MetricMetricDescriptorPtrOutput
- func (o MetricMetricDescriptorPtrOutput) ToMetricMetricDescriptorPtrOutputWithContext(ctx context.Context) MetricMetricDescriptorPtrOutput
- func (o MetricMetricDescriptorPtrOutput) Unit() pulumi.StringPtrOutput
- func (o MetricMetricDescriptorPtrOutput) ValueType() pulumi.StringOutput
- type MetricState
- type OrganizationExclusion
- type OrganizationExclusionArgs
- type OrganizationExclusionState
- type OrganizationSink
- type OrganizationSinkArgs
- type OrganizationSinkBigqueryOptions
- type OrganizationSinkBigqueryOptionsArgs
- func (OrganizationSinkBigqueryOptionsArgs) ElementType() reflect.Type
- func (i OrganizationSinkBigqueryOptionsArgs) ToOrganizationSinkBigqueryOptionsOutput() OrganizationSinkBigqueryOptionsOutput
- func (i OrganizationSinkBigqueryOptionsArgs) ToOrganizationSinkBigqueryOptionsOutputWithContext(ctx context.Context) OrganizationSinkBigqueryOptionsOutput
- func (i OrganizationSinkBigqueryOptionsArgs) ToOrganizationSinkBigqueryOptionsPtrOutput() OrganizationSinkBigqueryOptionsPtrOutput
- func (i OrganizationSinkBigqueryOptionsArgs) ToOrganizationSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) OrganizationSinkBigqueryOptionsPtrOutput
- type OrganizationSinkBigqueryOptionsInput
- type OrganizationSinkBigqueryOptionsOutput
- func (OrganizationSinkBigqueryOptionsOutput) ElementType() reflect.Type
- func (o OrganizationSinkBigqueryOptionsOutput) ToOrganizationSinkBigqueryOptionsOutput() OrganizationSinkBigqueryOptionsOutput
- func (o OrganizationSinkBigqueryOptionsOutput) ToOrganizationSinkBigqueryOptionsOutputWithContext(ctx context.Context) OrganizationSinkBigqueryOptionsOutput
- func (o OrganizationSinkBigqueryOptionsOutput) ToOrganizationSinkBigqueryOptionsPtrOutput() OrganizationSinkBigqueryOptionsPtrOutput
- func (o OrganizationSinkBigqueryOptionsOutput) ToOrganizationSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) OrganizationSinkBigqueryOptionsPtrOutput
- func (o OrganizationSinkBigqueryOptionsOutput) UsePartitionedTables() pulumi.BoolOutput
- type OrganizationSinkBigqueryOptionsPtrInput
- type OrganizationSinkBigqueryOptionsPtrOutput
- func (o OrganizationSinkBigqueryOptionsPtrOutput) Elem() OrganizationSinkBigqueryOptionsOutput
- func (OrganizationSinkBigqueryOptionsPtrOutput) ElementType() reflect.Type
- func (o OrganizationSinkBigqueryOptionsPtrOutput) ToOrganizationSinkBigqueryOptionsPtrOutput() OrganizationSinkBigqueryOptionsPtrOutput
- func (o OrganizationSinkBigqueryOptionsPtrOutput) ToOrganizationSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) OrganizationSinkBigqueryOptionsPtrOutput
- func (o OrganizationSinkBigqueryOptionsPtrOutput) UsePartitionedTables() pulumi.BoolOutput
- type OrganizationSinkState
- type ProjectExclusion
- type ProjectExclusionArgs
- type ProjectExclusionState
- type ProjectSink
- type ProjectSinkArgs
- type ProjectSinkBigqueryOptions
- type ProjectSinkBigqueryOptionsArgs
- func (ProjectSinkBigqueryOptionsArgs) ElementType() reflect.Type
- func (i ProjectSinkBigqueryOptionsArgs) ToProjectSinkBigqueryOptionsOutput() ProjectSinkBigqueryOptionsOutput
- func (i ProjectSinkBigqueryOptionsArgs) ToProjectSinkBigqueryOptionsOutputWithContext(ctx context.Context) ProjectSinkBigqueryOptionsOutput
- func (i ProjectSinkBigqueryOptionsArgs) ToProjectSinkBigqueryOptionsPtrOutput() ProjectSinkBigqueryOptionsPtrOutput
- func (i ProjectSinkBigqueryOptionsArgs) ToProjectSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) ProjectSinkBigqueryOptionsPtrOutput
- type ProjectSinkBigqueryOptionsInput
- type ProjectSinkBigqueryOptionsOutput
- func (ProjectSinkBigqueryOptionsOutput) ElementType() reflect.Type
- func (o ProjectSinkBigqueryOptionsOutput) ToProjectSinkBigqueryOptionsOutput() ProjectSinkBigqueryOptionsOutput
- func (o ProjectSinkBigqueryOptionsOutput) ToProjectSinkBigqueryOptionsOutputWithContext(ctx context.Context) ProjectSinkBigqueryOptionsOutput
- func (o ProjectSinkBigqueryOptionsOutput) ToProjectSinkBigqueryOptionsPtrOutput() ProjectSinkBigqueryOptionsPtrOutput
- func (o ProjectSinkBigqueryOptionsOutput) ToProjectSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) ProjectSinkBigqueryOptionsPtrOutput
- func (o ProjectSinkBigqueryOptionsOutput) UsePartitionedTables() pulumi.BoolOutput
- type ProjectSinkBigqueryOptionsPtrInput
- type ProjectSinkBigqueryOptionsPtrOutput
- func (o ProjectSinkBigqueryOptionsPtrOutput) Elem() ProjectSinkBigqueryOptionsOutput
- func (ProjectSinkBigqueryOptionsPtrOutput) ElementType() reflect.Type
- func (o ProjectSinkBigqueryOptionsPtrOutput) ToProjectSinkBigqueryOptionsPtrOutput() ProjectSinkBigqueryOptionsPtrOutput
- func (o ProjectSinkBigqueryOptionsPtrOutput) ToProjectSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) ProjectSinkBigqueryOptionsPtrOutput
- func (o ProjectSinkBigqueryOptionsPtrOutput) UsePartitionedTables() pulumi.BoolOutput
- type ProjectSinkState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BillingAccountExclusion ¶
type BillingAccountExclusion struct { pulumi.CustomResourceState // The billing account to create the exclusion for. BillingAccount pulumi.StringOutput `pulumi:"billingAccount"` // A human-readable description. Description pulumi.StringPtrOutput `pulumi:"description"` // Whether this exclusion rule should be disabled or not. This defaults to // false. Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` // The filter to apply when excluding logs. Only log entries that match the filter are excluded. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced-filters) for information on how to // write a filter. Filter pulumi.StringOutput `pulumi:"filter"` // The name of the logging exclusion. Name pulumi.StringOutput `pulumi:"name"` }
Manages a billing account logging exclusion. For more information see [the official documentation](https://cloud.google.com/logging/docs/) and [Excluding Logs](https://cloud.google.com/logging/docs/exclusions).
Note that you must have the "Logs Configuration Writer" IAM role (`roles/logging.configWriter`) granted to the credentials used with the provider.
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/logging_billing_account_exclusion.html.markdown.
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.
type BillingAccountExclusionArgs ¶
type BillingAccountExclusionArgs struct { // The billing account to create the exclusion for. BillingAccount pulumi.StringInput // A human-readable description. Description pulumi.StringPtrInput // Whether this exclusion rule should be disabled or not. This defaults to // false. Disabled pulumi.BoolPtrInput // The filter to apply when excluding logs. Only log entries that match the filter are excluded. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced-filters) for information on how to // write a filter. Filter pulumi.StringInput // The name of the logging exclusion. Name pulumi.StringPtrInput }
The set of arguments for constructing a BillingAccountExclusion resource.
func (BillingAccountExclusionArgs) ElementType ¶
func (BillingAccountExclusionArgs) ElementType() reflect.Type
type BillingAccountExclusionState ¶
type BillingAccountExclusionState struct { // The billing account to create the exclusion for. BillingAccount pulumi.StringPtrInput // A human-readable description. Description pulumi.StringPtrInput // Whether this exclusion rule should be disabled or not. This defaults to // false. Disabled pulumi.BoolPtrInput // The filter to apply when excluding logs. Only log entries that match the filter are excluded. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced-filters) for information on how to // write a filter. Filter pulumi.StringPtrInput // The name of the logging exclusion. Name pulumi.StringPtrInput }
func (BillingAccountExclusionState) ElementType ¶
func (BillingAccountExclusionState) ElementType() reflect.Type
type BillingAccountSink ¶
type BillingAccountSink struct { pulumi.CustomResourceState // Options that affect sinks exporting data to BigQuery. Structure documented below. BigqueryOptions BillingAccountSinkBigqueryOptionsOutput `pulumi:"bigqueryOptions"` // The billing account exported to the sink. BillingAccount pulumi.StringOutput `pulumi:"billingAccount"` // 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: // The writer associated with the sink must have access to write to the above resource. Destination pulumi.StringOutput `pulumi:"destination"` // The filter to apply when exporting logs. Only log entries that match the filter are exported. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to // write a filter. Filter pulumi.StringPtrOutput `pulumi:"filter"` // The name of the logging sink. Name pulumi.StringOutput `pulumi:"name"` // The identity associated with this sink. This identity must be granted write access to the // configured `destination`. WriterIdentity pulumi.StringOutput `pulumi:"writerIdentity"` }
Manages a billing account logging sink. For more information see [the official documentation](https://cloud.google.com/logging/docs/) and [Exporting Logs in the API](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
> **Note** You must have the "Logs Configuration Writer" IAM role (`roles/logging.configWriter`) [granted on the billing account](https://cloud.google.com/billing/reference/rest/v1/billingAccounts/getIamPolicy) to the credentials used with this provider. [IAM roles granted on a billing account](https://cloud.google.com/billing/docs/how-to/billing-access) are separate from the typical IAM roles granted on a project.
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/logging_billing_account_sink.html.markdown.
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.
type BillingAccountSinkArgs ¶
type BillingAccountSinkArgs struct { // Options that affect sinks exporting data to BigQuery. Structure documented below. BigqueryOptions BillingAccountSinkBigqueryOptionsPtrInput // The billing account exported to the sink. BillingAccount pulumi.StringInput // 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: // The writer associated with the sink must have access to write to the above resource. Destination pulumi.StringInput // The filter to apply when exporting logs. Only log entries that match the filter are exported. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to // write a filter. Filter pulumi.StringPtrInput // The name of the logging sink. Name pulumi.StringPtrInput }
The set of arguments for constructing a BillingAccountSink resource.
func (BillingAccountSinkArgs) ElementType ¶
func (BillingAccountSinkArgs) ElementType() reflect.Type
type BillingAccountSinkBigqueryOptions ¶
type BillingAccountSinkBigqueryOptions struct { // Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables). // By default, 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"` }
type BillingAccountSinkBigqueryOptionsArgs ¶
type BillingAccountSinkBigqueryOptionsArgs struct { // Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables). // By default, 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.BoolInput `pulumi:"usePartitionedTables"` }
func (BillingAccountSinkBigqueryOptionsArgs) ElementType ¶
func (BillingAccountSinkBigqueryOptionsArgs) ElementType() reflect.Type
func (BillingAccountSinkBigqueryOptionsArgs) ToBillingAccountSinkBigqueryOptionsOutput ¶
func (i BillingAccountSinkBigqueryOptionsArgs) ToBillingAccountSinkBigqueryOptionsOutput() BillingAccountSinkBigqueryOptionsOutput
func (BillingAccountSinkBigqueryOptionsArgs) ToBillingAccountSinkBigqueryOptionsOutputWithContext ¶
func (i BillingAccountSinkBigqueryOptionsArgs) ToBillingAccountSinkBigqueryOptionsOutputWithContext(ctx context.Context) BillingAccountSinkBigqueryOptionsOutput
func (BillingAccountSinkBigqueryOptionsArgs) ToBillingAccountSinkBigqueryOptionsPtrOutput ¶
func (i BillingAccountSinkBigqueryOptionsArgs) ToBillingAccountSinkBigqueryOptionsPtrOutput() BillingAccountSinkBigqueryOptionsPtrOutput
func (BillingAccountSinkBigqueryOptionsArgs) ToBillingAccountSinkBigqueryOptionsPtrOutputWithContext ¶
func (i BillingAccountSinkBigqueryOptionsArgs) ToBillingAccountSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) BillingAccountSinkBigqueryOptionsPtrOutput
type BillingAccountSinkBigqueryOptionsInput ¶
type BillingAccountSinkBigqueryOptionsInput interface { pulumi.Input ToBillingAccountSinkBigqueryOptionsOutput() BillingAccountSinkBigqueryOptionsOutput ToBillingAccountSinkBigqueryOptionsOutputWithContext(context.Context) BillingAccountSinkBigqueryOptionsOutput }
type BillingAccountSinkBigqueryOptionsOutput ¶
type BillingAccountSinkBigqueryOptionsOutput struct{ *pulumi.OutputState }
func (BillingAccountSinkBigqueryOptionsOutput) ElementType ¶
func (BillingAccountSinkBigqueryOptionsOutput) ElementType() reflect.Type
func (BillingAccountSinkBigqueryOptionsOutput) ToBillingAccountSinkBigqueryOptionsOutput ¶
func (o BillingAccountSinkBigqueryOptionsOutput) ToBillingAccountSinkBigqueryOptionsOutput() BillingAccountSinkBigqueryOptionsOutput
func (BillingAccountSinkBigqueryOptionsOutput) ToBillingAccountSinkBigqueryOptionsOutputWithContext ¶
func (o BillingAccountSinkBigqueryOptionsOutput) ToBillingAccountSinkBigqueryOptionsOutputWithContext(ctx context.Context) BillingAccountSinkBigqueryOptionsOutput
func (BillingAccountSinkBigqueryOptionsOutput) ToBillingAccountSinkBigqueryOptionsPtrOutput ¶
func (o BillingAccountSinkBigqueryOptionsOutput) ToBillingAccountSinkBigqueryOptionsPtrOutput() BillingAccountSinkBigqueryOptionsPtrOutput
func (BillingAccountSinkBigqueryOptionsOutput) ToBillingAccountSinkBigqueryOptionsPtrOutputWithContext ¶
func (o BillingAccountSinkBigqueryOptionsOutput) ToBillingAccountSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) BillingAccountSinkBigqueryOptionsPtrOutput
func (BillingAccountSinkBigqueryOptionsOutput) UsePartitionedTables ¶
func (o BillingAccountSinkBigqueryOptionsOutput) UsePartitionedTables() pulumi.BoolOutput
Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By default, 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 BillingAccountSinkBigqueryOptionsPtrInput ¶
type BillingAccountSinkBigqueryOptionsPtrInput interface { pulumi.Input ToBillingAccountSinkBigqueryOptionsPtrOutput() BillingAccountSinkBigqueryOptionsPtrOutput ToBillingAccountSinkBigqueryOptionsPtrOutputWithContext(context.Context) BillingAccountSinkBigqueryOptionsPtrOutput }
func BillingAccountSinkBigqueryOptionsPtr ¶
func BillingAccountSinkBigqueryOptionsPtr(v *BillingAccountSinkBigqueryOptionsArgs) BillingAccountSinkBigqueryOptionsPtrInput
type BillingAccountSinkBigqueryOptionsPtrOutput ¶
type BillingAccountSinkBigqueryOptionsPtrOutput struct{ *pulumi.OutputState }
func (BillingAccountSinkBigqueryOptionsPtrOutput) ElementType ¶
func (BillingAccountSinkBigqueryOptionsPtrOutput) ElementType() reflect.Type
func (BillingAccountSinkBigqueryOptionsPtrOutput) ToBillingAccountSinkBigqueryOptionsPtrOutput ¶
func (o BillingAccountSinkBigqueryOptionsPtrOutput) ToBillingAccountSinkBigqueryOptionsPtrOutput() BillingAccountSinkBigqueryOptionsPtrOutput
func (BillingAccountSinkBigqueryOptionsPtrOutput) ToBillingAccountSinkBigqueryOptionsPtrOutputWithContext ¶
func (o BillingAccountSinkBigqueryOptionsPtrOutput) ToBillingAccountSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) BillingAccountSinkBigqueryOptionsPtrOutput
func (BillingAccountSinkBigqueryOptionsPtrOutput) UsePartitionedTables ¶
func (o BillingAccountSinkBigqueryOptionsPtrOutput) UsePartitionedTables() pulumi.BoolOutput
Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By default, 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 BillingAccountSinkState ¶
type BillingAccountSinkState struct { // Options that affect sinks exporting data to BigQuery. Structure documented below. BigqueryOptions BillingAccountSinkBigqueryOptionsPtrInput // The billing account exported to the sink. BillingAccount pulumi.StringPtrInput // 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: // The writer associated with the sink must have access to write to the above resource. Destination pulumi.StringPtrInput // The filter to apply when exporting logs. Only log entries that match the filter are exported. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to // write a filter. Filter pulumi.StringPtrInput // The name of the logging sink. Name pulumi.StringPtrInput // The identity associated with this sink. This identity must be granted write access to the // configured `destination`. WriterIdentity pulumi.StringPtrInput }
func (BillingAccountSinkState) ElementType ¶
func (BillingAccountSinkState) ElementType() reflect.Type
type FolderExclusion ¶
type FolderExclusion struct { pulumi.CustomResourceState // A human-readable description. Description pulumi.StringPtrOutput `pulumi:"description"` // Whether this exclusion rule should be disabled or not. This defaults to // false. Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` // The filter to apply when excluding logs. Only log entries that match the filter are excluded. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced-filters) for information on how to // write a filter. Filter pulumi.StringOutput `pulumi:"filter"` // The folder to be exported to the sink. Note that either [FOLDER_ID] or "folders/[FOLDER_ID]" is // accepted. Folder pulumi.StringOutput `pulumi:"folder"` // The name of the logging exclusion. Name pulumi.StringOutput `pulumi:"name"` }
Manages a folder-level logging exclusion. For more information see [the official documentation](https://cloud.google.com/logging/docs/) and [Excluding Logs](https://cloud.google.com/logging/docs/exclusions).
Note that you must have the "Logs Configuration Writer" IAM role (`roles/logging.configWriter`) granted to the credentials used with this provider.
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/logging_folder_exclusion.html.markdown.
func GetFolderExclusion ¶
func GetFolderExclusion(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FolderExclusionState, opts ...pulumi.ResourceOption) (*FolderExclusion, error)
GetFolderExclusion gets an existing FolderExclusion 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 NewFolderExclusion ¶
func NewFolderExclusion(ctx *pulumi.Context, name string, args *FolderExclusionArgs, opts ...pulumi.ResourceOption) (*FolderExclusion, error)
NewFolderExclusion registers a new resource with the given unique name, arguments, and options.
type FolderExclusionArgs ¶
type FolderExclusionArgs struct { // A human-readable description. Description pulumi.StringPtrInput // Whether this exclusion rule should be disabled or not. This defaults to // false. Disabled pulumi.BoolPtrInput // The filter to apply when excluding logs. Only log entries that match the filter are excluded. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced-filters) for information on how to // write a filter. Filter pulumi.StringInput // The folder to be exported to the sink. Note that either [FOLDER_ID] or "folders/[FOLDER_ID]" is // accepted. Folder pulumi.StringInput // The name of the logging exclusion. Name pulumi.StringPtrInput }
The set of arguments for constructing a FolderExclusion resource.
func (FolderExclusionArgs) ElementType ¶
func (FolderExclusionArgs) ElementType() reflect.Type
type FolderExclusionState ¶
type FolderExclusionState struct { // A human-readable description. Description pulumi.StringPtrInput // Whether this exclusion rule should be disabled or not. This defaults to // false. Disabled pulumi.BoolPtrInput // The filter to apply when excluding logs. Only log entries that match the filter are excluded. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced-filters) for information on how to // write a filter. Filter pulumi.StringPtrInput // The folder to be exported to the sink. Note that either [FOLDER_ID] or "folders/[FOLDER_ID]" is // accepted. Folder pulumi.StringPtrInput // The name of the logging exclusion. Name pulumi.StringPtrInput }
func (FolderExclusionState) ElementType ¶
func (FolderExclusionState) ElementType() reflect.Type
type FolderSink ¶
type FolderSink struct { pulumi.CustomResourceState // Options that affect sinks exporting data to BigQuery. Structure documented below. BigqueryOptions FolderSinkBigqueryOptionsOutput `pulumi:"bigqueryOptions"` // 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: // The writer associated with the sink must have access to write to the above resource. Destination pulumi.StringOutput `pulumi:"destination"` // The filter to apply when exporting logs. Only log entries that match the filter are exported. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to // write a filter. Filter pulumi.StringPtrOutput `pulumi:"filter"` // The folder to be exported to the sink. Note that either [FOLDER_ID] or "folders/[FOLDER_ID]" is // accepted. Folder pulumi.StringOutput `pulumi:"folder"` // 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. IncludeChildren pulumi.BoolPtrOutput `pulumi:"includeChildren"` // The name of the logging sink. Name pulumi.StringOutput `pulumi:"name"` // The identity associated with this sink. This identity must be granted write access to the // configured `destination`. WriterIdentity pulumi.StringOutput `pulumi:"writerIdentity"` }
Manages a folder-level logging sink. For more information see [the official documentation](https://cloud.google.com/logging/docs/) and [Exporting Logs in the API](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
Note that you must have the "Logs Configuration Writer" IAM role (`roles/logging.configWriter`) granted to the credentials used with this provider.
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/logging_folder_sink.html.markdown.
func GetFolderSink ¶
func GetFolderSink(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FolderSinkState, opts ...pulumi.ResourceOption) (*FolderSink, error)
GetFolderSink gets an existing FolderSink 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 NewFolderSink ¶
func NewFolderSink(ctx *pulumi.Context, name string, args *FolderSinkArgs, opts ...pulumi.ResourceOption) (*FolderSink, error)
NewFolderSink registers a new resource with the given unique name, arguments, and options.
type FolderSinkArgs ¶
type FolderSinkArgs struct { // Options that affect sinks exporting data to BigQuery. Structure documented below. BigqueryOptions FolderSinkBigqueryOptionsPtrInput // 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: // The writer associated with the sink must have access to write to the above resource. Destination pulumi.StringInput // The filter to apply when exporting logs. Only log entries that match the filter are exported. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to // write a filter. Filter pulumi.StringPtrInput // The folder to be exported to the sink. Note that either [FOLDER_ID] or "folders/[FOLDER_ID]" is // accepted. Folder pulumi.StringInput // 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. IncludeChildren pulumi.BoolPtrInput // The name of the logging sink. Name pulumi.StringPtrInput }
The set of arguments for constructing a FolderSink resource.
func (FolderSinkArgs) ElementType ¶
func (FolderSinkArgs) ElementType() reflect.Type
type FolderSinkBigqueryOptions ¶
type FolderSinkBigqueryOptions struct { // Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables). // By default, 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"` }
type FolderSinkBigqueryOptionsArgs ¶
type FolderSinkBigqueryOptionsArgs struct { // Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables). // By default, 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.BoolInput `pulumi:"usePartitionedTables"` }
func (FolderSinkBigqueryOptionsArgs) ElementType ¶
func (FolderSinkBigqueryOptionsArgs) ElementType() reflect.Type
func (FolderSinkBigqueryOptionsArgs) ToFolderSinkBigqueryOptionsOutput ¶
func (i FolderSinkBigqueryOptionsArgs) ToFolderSinkBigqueryOptionsOutput() FolderSinkBigqueryOptionsOutput
func (FolderSinkBigqueryOptionsArgs) ToFolderSinkBigqueryOptionsOutputWithContext ¶
func (i FolderSinkBigqueryOptionsArgs) ToFolderSinkBigqueryOptionsOutputWithContext(ctx context.Context) FolderSinkBigqueryOptionsOutput
func (FolderSinkBigqueryOptionsArgs) ToFolderSinkBigqueryOptionsPtrOutput ¶
func (i FolderSinkBigqueryOptionsArgs) ToFolderSinkBigqueryOptionsPtrOutput() FolderSinkBigqueryOptionsPtrOutput
func (FolderSinkBigqueryOptionsArgs) ToFolderSinkBigqueryOptionsPtrOutputWithContext ¶
func (i FolderSinkBigqueryOptionsArgs) ToFolderSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) FolderSinkBigqueryOptionsPtrOutput
type FolderSinkBigqueryOptionsInput ¶
type FolderSinkBigqueryOptionsInput interface { pulumi.Input ToFolderSinkBigqueryOptionsOutput() FolderSinkBigqueryOptionsOutput ToFolderSinkBigqueryOptionsOutputWithContext(context.Context) FolderSinkBigqueryOptionsOutput }
type FolderSinkBigqueryOptionsOutput ¶
type FolderSinkBigqueryOptionsOutput struct{ *pulumi.OutputState }
func (FolderSinkBigqueryOptionsOutput) ElementType ¶
func (FolderSinkBigqueryOptionsOutput) ElementType() reflect.Type
func (FolderSinkBigqueryOptionsOutput) ToFolderSinkBigqueryOptionsOutput ¶
func (o FolderSinkBigqueryOptionsOutput) ToFolderSinkBigqueryOptionsOutput() FolderSinkBigqueryOptionsOutput
func (FolderSinkBigqueryOptionsOutput) ToFolderSinkBigqueryOptionsOutputWithContext ¶
func (o FolderSinkBigqueryOptionsOutput) ToFolderSinkBigqueryOptionsOutputWithContext(ctx context.Context) FolderSinkBigqueryOptionsOutput
func (FolderSinkBigqueryOptionsOutput) ToFolderSinkBigqueryOptionsPtrOutput ¶
func (o FolderSinkBigqueryOptionsOutput) ToFolderSinkBigqueryOptionsPtrOutput() FolderSinkBigqueryOptionsPtrOutput
func (FolderSinkBigqueryOptionsOutput) ToFolderSinkBigqueryOptionsPtrOutputWithContext ¶
func (o FolderSinkBigqueryOptionsOutput) ToFolderSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) FolderSinkBigqueryOptionsPtrOutput
func (FolderSinkBigqueryOptionsOutput) UsePartitionedTables ¶
func (o FolderSinkBigqueryOptionsOutput) UsePartitionedTables() pulumi.BoolOutput
Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By default, 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 FolderSinkBigqueryOptionsPtrInput ¶
type FolderSinkBigqueryOptionsPtrInput interface { pulumi.Input ToFolderSinkBigqueryOptionsPtrOutput() FolderSinkBigqueryOptionsPtrOutput ToFolderSinkBigqueryOptionsPtrOutputWithContext(context.Context) FolderSinkBigqueryOptionsPtrOutput }
func FolderSinkBigqueryOptionsPtr ¶
func FolderSinkBigqueryOptionsPtr(v *FolderSinkBigqueryOptionsArgs) FolderSinkBigqueryOptionsPtrInput
type FolderSinkBigqueryOptionsPtrOutput ¶
type FolderSinkBigqueryOptionsPtrOutput struct{ *pulumi.OutputState }
func (FolderSinkBigqueryOptionsPtrOutput) Elem ¶
func (o FolderSinkBigqueryOptionsPtrOutput) Elem() FolderSinkBigqueryOptionsOutput
func (FolderSinkBigqueryOptionsPtrOutput) ElementType ¶
func (FolderSinkBigqueryOptionsPtrOutput) ElementType() reflect.Type
func (FolderSinkBigqueryOptionsPtrOutput) ToFolderSinkBigqueryOptionsPtrOutput ¶
func (o FolderSinkBigqueryOptionsPtrOutput) ToFolderSinkBigqueryOptionsPtrOutput() FolderSinkBigqueryOptionsPtrOutput
func (FolderSinkBigqueryOptionsPtrOutput) ToFolderSinkBigqueryOptionsPtrOutputWithContext ¶
func (o FolderSinkBigqueryOptionsPtrOutput) ToFolderSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) FolderSinkBigqueryOptionsPtrOutput
func (FolderSinkBigqueryOptionsPtrOutput) UsePartitionedTables ¶
func (o FolderSinkBigqueryOptionsPtrOutput) UsePartitionedTables() pulumi.BoolOutput
Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By default, 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 FolderSinkState ¶
type FolderSinkState struct { // Options that affect sinks exporting data to BigQuery. Structure documented below. BigqueryOptions FolderSinkBigqueryOptionsPtrInput // 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: // The writer associated with the sink must have access to write to the above resource. Destination pulumi.StringPtrInput // The filter to apply when exporting logs. Only log entries that match the filter are exported. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to // write a filter. Filter pulumi.StringPtrInput // The folder to be exported to the sink. Note that either [FOLDER_ID] or "folders/[FOLDER_ID]" is // accepted. Folder pulumi.StringPtrInput // 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. IncludeChildren pulumi.BoolPtrInput // The name of the logging sink. Name pulumi.StringPtrInput // The identity associated with this sink. This identity must be granted write access to the // configured `destination`. WriterIdentity pulumi.StringPtrInput }
func (FolderSinkState) ElementType ¶
func (FolderSinkState) ElementType() reflect.Type
type Metric ¶
type Metric struct { pulumi.CustomResourceState // The bucketOptions are required when the logs-based metric is using a DISTRIBUTION value type and it describes the bucket // boundaries used to create a histogram of the extracted values. BucketOptions MetricBucketOptionsPtrOutput `pulumi:"bucketOptions"` // A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters. Description pulumi.StringPtrOutput `pulumi:"description"` // An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-filters) which is used to match log // entries. Filter pulumi.StringOutput `pulumi:"filter"` // A map from a label key string to an extractor expression which is used to extract data from a log entry field and assign // as the label value. Each label key specified in the LabelDescriptor must have an associated extractor expression in this // map. The syntax of the extractor expression is the same as for the valueExtractor field. LabelExtractors pulumi.StringMapOutput `pulumi:"labelExtractors"` // The metric descriptor associated with the logs-based metric. MetricDescriptor MetricMetricDescriptorOutput `pulumi:"metricDescriptor"` // The client-assigned metric identifier. Examples - "error_count", "nginx/requests". Metric identifiers are limited to 100 // characters and can include only the following characters A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The // forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // A valueExtractor is required when using a distribution logs-based metric to extract the values to record from a log // entry. Two functions are supported for value extraction - EXTRACT(field) or REGEXP_EXTRACT(field, regex). The argument // are 1. field - The name of the log entry field from which the value is to be extracted. 2. regex - A regular expression // using the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax) with a single capture group to extract data from // the specified log entry field. The value of the field is converted to a string before applying the regex. It is an error // to specify a regex that does not include exactly one capture group. ValueExtractor pulumi.StringPtrOutput `pulumi:"valueExtractor"` }
Logs-based metric can also be used to extract values from logs and create a a distribution of the values. The distribution records the statistics of the extracted values along with an optional histogram of the values as specified by the bucket options.
To get more information about Metric, see:
* [API documentation](https://cloud.google.com/logging/docs/reference/v2/rest/v2/projects.metrics/create) * How-to Guides
- [Official Documentation](https://cloud.google.com/logging/docs/apis)
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/logging_metric.html.markdown.
func GetMetric ¶
func GetMetric(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MetricState, opts ...pulumi.ResourceOption) (*Metric, error)
GetMetric gets an existing Metric 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 NewMetric ¶
func NewMetric(ctx *pulumi.Context, name string, args *MetricArgs, opts ...pulumi.ResourceOption) (*Metric, error)
NewMetric registers a new resource with the given unique name, arguments, and options.
type MetricArgs ¶
type MetricArgs struct { // The bucketOptions are required when the logs-based metric is using a DISTRIBUTION value type and it describes the bucket // boundaries used to create a histogram of the extracted values. BucketOptions MetricBucketOptionsPtrInput // A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters. Description pulumi.StringPtrInput // An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-filters) which is used to match log // entries. Filter pulumi.StringInput // A map from a label key string to an extractor expression which is used to extract data from a log entry field and assign // as the label value. Each label key specified in the LabelDescriptor must have an associated extractor expression in this // map. The syntax of the extractor expression is the same as for the valueExtractor field. LabelExtractors pulumi.StringMapInput // The metric descriptor associated with the logs-based metric. MetricDescriptor MetricMetricDescriptorInput // The client-assigned metric identifier. Examples - "error_count", "nginx/requests". Metric identifiers are limited to 100 // characters and can include only the following characters A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The // forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // A valueExtractor is required when using a distribution logs-based metric to extract the values to record from a log // entry. Two functions are supported for value extraction - EXTRACT(field) or REGEXP_EXTRACT(field, regex). The argument // are 1. field - The name of the log entry field from which the value is to be extracted. 2. regex - A regular expression // using the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax) with a single capture group to extract data from // the specified log entry field. The value of the field is converted to a string before applying the regex. It is an error // to specify a regex that does not include exactly one capture group. ValueExtractor pulumi.StringPtrInput }
The set of arguments for constructing a Metric resource.
func (MetricArgs) ElementType ¶
func (MetricArgs) ElementType() reflect.Type
type MetricBucketOptions ¶
type MetricBucketOptions struct { ExplicitBuckets *MetricBucketOptionsExplicitBuckets `pulumi:"explicitBuckets"` ExponentialBuckets *MetricBucketOptionsExponentialBuckets `pulumi:"exponentialBuckets"` LinearBuckets *MetricBucketOptionsLinearBuckets `pulumi:"linearBuckets"` }
type MetricBucketOptionsArgs ¶
type MetricBucketOptionsArgs struct { ExplicitBuckets MetricBucketOptionsExplicitBucketsPtrInput `pulumi:"explicitBuckets"` ExponentialBuckets MetricBucketOptionsExponentialBucketsPtrInput `pulumi:"exponentialBuckets"` LinearBuckets MetricBucketOptionsLinearBucketsPtrInput `pulumi:"linearBuckets"` }
func (MetricBucketOptionsArgs) ElementType ¶
func (MetricBucketOptionsArgs) ElementType() reflect.Type
func (MetricBucketOptionsArgs) ToMetricBucketOptionsOutput ¶
func (i MetricBucketOptionsArgs) ToMetricBucketOptionsOutput() MetricBucketOptionsOutput
func (MetricBucketOptionsArgs) ToMetricBucketOptionsOutputWithContext ¶
func (i MetricBucketOptionsArgs) ToMetricBucketOptionsOutputWithContext(ctx context.Context) MetricBucketOptionsOutput
func (MetricBucketOptionsArgs) ToMetricBucketOptionsPtrOutput ¶
func (i MetricBucketOptionsArgs) ToMetricBucketOptionsPtrOutput() MetricBucketOptionsPtrOutput
func (MetricBucketOptionsArgs) ToMetricBucketOptionsPtrOutputWithContext ¶
func (i MetricBucketOptionsArgs) ToMetricBucketOptionsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsPtrOutput
type MetricBucketOptionsExplicitBuckets ¶
type MetricBucketOptionsExplicitBuckets struct {
Bounds []float64 `pulumi:"bounds"`
}
type MetricBucketOptionsExplicitBucketsArgs ¶
type MetricBucketOptionsExplicitBucketsArgs struct {
Bounds pulumi.Float64ArrayInput `pulumi:"bounds"`
}
func (MetricBucketOptionsExplicitBucketsArgs) ElementType ¶
func (MetricBucketOptionsExplicitBucketsArgs) ElementType() reflect.Type
func (MetricBucketOptionsExplicitBucketsArgs) ToMetricBucketOptionsExplicitBucketsOutput ¶
func (i MetricBucketOptionsExplicitBucketsArgs) ToMetricBucketOptionsExplicitBucketsOutput() MetricBucketOptionsExplicitBucketsOutput
func (MetricBucketOptionsExplicitBucketsArgs) ToMetricBucketOptionsExplicitBucketsOutputWithContext ¶
func (i MetricBucketOptionsExplicitBucketsArgs) ToMetricBucketOptionsExplicitBucketsOutputWithContext(ctx context.Context) MetricBucketOptionsExplicitBucketsOutput
func (MetricBucketOptionsExplicitBucketsArgs) ToMetricBucketOptionsExplicitBucketsPtrOutput ¶
func (i MetricBucketOptionsExplicitBucketsArgs) ToMetricBucketOptionsExplicitBucketsPtrOutput() MetricBucketOptionsExplicitBucketsPtrOutput
func (MetricBucketOptionsExplicitBucketsArgs) ToMetricBucketOptionsExplicitBucketsPtrOutputWithContext ¶
func (i MetricBucketOptionsExplicitBucketsArgs) ToMetricBucketOptionsExplicitBucketsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsExplicitBucketsPtrOutput
type MetricBucketOptionsExplicitBucketsInput ¶
type MetricBucketOptionsExplicitBucketsInput interface { pulumi.Input ToMetricBucketOptionsExplicitBucketsOutput() MetricBucketOptionsExplicitBucketsOutput ToMetricBucketOptionsExplicitBucketsOutputWithContext(context.Context) MetricBucketOptionsExplicitBucketsOutput }
type MetricBucketOptionsExplicitBucketsOutput ¶
type MetricBucketOptionsExplicitBucketsOutput struct{ *pulumi.OutputState }
func (MetricBucketOptionsExplicitBucketsOutput) Bounds ¶
func (o MetricBucketOptionsExplicitBucketsOutput) Bounds() pulumi.Float64ArrayOutput
func (MetricBucketOptionsExplicitBucketsOutput) ElementType ¶
func (MetricBucketOptionsExplicitBucketsOutput) ElementType() reflect.Type
func (MetricBucketOptionsExplicitBucketsOutput) ToMetricBucketOptionsExplicitBucketsOutput ¶
func (o MetricBucketOptionsExplicitBucketsOutput) ToMetricBucketOptionsExplicitBucketsOutput() MetricBucketOptionsExplicitBucketsOutput
func (MetricBucketOptionsExplicitBucketsOutput) ToMetricBucketOptionsExplicitBucketsOutputWithContext ¶
func (o MetricBucketOptionsExplicitBucketsOutput) ToMetricBucketOptionsExplicitBucketsOutputWithContext(ctx context.Context) MetricBucketOptionsExplicitBucketsOutput
func (MetricBucketOptionsExplicitBucketsOutput) ToMetricBucketOptionsExplicitBucketsPtrOutput ¶
func (o MetricBucketOptionsExplicitBucketsOutput) ToMetricBucketOptionsExplicitBucketsPtrOutput() MetricBucketOptionsExplicitBucketsPtrOutput
func (MetricBucketOptionsExplicitBucketsOutput) ToMetricBucketOptionsExplicitBucketsPtrOutputWithContext ¶
func (o MetricBucketOptionsExplicitBucketsOutput) ToMetricBucketOptionsExplicitBucketsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsExplicitBucketsPtrOutput
type MetricBucketOptionsExplicitBucketsPtrInput ¶
type MetricBucketOptionsExplicitBucketsPtrInput interface { pulumi.Input ToMetricBucketOptionsExplicitBucketsPtrOutput() MetricBucketOptionsExplicitBucketsPtrOutput ToMetricBucketOptionsExplicitBucketsPtrOutputWithContext(context.Context) MetricBucketOptionsExplicitBucketsPtrOutput }
func MetricBucketOptionsExplicitBucketsPtr ¶
func MetricBucketOptionsExplicitBucketsPtr(v *MetricBucketOptionsExplicitBucketsArgs) MetricBucketOptionsExplicitBucketsPtrInput
type MetricBucketOptionsExplicitBucketsPtrOutput ¶
type MetricBucketOptionsExplicitBucketsPtrOutput struct{ *pulumi.OutputState }
func (MetricBucketOptionsExplicitBucketsPtrOutput) Bounds ¶
func (o MetricBucketOptionsExplicitBucketsPtrOutput) Bounds() pulumi.Float64ArrayOutput
func (MetricBucketOptionsExplicitBucketsPtrOutput) ElementType ¶
func (MetricBucketOptionsExplicitBucketsPtrOutput) ElementType() reflect.Type
func (MetricBucketOptionsExplicitBucketsPtrOutput) ToMetricBucketOptionsExplicitBucketsPtrOutput ¶
func (o MetricBucketOptionsExplicitBucketsPtrOutput) ToMetricBucketOptionsExplicitBucketsPtrOutput() MetricBucketOptionsExplicitBucketsPtrOutput
func (MetricBucketOptionsExplicitBucketsPtrOutput) ToMetricBucketOptionsExplicitBucketsPtrOutputWithContext ¶
func (o MetricBucketOptionsExplicitBucketsPtrOutput) ToMetricBucketOptionsExplicitBucketsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsExplicitBucketsPtrOutput
type MetricBucketOptionsExponentialBucketsArgs ¶
type MetricBucketOptionsExponentialBucketsArgs struct { GrowthFactor pulumi.Float64PtrInput `pulumi:"growthFactor"` NumFiniteBuckets pulumi.IntPtrInput `pulumi:"numFiniteBuckets"` Scale pulumi.Float64PtrInput `pulumi:"scale"` }
func (MetricBucketOptionsExponentialBucketsArgs) ElementType ¶
func (MetricBucketOptionsExponentialBucketsArgs) ElementType() reflect.Type
func (MetricBucketOptionsExponentialBucketsArgs) ToMetricBucketOptionsExponentialBucketsOutput ¶
func (i MetricBucketOptionsExponentialBucketsArgs) ToMetricBucketOptionsExponentialBucketsOutput() MetricBucketOptionsExponentialBucketsOutput
func (MetricBucketOptionsExponentialBucketsArgs) ToMetricBucketOptionsExponentialBucketsOutputWithContext ¶
func (i MetricBucketOptionsExponentialBucketsArgs) ToMetricBucketOptionsExponentialBucketsOutputWithContext(ctx context.Context) MetricBucketOptionsExponentialBucketsOutput
func (MetricBucketOptionsExponentialBucketsArgs) ToMetricBucketOptionsExponentialBucketsPtrOutput ¶
func (i MetricBucketOptionsExponentialBucketsArgs) ToMetricBucketOptionsExponentialBucketsPtrOutput() MetricBucketOptionsExponentialBucketsPtrOutput
func (MetricBucketOptionsExponentialBucketsArgs) ToMetricBucketOptionsExponentialBucketsPtrOutputWithContext ¶
func (i MetricBucketOptionsExponentialBucketsArgs) ToMetricBucketOptionsExponentialBucketsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsExponentialBucketsPtrOutput
type MetricBucketOptionsExponentialBucketsInput ¶
type MetricBucketOptionsExponentialBucketsInput interface { pulumi.Input ToMetricBucketOptionsExponentialBucketsOutput() MetricBucketOptionsExponentialBucketsOutput ToMetricBucketOptionsExponentialBucketsOutputWithContext(context.Context) MetricBucketOptionsExponentialBucketsOutput }
type MetricBucketOptionsExponentialBucketsOutput ¶
type MetricBucketOptionsExponentialBucketsOutput struct{ *pulumi.OutputState }
func (MetricBucketOptionsExponentialBucketsOutput) ElementType ¶
func (MetricBucketOptionsExponentialBucketsOutput) ElementType() reflect.Type
func (MetricBucketOptionsExponentialBucketsOutput) GrowthFactor ¶
func (o MetricBucketOptionsExponentialBucketsOutput) GrowthFactor() pulumi.Float64PtrOutput
func (MetricBucketOptionsExponentialBucketsOutput) NumFiniteBuckets ¶
func (o MetricBucketOptionsExponentialBucketsOutput) NumFiniteBuckets() pulumi.IntPtrOutput
func (MetricBucketOptionsExponentialBucketsOutput) Scale ¶
func (o MetricBucketOptionsExponentialBucketsOutput) Scale() pulumi.Float64PtrOutput
func (MetricBucketOptionsExponentialBucketsOutput) ToMetricBucketOptionsExponentialBucketsOutput ¶
func (o MetricBucketOptionsExponentialBucketsOutput) ToMetricBucketOptionsExponentialBucketsOutput() MetricBucketOptionsExponentialBucketsOutput
func (MetricBucketOptionsExponentialBucketsOutput) ToMetricBucketOptionsExponentialBucketsOutputWithContext ¶
func (o MetricBucketOptionsExponentialBucketsOutput) ToMetricBucketOptionsExponentialBucketsOutputWithContext(ctx context.Context) MetricBucketOptionsExponentialBucketsOutput
func (MetricBucketOptionsExponentialBucketsOutput) ToMetricBucketOptionsExponentialBucketsPtrOutput ¶
func (o MetricBucketOptionsExponentialBucketsOutput) ToMetricBucketOptionsExponentialBucketsPtrOutput() MetricBucketOptionsExponentialBucketsPtrOutput
func (MetricBucketOptionsExponentialBucketsOutput) ToMetricBucketOptionsExponentialBucketsPtrOutputWithContext ¶
func (o MetricBucketOptionsExponentialBucketsOutput) ToMetricBucketOptionsExponentialBucketsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsExponentialBucketsPtrOutput
type MetricBucketOptionsExponentialBucketsPtrInput ¶
type MetricBucketOptionsExponentialBucketsPtrInput interface { pulumi.Input ToMetricBucketOptionsExponentialBucketsPtrOutput() MetricBucketOptionsExponentialBucketsPtrOutput ToMetricBucketOptionsExponentialBucketsPtrOutputWithContext(context.Context) MetricBucketOptionsExponentialBucketsPtrOutput }
func MetricBucketOptionsExponentialBucketsPtr ¶
func MetricBucketOptionsExponentialBucketsPtr(v *MetricBucketOptionsExponentialBucketsArgs) MetricBucketOptionsExponentialBucketsPtrInput
type MetricBucketOptionsExponentialBucketsPtrOutput ¶
type MetricBucketOptionsExponentialBucketsPtrOutput struct{ *pulumi.OutputState }
func (MetricBucketOptionsExponentialBucketsPtrOutput) ElementType ¶
func (MetricBucketOptionsExponentialBucketsPtrOutput) ElementType() reflect.Type
func (MetricBucketOptionsExponentialBucketsPtrOutput) GrowthFactor ¶
func (o MetricBucketOptionsExponentialBucketsPtrOutput) GrowthFactor() pulumi.Float64PtrOutput
func (MetricBucketOptionsExponentialBucketsPtrOutput) NumFiniteBuckets ¶
func (o MetricBucketOptionsExponentialBucketsPtrOutput) NumFiniteBuckets() pulumi.IntPtrOutput
func (MetricBucketOptionsExponentialBucketsPtrOutput) Scale ¶
func (o MetricBucketOptionsExponentialBucketsPtrOutput) Scale() pulumi.Float64PtrOutput
func (MetricBucketOptionsExponentialBucketsPtrOutput) ToMetricBucketOptionsExponentialBucketsPtrOutput ¶
func (o MetricBucketOptionsExponentialBucketsPtrOutput) ToMetricBucketOptionsExponentialBucketsPtrOutput() MetricBucketOptionsExponentialBucketsPtrOutput
func (MetricBucketOptionsExponentialBucketsPtrOutput) ToMetricBucketOptionsExponentialBucketsPtrOutputWithContext ¶
func (o MetricBucketOptionsExponentialBucketsPtrOutput) ToMetricBucketOptionsExponentialBucketsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsExponentialBucketsPtrOutput
type MetricBucketOptionsInput ¶
type MetricBucketOptionsInput interface { pulumi.Input ToMetricBucketOptionsOutput() MetricBucketOptionsOutput ToMetricBucketOptionsOutputWithContext(context.Context) MetricBucketOptionsOutput }
type MetricBucketOptionsLinearBucketsArgs ¶
type MetricBucketOptionsLinearBucketsArgs struct { NumFiniteBuckets pulumi.IntPtrInput `pulumi:"numFiniteBuckets"` Offset pulumi.Float64PtrInput `pulumi:"offset"` Width pulumi.IntPtrInput `pulumi:"width"` }
func (MetricBucketOptionsLinearBucketsArgs) ElementType ¶
func (MetricBucketOptionsLinearBucketsArgs) ElementType() reflect.Type
func (MetricBucketOptionsLinearBucketsArgs) ToMetricBucketOptionsLinearBucketsOutput ¶
func (i MetricBucketOptionsLinearBucketsArgs) ToMetricBucketOptionsLinearBucketsOutput() MetricBucketOptionsLinearBucketsOutput
func (MetricBucketOptionsLinearBucketsArgs) ToMetricBucketOptionsLinearBucketsOutputWithContext ¶
func (i MetricBucketOptionsLinearBucketsArgs) ToMetricBucketOptionsLinearBucketsOutputWithContext(ctx context.Context) MetricBucketOptionsLinearBucketsOutput
func (MetricBucketOptionsLinearBucketsArgs) ToMetricBucketOptionsLinearBucketsPtrOutput ¶
func (i MetricBucketOptionsLinearBucketsArgs) ToMetricBucketOptionsLinearBucketsPtrOutput() MetricBucketOptionsLinearBucketsPtrOutput
func (MetricBucketOptionsLinearBucketsArgs) ToMetricBucketOptionsLinearBucketsPtrOutputWithContext ¶
func (i MetricBucketOptionsLinearBucketsArgs) ToMetricBucketOptionsLinearBucketsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsLinearBucketsPtrOutput
type MetricBucketOptionsLinearBucketsInput ¶
type MetricBucketOptionsLinearBucketsInput interface { pulumi.Input ToMetricBucketOptionsLinearBucketsOutput() MetricBucketOptionsLinearBucketsOutput ToMetricBucketOptionsLinearBucketsOutputWithContext(context.Context) MetricBucketOptionsLinearBucketsOutput }
type MetricBucketOptionsLinearBucketsOutput ¶
type MetricBucketOptionsLinearBucketsOutput struct{ *pulumi.OutputState }
func (MetricBucketOptionsLinearBucketsOutput) ElementType ¶
func (MetricBucketOptionsLinearBucketsOutput) ElementType() reflect.Type
func (MetricBucketOptionsLinearBucketsOutput) NumFiniteBuckets ¶
func (o MetricBucketOptionsLinearBucketsOutput) NumFiniteBuckets() pulumi.IntPtrOutput
func (MetricBucketOptionsLinearBucketsOutput) Offset ¶
func (o MetricBucketOptionsLinearBucketsOutput) Offset() pulumi.Float64PtrOutput
func (MetricBucketOptionsLinearBucketsOutput) ToMetricBucketOptionsLinearBucketsOutput ¶
func (o MetricBucketOptionsLinearBucketsOutput) ToMetricBucketOptionsLinearBucketsOutput() MetricBucketOptionsLinearBucketsOutput
func (MetricBucketOptionsLinearBucketsOutput) ToMetricBucketOptionsLinearBucketsOutputWithContext ¶
func (o MetricBucketOptionsLinearBucketsOutput) ToMetricBucketOptionsLinearBucketsOutputWithContext(ctx context.Context) MetricBucketOptionsLinearBucketsOutput
func (MetricBucketOptionsLinearBucketsOutput) ToMetricBucketOptionsLinearBucketsPtrOutput ¶
func (o MetricBucketOptionsLinearBucketsOutput) ToMetricBucketOptionsLinearBucketsPtrOutput() MetricBucketOptionsLinearBucketsPtrOutput
func (MetricBucketOptionsLinearBucketsOutput) ToMetricBucketOptionsLinearBucketsPtrOutputWithContext ¶
func (o MetricBucketOptionsLinearBucketsOutput) ToMetricBucketOptionsLinearBucketsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsLinearBucketsPtrOutput
func (MetricBucketOptionsLinearBucketsOutput) Width ¶
func (o MetricBucketOptionsLinearBucketsOutput) Width() pulumi.IntPtrOutput
type MetricBucketOptionsLinearBucketsPtrInput ¶
type MetricBucketOptionsLinearBucketsPtrInput interface { pulumi.Input ToMetricBucketOptionsLinearBucketsPtrOutput() MetricBucketOptionsLinearBucketsPtrOutput ToMetricBucketOptionsLinearBucketsPtrOutputWithContext(context.Context) MetricBucketOptionsLinearBucketsPtrOutput }
func MetricBucketOptionsLinearBucketsPtr ¶
func MetricBucketOptionsLinearBucketsPtr(v *MetricBucketOptionsLinearBucketsArgs) MetricBucketOptionsLinearBucketsPtrInput
type MetricBucketOptionsLinearBucketsPtrOutput ¶
type MetricBucketOptionsLinearBucketsPtrOutput struct{ *pulumi.OutputState }
func (MetricBucketOptionsLinearBucketsPtrOutput) ElementType ¶
func (MetricBucketOptionsLinearBucketsPtrOutput) ElementType() reflect.Type
func (MetricBucketOptionsLinearBucketsPtrOutput) NumFiniteBuckets ¶
func (o MetricBucketOptionsLinearBucketsPtrOutput) NumFiniteBuckets() pulumi.IntPtrOutput
func (MetricBucketOptionsLinearBucketsPtrOutput) Offset ¶
func (o MetricBucketOptionsLinearBucketsPtrOutput) Offset() pulumi.Float64PtrOutput
func (MetricBucketOptionsLinearBucketsPtrOutput) ToMetricBucketOptionsLinearBucketsPtrOutput ¶
func (o MetricBucketOptionsLinearBucketsPtrOutput) ToMetricBucketOptionsLinearBucketsPtrOutput() MetricBucketOptionsLinearBucketsPtrOutput
func (MetricBucketOptionsLinearBucketsPtrOutput) ToMetricBucketOptionsLinearBucketsPtrOutputWithContext ¶
func (o MetricBucketOptionsLinearBucketsPtrOutput) ToMetricBucketOptionsLinearBucketsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsLinearBucketsPtrOutput
func (MetricBucketOptionsLinearBucketsPtrOutput) Width ¶
func (o MetricBucketOptionsLinearBucketsPtrOutput) Width() pulumi.IntPtrOutput
type MetricBucketOptionsOutput ¶
type MetricBucketOptionsOutput struct{ *pulumi.OutputState }
func (MetricBucketOptionsOutput) ElementType ¶
func (MetricBucketOptionsOutput) ElementType() reflect.Type
func (MetricBucketOptionsOutput) ExplicitBuckets ¶
func (o MetricBucketOptionsOutput) ExplicitBuckets() MetricBucketOptionsExplicitBucketsPtrOutput
func (MetricBucketOptionsOutput) ExponentialBuckets ¶
func (o MetricBucketOptionsOutput) ExponentialBuckets() MetricBucketOptionsExponentialBucketsPtrOutput
func (MetricBucketOptionsOutput) LinearBuckets ¶
func (o MetricBucketOptionsOutput) LinearBuckets() MetricBucketOptionsLinearBucketsPtrOutput
func (MetricBucketOptionsOutput) ToMetricBucketOptionsOutput ¶
func (o MetricBucketOptionsOutput) ToMetricBucketOptionsOutput() MetricBucketOptionsOutput
func (MetricBucketOptionsOutput) ToMetricBucketOptionsOutputWithContext ¶
func (o MetricBucketOptionsOutput) ToMetricBucketOptionsOutputWithContext(ctx context.Context) MetricBucketOptionsOutput
func (MetricBucketOptionsOutput) ToMetricBucketOptionsPtrOutput ¶
func (o MetricBucketOptionsOutput) ToMetricBucketOptionsPtrOutput() MetricBucketOptionsPtrOutput
func (MetricBucketOptionsOutput) ToMetricBucketOptionsPtrOutputWithContext ¶
func (o MetricBucketOptionsOutput) ToMetricBucketOptionsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsPtrOutput
type MetricBucketOptionsPtrInput ¶
type MetricBucketOptionsPtrInput interface { pulumi.Input ToMetricBucketOptionsPtrOutput() MetricBucketOptionsPtrOutput ToMetricBucketOptionsPtrOutputWithContext(context.Context) MetricBucketOptionsPtrOutput }
func MetricBucketOptionsPtr ¶
func MetricBucketOptionsPtr(v *MetricBucketOptionsArgs) MetricBucketOptionsPtrInput
type MetricBucketOptionsPtrOutput ¶
type MetricBucketOptionsPtrOutput struct{ *pulumi.OutputState }
func (MetricBucketOptionsPtrOutput) Elem ¶
func (o MetricBucketOptionsPtrOutput) Elem() MetricBucketOptionsOutput
func (MetricBucketOptionsPtrOutput) ElementType ¶
func (MetricBucketOptionsPtrOutput) ElementType() reflect.Type
func (MetricBucketOptionsPtrOutput) ExplicitBuckets ¶
func (o MetricBucketOptionsPtrOutput) ExplicitBuckets() MetricBucketOptionsExplicitBucketsPtrOutput
func (MetricBucketOptionsPtrOutput) ExponentialBuckets ¶
func (o MetricBucketOptionsPtrOutput) ExponentialBuckets() MetricBucketOptionsExponentialBucketsPtrOutput
func (MetricBucketOptionsPtrOutput) LinearBuckets ¶
func (o MetricBucketOptionsPtrOutput) LinearBuckets() MetricBucketOptionsLinearBucketsPtrOutput
func (MetricBucketOptionsPtrOutput) ToMetricBucketOptionsPtrOutput ¶
func (o MetricBucketOptionsPtrOutput) ToMetricBucketOptionsPtrOutput() MetricBucketOptionsPtrOutput
func (MetricBucketOptionsPtrOutput) ToMetricBucketOptionsPtrOutputWithContext ¶
func (o MetricBucketOptionsPtrOutput) ToMetricBucketOptionsPtrOutputWithContext(ctx context.Context) MetricBucketOptionsPtrOutput
type MetricMetricDescriptor ¶
type MetricMetricDescriptor struct { DisplayName *string `pulumi:"displayName"` Labels []MetricMetricDescriptorLabel `pulumi:"labels"` MetricKind string `pulumi:"metricKind"` Unit *string `pulumi:"unit"` ValueType string `pulumi:"valueType"` }
type MetricMetricDescriptorArgs ¶
type MetricMetricDescriptorArgs struct { DisplayName pulumi.StringPtrInput `pulumi:"displayName"` Labels MetricMetricDescriptorLabelArrayInput `pulumi:"labels"` MetricKind pulumi.StringInput `pulumi:"metricKind"` Unit pulumi.StringPtrInput `pulumi:"unit"` ValueType pulumi.StringInput `pulumi:"valueType"` }
func (MetricMetricDescriptorArgs) ElementType ¶
func (MetricMetricDescriptorArgs) ElementType() reflect.Type
func (MetricMetricDescriptorArgs) ToMetricMetricDescriptorOutput ¶
func (i MetricMetricDescriptorArgs) ToMetricMetricDescriptorOutput() MetricMetricDescriptorOutput
func (MetricMetricDescriptorArgs) ToMetricMetricDescriptorOutputWithContext ¶
func (i MetricMetricDescriptorArgs) ToMetricMetricDescriptorOutputWithContext(ctx context.Context) MetricMetricDescriptorOutput
func (MetricMetricDescriptorArgs) ToMetricMetricDescriptorPtrOutput ¶
func (i MetricMetricDescriptorArgs) ToMetricMetricDescriptorPtrOutput() MetricMetricDescriptorPtrOutput
func (MetricMetricDescriptorArgs) ToMetricMetricDescriptorPtrOutputWithContext ¶
func (i MetricMetricDescriptorArgs) ToMetricMetricDescriptorPtrOutputWithContext(ctx context.Context) MetricMetricDescriptorPtrOutput
type MetricMetricDescriptorInput ¶
type MetricMetricDescriptorInput interface { pulumi.Input ToMetricMetricDescriptorOutput() MetricMetricDescriptorOutput ToMetricMetricDescriptorOutputWithContext(context.Context) MetricMetricDescriptorOutput }
type MetricMetricDescriptorLabelArgs ¶
type MetricMetricDescriptorLabelArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Key pulumi.StringInput `pulumi:"key"` ValueType pulumi.StringPtrInput `pulumi:"valueType"` }
func (MetricMetricDescriptorLabelArgs) ElementType ¶
func (MetricMetricDescriptorLabelArgs) ElementType() reflect.Type
func (MetricMetricDescriptorLabelArgs) ToMetricMetricDescriptorLabelOutput ¶
func (i MetricMetricDescriptorLabelArgs) ToMetricMetricDescriptorLabelOutput() MetricMetricDescriptorLabelOutput
func (MetricMetricDescriptorLabelArgs) ToMetricMetricDescriptorLabelOutputWithContext ¶
func (i MetricMetricDescriptorLabelArgs) ToMetricMetricDescriptorLabelOutputWithContext(ctx context.Context) MetricMetricDescriptorLabelOutput
type MetricMetricDescriptorLabelArray ¶
type MetricMetricDescriptorLabelArray []MetricMetricDescriptorLabelInput
func (MetricMetricDescriptorLabelArray) ElementType ¶
func (MetricMetricDescriptorLabelArray) ElementType() reflect.Type
func (MetricMetricDescriptorLabelArray) ToMetricMetricDescriptorLabelArrayOutput ¶
func (i MetricMetricDescriptorLabelArray) ToMetricMetricDescriptorLabelArrayOutput() MetricMetricDescriptorLabelArrayOutput
func (MetricMetricDescriptorLabelArray) ToMetricMetricDescriptorLabelArrayOutputWithContext ¶
func (i MetricMetricDescriptorLabelArray) ToMetricMetricDescriptorLabelArrayOutputWithContext(ctx context.Context) MetricMetricDescriptorLabelArrayOutput
type MetricMetricDescriptorLabelArrayInput ¶
type MetricMetricDescriptorLabelArrayInput interface { pulumi.Input ToMetricMetricDescriptorLabelArrayOutput() MetricMetricDescriptorLabelArrayOutput ToMetricMetricDescriptorLabelArrayOutputWithContext(context.Context) MetricMetricDescriptorLabelArrayOutput }
type MetricMetricDescriptorLabelArrayOutput ¶
type MetricMetricDescriptorLabelArrayOutput struct{ *pulumi.OutputState }
func (MetricMetricDescriptorLabelArrayOutput) ElementType ¶
func (MetricMetricDescriptorLabelArrayOutput) ElementType() reflect.Type
func (MetricMetricDescriptorLabelArrayOutput) ToMetricMetricDescriptorLabelArrayOutput ¶
func (o MetricMetricDescriptorLabelArrayOutput) ToMetricMetricDescriptorLabelArrayOutput() MetricMetricDescriptorLabelArrayOutput
func (MetricMetricDescriptorLabelArrayOutput) ToMetricMetricDescriptorLabelArrayOutputWithContext ¶
func (o MetricMetricDescriptorLabelArrayOutput) ToMetricMetricDescriptorLabelArrayOutputWithContext(ctx context.Context) MetricMetricDescriptorLabelArrayOutput
type MetricMetricDescriptorLabelInput ¶
type MetricMetricDescriptorLabelInput interface { pulumi.Input ToMetricMetricDescriptorLabelOutput() MetricMetricDescriptorLabelOutput ToMetricMetricDescriptorLabelOutputWithContext(context.Context) MetricMetricDescriptorLabelOutput }
type MetricMetricDescriptorLabelOutput ¶
type MetricMetricDescriptorLabelOutput struct{ *pulumi.OutputState }
func (MetricMetricDescriptorLabelOutput) Description ¶
func (o MetricMetricDescriptorLabelOutput) Description() pulumi.StringPtrOutput
func (MetricMetricDescriptorLabelOutput) ElementType ¶
func (MetricMetricDescriptorLabelOutput) ElementType() reflect.Type
func (MetricMetricDescriptorLabelOutput) Key ¶
func (o MetricMetricDescriptorLabelOutput) Key() pulumi.StringOutput
func (MetricMetricDescriptorLabelOutput) ToMetricMetricDescriptorLabelOutput ¶
func (o MetricMetricDescriptorLabelOutput) ToMetricMetricDescriptorLabelOutput() MetricMetricDescriptorLabelOutput
func (MetricMetricDescriptorLabelOutput) ToMetricMetricDescriptorLabelOutputWithContext ¶
func (o MetricMetricDescriptorLabelOutput) ToMetricMetricDescriptorLabelOutputWithContext(ctx context.Context) MetricMetricDescriptorLabelOutput
func (MetricMetricDescriptorLabelOutput) ValueType ¶
func (o MetricMetricDescriptorLabelOutput) ValueType() pulumi.StringPtrOutput
type MetricMetricDescriptorOutput ¶
type MetricMetricDescriptorOutput struct{ *pulumi.OutputState }
func (MetricMetricDescriptorOutput) DisplayName ¶
func (o MetricMetricDescriptorOutput) DisplayName() pulumi.StringPtrOutput
func (MetricMetricDescriptorOutput) ElementType ¶
func (MetricMetricDescriptorOutput) ElementType() reflect.Type
func (MetricMetricDescriptorOutput) Labels ¶
func (o MetricMetricDescriptorOutput) Labels() MetricMetricDescriptorLabelArrayOutput
func (MetricMetricDescriptorOutput) MetricKind ¶
func (o MetricMetricDescriptorOutput) MetricKind() pulumi.StringOutput
func (MetricMetricDescriptorOutput) ToMetricMetricDescriptorOutput ¶
func (o MetricMetricDescriptorOutput) ToMetricMetricDescriptorOutput() MetricMetricDescriptorOutput
func (MetricMetricDescriptorOutput) ToMetricMetricDescriptorOutputWithContext ¶
func (o MetricMetricDescriptorOutput) ToMetricMetricDescriptorOutputWithContext(ctx context.Context) MetricMetricDescriptorOutput
func (MetricMetricDescriptorOutput) ToMetricMetricDescriptorPtrOutput ¶
func (o MetricMetricDescriptorOutput) ToMetricMetricDescriptorPtrOutput() MetricMetricDescriptorPtrOutput
func (MetricMetricDescriptorOutput) ToMetricMetricDescriptorPtrOutputWithContext ¶
func (o MetricMetricDescriptorOutput) ToMetricMetricDescriptorPtrOutputWithContext(ctx context.Context) MetricMetricDescriptorPtrOutput
func (MetricMetricDescriptorOutput) Unit ¶
func (o MetricMetricDescriptorOutput) Unit() pulumi.StringPtrOutput
func (MetricMetricDescriptorOutput) ValueType ¶
func (o MetricMetricDescriptorOutput) ValueType() pulumi.StringOutput
type MetricMetricDescriptorPtrInput ¶
type MetricMetricDescriptorPtrInput interface { pulumi.Input ToMetricMetricDescriptorPtrOutput() MetricMetricDescriptorPtrOutput ToMetricMetricDescriptorPtrOutputWithContext(context.Context) MetricMetricDescriptorPtrOutput }
func MetricMetricDescriptorPtr ¶
func MetricMetricDescriptorPtr(v *MetricMetricDescriptorArgs) MetricMetricDescriptorPtrInput
type MetricMetricDescriptorPtrOutput ¶
type MetricMetricDescriptorPtrOutput struct{ *pulumi.OutputState }
func (MetricMetricDescriptorPtrOutput) DisplayName ¶
func (o MetricMetricDescriptorPtrOutput) DisplayName() pulumi.StringPtrOutput
func (MetricMetricDescriptorPtrOutput) Elem ¶
func (o MetricMetricDescriptorPtrOutput) Elem() MetricMetricDescriptorOutput
func (MetricMetricDescriptorPtrOutput) ElementType ¶
func (MetricMetricDescriptorPtrOutput) ElementType() reflect.Type
func (MetricMetricDescriptorPtrOutput) Labels ¶
func (o MetricMetricDescriptorPtrOutput) Labels() MetricMetricDescriptorLabelArrayOutput
func (MetricMetricDescriptorPtrOutput) MetricKind ¶
func (o MetricMetricDescriptorPtrOutput) MetricKind() pulumi.StringOutput
func (MetricMetricDescriptorPtrOutput) ToMetricMetricDescriptorPtrOutput ¶
func (o MetricMetricDescriptorPtrOutput) ToMetricMetricDescriptorPtrOutput() MetricMetricDescriptorPtrOutput
func (MetricMetricDescriptorPtrOutput) ToMetricMetricDescriptorPtrOutputWithContext ¶
func (o MetricMetricDescriptorPtrOutput) ToMetricMetricDescriptorPtrOutputWithContext(ctx context.Context) MetricMetricDescriptorPtrOutput
func (MetricMetricDescriptorPtrOutput) Unit ¶
func (o MetricMetricDescriptorPtrOutput) Unit() pulumi.StringPtrOutput
func (MetricMetricDescriptorPtrOutput) ValueType ¶
func (o MetricMetricDescriptorPtrOutput) ValueType() pulumi.StringOutput
type MetricState ¶
type MetricState struct { // The bucketOptions are required when the logs-based metric is using a DISTRIBUTION value type and it describes the bucket // boundaries used to create a histogram of the extracted values. BucketOptions MetricBucketOptionsPtrInput // A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters. Description pulumi.StringPtrInput // An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-filters) which is used to match log // entries. Filter pulumi.StringPtrInput // A map from a label key string to an extractor expression which is used to extract data from a log entry field and assign // as the label value. Each label key specified in the LabelDescriptor must have an associated extractor expression in this // map. The syntax of the extractor expression is the same as for the valueExtractor field. LabelExtractors pulumi.StringMapInput // The metric descriptor associated with the logs-based metric. MetricDescriptor MetricMetricDescriptorPtrInput // The client-assigned metric identifier. Examples - "error_count", "nginx/requests". Metric identifiers are limited to 100 // characters and can include only the following characters A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The // forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // A valueExtractor is required when using a distribution logs-based metric to extract the values to record from a log // entry. Two functions are supported for value extraction - EXTRACT(field) or REGEXP_EXTRACT(field, regex). The argument // are 1. field - The name of the log entry field from which the value is to be extracted. 2. regex - A regular expression // using the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax) with a single capture group to extract data from // the specified log entry field. The value of the field is converted to a string before applying the regex. It is an error // to specify a regex that does not include exactly one capture group. ValueExtractor pulumi.StringPtrInput }
func (MetricState) ElementType ¶
func (MetricState) ElementType() reflect.Type
type OrganizationExclusion ¶
type OrganizationExclusion struct { pulumi.CustomResourceState // A human-readable description. Description pulumi.StringPtrOutput `pulumi:"description"` // Whether this exclusion rule should be disabled or not. This defaults to // false. Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` // The filter to apply when excluding logs. Only log entries that match the filter are excluded. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced-filters) for information on how to // write a filter. Filter pulumi.StringOutput `pulumi:"filter"` // The name of the logging exclusion. Name pulumi.StringOutput `pulumi:"name"` // The organization to create the exclusion in. OrgId pulumi.StringOutput `pulumi:"orgId"` }
Manages an organization-level logging exclusion. For more information see [the official documentation](https://cloud.google.com/logging/docs/) and [Excluding Logs](https://cloud.google.com/logging/docs/exclusions).
Note that you must have the "Logs Configuration Writer" IAM role (`roles/logging.configWriter`) granted to the credentials used with this provider.
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/logging_organization_exclusion.html.markdown.
func GetOrganizationExclusion ¶
func GetOrganizationExclusion(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OrganizationExclusionState, opts ...pulumi.ResourceOption) (*OrganizationExclusion, error)
GetOrganizationExclusion gets an existing OrganizationExclusion 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 NewOrganizationExclusion ¶
func NewOrganizationExclusion(ctx *pulumi.Context, name string, args *OrganizationExclusionArgs, opts ...pulumi.ResourceOption) (*OrganizationExclusion, error)
NewOrganizationExclusion registers a new resource with the given unique name, arguments, and options.
type OrganizationExclusionArgs ¶
type OrganizationExclusionArgs struct { // A human-readable description. Description pulumi.StringPtrInput // Whether this exclusion rule should be disabled or not. This defaults to // false. Disabled pulumi.BoolPtrInput // The filter to apply when excluding logs. Only log entries that match the filter are excluded. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced-filters) for information on how to // write a filter. Filter pulumi.StringInput // The name of the logging exclusion. Name pulumi.StringPtrInput // The organization to create the exclusion in. OrgId pulumi.StringInput }
The set of arguments for constructing a OrganizationExclusion resource.
func (OrganizationExclusionArgs) ElementType ¶
func (OrganizationExclusionArgs) ElementType() reflect.Type
type OrganizationExclusionState ¶
type OrganizationExclusionState struct { // A human-readable description. Description pulumi.StringPtrInput // Whether this exclusion rule should be disabled or not. This defaults to // false. Disabled pulumi.BoolPtrInput // The filter to apply when excluding logs. Only log entries that match the filter are excluded. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced-filters) for information on how to // write a filter. Filter pulumi.StringPtrInput // The name of the logging exclusion. Name pulumi.StringPtrInput // The organization to create the exclusion in. OrgId pulumi.StringPtrInput }
func (OrganizationExclusionState) ElementType ¶
func (OrganizationExclusionState) ElementType() reflect.Type
type OrganizationSink ¶
type OrganizationSink struct { pulumi.CustomResourceState // Options that affect sinks exporting data to BigQuery. Structure documented below. BigqueryOptions OrganizationSinkBigqueryOptionsOutput `pulumi:"bigqueryOptions"` // 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: // The writer associated with the sink must have access to write to the above resource. Destination pulumi.StringOutput `pulumi:"destination"` // The filter to apply when exporting logs. Only log entries that match the filter are exported. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to // write a filter. Filter pulumi.StringPtrOutput `pulumi:"filter"` // 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. IncludeChildren pulumi.BoolPtrOutput `pulumi:"includeChildren"` // The name of the logging sink. Name pulumi.StringOutput `pulumi:"name"` // The numeric ID of the organization to be exported to the sink. OrgId pulumi.StringOutput `pulumi:"orgId"` // The identity associated with this sink. This identity must be granted write access to the // configured `destination`. WriterIdentity pulumi.StringOutput `pulumi:"writerIdentity"` }
Manages a organization-level logging sink. For more information see [the official documentation](https://cloud.google.com/logging/docs/) and [Exporting Logs in the API](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
Note that you must have the "Logs Configuration Writer" IAM role (`roles/logging.configWriter`) granted to the credentials used with this provider.
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/logging_organization_sink.html.markdown.
func GetOrganizationSink ¶
func GetOrganizationSink(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OrganizationSinkState, opts ...pulumi.ResourceOption) (*OrganizationSink, error)
GetOrganizationSink gets an existing OrganizationSink 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 NewOrganizationSink ¶
func NewOrganizationSink(ctx *pulumi.Context, name string, args *OrganizationSinkArgs, opts ...pulumi.ResourceOption) (*OrganizationSink, error)
NewOrganizationSink registers a new resource with the given unique name, arguments, and options.
type OrganizationSinkArgs ¶
type OrganizationSinkArgs struct { // Options that affect sinks exporting data to BigQuery. Structure documented below. BigqueryOptions OrganizationSinkBigqueryOptionsPtrInput // 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: // The writer associated with the sink must have access to write to the above resource. Destination pulumi.StringInput // The filter to apply when exporting logs. Only log entries that match the filter are exported. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to // write a filter. Filter pulumi.StringPtrInput // 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. IncludeChildren pulumi.BoolPtrInput // The name of the logging sink. Name pulumi.StringPtrInput // The numeric ID of the organization to be exported to the sink. OrgId pulumi.StringInput }
The set of arguments for constructing a OrganizationSink resource.
func (OrganizationSinkArgs) ElementType ¶
func (OrganizationSinkArgs) ElementType() reflect.Type
type OrganizationSinkBigqueryOptions ¶
type OrganizationSinkBigqueryOptions struct { // Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables). // By default, 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"` }
type OrganizationSinkBigqueryOptionsArgs ¶
type OrganizationSinkBigqueryOptionsArgs struct { // Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables). // By default, 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.BoolInput `pulumi:"usePartitionedTables"` }
func (OrganizationSinkBigqueryOptionsArgs) ElementType ¶
func (OrganizationSinkBigqueryOptionsArgs) ElementType() reflect.Type
func (OrganizationSinkBigqueryOptionsArgs) ToOrganizationSinkBigqueryOptionsOutput ¶
func (i OrganizationSinkBigqueryOptionsArgs) ToOrganizationSinkBigqueryOptionsOutput() OrganizationSinkBigqueryOptionsOutput
func (OrganizationSinkBigqueryOptionsArgs) ToOrganizationSinkBigqueryOptionsOutputWithContext ¶
func (i OrganizationSinkBigqueryOptionsArgs) ToOrganizationSinkBigqueryOptionsOutputWithContext(ctx context.Context) OrganizationSinkBigqueryOptionsOutput
func (OrganizationSinkBigqueryOptionsArgs) ToOrganizationSinkBigqueryOptionsPtrOutput ¶
func (i OrganizationSinkBigqueryOptionsArgs) ToOrganizationSinkBigqueryOptionsPtrOutput() OrganizationSinkBigqueryOptionsPtrOutput
func (OrganizationSinkBigqueryOptionsArgs) ToOrganizationSinkBigqueryOptionsPtrOutputWithContext ¶
func (i OrganizationSinkBigqueryOptionsArgs) ToOrganizationSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) OrganizationSinkBigqueryOptionsPtrOutput
type OrganizationSinkBigqueryOptionsInput ¶
type OrganizationSinkBigqueryOptionsInput interface { pulumi.Input ToOrganizationSinkBigqueryOptionsOutput() OrganizationSinkBigqueryOptionsOutput ToOrganizationSinkBigqueryOptionsOutputWithContext(context.Context) OrganizationSinkBigqueryOptionsOutput }
type OrganizationSinkBigqueryOptionsOutput ¶
type OrganizationSinkBigqueryOptionsOutput struct{ *pulumi.OutputState }
func (OrganizationSinkBigqueryOptionsOutput) ElementType ¶
func (OrganizationSinkBigqueryOptionsOutput) ElementType() reflect.Type
func (OrganizationSinkBigqueryOptionsOutput) ToOrganizationSinkBigqueryOptionsOutput ¶
func (o OrganizationSinkBigqueryOptionsOutput) ToOrganizationSinkBigqueryOptionsOutput() OrganizationSinkBigqueryOptionsOutput
func (OrganizationSinkBigqueryOptionsOutput) ToOrganizationSinkBigqueryOptionsOutputWithContext ¶
func (o OrganizationSinkBigqueryOptionsOutput) ToOrganizationSinkBigqueryOptionsOutputWithContext(ctx context.Context) OrganizationSinkBigqueryOptionsOutput
func (OrganizationSinkBigqueryOptionsOutput) ToOrganizationSinkBigqueryOptionsPtrOutput ¶
func (o OrganizationSinkBigqueryOptionsOutput) ToOrganizationSinkBigqueryOptionsPtrOutput() OrganizationSinkBigqueryOptionsPtrOutput
func (OrganizationSinkBigqueryOptionsOutput) ToOrganizationSinkBigqueryOptionsPtrOutputWithContext ¶
func (o OrganizationSinkBigqueryOptionsOutput) ToOrganizationSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) OrganizationSinkBigqueryOptionsPtrOutput
func (OrganizationSinkBigqueryOptionsOutput) UsePartitionedTables ¶
func (o OrganizationSinkBigqueryOptionsOutput) UsePartitionedTables() pulumi.BoolOutput
Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By default, 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 OrganizationSinkBigqueryOptionsPtrInput ¶
type OrganizationSinkBigqueryOptionsPtrInput interface { pulumi.Input ToOrganizationSinkBigqueryOptionsPtrOutput() OrganizationSinkBigqueryOptionsPtrOutput ToOrganizationSinkBigqueryOptionsPtrOutputWithContext(context.Context) OrganizationSinkBigqueryOptionsPtrOutput }
func OrganizationSinkBigqueryOptionsPtr ¶
func OrganizationSinkBigqueryOptionsPtr(v *OrganizationSinkBigqueryOptionsArgs) OrganizationSinkBigqueryOptionsPtrInput
type OrganizationSinkBigqueryOptionsPtrOutput ¶
type OrganizationSinkBigqueryOptionsPtrOutput struct{ *pulumi.OutputState }
func (OrganizationSinkBigqueryOptionsPtrOutput) ElementType ¶
func (OrganizationSinkBigqueryOptionsPtrOutput) ElementType() reflect.Type
func (OrganizationSinkBigqueryOptionsPtrOutput) ToOrganizationSinkBigqueryOptionsPtrOutput ¶
func (o OrganizationSinkBigqueryOptionsPtrOutput) ToOrganizationSinkBigqueryOptionsPtrOutput() OrganizationSinkBigqueryOptionsPtrOutput
func (OrganizationSinkBigqueryOptionsPtrOutput) ToOrganizationSinkBigqueryOptionsPtrOutputWithContext ¶
func (o OrganizationSinkBigqueryOptionsPtrOutput) ToOrganizationSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) OrganizationSinkBigqueryOptionsPtrOutput
func (OrganizationSinkBigqueryOptionsPtrOutput) UsePartitionedTables ¶
func (o OrganizationSinkBigqueryOptionsPtrOutput) UsePartitionedTables() pulumi.BoolOutput
Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By default, 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 OrganizationSinkState ¶
type OrganizationSinkState struct { // Options that affect sinks exporting data to BigQuery. Structure documented below. BigqueryOptions OrganizationSinkBigqueryOptionsPtrInput // 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: // The writer associated with the sink must have access to write to the above resource. Destination pulumi.StringPtrInput // The filter to apply when exporting logs. Only log entries that match the filter are exported. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to // write a filter. Filter pulumi.StringPtrInput // 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. IncludeChildren pulumi.BoolPtrInput // The name of the logging sink. Name pulumi.StringPtrInput // The numeric ID of the organization to be exported to the sink. OrgId pulumi.StringPtrInput // The identity associated with this sink. This identity must be granted write access to the // configured `destination`. WriterIdentity pulumi.StringPtrInput }
func (OrganizationSinkState) ElementType ¶
func (OrganizationSinkState) ElementType() reflect.Type
type ProjectExclusion ¶
type ProjectExclusion struct { pulumi.CustomResourceState // A human-readable description. Description pulumi.StringPtrOutput `pulumi:"description"` // Whether this exclusion rule should be disabled or not. This defaults to // false. Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` // The filter to apply when excluding logs. Only log entries that match the filter are excluded. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced-filters) for information on how to // write a filter. Filter pulumi.StringOutput `pulumi:"filter"` // The name of the logging exclusion. Name pulumi.StringOutput `pulumi:"name"` // The project to create the exclusion in. If omitted, the project associated with the provider is // used. Project pulumi.StringOutput `pulumi:"project"` }
Manages a project-level logging exclusion. For more information see [the official documentation](https://cloud.google.com/logging/docs/) and [Excluding Logs](https://cloud.google.com/logging/docs/exclusions).
Note that you must have the "Logs Configuration Writer" IAM role (`roles/logging.configWriter`) granted to the credentials used with this provider.
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/logging_project_exclusion.html.markdown.
func GetProjectExclusion ¶
func GetProjectExclusion(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProjectExclusionState, opts ...pulumi.ResourceOption) (*ProjectExclusion, error)
GetProjectExclusion gets an existing ProjectExclusion 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 NewProjectExclusion ¶
func NewProjectExclusion(ctx *pulumi.Context, name string, args *ProjectExclusionArgs, opts ...pulumi.ResourceOption) (*ProjectExclusion, error)
NewProjectExclusion registers a new resource with the given unique name, arguments, and options.
type ProjectExclusionArgs ¶
type ProjectExclusionArgs struct { // A human-readable description. Description pulumi.StringPtrInput // Whether this exclusion rule should be disabled or not. This defaults to // false. Disabled pulumi.BoolPtrInput // The filter to apply when excluding logs. Only log entries that match the filter are excluded. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced-filters) for information on how to // write a filter. Filter pulumi.StringInput // The name of the logging exclusion. Name pulumi.StringPtrInput // The project to create the exclusion in. If omitted, the project associated with the provider is // used. Project pulumi.StringPtrInput }
The set of arguments for constructing a ProjectExclusion resource.
func (ProjectExclusionArgs) ElementType ¶
func (ProjectExclusionArgs) ElementType() reflect.Type
type ProjectExclusionState ¶
type ProjectExclusionState struct { // A human-readable description. Description pulumi.StringPtrInput // Whether this exclusion rule should be disabled or not. This defaults to // false. Disabled pulumi.BoolPtrInput // The filter to apply when excluding logs. Only log entries that match the filter are excluded. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced-filters) for information on how to // write a filter. Filter pulumi.StringPtrInput // The name of the logging exclusion. Name pulumi.StringPtrInput // The project to create the exclusion in. If omitted, the project associated with the provider is // used. Project pulumi.StringPtrInput }
func (ProjectExclusionState) ElementType ¶
func (ProjectExclusionState) ElementType() reflect.Type
type ProjectSink ¶
type ProjectSink struct { pulumi.CustomResourceState // Options that affect sinks exporting data to BigQuery. Structure documented below. BigqueryOptions ProjectSinkBigqueryOptionsOutput `pulumi:"bigqueryOptions"` // 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: // The writer associated with the sink must have access to write to the above resource. Destination pulumi.StringOutput `pulumi:"destination"` // The filter to apply when exporting logs. Only log entries that match the filter are exported. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to // write a filter. Filter pulumi.StringPtrOutput `pulumi:"filter"` // The name of the logging sink. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project to create the sink in. If omitted, the project associated with the provider is // used. Project pulumi.StringOutput `pulumi:"project"` // Whether or not to create a unique identity associated with this sink. If `false` // (the default), then the `writerIdentity` 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 `uniqueWriterIdentity` to true. UniqueWriterIdentity pulumi.BoolPtrOutput `pulumi:"uniqueWriterIdentity"` // The identity associated with this sink. This identity must be granted write access to the // configured `destination`. WriterIdentity pulumi.StringOutput `pulumi:"writerIdentity"` }
Manages a project-level logging sink. For more information see [the official documentation](https://cloud.google.com/logging/docs/), [Exporting Logs in the API](https://cloud.google.com/logging/docs/api/tasks/exporting-logs) and [API](https://cloud.google.com/logging/docs/reference/v2/rest/).
> **Note:** You must have [granted the "Logs Configuration Writer"](https://cloud.google.com/logging/docs/access-control) IAM role (`roles/logging.configWriter`) to the credentials used with this provider.
> **Note** You must [enable the Cloud Resource Manager API](https://console.cloud.google.com/apis/library/cloudresourcemanager.googleapis.com)
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/logging_project_sink.html.markdown.
func GetProjectSink ¶
func GetProjectSink(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProjectSinkState, opts ...pulumi.ResourceOption) (*ProjectSink, error)
GetProjectSink gets an existing ProjectSink 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 NewProjectSink ¶
func NewProjectSink(ctx *pulumi.Context, name string, args *ProjectSinkArgs, opts ...pulumi.ResourceOption) (*ProjectSink, error)
NewProjectSink registers a new resource with the given unique name, arguments, and options.
type ProjectSinkArgs ¶
type ProjectSinkArgs struct { // Options that affect sinks exporting data to BigQuery. Structure documented below. BigqueryOptions ProjectSinkBigqueryOptionsPtrInput // 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: // The writer associated with the sink must have access to write to the above resource. Destination pulumi.StringInput // The filter to apply when exporting logs. Only log entries that match the filter are exported. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to // write a filter. Filter pulumi.StringPtrInput // The name of the logging sink. Name pulumi.StringPtrInput // The ID of the project to create the sink in. If omitted, the project associated with the provider is // used. Project pulumi.StringPtrInput // Whether or not to create a unique identity associated with this sink. If `false` // (the default), then the `writerIdentity` 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 `uniqueWriterIdentity` to true. UniqueWriterIdentity pulumi.BoolPtrInput }
The set of arguments for constructing a ProjectSink resource.
func (ProjectSinkArgs) ElementType ¶
func (ProjectSinkArgs) ElementType() reflect.Type
type ProjectSinkBigqueryOptions ¶
type ProjectSinkBigqueryOptions struct { // Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables). // By default, 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"` }
type ProjectSinkBigqueryOptionsArgs ¶
type ProjectSinkBigqueryOptionsArgs struct { // Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables). // By default, 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.BoolInput `pulumi:"usePartitionedTables"` }
func (ProjectSinkBigqueryOptionsArgs) ElementType ¶
func (ProjectSinkBigqueryOptionsArgs) ElementType() reflect.Type
func (ProjectSinkBigqueryOptionsArgs) ToProjectSinkBigqueryOptionsOutput ¶
func (i ProjectSinkBigqueryOptionsArgs) ToProjectSinkBigqueryOptionsOutput() ProjectSinkBigqueryOptionsOutput
func (ProjectSinkBigqueryOptionsArgs) ToProjectSinkBigqueryOptionsOutputWithContext ¶
func (i ProjectSinkBigqueryOptionsArgs) ToProjectSinkBigqueryOptionsOutputWithContext(ctx context.Context) ProjectSinkBigqueryOptionsOutput
func (ProjectSinkBigqueryOptionsArgs) ToProjectSinkBigqueryOptionsPtrOutput ¶
func (i ProjectSinkBigqueryOptionsArgs) ToProjectSinkBigqueryOptionsPtrOutput() ProjectSinkBigqueryOptionsPtrOutput
func (ProjectSinkBigqueryOptionsArgs) ToProjectSinkBigqueryOptionsPtrOutputWithContext ¶
func (i ProjectSinkBigqueryOptionsArgs) ToProjectSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) ProjectSinkBigqueryOptionsPtrOutput
type ProjectSinkBigqueryOptionsInput ¶
type ProjectSinkBigqueryOptionsInput interface { pulumi.Input ToProjectSinkBigqueryOptionsOutput() ProjectSinkBigqueryOptionsOutput ToProjectSinkBigqueryOptionsOutputWithContext(context.Context) ProjectSinkBigqueryOptionsOutput }
type ProjectSinkBigqueryOptionsOutput ¶
type ProjectSinkBigqueryOptionsOutput struct{ *pulumi.OutputState }
func (ProjectSinkBigqueryOptionsOutput) ElementType ¶
func (ProjectSinkBigqueryOptionsOutput) ElementType() reflect.Type
func (ProjectSinkBigqueryOptionsOutput) ToProjectSinkBigqueryOptionsOutput ¶
func (o ProjectSinkBigqueryOptionsOutput) ToProjectSinkBigqueryOptionsOutput() ProjectSinkBigqueryOptionsOutput
func (ProjectSinkBigqueryOptionsOutput) ToProjectSinkBigqueryOptionsOutputWithContext ¶
func (o ProjectSinkBigqueryOptionsOutput) ToProjectSinkBigqueryOptionsOutputWithContext(ctx context.Context) ProjectSinkBigqueryOptionsOutput
func (ProjectSinkBigqueryOptionsOutput) ToProjectSinkBigqueryOptionsPtrOutput ¶
func (o ProjectSinkBigqueryOptionsOutput) ToProjectSinkBigqueryOptionsPtrOutput() ProjectSinkBigqueryOptionsPtrOutput
func (ProjectSinkBigqueryOptionsOutput) ToProjectSinkBigqueryOptionsPtrOutputWithContext ¶
func (o ProjectSinkBigqueryOptionsOutput) ToProjectSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) ProjectSinkBigqueryOptionsPtrOutput
func (ProjectSinkBigqueryOptionsOutput) UsePartitionedTables ¶
func (o ProjectSinkBigqueryOptionsOutput) UsePartitionedTables() pulumi.BoolOutput
Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By default, 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 ProjectSinkBigqueryOptionsPtrInput ¶
type ProjectSinkBigqueryOptionsPtrInput interface { pulumi.Input ToProjectSinkBigqueryOptionsPtrOutput() ProjectSinkBigqueryOptionsPtrOutput ToProjectSinkBigqueryOptionsPtrOutputWithContext(context.Context) ProjectSinkBigqueryOptionsPtrOutput }
func ProjectSinkBigqueryOptionsPtr ¶
func ProjectSinkBigqueryOptionsPtr(v *ProjectSinkBigqueryOptionsArgs) ProjectSinkBigqueryOptionsPtrInput
type ProjectSinkBigqueryOptionsPtrOutput ¶
type ProjectSinkBigqueryOptionsPtrOutput struct{ *pulumi.OutputState }
func (ProjectSinkBigqueryOptionsPtrOutput) Elem ¶
func (o ProjectSinkBigqueryOptionsPtrOutput) Elem() ProjectSinkBigqueryOptionsOutput
func (ProjectSinkBigqueryOptionsPtrOutput) ElementType ¶
func (ProjectSinkBigqueryOptionsPtrOutput) ElementType() reflect.Type
func (ProjectSinkBigqueryOptionsPtrOutput) ToProjectSinkBigqueryOptionsPtrOutput ¶
func (o ProjectSinkBigqueryOptionsPtrOutput) ToProjectSinkBigqueryOptionsPtrOutput() ProjectSinkBigqueryOptionsPtrOutput
func (ProjectSinkBigqueryOptionsPtrOutput) ToProjectSinkBigqueryOptionsPtrOutputWithContext ¶
func (o ProjectSinkBigqueryOptionsPtrOutput) ToProjectSinkBigqueryOptionsPtrOutputWithContext(ctx context.Context) ProjectSinkBigqueryOptionsPtrOutput
func (ProjectSinkBigqueryOptionsPtrOutput) UsePartitionedTables ¶
func (o ProjectSinkBigqueryOptionsPtrOutput) UsePartitionedTables() pulumi.BoolOutput
Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By default, 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 ProjectSinkState ¶
type ProjectSinkState struct { // Options that affect sinks exporting data to BigQuery. Structure documented below. BigqueryOptions ProjectSinkBigqueryOptionsPtrInput // 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: // The writer associated with the sink must have access to write to the above resource. Destination pulumi.StringPtrInput // The filter to apply when exporting logs. Only log entries that match the filter are exported. // See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to // write a filter. Filter pulumi.StringPtrInput // The name of the logging sink. Name pulumi.StringPtrInput // The ID of the project to create the sink in. If omitted, the project associated with the provider is // used. Project pulumi.StringPtrInput // Whether or not to create a unique identity associated with this sink. If `false` // (the default), then the `writerIdentity` 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 `uniqueWriterIdentity` to true. UniqueWriterIdentity pulumi.BoolPtrInput // The identity associated with this sink. This identity must be granted write access to the // configured `destination`. WriterIdentity pulumi.StringPtrInput }
func (ProjectSinkState) ElementType ¶
func (ProjectSinkState) ElementType() reflect.Type