v1

package
v0.0.1-alpha.100 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Default value. This value is unused.
	DeliveryConfigDeliveryRequirementDeliveryRequirementUnspecified = DeliveryConfigDeliveryRequirement("DELIVERY_REQUIREMENT_UNSPECIFIED")
	// The server does not wait for a published message to be successfully written to storage before delivering it to subscribers.
	DeliveryConfigDeliveryRequirementDeliverImmediately = DeliveryConfigDeliveryRequirement("DELIVER_IMMEDIATELY")
	// The server will not deliver a published message to subscribers until the message has been successfully written to storage. This will result in higher end-to-end latency, but consistent delivery.
	DeliveryConfigDeliveryRequirementDeliverAfterStored = DeliveryConfigDeliveryRequirement("DELIVER_AFTER_STORED")
)
View Source
const (
	// Default value. This value is unused.
	ExportConfigDesiredStateStateUnspecified = ExportConfigDesiredState("STATE_UNSPECIFIED")
	// Messages are being exported.
	ExportConfigDesiredStateActive = ExportConfigDesiredState("ACTIVE")
	// Exporting messages is suspended.
	ExportConfigDesiredStatePaused = ExportConfigDesiredState("PAUSED")
	// Messages cannot be exported due to permission denied errors. Output only.
	ExportConfigDesiredStatePermissionDenied = ExportConfigDesiredState("PERMISSION_DENIED")
	// Messages cannot be exported due to missing resources. Output only.
	ExportConfigDesiredStateNotFound = ExportConfigDesiredState("NOT_FOUND")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Capacity

type Capacity struct {
	// Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
	PublishMibPerSec *int `pulumi:"publishMibPerSec"`
	// Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
	SubscribeMibPerSec *int `pulumi:"subscribeMibPerSec"`
}

The throughput capacity configuration for each partition.

type CapacityArgs

type CapacityArgs struct {
	// Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
	PublishMibPerSec pulumi.IntPtrInput `pulumi:"publishMibPerSec"`
	// Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
	SubscribeMibPerSec pulumi.IntPtrInput `pulumi:"subscribeMibPerSec"`
}

The throughput capacity configuration for each partition.

func (CapacityArgs) ElementType

func (CapacityArgs) ElementType() reflect.Type

func (CapacityArgs) ToCapacityOutput

func (i CapacityArgs) ToCapacityOutput() CapacityOutput

func (CapacityArgs) ToCapacityOutputWithContext

func (i CapacityArgs) ToCapacityOutputWithContext(ctx context.Context) CapacityOutput

func (CapacityArgs) ToCapacityPtrOutput

func (i CapacityArgs) ToCapacityPtrOutput() CapacityPtrOutput

func (CapacityArgs) ToCapacityPtrOutputWithContext

func (i CapacityArgs) ToCapacityPtrOutputWithContext(ctx context.Context) CapacityPtrOutput

type CapacityInput

type CapacityInput interface {
	pulumi.Input

	ToCapacityOutput() CapacityOutput
	ToCapacityOutputWithContext(context.Context) CapacityOutput
}

CapacityInput is an input type that accepts CapacityArgs and CapacityOutput values. You can construct a concrete instance of `CapacityInput` via:

CapacityArgs{...}

type CapacityOutput

type CapacityOutput struct{ *pulumi.OutputState }

The throughput capacity configuration for each partition.

func (CapacityOutput) ElementType

func (CapacityOutput) ElementType() reflect.Type

func (CapacityOutput) PublishMibPerSec

func (o CapacityOutput) PublishMibPerSec() pulumi.IntPtrOutput

Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.

func (CapacityOutput) SubscribeMibPerSec

func (o CapacityOutput) SubscribeMibPerSec() pulumi.IntPtrOutput

Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.

func (CapacityOutput) ToCapacityOutput

func (o CapacityOutput) ToCapacityOutput() CapacityOutput

func (CapacityOutput) ToCapacityOutputWithContext

func (o CapacityOutput) ToCapacityOutputWithContext(ctx context.Context) CapacityOutput

func (CapacityOutput) ToCapacityPtrOutput

func (o CapacityOutput) ToCapacityPtrOutput() CapacityPtrOutput

func (CapacityOutput) ToCapacityPtrOutputWithContext

func (o CapacityOutput) ToCapacityPtrOutputWithContext(ctx context.Context) CapacityPtrOutput

type CapacityPtrInput

type CapacityPtrInput interface {
	pulumi.Input

	ToCapacityPtrOutput() CapacityPtrOutput
	ToCapacityPtrOutputWithContext(context.Context) CapacityPtrOutput
}

CapacityPtrInput is an input type that accepts CapacityArgs, CapacityPtr and CapacityPtrOutput values. You can construct a concrete instance of `CapacityPtrInput` via:

        CapacityArgs{...}

or:

        nil

func CapacityPtr

func CapacityPtr(v *CapacityArgs) CapacityPtrInput

type CapacityPtrOutput

type CapacityPtrOutput struct{ *pulumi.OutputState }

func (CapacityPtrOutput) Elem

func (CapacityPtrOutput) ElementType

func (CapacityPtrOutput) ElementType() reflect.Type

func (CapacityPtrOutput) PublishMibPerSec

func (o CapacityPtrOutput) PublishMibPerSec() pulumi.IntPtrOutput

Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.

func (CapacityPtrOutput) SubscribeMibPerSec

func (o CapacityPtrOutput) SubscribeMibPerSec() pulumi.IntPtrOutput

Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.

func (CapacityPtrOutput) ToCapacityPtrOutput

func (o CapacityPtrOutput) ToCapacityPtrOutput() CapacityPtrOutput

func (CapacityPtrOutput) ToCapacityPtrOutputWithContext

func (o CapacityPtrOutput) ToCapacityPtrOutputWithContext(ctx context.Context) CapacityPtrOutput

type CapacityResponse

type CapacityResponse struct {
	// Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.
	PublishMibPerSec int `pulumi:"publishMibPerSec"`
	// Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.
	SubscribeMibPerSec int `pulumi:"subscribeMibPerSec"`
}

The throughput capacity configuration for each partition.

type CapacityResponseOutput

type CapacityResponseOutput struct{ *pulumi.OutputState }

The throughput capacity configuration for each partition.

func (CapacityResponseOutput) ElementType

func (CapacityResponseOutput) ElementType() reflect.Type

func (CapacityResponseOutput) PublishMibPerSec

func (o CapacityResponseOutput) PublishMibPerSec() pulumi.IntOutput

Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.

func (CapacityResponseOutput) SubscribeMibPerSec

func (o CapacityResponseOutput) SubscribeMibPerSec() pulumi.IntOutput

Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.

func (CapacityResponseOutput) ToCapacityResponseOutput

func (o CapacityResponseOutput) ToCapacityResponseOutput() CapacityResponseOutput

func (CapacityResponseOutput) ToCapacityResponseOutputWithContext

func (o CapacityResponseOutput) ToCapacityResponseOutputWithContext(ctx context.Context) CapacityResponseOutput

type DeliveryConfig

type DeliveryConfig struct {
	// The DeliveryRequirement for this subscription.
	DeliveryRequirement *DeliveryConfigDeliveryRequirement `pulumi:"deliveryRequirement"`
}

The settings for a subscription's message delivery.

type DeliveryConfigArgs

type DeliveryConfigArgs struct {
	// The DeliveryRequirement for this subscription.
	DeliveryRequirement DeliveryConfigDeliveryRequirementPtrInput `pulumi:"deliveryRequirement"`
}

The settings for a subscription's message delivery.

func (DeliveryConfigArgs) ElementType

func (DeliveryConfigArgs) ElementType() reflect.Type

func (DeliveryConfigArgs) ToDeliveryConfigOutput

func (i DeliveryConfigArgs) ToDeliveryConfigOutput() DeliveryConfigOutput

func (DeliveryConfigArgs) ToDeliveryConfigOutputWithContext

func (i DeliveryConfigArgs) ToDeliveryConfigOutputWithContext(ctx context.Context) DeliveryConfigOutput

func (DeliveryConfigArgs) ToDeliveryConfigPtrOutput

func (i DeliveryConfigArgs) ToDeliveryConfigPtrOutput() DeliveryConfigPtrOutput

func (DeliveryConfigArgs) ToDeliveryConfigPtrOutputWithContext

func (i DeliveryConfigArgs) ToDeliveryConfigPtrOutputWithContext(ctx context.Context) DeliveryConfigPtrOutput

type DeliveryConfigDeliveryRequirement added in v0.4.0

type DeliveryConfigDeliveryRequirement string

The DeliveryRequirement for this subscription.

func (DeliveryConfigDeliveryRequirement) ElementType added in v0.4.0

func (DeliveryConfigDeliveryRequirement) ToDeliveryConfigDeliveryRequirementOutput added in v0.6.0

func (e DeliveryConfigDeliveryRequirement) ToDeliveryConfigDeliveryRequirementOutput() DeliveryConfigDeliveryRequirementOutput

func (DeliveryConfigDeliveryRequirement) ToDeliveryConfigDeliveryRequirementOutputWithContext added in v0.6.0

func (e DeliveryConfigDeliveryRequirement) ToDeliveryConfigDeliveryRequirementOutputWithContext(ctx context.Context) DeliveryConfigDeliveryRequirementOutput

func (DeliveryConfigDeliveryRequirement) ToDeliveryConfigDeliveryRequirementPtrOutput added in v0.6.0

func (e DeliveryConfigDeliveryRequirement) ToDeliveryConfigDeliveryRequirementPtrOutput() DeliveryConfigDeliveryRequirementPtrOutput

func (DeliveryConfigDeliveryRequirement) ToDeliveryConfigDeliveryRequirementPtrOutputWithContext added in v0.6.0

func (e DeliveryConfigDeliveryRequirement) ToDeliveryConfigDeliveryRequirementPtrOutputWithContext(ctx context.Context) DeliveryConfigDeliveryRequirementPtrOutput

func (DeliveryConfigDeliveryRequirement) ToStringOutput added in v0.4.0

func (DeliveryConfigDeliveryRequirement) ToStringOutputWithContext added in v0.4.0

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

func (DeliveryConfigDeliveryRequirement) ToStringPtrOutput added in v0.4.0

func (DeliveryConfigDeliveryRequirement) ToStringPtrOutputWithContext added in v0.4.0

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

type DeliveryConfigDeliveryRequirementInput added in v0.6.0

type DeliveryConfigDeliveryRequirementInput interface {
	pulumi.Input

	ToDeliveryConfigDeliveryRequirementOutput() DeliveryConfigDeliveryRequirementOutput
	ToDeliveryConfigDeliveryRequirementOutputWithContext(context.Context) DeliveryConfigDeliveryRequirementOutput
}

DeliveryConfigDeliveryRequirementInput is an input type that accepts values of the DeliveryConfigDeliveryRequirement enum A concrete instance of `DeliveryConfigDeliveryRequirementInput` can be one of the following:

DeliveryConfigDeliveryRequirementDeliveryRequirementUnspecified
DeliveryConfigDeliveryRequirementDeliverImmediately
DeliveryConfigDeliveryRequirementDeliverAfterStored

type DeliveryConfigDeliveryRequirementOutput added in v0.6.0

type DeliveryConfigDeliveryRequirementOutput struct{ *pulumi.OutputState }

func (DeliveryConfigDeliveryRequirementOutput) ElementType added in v0.6.0

func (DeliveryConfigDeliveryRequirementOutput) ToDeliveryConfigDeliveryRequirementOutput added in v0.6.0

func (o DeliveryConfigDeliveryRequirementOutput) ToDeliveryConfigDeliveryRequirementOutput() DeliveryConfigDeliveryRequirementOutput

func (DeliveryConfigDeliveryRequirementOutput) ToDeliveryConfigDeliveryRequirementOutputWithContext added in v0.6.0

func (o DeliveryConfigDeliveryRequirementOutput) ToDeliveryConfigDeliveryRequirementOutputWithContext(ctx context.Context) DeliveryConfigDeliveryRequirementOutput

func (DeliveryConfigDeliveryRequirementOutput) ToDeliveryConfigDeliveryRequirementPtrOutput added in v0.6.0

func (o DeliveryConfigDeliveryRequirementOutput) ToDeliveryConfigDeliveryRequirementPtrOutput() DeliveryConfigDeliveryRequirementPtrOutput

func (DeliveryConfigDeliveryRequirementOutput) ToDeliveryConfigDeliveryRequirementPtrOutputWithContext added in v0.6.0

func (o DeliveryConfigDeliveryRequirementOutput) ToDeliveryConfigDeliveryRequirementPtrOutputWithContext(ctx context.Context) DeliveryConfigDeliveryRequirementPtrOutput

func (DeliveryConfigDeliveryRequirementOutput) ToStringOutput added in v0.6.0

func (DeliveryConfigDeliveryRequirementOutput) ToStringOutputWithContext added in v0.6.0

func (DeliveryConfigDeliveryRequirementOutput) ToStringPtrOutput added in v0.6.0

func (DeliveryConfigDeliveryRequirementOutput) ToStringPtrOutputWithContext added in v0.6.0

type DeliveryConfigDeliveryRequirementPtrInput added in v0.6.0

type DeliveryConfigDeliveryRequirementPtrInput interface {
	pulumi.Input

	ToDeliveryConfigDeliveryRequirementPtrOutput() DeliveryConfigDeliveryRequirementPtrOutput
	ToDeliveryConfigDeliveryRequirementPtrOutputWithContext(context.Context) DeliveryConfigDeliveryRequirementPtrOutput
}

func DeliveryConfigDeliveryRequirementPtr added in v0.6.0

func DeliveryConfigDeliveryRequirementPtr(v string) DeliveryConfigDeliveryRequirementPtrInput

type DeliveryConfigDeliveryRequirementPtrOutput added in v0.6.0

type DeliveryConfigDeliveryRequirementPtrOutput struct{ *pulumi.OutputState }

func (DeliveryConfigDeliveryRequirementPtrOutput) Elem added in v0.6.0

func (DeliveryConfigDeliveryRequirementPtrOutput) ElementType added in v0.6.0

func (DeliveryConfigDeliveryRequirementPtrOutput) ToDeliveryConfigDeliveryRequirementPtrOutput added in v0.6.0

func (o DeliveryConfigDeliveryRequirementPtrOutput) ToDeliveryConfigDeliveryRequirementPtrOutput() DeliveryConfigDeliveryRequirementPtrOutput

func (DeliveryConfigDeliveryRequirementPtrOutput) ToDeliveryConfigDeliveryRequirementPtrOutputWithContext added in v0.6.0

func (o DeliveryConfigDeliveryRequirementPtrOutput) ToDeliveryConfigDeliveryRequirementPtrOutputWithContext(ctx context.Context) DeliveryConfigDeliveryRequirementPtrOutput

func (DeliveryConfigDeliveryRequirementPtrOutput) ToStringPtrOutput added in v0.6.0

func (DeliveryConfigDeliveryRequirementPtrOutput) ToStringPtrOutputWithContext added in v0.6.0

type DeliveryConfigInput

type DeliveryConfigInput interface {
	pulumi.Input

	ToDeliveryConfigOutput() DeliveryConfigOutput
	ToDeliveryConfigOutputWithContext(context.Context) DeliveryConfigOutput
}

DeliveryConfigInput is an input type that accepts DeliveryConfigArgs and DeliveryConfigOutput values. You can construct a concrete instance of `DeliveryConfigInput` via:

DeliveryConfigArgs{...}

type DeliveryConfigOutput

type DeliveryConfigOutput struct{ *pulumi.OutputState }

The settings for a subscription's message delivery.

func (DeliveryConfigOutput) DeliveryRequirement

The DeliveryRequirement for this subscription.

func (DeliveryConfigOutput) ElementType

func (DeliveryConfigOutput) ElementType() reflect.Type

func (DeliveryConfigOutput) ToDeliveryConfigOutput

func (o DeliveryConfigOutput) ToDeliveryConfigOutput() DeliveryConfigOutput

func (DeliveryConfigOutput) ToDeliveryConfigOutputWithContext

func (o DeliveryConfigOutput) ToDeliveryConfigOutputWithContext(ctx context.Context) DeliveryConfigOutput

func (DeliveryConfigOutput) ToDeliveryConfigPtrOutput

func (o DeliveryConfigOutput) ToDeliveryConfigPtrOutput() DeliveryConfigPtrOutput

func (DeliveryConfigOutput) ToDeliveryConfigPtrOutputWithContext

func (o DeliveryConfigOutput) ToDeliveryConfigPtrOutputWithContext(ctx context.Context) DeliveryConfigPtrOutput

type DeliveryConfigPtrInput

type DeliveryConfigPtrInput interface {
	pulumi.Input

	ToDeliveryConfigPtrOutput() DeliveryConfigPtrOutput
	ToDeliveryConfigPtrOutputWithContext(context.Context) DeliveryConfigPtrOutput
}

DeliveryConfigPtrInput is an input type that accepts DeliveryConfigArgs, DeliveryConfigPtr and DeliveryConfigPtrOutput values. You can construct a concrete instance of `DeliveryConfigPtrInput` via:

        DeliveryConfigArgs{...}

or:

        nil

type DeliveryConfigPtrOutput

type DeliveryConfigPtrOutput struct{ *pulumi.OutputState }

func (DeliveryConfigPtrOutput) DeliveryRequirement

The DeliveryRequirement for this subscription.

func (DeliveryConfigPtrOutput) Elem

func (DeliveryConfigPtrOutput) ElementType

func (DeliveryConfigPtrOutput) ElementType() reflect.Type

func (DeliveryConfigPtrOutput) ToDeliveryConfigPtrOutput

func (o DeliveryConfigPtrOutput) ToDeliveryConfigPtrOutput() DeliveryConfigPtrOutput

func (DeliveryConfigPtrOutput) ToDeliveryConfigPtrOutputWithContext

func (o DeliveryConfigPtrOutput) ToDeliveryConfigPtrOutputWithContext(ctx context.Context) DeliveryConfigPtrOutput

type DeliveryConfigResponse

type DeliveryConfigResponse struct {
	// The DeliveryRequirement for this subscription.
	DeliveryRequirement string `pulumi:"deliveryRequirement"`
}

The settings for a subscription's message delivery.

type DeliveryConfigResponseOutput

type DeliveryConfigResponseOutput struct{ *pulumi.OutputState }

The settings for a subscription's message delivery.

func (DeliveryConfigResponseOutput) DeliveryRequirement

func (o DeliveryConfigResponseOutput) DeliveryRequirement() pulumi.StringOutput

The DeliveryRequirement for this subscription.

func (DeliveryConfigResponseOutput) ElementType

func (DeliveryConfigResponseOutput) ToDeliveryConfigResponseOutput

func (o DeliveryConfigResponseOutput) ToDeliveryConfigResponseOutput() DeliveryConfigResponseOutput

func (DeliveryConfigResponseOutput) ToDeliveryConfigResponseOutputWithContext

func (o DeliveryConfigResponseOutput) ToDeliveryConfigResponseOutputWithContext(ctx context.Context) DeliveryConfigResponseOutput

type ExportConfig added in v0.28.0

type ExportConfig struct {
	// Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
	DeadLetterTopic *string `pulumi:"deadLetterTopic"`
	// The desired state of this export. Setting this to values other than `ACTIVE` and `PAUSED` will result in an error.
	DesiredState *ExportConfigDesiredState `pulumi:"desiredState"`
	// Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
	PubsubConfig *PubSubConfig `pulumi:"pubsubConfig"`
}

Configuration for a Pub/Sub Lite subscription that writes messages to a destination. User subscriber clients must not connect to this subscription.

type ExportConfigArgs added in v0.28.0

type ExportConfigArgs struct {
	// Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
	DeadLetterTopic pulumi.StringPtrInput `pulumi:"deadLetterTopic"`
	// The desired state of this export. Setting this to values other than `ACTIVE` and `PAUSED` will result in an error.
	DesiredState ExportConfigDesiredStatePtrInput `pulumi:"desiredState"`
	// Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
	PubsubConfig PubSubConfigPtrInput `pulumi:"pubsubConfig"`
}

Configuration for a Pub/Sub Lite subscription that writes messages to a destination. User subscriber clients must not connect to this subscription.

func (ExportConfigArgs) ElementType added in v0.28.0

func (ExportConfigArgs) ElementType() reflect.Type

func (ExportConfigArgs) ToExportConfigOutput added in v0.28.0

func (i ExportConfigArgs) ToExportConfigOutput() ExportConfigOutput

func (ExportConfigArgs) ToExportConfigOutputWithContext added in v0.28.0

func (i ExportConfigArgs) ToExportConfigOutputWithContext(ctx context.Context) ExportConfigOutput

func (ExportConfigArgs) ToExportConfigPtrOutput added in v0.28.0

func (i ExportConfigArgs) ToExportConfigPtrOutput() ExportConfigPtrOutput

func (ExportConfigArgs) ToExportConfigPtrOutputWithContext added in v0.28.0

func (i ExportConfigArgs) ToExportConfigPtrOutputWithContext(ctx context.Context) ExportConfigPtrOutput

type ExportConfigDesiredState added in v0.28.0

type ExportConfigDesiredState string

The desired state of this export. Setting this to values other than `ACTIVE` and `PAUSED` will result in an error.

func (ExportConfigDesiredState) ElementType added in v0.28.0

func (ExportConfigDesiredState) ElementType() reflect.Type

func (ExportConfigDesiredState) ToExportConfigDesiredStateOutput added in v0.28.0

func (e ExportConfigDesiredState) ToExportConfigDesiredStateOutput() ExportConfigDesiredStateOutput

func (ExportConfigDesiredState) ToExportConfigDesiredStateOutputWithContext added in v0.28.0

func (e ExportConfigDesiredState) ToExportConfigDesiredStateOutputWithContext(ctx context.Context) ExportConfigDesiredStateOutput

func (ExportConfigDesiredState) ToExportConfigDesiredStatePtrOutput added in v0.28.0

func (e ExportConfigDesiredState) ToExportConfigDesiredStatePtrOutput() ExportConfigDesiredStatePtrOutput

func (ExportConfigDesiredState) ToExportConfigDesiredStatePtrOutputWithContext added in v0.28.0

func (e ExportConfigDesiredState) ToExportConfigDesiredStatePtrOutputWithContext(ctx context.Context) ExportConfigDesiredStatePtrOutput

func (ExportConfigDesiredState) ToStringOutput added in v0.28.0

func (e ExportConfigDesiredState) ToStringOutput() pulumi.StringOutput

func (ExportConfigDesiredState) ToStringOutputWithContext added in v0.28.0

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

func (ExportConfigDesiredState) ToStringPtrOutput added in v0.28.0

func (e ExportConfigDesiredState) ToStringPtrOutput() pulumi.StringPtrOutput

func (ExportConfigDesiredState) ToStringPtrOutputWithContext added in v0.28.0

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

type ExportConfigDesiredStateInput added in v0.28.0

type ExportConfigDesiredStateInput interface {
	pulumi.Input

	ToExportConfigDesiredStateOutput() ExportConfigDesiredStateOutput
	ToExportConfigDesiredStateOutputWithContext(context.Context) ExportConfigDesiredStateOutput
}

ExportConfigDesiredStateInput is an input type that accepts values of the ExportConfigDesiredState enum A concrete instance of `ExportConfigDesiredStateInput` can be one of the following:

ExportConfigDesiredStateStateUnspecified
ExportConfigDesiredStateActive
ExportConfigDesiredStatePaused
ExportConfigDesiredStatePermissionDenied
ExportConfigDesiredStateNotFound

type ExportConfigDesiredStateOutput added in v0.28.0

type ExportConfigDesiredStateOutput struct{ *pulumi.OutputState }

func (ExportConfigDesiredStateOutput) ElementType added in v0.28.0

func (ExportConfigDesiredStateOutput) ToExportConfigDesiredStateOutput added in v0.28.0

func (o ExportConfigDesiredStateOutput) ToExportConfigDesiredStateOutput() ExportConfigDesiredStateOutput

func (ExportConfigDesiredStateOutput) ToExportConfigDesiredStateOutputWithContext added in v0.28.0

func (o ExportConfigDesiredStateOutput) ToExportConfigDesiredStateOutputWithContext(ctx context.Context) ExportConfigDesiredStateOutput

func (ExportConfigDesiredStateOutput) ToExportConfigDesiredStatePtrOutput added in v0.28.0

func (o ExportConfigDesiredStateOutput) ToExportConfigDesiredStatePtrOutput() ExportConfigDesiredStatePtrOutput

func (ExportConfigDesiredStateOutput) ToExportConfigDesiredStatePtrOutputWithContext added in v0.28.0

func (o ExportConfigDesiredStateOutput) ToExportConfigDesiredStatePtrOutputWithContext(ctx context.Context) ExportConfigDesiredStatePtrOutput

func (ExportConfigDesiredStateOutput) ToStringOutput added in v0.28.0

func (ExportConfigDesiredStateOutput) ToStringOutputWithContext added in v0.28.0

func (o ExportConfigDesiredStateOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ExportConfigDesiredStateOutput) ToStringPtrOutput added in v0.28.0

func (ExportConfigDesiredStateOutput) ToStringPtrOutputWithContext added in v0.28.0

func (o ExportConfigDesiredStateOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ExportConfigDesiredStatePtrInput added in v0.28.0

type ExportConfigDesiredStatePtrInput interface {
	pulumi.Input

	ToExportConfigDesiredStatePtrOutput() ExportConfigDesiredStatePtrOutput
	ToExportConfigDesiredStatePtrOutputWithContext(context.Context) ExportConfigDesiredStatePtrOutput
}

func ExportConfigDesiredStatePtr added in v0.28.0

func ExportConfigDesiredStatePtr(v string) ExportConfigDesiredStatePtrInput

type ExportConfigDesiredStatePtrOutput added in v0.28.0

type ExportConfigDesiredStatePtrOutput struct{ *pulumi.OutputState }

func (ExportConfigDesiredStatePtrOutput) Elem added in v0.28.0

func (ExportConfigDesiredStatePtrOutput) ElementType added in v0.28.0

func (ExportConfigDesiredStatePtrOutput) ToExportConfigDesiredStatePtrOutput added in v0.28.0

func (o ExportConfigDesiredStatePtrOutput) ToExportConfigDesiredStatePtrOutput() ExportConfigDesiredStatePtrOutput

func (ExportConfigDesiredStatePtrOutput) ToExportConfigDesiredStatePtrOutputWithContext added in v0.28.0

func (o ExportConfigDesiredStatePtrOutput) ToExportConfigDesiredStatePtrOutputWithContext(ctx context.Context) ExportConfigDesiredStatePtrOutput

func (ExportConfigDesiredStatePtrOutput) ToStringPtrOutput added in v0.28.0

func (ExportConfigDesiredStatePtrOutput) ToStringPtrOutputWithContext added in v0.28.0

func (o ExportConfigDesiredStatePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ExportConfigInput added in v0.28.0

type ExportConfigInput interface {
	pulumi.Input

	ToExportConfigOutput() ExportConfigOutput
	ToExportConfigOutputWithContext(context.Context) ExportConfigOutput
}

ExportConfigInput is an input type that accepts ExportConfigArgs and ExportConfigOutput values. You can construct a concrete instance of `ExportConfigInput` via:

ExportConfigArgs{...}

type ExportConfigOutput added in v0.28.0

type ExportConfigOutput struct{ *pulumi.OutputState }

Configuration for a Pub/Sub Lite subscription that writes messages to a destination. User subscriber clients must not connect to this subscription.

func (ExportConfigOutput) DeadLetterTopic added in v0.28.0

func (o ExportConfigOutput) DeadLetterTopic() pulumi.StringPtrOutput

Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.

func (ExportConfigOutput) DesiredState added in v0.28.0

The desired state of this export. Setting this to values other than `ACTIVE` and `PAUSED` will result in an error.

func (ExportConfigOutput) ElementType added in v0.28.0

func (ExportConfigOutput) ElementType() reflect.Type

func (ExportConfigOutput) PubsubConfig added in v0.28.0

func (o ExportConfigOutput) PubsubConfig() PubSubConfigPtrOutput

Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.

func (ExportConfigOutput) ToExportConfigOutput added in v0.28.0

func (o ExportConfigOutput) ToExportConfigOutput() ExportConfigOutput

func (ExportConfigOutput) ToExportConfigOutputWithContext added in v0.28.0

func (o ExportConfigOutput) ToExportConfigOutputWithContext(ctx context.Context) ExportConfigOutput

func (ExportConfigOutput) ToExportConfigPtrOutput added in v0.28.0

func (o ExportConfigOutput) ToExportConfigPtrOutput() ExportConfigPtrOutput

func (ExportConfigOutput) ToExportConfigPtrOutputWithContext added in v0.28.0

func (o ExportConfigOutput) ToExportConfigPtrOutputWithContext(ctx context.Context) ExportConfigPtrOutput

type ExportConfigPtrInput added in v0.28.0

type ExportConfigPtrInput interface {
	pulumi.Input

	ToExportConfigPtrOutput() ExportConfigPtrOutput
	ToExportConfigPtrOutputWithContext(context.Context) ExportConfigPtrOutput
}

ExportConfigPtrInput is an input type that accepts ExportConfigArgs, ExportConfigPtr and ExportConfigPtrOutput values. You can construct a concrete instance of `ExportConfigPtrInput` via:

        ExportConfigArgs{...}

or:

        nil

func ExportConfigPtr added in v0.28.0

func ExportConfigPtr(v *ExportConfigArgs) ExportConfigPtrInput

type ExportConfigPtrOutput added in v0.28.0

type ExportConfigPtrOutput struct{ *pulumi.OutputState }

func (ExportConfigPtrOutput) DeadLetterTopic added in v0.28.0

func (o ExportConfigPtrOutput) DeadLetterTopic() pulumi.StringPtrOutput

Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.

func (ExportConfigPtrOutput) DesiredState added in v0.28.0

The desired state of this export. Setting this to values other than `ACTIVE` and `PAUSED` will result in an error.

func (ExportConfigPtrOutput) Elem added in v0.28.0

func (ExportConfigPtrOutput) ElementType added in v0.28.0

func (ExportConfigPtrOutput) ElementType() reflect.Type

func (ExportConfigPtrOutput) PubsubConfig added in v0.28.0

Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.

func (ExportConfigPtrOutput) ToExportConfigPtrOutput added in v0.28.0

func (o ExportConfigPtrOutput) ToExportConfigPtrOutput() ExportConfigPtrOutput

func (ExportConfigPtrOutput) ToExportConfigPtrOutputWithContext added in v0.28.0

func (o ExportConfigPtrOutput) ToExportConfigPtrOutputWithContext(ctx context.Context) ExportConfigPtrOutput

type ExportConfigResponse added in v0.28.0

type ExportConfigResponse struct {
	// The current state of the export, which may be different to the desired state due to errors. This field is output only.
	CurrentState string `pulumi:"currentState"`
	// Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
	DeadLetterTopic string `pulumi:"deadLetterTopic"`
	// The desired state of this export. Setting this to values other than `ACTIVE` and `PAUSED` will result in an error.
	DesiredState string `pulumi:"desiredState"`
	// Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
	PubsubConfig PubSubConfigResponse `pulumi:"pubsubConfig"`
}

Configuration for a Pub/Sub Lite subscription that writes messages to a destination. User subscriber clients must not connect to this subscription.

type ExportConfigResponseOutput added in v0.28.0

type ExportConfigResponseOutput struct{ *pulumi.OutputState }

Configuration for a Pub/Sub Lite subscription that writes messages to a destination. User subscriber clients must not connect to this subscription.

func (ExportConfigResponseOutput) CurrentState added in v0.28.0

The current state of the export, which may be different to the desired state due to errors. This field is output only.

func (ExportConfigResponseOutput) DeadLetterTopic added in v0.28.0

func (o ExportConfigResponseOutput) DeadLetterTopic() pulumi.StringOutput

Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.

func (ExportConfigResponseOutput) DesiredState added in v0.28.0

The desired state of this export. Setting this to values other than `ACTIVE` and `PAUSED` will result in an error.

func (ExportConfigResponseOutput) ElementType added in v0.28.0

func (ExportConfigResponseOutput) ElementType() reflect.Type

func (ExportConfigResponseOutput) PubsubConfig added in v0.28.0

Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.

func (ExportConfigResponseOutput) ToExportConfigResponseOutput added in v0.28.0

func (o ExportConfigResponseOutput) ToExportConfigResponseOutput() ExportConfigResponseOutput

func (ExportConfigResponseOutput) ToExportConfigResponseOutputWithContext added in v0.28.0

func (o ExportConfigResponseOutput) ToExportConfigResponseOutputWithContext(ctx context.Context) ExportConfigResponseOutput

type LookupReservationArgs added in v0.8.0

type LookupReservationArgs struct {
	Location      string  `pulumi:"location"`
	Project       *string `pulumi:"project"`
	ReservationId string  `pulumi:"reservationId"`
}

type LookupReservationOutputArgs added in v0.8.0

type LookupReservationOutputArgs struct {
	Location      pulumi.StringInput    `pulumi:"location"`
	Project       pulumi.StringPtrInput `pulumi:"project"`
	ReservationId pulumi.StringInput    `pulumi:"reservationId"`
}

func (LookupReservationOutputArgs) ElementType added in v0.8.0

type LookupReservationResult added in v0.8.0

type LookupReservationResult struct {
	// The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
	Name string `pulumi:"name"`
	// The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.
	ThroughputCapacity string `pulumi:"throughputCapacity"`
}

func LookupReservation added in v0.8.0

func LookupReservation(ctx *pulumi.Context, args *LookupReservationArgs, opts ...pulumi.InvokeOption) (*LookupReservationResult, error)

Returns the reservation configuration.

type LookupReservationResultOutput added in v0.8.0

type LookupReservationResultOutput struct{ *pulumi.OutputState }

func LookupReservationOutput added in v0.8.0

func (LookupReservationResultOutput) ElementType added in v0.8.0

func (LookupReservationResultOutput) Name added in v0.8.0

The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}

func (LookupReservationResultOutput) ThroughputCapacity added in v0.8.0

func (o LookupReservationResultOutput) ThroughputCapacity() pulumi.StringOutput

The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.

func (LookupReservationResultOutput) ToLookupReservationResultOutput added in v0.8.0

func (o LookupReservationResultOutput) ToLookupReservationResultOutput() LookupReservationResultOutput

func (LookupReservationResultOutput) ToLookupReservationResultOutputWithContext added in v0.8.0

func (o LookupReservationResultOutput) ToLookupReservationResultOutputWithContext(ctx context.Context) LookupReservationResultOutput

type LookupSubscriptionArgs added in v0.4.0

type LookupSubscriptionArgs struct {
	Location       string  `pulumi:"location"`
	Project        *string `pulumi:"project"`
	SubscriptionId string  `pulumi:"subscriptionId"`
}

type LookupSubscriptionOutputArgs added in v0.8.0

type LookupSubscriptionOutputArgs struct {
	Location       pulumi.StringInput    `pulumi:"location"`
	Project        pulumi.StringPtrInput `pulumi:"project"`
	SubscriptionId pulumi.StringInput    `pulumi:"subscriptionId"`
}

func (LookupSubscriptionOutputArgs) ElementType added in v0.8.0

type LookupSubscriptionResult added in v0.4.0

type LookupSubscriptionResult struct {
	// The settings for this subscription's message delivery.
	DeliveryConfig DeliveryConfigResponse `pulumi:"deliveryConfig"`
	// If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
	ExportConfig ExportConfigResponse `pulumi:"exportConfig"`
	// The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
	Name string `pulumi:"name"`
	// The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
	Topic string `pulumi:"topic"`
}

func LookupSubscription added in v0.4.0

func LookupSubscription(ctx *pulumi.Context, args *LookupSubscriptionArgs, opts ...pulumi.InvokeOption) (*LookupSubscriptionResult, error)

Returns the subscription configuration.

type LookupSubscriptionResultOutput added in v0.8.0

type LookupSubscriptionResultOutput struct{ *pulumi.OutputState }

func LookupSubscriptionOutput added in v0.8.0

func (LookupSubscriptionResultOutput) DeliveryConfig added in v0.8.0

The settings for this subscription's message delivery.

func (LookupSubscriptionResultOutput) ElementType added in v0.8.0

func (LookupSubscriptionResultOutput) ExportConfig added in v0.28.0

If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.

func (LookupSubscriptionResultOutput) Name added in v0.8.0

The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}

func (LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutput added in v0.8.0

func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutput() LookupSubscriptionResultOutput

func (LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutputWithContext added in v0.8.0

func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutputWithContext(ctx context.Context) LookupSubscriptionResultOutput

func (LookupSubscriptionResultOutput) Topic added in v0.8.0

The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}

type LookupTopicArgs added in v0.4.0

type LookupTopicArgs struct {
	Location string  `pulumi:"location"`
	Project  *string `pulumi:"project"`
	TopicId  string  `pulumi:"topicId"`
}

type LookupTopicOutputArgs added in v0.8.0

type LookupTopicOutputArgs struct {
	Location pulumi.StringInput    `pulumi:"location"`
	Project  pulumi.StringPtrInput `pulumi:"project"`
	TopicId  pulumi.StringInput    `pulumi:"topicId"`
}

func (LookupTopicOutputArgs) ElementType added in v0.8.0

func (LookupTopicOutputArgs) ElementType() reflect.Type

type LookupTopicResult added in v0.4.0

type LookupTopicResult struct {
	// The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
	Name string `pulumi:"name"`
	// The settings for this topic's partitions.
	PartitionConfig PartitionConfigResponse `pulumi:"partitionConfig"`
	// The settings for this topic's Reservation usage.
	ReservationConfig ReservationConfigResponse `pulumi:"reservationConfig"`
	// The settings for this topic's message retention.
	RetentionConfig RetentionConfigResponse `pulumi:"retentionConfig"`
}

func LookupTopic added in v0.4.0

func LookupTopic(ctx *pulumi.Context, args *LookupTopicArgs, opts ...pulumi.InvokeOption) (*LookupTopicResult, error)

Returns the topic configuration.

type LookupTopicResultOutput added in v0.8.0

type LookupTopicResultOutput struct{ *pulumi.OutputState }

func LookupTopicOutput added in v0.8.0

func LookupTopicOutput(ctx *pulumi.Context, args LookupTopicOutputArgs, opts ...pulumi.InvokeOption) LookupTopicResultOutput

func (LookupTopicResultOutput) ElementType added in v0.8.0

func (LookupTopicResultOutput) ElementType() reflect.Type

func (LookupTopicResultOutput) Name added in v0.8.0

The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}

func (LookupTopicResultOutput) PartitionConfig added in v0.8.0

The settings for this topic's partitions.

func (LookupTopicResultOutput) ReservationConfig added in v0.8.0

The settings for this topic's Reservation usage.

func (LookupTopicResultOutput) RetentionConfig added in v0.8.0

The settings for this topic's message retention.

func (LookupTopicResultOutput) ToLookupTopicResultOutput added in v0.8.0

func (o LookupTopicResultOutput) ToLookupTopicResultOutput() LookupTopicResultOutput

func (LookupTopicResultOutput) ToLookupTopicResultOutputWithContext added in v0.8.0

func (o LookupTopicResultOutput) ToLookupTopicResultOutputWithContext(ctx context.Context) LookupTopicResultOutput

type PartitionConfig

type PartitionConfig struct {
	// The capacity configuration.
	Capacity *Capacity `pulumi:"capacity"`
	// The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity
	Count *string `pulumi:"count"`
	// DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to `scale` times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with `scale` of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
	//
	// Deprecated: DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to `scale` times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with `scale` of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
	Scale *int `pulumi:"scale"`
}

The settings for a topic's partitions.

type PartitionConfigArgs

type PartitionConfigArgs struct {
	// The capacity configuration.
	Capacity CapacityPtrInput `pulumi:"capacity"`
	// The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity
	Count pulumi.StringPtrInput `pulumi:"count"`
	// DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to `scale` times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with `scale` of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
	//
	// Deprecated: DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to `scale` times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with `scale` of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
	Scale pulumi.IntPtrInput `pulumi:"scale"`
}

The settings for a topic's partitions.

func (PartitionConfigArgs) ElementType

func (PartitionConfigArgs) ElementType() reflect.Type

func (PartitionConfigArgs) ToPartitionConfigOutput

func (i PartitionConfigArgs) ToPartitionConfigOutput() PartitionConfigOutput

func (PartitionConfigArgs) ToPartitionConfigOutputWithContext

func (i PartitionConfigArgs) ToPartitionConfigOutputWithContext(ctx context.Context) PartitionConfigOutput

func (PartitionConfigArgs) ToPartitionConfigPtrOutput

func (i PartitionConfigArgs) ToPartitionConfigPtrOutput() PartitionConfigPtrOutput

func (PartitionConfigArgs) ToPartitionConfigPtrOutputWithContext

func (i PartitionConfigArgs) ToPartitionConfigPtrOutputWithContext(ctx context.Context) PartitionConfigPtrOutput

type PartitionConfigInput

type PartitionConfigInput interface {
	pulumi.Input

	ToPartitionConfigOutput() PartitionConfigOutput
	ToPartitionConfigOutputWithContext(context.Context) PartitionConfigOutput
}

PartitionConfigInput is an input type that accepts PartitionConfigArgs and PartitionConfigOutput values. You can construct a concrete instance of `PartitionConfigInput` via:

PartitionConfigArgs{...}

type PartitionConfigOutput

type PartitionConfigOutput struct{ *pulumi.OutputState }

The settings for a topic's partitions.

func (PartitionConfigOutput) Capacity

The capacity configuration.

func (PartitionConfigOutput) Count

The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity

func (PartitionConfigOutput) ElementType

func (PartitionConfigOutput) ElementType() reflect.Type

func (PartitionConfigOutput) Scale deprecated

DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to `scale` times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with `scale` of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

Deprecated: DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to `scale` times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with `scale` of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

func (PartitionConfigOutput) ToPartitionConfigOutput

func (o PartitionConfigOutput) ToPartitionConfigOutput() PartitionConfigOutput

func (PartitionConfigOutput) ToPartitionConfigOutputWithContext

func (o PartitionConfigOutput) ToPartitionConfigOutputWithContext(ctx context.Context) PartitionConfigOutput

func (PartitionConfigOutput) ToPartitionConfigPtrOutput

func (o PartitionConfigOutput) ToPartitionConfigPtrOutput() PartitionConfigPtrOutput

func (PartitionConfigOutput) ToPartitionConfigPtrOutputWithContext

func (o PartitionConfigOutput) ToPartitionConfigPtrOutputWithContext(ctx context.Context) PartitionConfigPtrOutput

type PartitionConfigPtrInput

type PartitionConfigPtrInput interface {
	pulumi.Input

	ToPartitionConfigPtrOutput() PartitionConfigPtrOutput
	ToPartitionConfigPtrOutputWithContext(context.Context) PartitionConfigPtrOutput
}

PartitionConfigPtrInput is an input type that accepts PartitionConfigArgs, PartitionConfigPtr and PartitionConfigPtrOutput values. You can construct a concrete instance of `PartitionConfigPtrInput` via:

        PartitionConfigArgs{...}

or:

        nil

type PartitionConfigPtrOutput

type PartitionConfigPtrOutput struct{ *pulumi.OutputState }

func (PartitionConfigPtrOutput) Capacity

The capacity configuration.

func (PartitionConfigPtrOutput) Count

The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity

func (PartitionConfigPtrOutput) Elem

func (PartitionConfigPtrOutput) ElementType

func (PartitionConfigPtrOutput) ElementType() reflect.Type

func (PartitionConfigPtrOutput) Scale deprecated

DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to `scale` times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with `scale` of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

Deprecated: DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to `scale` times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with `scale` of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

func (PartitionConfigPtrOutput) ToPartitionConfigPtrOutput

func (o PartitionConfigPtrOutput) ToPartitionConfigPtrOutput() PartitionConfigPtrOutput

func (PartitionConfigPtrOutput) ToPartitionConfigPtrOutputWithContext

func (o PartitionConfigPtrOutput) ToPartitionConfigPtrOutputWithContext(ctx context.Context) PartitionConfigPtrOutput

type PartitionConfigResponse

type PartitionConfigResponse struct {
	// The capacity configuration.
	Capacity CapacityResponse `pulumi:"capacity"`
	// The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity
	Count string `pulumi:"count"`
	// DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to `scale` times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with `scale` of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
	//
	// Deprecated: DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to `scale` times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with `scale` of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
	Scale int `pulumi:"scale"`
}

The settings for a topic's partitions.

type PartitionConfigResponseOutput

type PartitionConfigResponseOutput struct{ *pulumi.OutputState }

The settings for a topic's partitions.

func (PartitionConfigResponseOutput) Capacity

The capacity configuration.

func (PartitionConfigResponseOutput) Count

The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity

func (PartitionConfigResponseOutput) ElementType

func (PartitionConfigResponseOutput) Scale deprecated

DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to `scale` times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with `scale` of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

Deprecated: DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to `scale` times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with `scale` of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].

func (PartitionConfigResponseOutput) ToPartitionConfigResponseOutput

func (o PartitionConfigResponseOutput) ToPartitionConfigResponseOutput() PartitionConfigResponseOutput

func (PartitionConfigResponseOutput) ToPartitionConfigResponseOutputWithContext

func (o PartitionConfigResponseOutput) ToPartitionConfigResponseOutputWithContext(ctx context.Context) PartitionConfigResponseOutput

type PubSubConfig added in v0.28.0

type PubSubConfig struct {
	// The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
	Topic *string `pulumi:"topic"`
}

Configuration for exporting to a Pub/Sub topic.

type PubSubConfigArgs added in v0.28.0

type PubSubConfigArgs struct {
	// The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
	Topic pulumi.StringPtrInput `pulumi:"topic"`
}

Configuration for exporting to a Pub/Sub topic.

func (PubSubConfigArgs) ElementType added in v0.28.0

func (PubSubConfigArgs) ElementType() reflect.Type

func (PubSubConfigArgs) ToPubSubConfigOutput added in v0.28.0

func (i PubSubConfigArgs) ToPubSubConfigOutput() PubSubConfigOutput

func (PubSubConfigArgs) ToPubSubConfigOutputWithContext added in v0.28.0

func (i PubSubConfigArgs) ToPubSubConfigOutputWithContext(ctx context.Context) PubSubConfigOutput

func (PubSubConfigArgs) ToPubSubConfigPtrOutput added in v0.28.0

func (i PubSubConfigArgs) ToPubSubConfigPtrOutput() PubSubConfigPtrOutput

func (PubSubConfigArgs) ToPubSubConfigPtrOutputWithContext added in v0.28.0

func (i PubSubConfigArgs) ToPubSubConfigPtrOutputWithContext(ctx context.Context) PubSubConfigPtrOutput

type PubSubConfigInput added in v0.28.0

type PubSubConfigInput interface {
	pulumi.Input

	ToPubSubConfigOutput() PubSubConfigOutput
	ToPubSubConfigOutputWithContext(context.Context) PubSubConfigOutput
}

PubSubConfigInput is an input type that accepts PubSubConfigArgs and PubSubConfigOutput values. You can construct a concrete instance of `PubSubConfigInput` via:

PubSubConfigArgs{...}

type PubSubConfigOutput added in v0.28.0

type PubSubConfigOutput struct{ *pulumi.OutputState }

Configuration for exporting to a Pub/Sub topic.

func (PubSubConfigOutput) ElementType added in v0.28.0

func (PubSubConfigOutput) ElementType() reflect.Type

func (PubSubConfigOutput) ToPubSubConfigOutput added in v0.28.0

func (o PubSubConfigOutput) ToPubSubConfigOutput() PubSubConfigOutput

func (PubSubConfigOutput) ToPubSubConfigOutputWithContext added in v0.28.0

func (o PubSubConfigOutput) ToPubSubConfigOutputWithContext(ctx context.Context) PubSubConfigOutput

func (PubSubConfigOutput) ToPubSubConfigPtrOutput added in v0.28.0

func (o PubSubConfigOutput) ToPubSubConfigPtrOutput() PubSubConfigPtrOutput

func (PubSubConfigOutput) ToPubSubConfigPtrOutputWithContext added in v0.28.0

func (o PubSubConfigOutput) ToPubSubConfigPtrOutputWithContext(ctx context.Context) PubSubConfigPtrOutput

func (PubSubConfigOutput) Topic added in v0.28.0

The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.

type PubSubConfigPtrInput added in v0.28.0

type PubSubConfigPtrInput interface {
	pulumi.Input

	ToPubSubConfigPtrOutput() PubSubConfigPtrOutput
	ToPubSubConfigPtrOutputWithContext(context.Context) PubSubConfigPtrOutput
}

PubSubConfigPtrInput is an input type that accepts PubSubConfigArgs, PubSubConfigPtr and PubSubConfigPtrOutput values. You can construct a concrete instance of `PubSubConfigPtrInput` via:

        PubSubConfigArgs{...}

or:

        nil

func PubSubConfigPtr added in v0.28.0

func PubSubConfigPtr(v *PubSubConfigArgs) PubSubConfigPtrInput

type PubSubConfigPtrOutput added in v0.28.0

type PubSubConfigPtrOutput struct{ *pulumi.OutputState }

func (PubSubConfigPtrOutput) Elem added in v0.28.0

func (PubSubConfigPtrOutput) ElementType added in v0.28.0

func (PubSubConfigPtrOutput) ElementType() reflect.Type

func (PubSubConfigPtrOutput) ToPubSubConfigPtrOutput added in v0.28.0

func (o PubSubConfigPtrOutput) ToPubSubConfigPtrOutput() PubSubConfigPtrOutput

func (PubSubConfigPtrOutput) ToPubSubConfigPtrOutputWithContext added in v0.28.0

func (o PubSubConfigPtrOutput) ToPubSubConfigPtrOutputWithContext(ctx context.Context) PubSubConfigPtrOutput

func (PubSubConfigPtrOutput) Topic added in v0.28.0

The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.

type PubSubConfigResponse added in v0.28.0

type PubSubConfigResponse struct {
	// The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
	Topic string `pulumi:"topic"`
}

Configuration for exporting to a Pub/Sub topic.

type PubSubConfigResponseOutput added in v0.28.0

type PubSubConfigResponseOutput struct{ *pulumi.OutputState }

Configuration for exporting to a Pub/Sub topic.

func (PubSubConfigResponseOutput) ElementType added in v0.28.0

func (PubSubConfigResponseOutput) ElementType() reflect.Type

func (PubSubConfigResponseOutput) ToPubSubConfigResponseOutput added in v0.28.0

func (o PubSubConfigResponseOutput) ToPubSubConfigResponseOutput() PubSubConfigResponseOutput

func (PubSubConfigResponseOutput) ToPubSubConfigResponseOutputWithContext added in v0.28.0

func (o PubSubConfigResponseOutput) ToPubSubConfigResponseOutputWithContext(ctx context.Context) PubSubConfigResponseOutput

func (PubSubConfigResponseOutput) Topic added in v0.28.0

The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.

type Reservation added in v0.8.0

type Reservation struct {
	pulumi.CustomResourceState

	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// Required. The ID to use for the reservation, which will become the final component of the reservation's name. This value is structured like: `my-reservation-name`.
	ReservationId pulumi.StringOutput `pulumi:"reservationId"`
	// The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.
	ThroughputCapacity pulumi.StringOutput `pulumi:"throughputCapacity"`
}

Creates a new reservation.

func GetReservation added in v0.8.0

func GetReservation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReservationState, opts ...pulumi.ResourceOption) (*Reservation, error)

GetReservation gets an existing Reservation 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 NewReservation added in v0.8.0

func NewReservation(ctx *pulumi.Context,
	name string, args *ReservationArgs, opts ...pulumi.ResourceOption) (*Reservation, error)

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

func (*Reservation) ElementType added in v0.8.0

func (*Reservation) ElementType() reflect.Type

func (*Reservation) ToReservationOutput added in v0.8.0

func (i *Reservation) ToReservationOutput() ReservationOutput

func (*Reservation) ToReservationOutputWithContext added in v0.8.0

func (i *Reservation) ToReservationOutputWithContext(ctx context.Context) ReservationOutput

type ReservationArgs added in v0.8.0

type ReservationArgs struct {
	Location pulumi.StringPtrInput
	// The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// Required. The ID to use for the reservation, which will become the final component of the reservation's name. This value is structured like: `my-reservation-name`.
	ReservationId pulumi.StringInput
	// The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.
	ThroughputCapacity pulumi.StringPtrInput
}

The set of arguments for constructing a Reservation resource.

func (ReservationArgs) ElementType added in v0.8.0

func (ReservationArgs) ElementType() reflect.Type

type ReservationConfig added in v0.8.0

type ReservationConfig struct {
	// The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
	ThroughputReservation *string `pulumi:"throughputReservation"`
}

The settings for this topic's Reservation usage.

type ReservationConfigArgs added in v0.8.0

type ReservationConfigArgs struct {
	// The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
	ThroughputReservation pulumi.StringPtrInput `pulumi:"throughputReservation"`
}

The settings for this topic's Reservation usage.

func (ReservationConfigArgs) ElementType added in v0.8.0

func (ReservationConfigArgs) ElementType() reflect.Type

func (ReservationConfigArgs) ToReservationConfigOutput added in v0.8.0

func (i ReservationConfigArgs) ToReservationConfigOutput() ReservationConfigOutput

func (ReservationConfigArgs) ToReservationConfigOutputWithContext added in v0.8.0

func (i ReservationConfigArgs) ToReservationConfigOutputWithContext(ctx context.Context) ReservationConfigOutput

func (ReservationConfigArgs) ToReservationConfigPtrOutput added in v0.8.0

func (i ReservationConfigArgs) ToReservationConfigPtrOutput() ReservationConfigPtrOutput

func (ReservationConfigArgs) ToReservationConfigPtrOutputWithContext added in v0.8.0

func (i ReservationConfigArgs) ToReservationConfigPtrOutputWithContext(ctx context.Context) ReservationConfigPtrOutput

type ReservationConfigInput added in v0.8.0

type ReservationConfigInput interface {
	pulumi.Input

	ToReservationConfigOutput() ReservationConfigOutput
	ToReservationConfigOutputWithContext(context.Context) ReservationConfigOutput
}

ReservationConfigInput is an input type that accepts ReservationConfigArgs and ReservationConfigOutput values. You can construct a concrete instance of `ReservationConfigInput` via:

ReservationConfigArgs{...}

type ReservationConfigOutput added in v0.8.0

type ReservationConfigOutput struct{ *pulumi.OutputState }

The settings for this topic's Reservation usage.

func (ReservationConfigOutput) ElementType added in v0.8.0

func (ReservationConfigOutput) ElementType() reflect.Type

func (ReservationConfigOutput) ThroughputReservation added in v0.8.0

func (o ReservationConfigOutput) ThroughputReservation() pulumi.StringPtrOutput

The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}

func (ReservationConfigOutput) ToReservationConfigOutput added in v0.8.0

func (o ReservationConfigOutput) ToReservationConfigOutput() ReservationConfigOutput

func (ReservationConfigOutput) ToReservationConfigOutputWithContext added in v0.8.0

func (o ReservationConfigOutput) ToReservationConfigOutputWithContext(ctx context.Context) ReservationConfigOutput

func (ReservationConfigOutput) ToReservationConfigPtrOutput added in v0.8.0

func (o ReservationConfigOutput) ToReservationConfigPtrOutput() ReservationConfigPtrOutput

func (ReservationConfigOutput) ToReservationConfigPtrOutputWithContext added in v0.8.0

func (o ReservationConfigOutput) ToReservationConfigPtrOutputWithContext(ctx context.Context) ReservationConfigPtrOutput

type ReservationConfigPtrInput added in v0.8.0

type ReservationConfigPtrInput interface {
	pulumi.Input

	ToReservationConfigPtrOutput() ReservationConfigPtrOutput
	ToReservationConfigPtrOutputWithContext(context.Context) ReservationConfigPtrOutput
}

ReservationConfigPtrInput is an input type that accepts ReservationConfigArgs, ReservationConfigPtr and ReservationConfigPtrOutput values. You can construct a concrete instance of `ReservationConfigPtrInput` via:

        ReservationConfigArgs{...}

or:

        nil

func ReservationConfigPtr added in v0.8.0

func ReservationConfigPtr(v *ReservationConfigArgs) ReservationConfigPtrInput

type ReservationConfigPtrOutput added in v0.8.0

type ReservationConfigPtrOutput struct{ *pulumi.OutputState }

func (ReservationConfigPtrOutput) Elem added in v0.8.0

func (ReservationConfigPtrOutput) ElementType added in v0.8.0

func (ReservationConfigPtrOutput) ElementType() reflect.Type

func (ReservationConfigPtrOutput) ThroughputReservation added in v0.8.0

func (o ReservationConfigPtrOutput) ThroughputReservation() pulumi.StringPtrOutput

The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}

func (ReservationConfigPtrOutput) ToReservationConfigPtrOutput added in v0.8.0

func (o ReservationConfigPtrOutput) ToReservationConfigPtrOutput() ReservationConfigPtrOutput

func (ReservationConfigPtrOutput) ToReservationConfigPtrOutputWithContext added in v0.8.0

func (o ReservationConfigPtrOutput) ToReservationConfigPtrOutputWithContext(ctx context.Context) ReservationConfigPtrOutput

type ReservationConfigResponse added in v0.8.0

type ReservationConfigResponse struct {
	// The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
	ThroughputReservation string `pulumi:"throughputReservation"`
}

The settings for this topic's Reservation usage.

type ReservationConfigResponseOutput added in v0.8.0

type ReservationConfigResponseOutput struct{ *pulumi.OutputState }

The settings for this topic's Reservation usage.

func (ReservationConfigResponseOutput) ElementType added in v0.8.0

func (ReservationConfigResponseOutput) ThroughputReservation added in v0.8.0

func (o ReservationConfigResponseOutput) ThroughputReservation() pulumi.StringOutput

The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}

func (ReservationConfigResponseOutput) ToReservationConfigResponseOutput added in v0.8.0

func (o ReservationConfigResponseOutput) ToReservationConfigResponseOutput() ReservationConfigResponseOutput

func (ReservationConfigResponseOutput) ToReservationConfigResponseOutputWithContext added in v0.8.0

func (o ReservationConfigResponseOutput) ToReservationConfigResponseOutputWithContext(ctx context.Context) ReservationConfigResponseOutput

type ReservationInput added in v0.8.0

type ReservationInput interface {
	pulumi.Input

	ToReservationOutput() ReservationOutput
	ToReservationOutputWithContext(ctx context.Context) ReservationOutput
}

type ReservationOutput added in v0.8.0

type ReservationOutput struct{ *pulumi.OutputState }

func (ReservationOutput) ElementType added in v0.8.0

func (ReservationOutput) ElementType() reflect.Type

func (ReservationOutput) Location added in v0.21.0

func (o ReservationOutput) Location() pulumi.StringOutput

func (ReservationOutput) Name added in v0.19.0

The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}

func (ReservationOutput) Project added in v0.21.0

func (ReservationOutput) ReservationId added in v0.21.0

func (o ReservationOutput) ReservationId() pulumi.StringOutput

Required. The ID to use for the reservation, which will become the final component of the reservation's name. This value is structured like: `my-reservation-name`.

func (ReservationOutput) ThroughputCapacity added in v0.19.0

func (o ReservationOutput) ThroughputCapacity() pulumi.StringOutput

The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.

func (ReservationOutput) ToReservationOutput added in v0.8.0

func (o ReservationOutput) ToReservationOutput() ReservationOutput

func (ReservationOutput) ToReservationOutputWithContext added in v0.8.0

func (o ReservationOutput) ToReservationOutputWithContext(ctx context.Context) ReservationOutput

type ReservationState added in v0.8.0

type ReservationState struct {
}

func (ReservationState) ElementType added in v0.8.0

func (ReservationState) ElementType() reflect.Type

type RetentionConfig

type RetentionConfig struct {
	// The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of `period`.
	PerPartitionBytes *string `pulumi:"perPartitionBytes"`
	// How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below `per_partition_bytes`.
	Period *string `pulumi:"period"`
}

The settings for a topic's message retention.

type RetentionConfigArgs

type RetentionConfigArgs struct {
	// The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of `period`.
	PerPartitionBytes pulumi.StringPtrInput `pulumi:"perPartitionBytes"`
	// How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below `per_partition_bytes`.
	Period pulumi.StringPtrInput `pulumi:"period"`
}

The settings for a topic's message retention.

func (RetentionConfigArgs) ElementType

func (RetentionConfigArgs) ElementType() reflect.Type

func (RetentionConfigArgs) ToRetentionConfigOutput

func (i RetentionConfigArgs) ToRetentionConfigOutput() RetentionConfigOutput

func (RetentionConfigArgs) ToRetentionConfigOutputWithContext

func (i RetentionConfigArgs) ToRetentionConfigOutputWithContext(ctx context.Context) RetentionConfigOutput

func (RetentionConfigArgs) ToRetentionConfigPtrOutput

func (i RetentionConfigArgs) ToRetentionConfigPtrOutput() RetentionConfigPtrOutput

func (RetentionConfigArgs) ToRetentionConfigPtrOutputWithContext

func (i RetentionConfigArgs) ToRetentionConfigPtrOutputWithContext(ctx context.Context) RetentionConfigPtrOutput

type RetentionConfigInput

type RetentionConfigInput interface {
	pulumi.Input

	ToRetentionConfigOutput() RetentionConfigOutput
	ToRetentionConfigOutputWithContext(context.Context) RetentionConfigOutput
}

RetentionConfigInput is an input type that accepts RetentionConfigArgs and RetentionConfigOutput values. You can construct a concrete instance of `RetentionConfigInput` via:

RetentionConfigArgs{...}

type RetentionConfigOutput

type RetentionConfigOutput struct{ *pulumi.OutputState }

The settings for a topic's message retention.

func (RetentionConfigOutput) ElementType

func (RetentionConfigOutput) ElementType() reflect.Type

func (RetentionConfigOutput) PerPartitionBytes

func (o RetentionConfigOutput) PerPartitionBytes() pulumi.StringPtrOutput

The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of `period`.

func (RetentionConfigOutput) Period

How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below `per_partition_bytes`.

func (RetentionConfigOutput) ToRetentionConfigOutput

func (o RetentionConfigOutput) ToRetentionConfigOutput() RetentionConfigOutput

func (RetentionConfigOutput) ToRetentionConfigOutputWithContext

func (o RetentionConfigOutput) ToRetentionConfigOutputWithContext(ctx context.Context) RetentionConfigOutput

func (RetentionConfigOutput) ToRetentionConfigPtrOutput

func (o RetentionConfigOutput) ToRetentionConfigPtrOutput() RetentionConfigPtrOutput

func (RetentionConfigOutput) ToRetentionConfigPtrOutputWithContext

func (o RetentionConfigOutput) ToRetentionConfigPtrOutputWithContext(ctx context.Context) RetentionConfigPtrOutput

type RetentionConfigPtrInput

type RetentionConfigPtrInput interface {
	pulumi.Input

	ToRetentionConfigPtrOutput() RetentionConfigPtrOutput
	ToRetentionConfigPtrOutputWithContext(context.Context) RetentionConfigPtrOutput
}

RetentionConfigPtrInput is an input type that accepts RetentionConfigArgs, RetentionConfigPtr and RetentionConfigPtrOutput values. You can construct a concrete instance of `RetentionConfigPtrInput` via:

        RetentionConfigArgs{...}

or:

        nil

type RetentionConfigPtrOutput

type RetentionConfigPtrOutput struct{ *pulumi.OutputState }

func (RetentionConfigPtrOutput) Elem

func (RetentionConfigPtrOutput) ElementType

func (RetentionConfigPtrOutput) ElementType() reflect.Type

func (RetentionConfigPtrOutput) PerPartitionBytes

func (o RetentionConfigPtrOutput) PerPartitionBytes() pulumi.StringPtrOutput

The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of `period`.

func (RetentionConfigPtrOutput) Period

How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below `per_partition_bytes`.

func (RetentionConfigPtrOutput) ToRetentionConfigPtrOutput

func (o RetentionConfigPtrOutput) ToRetentionConfigPtrOutput() RetentionConfigPtrOutput

func (RetentionConfigPtrOutput) ToRetentionConfigPtrOutputWithContext

func (o RetentionConfigPtrOutput) ToRetentionConfigPtrOutputWithContext(ctx context.Context) RetentionConfigPtrOutput

type RetentionConfigResponse

type RetentionConfigResponse struct {
	// The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of `period`.
	PerPartitionBytes string `pulumi:"perPartitionBytes"`
	// How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below `per_partition_bytes`.
	Period string `pulumi:"period"`
}

The settings for a topic's message retention.

type RetentionConfigResponseOutput

type RetentionConfigResponseOutput struct{ *pulumi.OutputState }

The settings for a topic's message retention.

func (RetentionConfigResponseOutput) ElementType

func (RetentionConfigResponseOutput) PerPartitionBytes

func (o RetentionConfigResponseOutput) PerPartitionBytes() pulumi.StringOutput

The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of `period`.

func (RetentionConfigResponseOutput) Period

How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below `per_partition_bytes`.

func (RetentionConfigResponseOutput) ToRetentionConfigResponseOutput

func (o RetentionConfigResponseOutput) ToRetentionConfigResponseOutput() RetentionConfigResponseOutput

func (RetentionConfigResponseOutput) ToRetentionConfigResponseOutputWithContext

func (o RetentionConfigResponseOutput) ToRetentionConfigResponseOutputWithContext(ctx context.Context) RetentionConfigResponseOutput

type Subscription added in v0.3.0

type Subscription struct {
	pulumi.CustomResourceState

	// The settings for this subscription's message delivery.
	DeliveryConfig DeliveryConfigResponseOutput `pulumi:"deliveryConfig"`
	// If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
	ExportConfig ExportConfigResponseOutput `pulumi:"exportConfig"`
	Location     pulumi.StringOutput        `pulumi:"location"`
	// The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.
	SkipBacklog pulumi.BoolPtrOutput `pulumi:"skipBacklog"`
	// Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: `my-sub-name`.
	SubscriptionId pulumi.StringOutput `pulumi:"subscriptionId"`
	// The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
	Topic pulumi.StringOutput `pulumi:"topic"`
}

Creates a new subscription.

func GetSubscription added in v0.3.0

func GetSubscription(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SubscriptionState, opts ...pulumi.ResourceOption) (*Subscription, error)

GetSubscription gets an existing Subscription 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 NewSubscription added in v0.3.0

func NewSubscription(ctx *pulumi.Context,
	name string, args *SubscriptionArgs, opts ...pulumi.ResourceOption) (*Subscription, error)

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

func (*Subscription) ElementType added in v0.3.0

func (*Subscription) ElementType() reflect.Type

func (*Subscription) ToSubscriptionOutput added in v0.3.0

func (i *Subscription) ToSubscriptionOutput() SubscriptionOutput

func (*Subscription) ToSubscriptionOutputWithContext added in v0.3.0

func (i *Subscription) ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput

type SubscriptionArgs added in v0.3.0

type SubscriptionArgs struct {
	// The settings for this subscription's message delivery.
	DeliveryConfig DeliveryConfigPtrInput
	// If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
	ExportConfig ExportConfigPtrInput
	Location     pulumi.StringPtrInput
	// The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.
	SkipBacklog pulumi.BoolPtrInput
	// Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: `my-sub-name`.
	SubscriptionId pulumi.StringInput
	// The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
	Topic pulumi.StringPtrInput
}

The set of arguments for constructing a Subscription resource.

func (SubscriptionArgs) ElementType added in v0.3.0

func (SubscriptionArgs) ElementType() reflect.Type

type SubscriptionInput added in v0.3.0

type SubscriptionInput interface {
	pulumi.Input

	ToSubscriptionOutput() SubscriptionOutput
	ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput
}

type SubscriptionOutput added in v0.3.0

type SubscriptionOutput struct{ *pulumi.OutputState }

func (SubscriptionOutput) DeliveryConfig added in v0.19.0

The settings for this subscription's message delivery.

func (SubscriptionOutput) ElementType added in v0.3.0

func (SubscriptionOutput) ElementType() reflect.Type

func (SubscriptionOutput) ExportConfig added in v0.28.0

If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.

func (SubscriptionOutput) Location added in v0.21.0

func (o SubscriptionOutput) Location() pulumi.StringOutput

func (SubscriptionOutput) Name added in v0.19.0

The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}

func (SubscriptionOutput) Project added in v0.21.0

func (SubscriptionOutput) SkipBacklog added in v0.21.0

func (o SubscriptionOutput) SkipBacklog() pulumi.BoolPtrOutput

If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.

func (SubscriptionOutput) SubscriptionId added in v0.21.0

func (o SubscriptionOutput) SubscriptionId() pulumi.StringOutput

Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: `my-sub-name`.

func (SubscriptionOutput) ToSubscriptionOutput added in v0.3.0

func (o SubscriptionOutput) ToSubscriptionOutput() SubscriptionOutput

func (SubscriptionOutput) ToSubscriptionOutputWithContext added in v0.3.0

func (o SubscriptionOutput) ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput

func (SubscriptionOutput) Topic added in v0.19.0

The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}

type SubscriptionState added in v0.3.0

type SubscriptionState struct {
}

func (SubscriptionState) ElementType added in v0.3.0

func (SubscriptionState) ElementType() reflect.Type

type Topic added in v0.3.0

type Topic struct {
	pulumi.CustomResourceState

	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
	Name pulumi.StringOutput `pulumi:"name"`
	// The settings for this topic's partitions.
	PartitionConfig PartitionConfigResponseOutput `pulumi:"partitionConfig"`
	Project         pulumi.StringOutput           `pulumi:"project"`
	// The settings for this topic's Reservation usage.
	ReservationConfig ReservationConfigResponseOutput `pulumi:"reservationConfig"`
	// The settings for this topic's message retention.
	RetentionConfig RetentionConfigResponseOutput `pulumi:"retentionConfig"`
	// Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like: `my-topic-name`.
	TopicId pulumi.StringOutput `pulumi:"topicId"`
}

Creates a new topic.

func GetTopic added in v0.3.0

func GetTopic(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TopicState, opts ...pulumi.ResourceOption) (*Topic, error)

GetTopic gets an existing Topic 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 NewTopic added in v0.3.0

func NewTopic(ctx *pulumi.Context,
	name string, args *TopicArgs, opts ...pulumi.ResourceOption) (*Topic, error)

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

func (*Topic) ElementType added in v0.3.0

func (*Topic) ElementType() reflect.Type

func (*Topic) ToTopicOutput added in v0.3.0

func (i *Topic) ToTopicOutput() TopicOutput

func (*Topic) ToTopicOutputWithContext added in v0.3.0

func (i *Topic) ToTopicOutputWithContext(ctx context.Context) TopicOutput

type TopicArgs added in v0.3.0

type TopicArgs struct {
	Location pulumi.StringPtrInput
	// The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
	Name pulumi.StringPtrInput
	// The settings for this topic's partitions.
	PartitionConfig PartitionConfigPtrInput
	Project         pulumi.StringPtrInput
	// The settings for this topic's Reservation usage.
	ReservationConfig ReservationConfigPtrInput
	// The settings for this topic's message retention.
	RetentionConfig RetentionConfigPtrInput
	// Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like: `my-topic-name`.
	TopicId pulumi.StringInput
}

The set of arguments for constructing a Topic resource.

func (TopicArgs) ElementType added in v0.3.0

func (TopicArgs) ElementType() reflect.Type

type TopicInput added in v0.3.0

type TopicInput interface {
	pulumi.Input

	ToTopicOutput() TopicOutput
	ToTopicOutputWithContext(ctx context.Context) TopicOutput
}

type TopicOutput added in v0.3.0

type TopicOutput struct{ *pulumi.OutputState }

func (TopicOutput) ElementType added in v0.3.0

func (TopicOutput) ElementType() reflect.Type

func (TopicOutput) Location added in v0.21.0

func (o TopicOutput) Location() pulumi.StringOutput

func (TopicOutput) Name added in v0.19.0

func (o TopicOutput) Name() pulumi.StringOutput

The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}

func (TopicOutput) PartitionConfig added in v0.19.0

func (o TopicOutput) PartitionConfig() PartitionConfigResponseOutput

The settings for this topic's partitions.

func (TopicOutput) Project added in v0.21.0

func (o TopicOutput) Project() pulumi.StringOutput

func (TopicOutput) ReservationConfig added in v0.19.0

func (o TopicOutput) ReservationConfig() ReservationConfigResponseOutput

The settings for this topic's Reservation usage.

func (TopicOutput) RetentionConfig added in v0.19.0

func (o TopicOutput) RetentionConfig() RetentionConfigResponseOutput

The settings for this topic's message retention.

func (TopicOutput) ToTopicOutput added in v0.3.0

func (o TopicOutput) ToTopicOutput() TopicOutput

func (TopicOutput) ToTopicOutputWithContext added in v0.3.0

func (o TopicOutput) ToTopicOutputWithContext(ctx context.Context) TopicOutput

func (TopicOutput) TopicId added in v0.21.0

func (o TopicOutput) TopicId() pulumi.StringOutput

Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like: `my-topic-name`.

type TopicState added in v0.3.0

type TopicState struct {
}

func (TopicState) ElementType added in v0.3.0

func (TopicState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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