mns

package
v2.35.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetQueuesArgs

type GetQueuesArgs struct {
	// A string to filter resulting queues by their name prefixs.
	NamePrefix *string `pulumi:"namePrefix"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getQueues.

type GetQueuesQueue

type GetQueuesQueue struct {
	// This attribute defines the length of time, in seconds, after which every message sent to the queue is dequeued.
	DelaySeconds int `pulumi:"delaySeconds"`
	// The id of the queue, The value is set to `name`.
	Id string `pulumi:"id"`
	// This indicates the maximum length, in bytes, of any message body sent to the queue.
	MaximumMessageSize int `pulumi:"maximumMessageSize"`
	// Messages are deleted from the queue after a specified length of time, whether they have been activated or not. This attribute defines the viability period, in seconds, for every message in the queue.
	MessageRetentionPeriod int `pulumi:"messageRetentionPeriod"`
	// The name of the queue
	Name string `pulumi:"name"`
	// Long polling is measured in seconds. When this attribute is set to 0, long polling is disabled. When it is not set to 0, long polling is enabled and message dequeue requests will be processed only when valid messages are received or when long polling times out.
	PollingWaitSeconds int `pulumi:"pollingWaitSeconds"`
	// Dequeued messages change from active (visible) status to inactive (invisible) status. This attribute defines the length of time, in seconds, that messages remain invisible. Messages return to active status after the set period.
	VisibilityTimeouts int `pulumi:"visibilityTimeouts"`
}

type GetQueuesQueueArgs

type GetQueuesQueueArgs struct {
	// This attribute defines the length of time, in seconds, after which every message sent to the queue is dequeued.
	DelaySeconds pulumi.IntInput `pulumi:"delaySeconds"`
	// The id of the queue, The value is set to `name`.
	Id pulumi.StringInput `pulumi:"id"`
	// This indicates the maximum length, in bytes, of any message body sent to the queue.
	MaximumMessageSize pulumi.IntInput `pulumi:"maximumMessageSize"`
	// Messages are deleted from the queue after a specified length of time, whether they have been activated or not. This attribute defines the viability period, in seconds, for every message in the queue.
	MessageRetentionPeriod pulumi.IntInput `pulumi:"messageRetentionPeriod"`
	// The name of the queue
	Name pulumi.StringInput `pulumi:"name"`
	// Long polling is measured in seconds. When this attribute is set to 0, long polling is disabled. When it is not set to 0, long polling is enabled and message dequeue requests will be processed only when valid messages are received or when long polling times out.
	PollingWaitSeconds pulumi.IntInput `pulumi:"pollingWaitSeconds"`
	// Dequeued messages change from active (visible) status to inactive (invisible) status. This attribute defines the length of time, in seconds, that messages remain invisible. Messages return to active status after the set period.
	VisibilityTimeouts pulumi.IntInput `pulumi:"visibilityTimeouts"`
}

func (GetQueuesQueueArgs) ElementType

func (GetQueuesQueueArgs) ElementType() reflect.Type

func (GetQueuesQueueArgs) ToGetQueuesQueueOutput

func (i GetQueuesQueueArgs) ToGetQueuesQueueOutput() GetQueuesQueueOutput

func (GetQueuesQueueArgs) ToGetQueuesQueueOutputWithContext

func (i GetQueuesQueueArgs) ToGetQueuesQueueOutputWithContext(ctx context.Context) GetQueuesQueueOutput

type GetQueuesQueueArray

type GetQueuesQueueArray []GetQueuesQueueInput

func (GetQueuesQueueArray) ElementType

func (GetQueuesQueueArray) ElementType() reflect.Type

func (GetQueuesQueueArray) ToGetQueuesQueueArrayOutput

func (i GetQueuesQueueArray) ToGetQueuesQueueArrayOutput() GetQueuesQueueArrayOutput

func (GetQueuesQueueArray) ToGetQueuesQueueArrayOutputWithContext

func (i GetQueuesQueueArray) ToGetQueuesQueueArrayOutputWithContext(ctx context.Context) GetQueuesQueueArrayOutput

type GetQueuesQueueArrayInput

type GetQueuesQueueArrayInput interface {
	pulumi.Input

	ToGetQueuesQueueArrayOutput() GetQueuesQueueArrayOutput
	ToGetQueuesQueueArrayOutputWithContext(context.Context) GetQueuesQueueArrayOutput
}

GetQueuesQueueArrayInput is an input type that accepts GetQueuesQueueArray and GetQueuesQueueArrayOutput values. You can construct a concrete instance of `GetQueuesQueueArrayInput` via:

GetQueuesQueueArray{ GetQueuesQueueArgs{...} }

type GetQueuesQueueArrayOutput

type GetQueuesQueueArrayOutput struct{ *pulumi.OutputState }

func (GetQueuesQueueArrayOutput) ElementType

func (GetQueuesQueueArrayOutput) ElementType() reflect.Type

func (GetQueuesQueueArrayOutput) Index

func (GetQueuesQueueArrayOutput) ToGetQueuesQueueArrayOutput

func (o GetQueuesQueueArrayOutput) ToGetQueuesQueueArrayOutput() GetQueuesQueueArrayOutput

func (GetQueuesQueueArrayOutput) ToGetQueuesQueueArrayOutputWithContext

func (o GetQueuesQueueArrayOutput) ToGetQueuesQueueArrayOutputWithContext(ctx context.Context) GetQueuesQueueArrayOutput

type GetQueuesQueueInput

type GetQueuesQueueInput interface {
	pulumi.Input

	ToGetQueuesQueueOutput() GetQueuesQueueOutput
	ToGetQueuesQueueOutputWithContext(context.Context) GetQueuesQueueOutput
}

GetQueuesQueueInput is an input type that accepts GetQueuesQueueArgs and GetQueuesQueueOutput values. You can construct a concrete instance of `GetQueuesQueueInput` via:

GetQueuesQueueArgs{...}

type GetQueuesQueueOutput

type GetQueuesQueueOutput struct{ *pulumi.OutputState }

func (GetQueuesQueueOutput) DelaySeconds

func (o GetQueuesQueueOutput) DelaySeconds() pulumi.IntOutput

This attribute defines the length of time, in seconds, after which every message sent to the queue is dequeued.

func (GetQueuesQueueOutput) ElementType

func (GetQueuesQueueOutput) ElementType() reflect.Type

func (GetQueuesQueueOutput) Id

The id of the queue, The value is set to `name`.

func (GetQueuesQueueOutput) MaximumMessageSize

func (o GetQueuesQueueOutput) MaximumMessageSize() pulumi.IntOutput

This indicates the maximum length, in bytes, of any message body sent to the queue.

func (GetQueuesQueueOutput) MessageRetentionPeriod

func (o GetQueuesQueueOutput) MessageRetentionPeriod() pulumi.IntOutput

Messages are deleted from the queue after a specified length of time, whether they have been activated or not. This attribute defines the viability period, in seconds, for every message in the queue.

func (GetQueuesQueueOutput) Name

The name of the queue

func (GetQueuesQueueOutput) PollingWaitSeconds

func (o GetQueuesQueueOutput) PollingWaitSeconds() pulumi.IntOutput

Long polling is measured in seconds. When this attribute is set to 0, long polling is disabled. When it is not set to 0, long polling is enabled and message dequeue requests will be processed only when valid messages are received or when long polling times out.

func (GetQueuesQueueOutput) ToGetQueuesQueueOutput

func (o GetQueuesQueueOutput) ToGetQueuesQueueOutput() GetQueuesQueueOutput

func (GetQueuesQueueOutput) ToGetQueuesQueueOutputWithContext

func (o GetQueuesQueueOutput) ToGetQueuesQueueOutputWithContext(ctx context.Context) GetQueuesQueueOutput

func (GetQueuesQueueOutput) VisibilityTimeouts

func (o GetQueuesQueueOutput) VisibilityTimeouts() pulumi.IntOutput

Dequeued messages change from active (visible) status to inactive (invisible) status. This attribute defines the length of time, in seconds, that messages remain invisible. Messages return to active status after the set period.

type GetQueuesResult

type GetQueuesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	NamePrefix *string `pulumi:"namePrefix"`
	// A list of queue names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// A list of queues. Each element contains the following attributes:
	Queues []GetQueuesQueue `pulumi:"queues"`
}

A collection of values returned by getQueues.

func GetQueues

func GetQueues(ctx *pulumi.Context, args *GetQueuesArgs, opts ...pulumi.InvokeOption) (*GetQueuesResult, error)

This data source provides a list of MNS queues in an Alibaba Cloud account according to the specified parameters.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/mns"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "tf-"
		queues, err := mns.GetQueues(ctx, &mns.GetQueuesArgs{
			NamePrefix: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstQueueId", queues.Queues[0].Id)
		return nil
	})
}

```

type GetTopicSubscriptionsArgs

type GetTopicSubscriptionsArgs struct {
	// A string to filter resulting subscriptions of the topic by their name prefixs.
	NamePrefix *string `pulumi:"namePrefix"`
	OutputFile *string `pulumi:"outputFile"`
	// Two topics on a single account in the same region cannot have the same name. A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 256 characters.
	TopicName string `pulumi:"topicName"`
}

A collection of arguments for invoking getTopicSubscriptions.

type GetTopicSubscriptionsResult

type GetTopicSubscriptionsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	NamePrefix *string `pulumi:"namePrefix"`
	// A list of subscription names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// A list of subscriptions. Each element contains the following attributes:
	Subscriptions []GetTopicSubscriptionsSubscription `pulumi:"subscriptions"`
	TopicName     string                              `pulumi:"topicName"`
}

A collection of values returned by getTopicSubscriptions.

func GetTopicSubscriptions

func GetTopicSubscriptions(ctx *pulumi.Context, args *GetTopicSubscriptionsArgs, opts ...pulumi.InvokeOption) (*GetTopicSubscriptionsResult, error)

This data source provides a list of MNS topic subscriptions in an Alibaba Cloud account according to the specified parameters.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/mns"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "tf-"
		subscriptions, err := mns.GetTopicSubscriptions(ctx, &mns.GetTopicSubscriptionsArgs{
			NamePrefix: &opt0,
			TopicName:  "topic_name",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstTopicSubscriptionId", subscriptions.Subscriptions[0].Id)
		return nil
	})
}

```

type GetTopicSubscriptionsSubscription

type GetTopicSubscriptionsSubscription struct {
	// Describe the terminal address of the message received in this subscription.
	// * `filterTag`- A string to filter resulting messages of the topic by their message tag.
	Endpoint  string `pulumi:"endpoint"`
	FilterTag string `pulumi:"filterTag"`
	// The ID of the topic subscription. The value is set to `name`.
	Id string `pulumi:"id"`
	// The name of the subscription.
	// * `topicName`- The topic which The subscription belongs to was named with the name.
	Name string `pulumi:"name"`
	// The NotifyContentFormat attribute of Subscription. This attribute specifies the content format of the messages pushed to users.
	NotifyContentFormat string `pulumi:"notifyContentFormat"`
	// The NotifyStrategy attribute of Subscription. This attribute specifies the retry strategy when message sending fails.
	NotifyStrategy string `pulumi:"notifyStrategy"`
	// Two topics on a single account in the same region cannot have the same name. A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 256 characters.
	TopicName string `pulumi:"topicName"`
}

type GetTopicSubscriptionsSubscriptionArgs

type GetTopicSubscriptionsSubscriptionArgs struct {
	// Describe the terminal address of the message received in this subscription.
	// * `filterTag`- A string to filter resulting messages of the topic by their message tag.
	Endpoint  pulumi.StringInput `pulumi:"endpoint"`
	FilterTag pulumi.StringInput `pulumi:"filterTag"`
	// The ID of the topic subscription. The value is set to `name`.
	Id pulumi.StringInput `pulumi:"id"`
	// The name of the subscription.
	// * `topicName`- The topic which The subscription belongs to was named with the name.
	Name pulumi.StringInput `pulumi:"name"`
	// The NotifyContentFormat attribute of Subscription. This attribute specifies the content format of the messages pushed to users.
	NotifyContentFormat pulumi.StringInput `pulumi:"notifyContentFormat"`
	// The NotifyStrategy attribute of Subscription. This attribute specifies the retry strategy when message sending fails.
	NotifyStrategy pulumi.StringInput `pulumi:"notifyStrategy"`
	// Two topics on a single account in the same region cannot have the same name. A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 256 characters.
	TopicName pulumi.StringInput `pulumi:"topicName"`
}

func (GetTopicSubscriptionsSubscriptionArgs) ElementType

func (GetTopicSubscriptionsSubscriptionArgs) ToGetTopicSubscriptionsSubscriptionOutput

func (i GetTopicSubscriptionsSubscriptionArgs) ToGetTopicSubscriptionsSubscriptionOutput() GetTopicSubscriptionsSubscriptionOutput

func (GetTopicSubscriptionsSubscriptionArgs) ToGetTopicSubscriptionsSubscriptionOutputWithContext

func (i GetTopicSubscriptionsSubscriptionArgs) ToGetTopicSubscriptionsSubscriptionOutputWithContext(ctx context.Context) GetTopicSubscriptionsSubscriptionOutput

type GetTopicSubscriptionsSubscriptionArray

type GetTopicSubscriptionsSubscriptionArray []GetTopicSubscriptionsSubscriptionInput

func (GetTopicSubscriptionsSubscriptionArray) ElementType

func (GetTopicSubscriptionsSubscriptionArray) ToGetTopicSubscriptionsSubscriptionArrayOutput

func (i GetTopicSubscriptionsSubscriptionArray) ToGetTopicSubscriptionsSubscriptionArrayOutput() GetTopicSubscriptionsSubscriptionArrayOutput

func (GetTopicSubscriptionsSubscriptionArray) ToGetTopicSubscriptionsSubscriptionArrayOutputWithContext

func (i GetTopicSubscriptionsSubscriptionArray) ToGetTopicSubscriptionsSubscriptionArrayOutputWithContext(ctx context.Context) GetTopicSubscriptionsSubscriptionArrayOutput

type GetTopicSubscriptionsSubscriptionArrayInput

type GetTopicSubscriptionsSubscriptionArrayInput interface {
	pulumi.Input

	ToGetTopicSubscriptionsSubscriptionArrayOutput() GetTopicSubscriptionsSubscriptionArrayOutput
	ToGetTopicSubscriptionsSubscriptionArrayOutputWithContext(context.Context) GetTopicSubscriptionsSubscriptionArrayOutput
}

GetTopicSubscriptionsSubscriptionArrayInput is an input type that accepts GetTopicSubscriptionsSubscriptionArray and GetTopicSubscriptionsSubscriptionArrayOutput values. You can construct a concrete instance of `GetTopicSubscriptionsSubscriptionArrayInput` via:

GetTopicSubscriptionsSubscriptionArray{ GetTopicSubscriptionsSubscriptionArgs{...} }

type GetTopicSubscriptionsSubscriptionArrayOutput

type GetTopicSubscriptionsSubscriptionArrayOutput struct{ *pulumi.OutputState }

func (GetTopicSubscriptionsSubscriptionArrayOutput) ElementType

func (GetTopicSubscriptionsSubscriptionArrayOutput) Index

func (GetTopicSubscriptionsSubscriptionArrayOutput) ToGetTopicSubscriptionsSubscriptionArrayOutput

func (o GetTopicSubscriptionsSubscriptionArrayOutput) ToGetTopicSubscriptionsSubscriptionArrayOutput() GetTopicSubscriptionsSubscriptionArrayOutput

func (GetTopicSubscriptionsSubscriptionArrayOutput) ToGetTopicSubscriptionsSubscriptionArrayOutputWithContext

func (o GetTopicSubscriptionsSubscriptionArrayOutput) ToGetTopicSubscriptionsSubscriptionArrayOutputWithContext(ctx context.Context) GetTopicSubscriptionsSubscriptionArrayOutput

type GetTopicSubscriptionsSubscriptionInput

type GetTopicSubscriptionsSubscriptionInput interface {
	pulumi.Input

	ToGetTopicSubscriptionsSubscriptionOutput() GetTopicSubscriptionsSubscriptionOutput
	ToGetTopicSubscriptionsSubscriptionOutputWithContext(context.Context) GetTopicSubscriptionsSubscriptionOutput
}

GetTopicSubscriptionsSubscriptionInput is an input type that accepts GetTopicSubscriptionsSubscriptionArgs and GetTopicSubscriptionsSubscriptionOutput values. You can construct a concrete instance of `GetTopicSubscriptionsSubscriptionInput` via:

GetTopicSubscriptionsSubscriptionArgs{...}

type GetTopicSubscriptionsSubscriptionOutput

type GetTopicSubscriptionsSubscriptionOutput struct{ *pulumi.OutputState }

func (GetTopicSubscriptionsSubscriptionOutput) ElementType

func (GetTopicSubscriptionsSubscriptionOutput) Endpoint

Describe the terminal address of the message received in this subscription. * `filterTag`- A string to filter resulting messages of the topic by their message tag.

func (GetTopicSubscriptionsSubscriptionOutput) FilterTag

func (GetTopicSubscriptionsSubscriptionOutput) Id

The ID of the topic subscription. The value is set to `name`.

func (GetTopicSubscriptionsSubscriptionOutput) Name

The name of the subscription. * `topicName`- The topic which The subscription belongs to was named with the name.

func (GetTopicSubscriptionsSubscriptionOutput) NotifyContentFormat

The NotifyContentFormat attribute of Subscription. This attribute specifies the content format of the messages pushed to users.

func (GetTopicSubscriptionsSubscriptionOutput) NotifyStrategy

The NotifyStrategy attribute of Subscription. This attribute specifies the retry strategy when message sending fails.

func (GetTopicSubscriptionsSubscriptionOutput) ToGetTopicSubscriptionsSubscriptionOutput

func (o GetTopicSubscriptionsSubscriptionOutput) ToGetTopicSubscriptionsSubscriptionOutput() GetTopicSubscriptionsSubscriptionOutput

func (GetTopicSubscriptionsSubscriptionOutput) ToGetTopicSubscriptionsSubscriptionOutputWithContext

func (o GetTopicSubscriptionsSubscriptionOutput) ToGetTopicSubscriptionsSubscriptionOutputWithContext(ctx context.Context) GetTopicSubscriptionsSubscriptionOutput

func (GetTopicSubscriptionsSubscriptionOutput) TopicName

Two topics on a single account in the same region cannot have the same name. A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 256 characters.

type GetTopicsArgs

type GetTopicsArgs struct {
	// A string to filter resulting topics by their name prefixs.
	NamePrefix *string `pulumi:"namePrefix"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getTopics.

type GetTopicsResult

type GetTopicsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	NamePrefix *string `pulumi:"namePrefix"`
	// A list of topic names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// A list of topics. Each element contains the following attributes:
	Topics []GetTopicsTopic `pulumi:"topics"`
}

A collection of values returned by getTopics.

func GetTopics

func GetTopics(ctx *pulumi.Context, args *GetTopicsArgs, opts ...pulumi.InvokeOption) (*GetTopicsResult, error)

This data source provides a list of MNS topics in an Alibaba Cloud account according to the specified parameters.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/mns"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "tf-"
		topics, err := mns.GetTopics(ctx, &mns.GetTopicsArgs{
			NamePrefix: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstTopicId", topics.Topics[0].Id)
		return nil
	})
}

```

type GetTopicsTopic

type GetTopicsTopic struct {
	// The id of the topic. The value is set to `name`.
	Id string `pulumi:"id"`
	// Whether to enable logging.
	LoggingEnabled bool `pulumi:"loggingEnabled"`
	// This indicates the maximum length, in bytes, of any message body sent to the topic.
	MaximumMessageSize int `pulumi:"maximumMessageSize"`
	// The name of the topic.
	Name string `pulumi:"name"`
}

type GetTopicsTopicArgs

type GetTopicsTopicArgs struct {
	// The id of the topic. The value is set to `name`.
	Id pulumi.StringInput `pulumi:"id"`
	// Whether to enable logging.
	LoggingEnabled pulumi.BoolInput `pulumi:"loggingEnabled"`
	// This indicates the maximum length, in bytes, of any message body sent to the topic.
	MaximumMessageSize pulumi.IntInput `pulumi:"maximumMessageSize"`
	// The name of the topic.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetTopicsTopicArgs) ElementType

func (GetTopicsTopicArgs) ElementType() reflect.Type

func (GetTopicsTopicArgs) ToGetTopicsTopicOutput

func (i GetTopicsTopicArgs) ToGetTopicsTopicOutput() GetTopicsTopicOutput

func (GetTopicsTopicArgs) ToGetTopicsTopicOutputWithContext

func (i GetTopicsTopicArgs) ToGetTopicsTopicOutputWithContext(ctx context.Context) GetTopicsTopicOutput

type GetTopicsTopicArray

type GetTopicsTopicArray []GetTopicsTopicInput

func (GetTopicsTopicArray) ElementType

func (GetTopicsTopicArray) ElementType() reflect.Type

func (GetTopicsTopicArray) ToGetTopicsTopicArrayOutput

func (i GetTopicsTopicArray) ToGetTopicsTopicArrayOutput() GetTopicsTopicArrayOutput

func (GetTopicsTopicArray) ToGetTopicsTopicArrayOutputWithContext

func (i GetTopicsTopicArray) ToGetTopicsTopicArrayOutputWithContext(ctx context.Context) GetTopicsTopicArrayOutput

type GetTopicsTopicArrayInput

type GetTopicsTopicArrayInput interface {
	pulumi.Input

	ToGetTopicsTopicArrayOutput() GetTopicsTopicArrayOutput
	ToGetTopicsTopicArrayOutputWithContext(context.Context) GetTopicsTopicArrayOutput
}

GetTopicsTopicArrayInput is an input type that accepts GetTopicsTopicArray and GetTopicsTopicArrayOutput values. You can construct a concrete instance of `GetTopicsTopicArrayInput` via:

GetTopicsTopicArray{ GetTopicsTopicArgs{...} }

type GetTopicsTopicArrayOutput

type GetTopicsTopicArrayOutput struct{ *pulumi.OutputState }

func (GetTopicsTopicArrayOutput) ElementType

func (GetTopicsTopicArrayOutput) ElementType() reflect.Type

func (GetTopicsTopicArrayOutput) Index

func (GetTopicsTopicArrayOutput) ToGetTopicsTopicArrayOutput

func (o GetTopicsTopicArrayOutput) ToGetTopicsTopicArrayOutput() GetTopicsTopicArrayOutput

func (GetTopicsTopicArrayOutput) ToGetTopicsTopicArrayOutputWithContext

func (o GetTopicsTopicArrayOutput) ToGetTopicsTopicArrayOutputWithContext(ctx context.Context) GetTopicsTopicArrayOutput

type GetTopicsTopicInput

type GetTopicsTopicInput interface {
	pulumi.Input

	ToGetTopicsTopicOutput() GetTopicsTopicOutput
	ToGetTopicsTopicOutputWithContext(context.Context) GetTopicsTopicOutput
}

GetTopicsTopicInput is an input type that accepts GetTopicsTopicArgs and GetTopicsTopicOutput values. You can construct a concrete instance of `GetTopicsTopicInput` via:

GetTopicsTopicArgs{...}

type GetTopicsTopicOutput

type GetTopicsTopicOutput struct{ *pulumi.OutputState }

func (GetTopicsTopicOutput) ElementType

func (GetTopicsTopicOutput) ElementType() reflect.Type

func (GetTopicsTopicOutput) Id

The id of the topic. The value is set to `name`.

func (GetTopicsTopicOutput) LoggingEnabled

func (o GetTopicsTopicOutput) LoggingEnabled() pulumi.BoolOutput

Whether to enable logging.

func (GetTopicsTopicOutput) MaximumMessageSize

func (o GetTopicsTopicOutput) MaximumMessageSize() pulumi.IntOutput

This indicates the maximum length, in bytes, of any message body sent to the topic.

func (GetTopicsTopicOutput) Name

The name of the topic.

func (GetTopicsTopicOutput) ToGetTopicsTopicOutput

func (o GetTopicsTopicOutput) ToGetTopicsTopicOutput() GetTopicsTopicOutput

func (GetTopicsTopicOutput) ToGetTopicsTopicOutputWithContext

func (o GetTopicsTopicOutput) ToGetTopicsTopicOutputWithContext(ctx context.Context) GetTopicsTopicOutput

type Queue

type Queue struct {
	pulumi.CustomResourceState

	// This attribute defines the length of time, in seconds, after which every message sent to the queue is dequeued. Valid value range: 0-604800 seconds, i.e., 0 to 7 days. Default value to 0.
	DelaySeconds pulumi.IntPtrOutput `pulumi:"delaySeconds"`
	// This indicates the maximum length, in bytes, of any message body sent to the queue. Valid value range: 1024-65536, i.e., 1K to 64K. Default value to 65536.
	MaximumMessageSize pulumi.IntPtrOutput `pulumi:"maximumMessageSize"`
	// Messages are deleted from the queue after a specified length of time, whether they have been activated or not. This attribute defines the viability period, in seconds, for every message in the queue. Valid value range: 60-604800 seconds, i.e., 1 minutes to 7 days. Default value to 345600.
	MessageRetentionPeriod pulumi.IntPtrOutput `pulumi:"messageRetentionPeriod"`
	// Two queues on a single account in the same region cannot have the same name. A queue name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 256 characters .
	Name pulumi.StringOutput `pulumi:"name"`
	// Long polling is measured in seconds. When this attribute is set to 0, long polling is disabled. When it is not set to 0, long polling is enabled and message dequeue requests will be processed only when valid messages are received or when long polling times out. Valid value range: 0-30 seconds. Default value to 0.
	PollingWaitSeconds pulumi.IntPtrOutput `pulumi:"pollingWaitSeconds"`
	// The VisibilityTimeout attribute of the queue. A dequeued messages will change from active (visible) status to inactive (invisible) status, and this attribute defines the length of time, in seconds, that messages remain invisible. Messages return to active status after the set period. Valid value range: 1-43200 seconds, i.e., 1 seconds to 12 hours. Default value to 30.
	VisibilityTimeout pulumi.IntPtrOutput `pulumi:"visibilityTimeout"`
}

## Import

MNS QUEUE can be imported using the id or name, e.g.

```sh

$ pulumi import alicloud:mns/queue:Queue queue queuename

```

func GetQueue

func GetQueue(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *QueueState, opts ...pulumi.ResourceOption) (*Queue, error)

GetQueue gets an existing Queue 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 NewQueue

func NewQueue(ctx *pulumi.Context,
	name string, args *QueueArgs, opts ...pulumi.ResourceOption) (*Queue, error)

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

func (*Queue) ElementType added in v2.25.1

func (*Queue) ElementType() reflect.Type

func (*Queue) ToQueueOutput added in v2.25.1

func (i *Queue) ToQueueOutput() QueueOutput

func (*Queue) ToQueueOutputWithContext added in v2.25.1

func (i *Queue) ToQueueOutputWithContext(ctx context.Context) QueueOutput

func (*Queue) ToQueuePtrOutput added in v2.35.1

func (i *Queue) ToQueuePtrOutput() QueuePtrOutput

func (*Queue) ToQueuePtrOutputWithContext added in v2.35.1

func (i *Queue) ToQueuePtrOutputWithContext(ctx context.Context) QueuePtrOutput

type QueueArgs

type QueueArgs struct {
	// This attribute defines the length of time, in seconds, after which every message sent to the queue is dequeued. Valid value range: 0-604800 seconds, i.e., 0 to 7 days. Default value to 0.
	DelaySeconds pulumi.IntPtrInput
	// This indicates the maximum length, in bytes, of any message body sent to the queue. Valid value range: 1024-65536, i.e., 1K to 64K. Default value to 65536.
	MaximumMessageSize pulumi.IntPtrInput
	// Messages are deleted from the queue after a specified length of time, whether they have been activated or not. This attribute defines the viability period, in seconds, for every message in the queue. Valid value range: 60-604800 seconds, i.e., 1 minutes to 7 days. Default value to 345600.
	MessageRetentionPeriod pulumi.IntPtrInput
	// Two queues on a single account in the same region cannot have the same name. A queue name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 256 characters .
	Name pulumi.StringPtrInput
	// Long polling is measured in seconds. When this attribute is set to 0, long polling is disabled. When it is not set to 0, long polling is enabled and message dequeue requests will be processed only when valid messages are received or when long polling times out. Valid value range: 0-30 seconds. Default value to 0.
	PollingWaitSeconds pulumi.IntPtrInput
	// The VisibilityTimeout attribute of the queue. A dequeued messages will change from active (visible) status to inactive (invisible) status, and this attribute defines the length of time, in seconds, that messages remain invisible. Messages return to active status after the set period. Valid value range: 1-43200 seconds, i.e., 1 seconds to 12 hours. Default value to 30.
	VisibilityTimeout pulumi.IntPtrInput
}

The set of arguments for constructing a Queue resource.

func (QueueArgs) ElementType

func (QueueArgs) ElementType() reflect.Type

type QueueArray added in v2.35.1

type QueueArray []QueueInput

func (QueueArray) ElementType added in v2.35.1

func (QueueArray) ElementType() reflect.Type

func (QueueArray) ToQueueArrayOutput added in v2.35.1

func (i QueueArray) ToQueueArrayOutput() QueueArrayOutput

func (QueueArray) ToQueueArrayOutputWithContext added in v2.35.1

func (i QueueArray) ToQueueArrayOutputWithContext(ctx context.Context) QueueArrayOutput

type QueueArrayInput added in v2.35.1

type QueueArrayInput interface {
	pulumi.Input

	ToQueueArrayOutput() QueueArrayOutput
	ToQueueArrayOutputWithContext(context.Context) QueueArrayOutput
}

QueueArrayInput is an input type that accepts QueueArray and QueueArrayOutput values. You can construct a concrete instance of `QueueArrayInput` via:

QueueArray{ QueueArgs{...} }

type QueueArrayOutput added in v2.35.1

type QueueArrayOutput struct{ *pulumi.OutputState }

func (QueueArrayOutput) ElementType added in v2.35.1

func (QueueArrayOutput) ElementType() reflect.Type

func (QueueArrayOutput) Index added in v2.35.1

func (QueueArrayOutput) ToQueueArrayOutput added in v2.35.1

func (o QueueArrayOutput) ToQueueArrayOutput() QueueArrayOutput

func (QueueArrayOutput) ToQueueArrayOutputWithContext added in v2.35.1

func (o QueueArrayOutput) ToQueueArrayOutputWithContext(ctx context.Context) QueueArrayOutput

type QueueInput added in v2.25.1

type QueueInput interface {
	pulumi.Input

	ToQueueOutput() QueueOutput
	ToQueueOutputWithContext(ctx context.Context) QueueOutput
}

type QueueMap added in v2.35.1

type QueueMap map[string]QueueInput

func (QueueMap) ElementType added in v2.35.1

func (QueueMap) ElementType() reflect.Type

func (QueueMap) ToQueueMapOutput added in v2.35.1

func (i QueueMap) ToQueueMapOutput() QueueMapOutput

func (QueueMap) ToQueueMapOutputWithContext added in v2.35.1

func (i QueueMap) ToQueueMapOutputWithContext(ctx context.Context) QueueMapOutput

type QueueMapInput added in v2.35.1

type QueueMapInput interface {
	pulumi.Input

	ToQueueMapOutput() QueueMapOutput
	ToQueueMapOutputWithContext(context.Context) QueueMapOutput
}

QueueMapInput is an input type that accepts QueueMap and QueueMapOutput values. You can construct a concrete instance of `QueueMapInput` via:

QueueMap{ "key": QueueArgs{...} }

type QueueMapOutput added in v2.35.1

type QueueMapOutput struct{ *pulumi.OutputState }

func (QueueMapOutput) ElementType added in v2.35.1

func (QueueMapOutput) ElementType() reflect.Type

func (QueueMapOutput) MapIndex added in v2.35.1

func (QueueMapOutput) ToQueueMapOutput added in v2.35.1

func (o QueueMapOutput) ToQueueMapOutput() QueueMapOutput

func (QueueMapOutput) ToQueueMapOutputWithContext added in v2.35.1

func (o QueueMapOutput) ToQueueMapOutputWithContext(ctx context.Context) QueueMapOutput

type QueueOutput added in v2.25.1

type QueueOutput struct {
	*pulumi.OutputState
}

func (QueueOutput) ElementType added in v2.25.1

func (QueueOutput) ElementType() reflect.Type

func (QueueOutput) ToQueueOutput added in v2.25.1

func (o QueueOutput) ToQueueOutput() QueueOutput

func (QueueOutput) ToQueueOutputWithContext added in v2.25.1

func (o QueueOutput) ToQueueOutputWithContext(ctx context.Context) QueueOutput

func (QueueOutput) ToQueuePtrOutput added in v2.35.1

func (o QueueOutput) ToQueuePtrOutput() QueuePtrOutput

func (QueueOutput) ToQueuePtrOutputWithContext added in v2.35.1

func (o QueueOutput) ToQueuePtrOutputWithContext(ctx context.Context) QueuePtrOutput

type QueuePtrInput added in v2.35.1

type QueuePtrInput interface {
	pulumi.Input

	ToQueuePtrOutput() QueuePtrOutput
	ToQueuePtrOutputWithContext(ctx context.Context) QueuePtrOutput
}

type QueuePtrOutput added in v2.35.1

type QueuePtrOutput struct {
	*pulumi.OutputState
}

func (QueuePtrOutput) ElementType added in v2.35.1

func (QueuePtrOutput) ElementType() reflect.Type

func (QueuePtrOutput) ToQueuePtrOutput added in v2.35.1

func (o QueuePtrOutput) ToQueuePtrOutput() QueuePtrOutput

func (QueuePtrOutput) ToQueuePtrOutputWithContext added in v2.35.1

func (o QueuePtrOutput) ToQueuePtrOutputWithContext(ctx context.Context) QueuePtrOutput

type QueueState

type QueueState struct {
	// This attribute defines the length of time, in seconds, after which every message sent to the queue is dequeued. Valid value range: 0-604800 seconds, i.e., 0 to 7 days. Default value to 0.
	DelaySeconds pulumi.IntPtrInput
	// This indicates the maximum length, in bytes, of any message body sent to the queue. Valid value range: 1024-65536, i.e., 1K to 64K. Default value to 65536.
	MaximumMessageSize pulumi.IntPtrInput
	// Messages are deleted from the queue after a specified length of time, whether they have been activated or not. This attribute defines the viability period, in seconds, for every message in the queue. Valid value range: 60-604800 seconds, i.e., 1 minutes to 7 days. Default value to 345600.
	MessageRetentionPeriod pulumi.IntPtrInput
	// Two queues on a single account in the same region cannot have the same name. A queue name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 256 characters .
	Name pulumi.StringPtrInput
	// Long polling is measured in seconds. When this attribute is set to 0, long polling is disabled. When it is not set to 0, long polling is enabled and message dequeue requests will be processed only when valid messages are received or when long polling times out. Valid value range: 0-30 seconds. Default value to 0.
	PollingWaitSeconds pulumi.IntPtrInput
	// The VisibilityTimeout attribute of the queue. A dequeued messages will change from active (visible) status to inactive (invisible) status, and this attribute defines the length of time, in seconds, that messages remain invisible. Messages return to active status after the set period. Valid value range: 1-43200 seconds, i.e., 1 seconds to 12 hours. Default value to 30.
	VisibilityTimeout pulumi.IntPtrInput
}

func (QueueState) ElementType

func (QueueState) ElementType() reflect.Type

type Topic

type Topic struct {
	pulumi.CustomResourceState

	// Is logging enabled? true or false. Default value to false.
	LoggingEnabled pulumi.BoolPtrOutput `pulumi:"loggingEnabled"`
	// This indicates the maximum length, in bytes, of any message body sent to the topic. Valid value range: 1024-65536, i.e., 1K to 64K. Default value to 65536.
	MaximumMessageSize pulumi.IntPtrOutput `pulumi:"maximumMessageSize"`
	// Two topics on a single account in the same region cannot have the same name. A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 256 characters.
	Name pulumi.StringOutput `pulumi:"name"`
}

## Import

MNS Topic can be imported using the id or name, e.g.

```sh

$ pulumi import alicloud:mns/topic:Topic topic topicName

```

func GetTopic

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

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 v2.25.1

func (*Topic) ElementType() reflect.Type

func (*Topic) ToTopicOutput added in v2.25.1

func (i *Topic) ToTopicOutput() TopicOutput

func (*Topic) ToTopicOutputWithContext added in v2.25.1

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

func (*Topic) ToTopicPtrOutput added in v2.35.1

func (i *Topic) ToTopicPtrOutput() TopicPtrOutput

func (*Topic) ToTopicPtrOutputWithContext added in v2.35.1

func (i *Topic) ToTopicPtrOutputWithContext(ctx context.Context) TopicPtrOutput

type TopicArgs

type TopicArgs struct {
	// Is logging enabled? true or false. Default value to false.
	LoggingEnabled pulumi.BoolPtrInput
	// This indicates the maximum length, in bytes, of any message body sent to the topic. Valid value range: 1024-65536, i.e., 1K to 64K. Default value to 65536.
	MaximumMessageSize pulumi.IntPtrInput
	// Two topics on a single account in the same region cannot have the same name. A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 256 characters.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a Topic resource.

func (TopicArgs) ElementType

func (TopicArgs) ElementType() reflect.Type

type TopicArray added in v2.35.1

type TopicArray []TopicInput

func (TopicArray) ElementType added in v2.35.1

func (TopicArray) ElementType() reflect.Type

func (TopicArray) ToTopicArrayOutput added in v2.35.1

func (i TopicArray) ToTopicArrayOutput() TopicArrayOutput

func (TopicArray) ToTopicArrayOutputWithContext added in v2.35.1

func (i TopicArray) ToTopicArrayOutputWithContext(ctx context.Context) TopicArrayOutput

type TopicArrayInput added in v2.35.1

type TopicArrayInput interface {
	pulumi.Input

	ToTopicArrayOutput() TopicArrayOutput
	ToTopicArrayOutputWithContext(context.Context) TopicArrayOutput
}

TopicArrayInput is an input type that accepts TopicArray and TopicArrayOutput values. You can construct a concrete instance of `TopicArrayInput` via:

TopicArray{ TopicArgs{...} }

type TopicArrayOutput added in v2.35.1

type TopicArrayOutput struct{ *pulumi.OutputState }

func (TopicArrayOutput) ElementType added in v2.35.1

func (TopicArrayOutput) ElementType() reflect.Type

func (TopicArrayOutput) Index added in v2.35.1

func (TopicArrayOutput) ToTopicArrayOutput added in v2.35.1

func (o TopicArrayOutput) ToTopicArrayOutput() TopicArrayOutput

func (TopicArrayOutput) ToTopicArrayOutputWithContext added in v2.35.1

func (o TopicArrayOutput) ToTopicArrayOutputWithContext(ctx context.Context) TopicArrayOutput

type TopicInput added in v2.25.1

type TopicInput interface {
	pulumi.Input

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

type TopicMap added in v2.35.1

type TopicMap map[string]TopicInput

func (TopicMap) ElementType added in v2.35.1

func (TopicMap) ElementType() reflect.Type

func (TopicMap) ToTopicMapOutput added in v2.35.1

func (i TopicMap) ToTopicMapOutput() TopicMapOutput

func (TopicMap) ToTopicMapOutputWithContext added in v2.35.1

func (i TopicMap) ToTopicMapOutputWithContext(ctx context.Context) TopicMapOutput

type TopicMapInput added in v2.35.1

type TopicMapInput interface {
	pulumi.Input

	ToTopicMapOutput() TopicMapOutput
	ToTopicMapOutputWithContext(context.Context) TopicMapOutput
}

TopicMapInput is an input type that accepts TopicMap and TopicMapOutput values. You can construct a concrete instance of `TopicMapInput` via:

TopicMap{ "key": TopicArgs{...} }

type TopicMapOutput added in v2.35.1

type TopicMapOutput struct{ *pulumi.OutputState }

func (TopicMapOutput) ElementType added in v2.35.1

func (TopicMapOutput) ElementType() reflect.Type

func (TopicMapOutput) MapIndex added in v2.35.1

func (TopicMapOutput) ToTopicMapOutput added in v2.35.1

func (o TopicMapOutput) ToTopicMapOutput() TopicMapOutput

func (TopicMapOutput) ToTopicMapOutputWithContext added in v2.35.1

func (o TopicMapOutput) ToTopicMapOutputWithContext(ctx context.Context) TopicMapOutput

type TopicOutput added in v2.25.1

type TopicOutput struct {
	*pulumi.OutputState
}

func (TopicOutput) ElementType added in v2.25.1

func (TopicOutput) ElementType() reflect.Type

func (TopicOutput) ToTopicOutput added in v2.25.1

func (o TopicOutput) ToTopicOutput() TopicOutput

func (TopicOutput) ToTopicOutputWithContext added in v2.25.1

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

func (TopicOutput) ToTopicPtrOutput added in v2.35.1

func (o TopicOutput) ToTopicPtrOutput() TopicPtrOutput

func (TopicOutput) ToTopicPtrOutputWithContext added in v2.35.1

func (o TopicOutput) ToTopicPtrOutputWithContext(ctx context.Context) TopicPtrOutput

type TopicPtrInput added in v2.35.1

type TopicPtrInput interface {
	pulumi.Input

	ToTopicPtrOutput() TopicPtrOutput
	ToTopicPtrOutputWithContext(ctx context.Context) TopicPtrOutput
}

type TopicPtrOutput added in v2.35.1

type TopicPtrOutput struct {
	*pulumi.OutputState
}

func (TopicPtrOutput) ElementType added in v2.35.1

func (TopicPtrOutput) ElementType() reflect.Type

func (TopicPtrOutput) ToTopicPtrOutput added in v2.35.1

func (o TopicPtrOutput) ToTopicPtrOutput() TopicPtrOutput

func (TopicPtrOutput) ToTopicPtrOutputWithContext added in v2.35.1

func (o TopicPtrOutput) ToTopicPtrOutputWithContext(ctx context.Context) TopicPtrOutput

type TopicState

type TopicState struct {
	// Is logging enabled? true or false. Default value to false.
	LoggingEnabled pulumi.BoolPtrInput
	// This indicates the maximum length, in bytes, of any message body sent to the topic. Valid value range: 1024-65536, i.e., 1K to 64K. Default value to 65536.
	MaximumMessageSize pulumi.IntPtrInput
	// Two topics on a single account in the same region cannot have the same name. A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 256 characters.
	Name pulumi.StringPtrInput
}

func (TopicState) ElementType

func (TopicState) ElementType() reflect.Type

type TopicSubscription

type TopicSubscription struct {
	pulumi.CustomResourceState

	// The endpoint has three format. Available values format:
	// - HTTP Format: http://xxx.com/xxx
	// - Queue Format: acs:mns:{REGION}:{AccountID}:queues/{QueueName}
	// - Email Format: mail:directmail:{MailAddress}
	Endpoint pulumi.StringOutput `pulumi:"endpoint"`
	// The length should be shorter than 16.
	FilterTag pulumi.StringPtrOutput `pulumi:"filterTag"`
	// Two topics subscription on a single account in the same topic cannot have the same name. A topic subscription name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 256 characters.
	Name pulumi.StringOutput `pulumi:"name"`
	// The NotifyContentFormat attribute of Subscription. This attribute specifies the content format of the messages pushed to users. The valid values: 'SIMPLIFIED', 'XML' and 'JSON'. Default to 'SIMPLIFIED'.
	NotifyContentFormat pulumi.StringPtrOutput `pulumi:"notifyContentFormat"`
	// The NotifyStrategy attribute of Subscription. This attribute specifies the retry strategy when message sending fails. the attribute has two value EXPONENTIAL_DECAY_RETR or BACKOFF_RETRY. Default value to BACKOFF_RETRY .
	NotifyStrategy pulumi.StringPtrOutput `pulumi:"notifyStrategy"`
	// The topic which The subscription belongs to was named with the name.A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 256 characters.
	TopicName pulumi.StringOutput `pulumi:"topicName"`
}

## Import

MNS Topic subscription can be imported using the id, e.g.

```sh

$ pulumi import alicloud:mns/topicSubscription:TopicSubscription subscription tf-example-mnstopic:tf-example-mnstopic-sub

```

func GetTopicSubscription

func GetTopicSubscription(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TopicSubscriptionState, opts ...pulumi.ResourceOption) (*TopicSubscription, error)

GetTopicSubscription gets an existing TopicSubscription 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 NewTopicSubscription

func NewTopicSubscription(ctx *pulumi.Context,
	name string, args *TopicSubscriptionArgs, opts ...pulumi.ResourceOption) (*TopicSubscription, error)

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

func (*TopicSubscription) ElementType added in v2.25.1

func (*TopicSubscription) ElementType() reflect.Type

func (*TopicSubscription) ToTopicSubscriptionOutput added in v2.25.1

func (i *TopicSubscription) ToTopicSubscriptionOutput() TopicSubscriptionOutput

func (*TopicSubscription) ToTopicSubscriptionOutputWithContext added in v2.25.1

func (i *TopicSubscription) ToTopicSubscriptionOutputWithContext(ctx context.Context) TopicSubscriptionOutput

func (*TopicSubscription) ToTopicSubscriptionPtrOutput added in v2.35.1

func (i *TopicSubscription) ToTopicSubscriptionPtrOutput() TopicSubscriptionPtrOutput

func (*TopicSubscription) ToTopicSubscriptionPtrOutputWithContext added in v2.35.1

func (i *TopicSubscription) ToTopicSubscriptionPtrOutputWithContext(ctx context.Context) TopicSubscriptionPtrOutput

type TopicSubscriptionArgs

type TopicSubscriptionArgs struct {
	// The endpoint has three format. Available values format:
	// - HTTP Format: http://xxx.com/xxx
	// - Queue Format: acs:mns:{REGION}:{AccountID}:queues/{QueueName}
	// - Email Format: mail:directmail:{MailAddress}
	Endpoint pulumi.StringInput
	// The length should be shorter than 16.
	FilterTag pulumi.StringPtrInput
	// Two topics subscription on a single account in the same topic cannot have the same name. A topic subscription name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 256 characters.
	Name pulumi.StringPtrInput
	// The NotifyContentFormat attribute of Subscription. This attribute specifies the content format of the messages pushed to users. The valid values: 'SIMPLIFIED', 'XML' and 'JSON'. Default to 'SIMPLIFIED'.
	NotifyContentFormat pulumi.StringPtrInput
	// The NotifyStrategy attribute of Subscription. This attribute specifies the retry strategy when message sending fails. the attribute has two value EXPONENTIAL_DECAY_RETR or BACKOFF_RETRY. Default value to BACKOFF_RETRY .
	NotifyStrategy pulumi.StringPtrInput
	// The topic which The subscription belongs to was named with the name.A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 256 characters.
	TopicName pulumi.StringInput
}

The set of arguments for constructing a TopicSubscription resource.

func (TopicSubscriptionArgs) ElementType

func (TopicSubscriptionArgs) ElementType() reflect.Type

type TopicSubscriptionArray added in v2.35.1

type TopicSubscriptionArray []TopicSubscriptionInput

func (TopicSubscriptionArray) ElementType added in v2.35.1

func (TopicSubscriptionArray) ElementType() reflect.Type

func (TopicSubscriptionArray) ToTopicSubscriptionArrayOutput added in v2.35.1

func (i TopicSubscriptionArray) ToTopicSubscriptionArrayOutput() TopicSubscriptionArrayOutput

func (TopicSubscriptionArray) ToTopicSubscriptionArrayOutputWithContext added in v2.35.1

func (i TopicSubscriptionArray) ToTopicSubscriptionArrayOutputWithContext(ctx context.Context) TopicSubscriptionArrayOutput

type TopicSubscriptionArrayInput added in v2.35.1

type TopicSubscriptionArrayInput interface {
	pulumi.Input

	ToTopicSubscriptionArrayOutput() TopicSubscriptionArrayOutput
	ToTopicSubscriptionArrayOutputWithContext(context.Context) TopicSubscriptionArrayOutput
}

TopicSubscriptionArrayInput is an input type that accepts TopicSubscriptionArray and TopicSubscriptionArrayOutput values. You can construct a concrete instance of `TopicSubscriptionArrayInput` via:

TopicSubscriptionArray{ TopicSubscriptionArgs{...} }

type TopicSubscriptionArrayOutput added in v2.35.1

type TopicSubscriptionArrayOutput struct{ *pulumi.OutputState }

func (TopicSubscriptionArrayOutput) ElementType added in v2.35.1

func (TopicSubscriptionArrayOutput) Index added in v2.35.1

func (TopicSubscriptionArrayOutput) ToTopicSubscriptionArrayOutput added in v2.35.1

func (o TopicSubscriptionArrayOutput) ToTopicSubscriptionArrayOutput() TopicSubscriptionArrayOutput

func (TopicSubscriptionArrayOutput) ToTopicSubscriptionArrayOutputWithContext added in v2.35.1

func (o TopicSubscriptionArrayOutput) ToTopicSubscriptionArrayOutputWithContext(ctx context.Context) TopicSubscriptionArrayOutput

type TopicSubscriptionInput added in v2.25.1

type TopicSubscriptionInput interface {
	pulumi.Input

	ToTopicSubscriptionOutput() TopicSubscriptionOutput
	ToTopicSubscriptionOutputWithContext(ctx context.Context) TopicSubscriptionOutput
}

type TopicSubscriptionMap added in v2.35.1

type TopicSubscriptionMap map[string]TopicSubscriptionInput

func (TopicSubscriptionMap) ElementType added in v2.35.1

func (TopicSubscriptionMap) ElementType() reflect.Type

func (TopicSubscriptionMap) ToTopicSubscriptionMapOutput added in v2.35.1

func (i TopicSubscriptionMap) ToTopicSubscriptionMapOutput() TopicSubscriptionMapOutput

func (TopicSubscriptionMap) ToTopicSubscriptionMapOutputWithContext added in v2.35.1

func (i TopicSubscriptionMap) ToTopicSubscriptionMapOutputWithContext(ctx context.Context) TopicSubscriptionMapOutput

type TopicSubscriptionMapInput added in v2.35.1

type TopicSubscriptionMapInput interface {
	pulumi.Input

	ToTopicSubscriptionMapOutput() TopicSubscriptionMapOutput
	ToTopicSubscriptionMapOutputWithContext(context.Context) TopicSubscriptionMapOutput
}

TopicSubscriptionMapInput is an input type that accepts TopicSubscriptionMap and TopicSubscriptionMapOutput values. You can construct a concrete instance of `TopicSubscriptionMapInput` via:

TopicSubscriptionMap{ "key": TopicSubscriptionArgs{...} }

type TopicSubscriptionMapOutput added in v2.35.1

type TopicSubscriptionMapOutput struct{ *pulumi.OutputState }

func (TopicSubscriptionMapOutput) ElementType added in v2.35.1

func (TopicSubscriptionMapOutput) ElementType() reflect.Type

func (TopicSubscriptionMapOutput) MapIndex added in v2.35.1

func (TopicSubscriptionMapOutput) ToTopicSubscriptionMapOutput added in v2.35.1

func (o TopicSubscriptionMapOutput) ToTopicSubscriptionMapOutput() TopicSubscriptionMapOutput

func (TopicSubscriptionMapOutput) ToTopicSubscriptionMapOutputWithContext added in v2.35.1

func (o TopicSubscriptionMapOutput) ToTopicSubscriptionMapOutputWithContext(ctx context.Context) TopicSubscriptionMapOutput

type TopicSubscriptionOutput added in v2.25.1

type TopicSubscriptionOutput struct {
	*pulumi.OutputState
}

func (TopicSubscriptionOutput) ElementType added in v2.25.1

func (TopicSubscriptionOutput) ElementType() reflect.Type

func (TopicSubscriptionOutput) ToTopicSubscriptionOutput added in v2.25.1

func (o TopicSubscriptionOutput) ToTopicSubscriptionOutput() TopicSubscriptionOutput

func (TopicSubscriptionOutput) ToTopicSubscriptionOutputWithContext added in v2.25.1

func (o TopicSubscriptionOutput) ToTopicSubscriptionOutputWithContext(ctx context.Context) TopicSubscriptionOutput

func (TopicSubscriptionOutput) ToTopicSubscriptionPtrOutput added in v2.35.1

func (o TopicSubscriptionOutput) ToTopicSubscriptionPtrOutput() TopicSubscriptionPtrOutput

func (TopicSubscriptionOutput) ToTopicSubscriptionPtrOutputWithContext added in v2.35.1

func (o TopicSubscriptionOutput) ToTopicSubscriptionPtrOutputWithContext(ctx context.Context) TopicSubscriptionPtrOutput

type TopicSubscriptionPtrInput added in v2.35.1

type TopicSubscriptionPtrInput interface {
	pulumi.Input

	ToTopicSubscriptionPtrOutput() TopicSubscriptionPtrOutput
	ToTopicSubscriptionPtrOutputWithContext(ctx context.Context) TopicSubscriptionPtrOutput
}

type TopicSubscriptionPtrOutput added in v2.35.1

type TopicSubscriptionPtrOutput struct {
	*pulumi.OutputState
}

func (TopicSubscriptionPtrOutput) ElementType added in v2.35.1

func (TopicSubscriptionPtrOutput) ElementType() reflect.Type

func (TopicSubscriptionPtrOutput) ToTopicSubscriptionPtrOutput added in v2.35.1

func (o TopicSubscriptionPtrOutput) ToTopicSubscriptionPtrOutput() TopicSubscriptionPtrOutput

func (TopicSubscriptionPtrOutput) ToTopicSubscriptionPtrOutputWithContext added in v2.35.1

func (o TopicSubscriptionPtrOutput) ToTopicSubscriptionPtrOutputWithContext(ctx context.Context) TopicSubscriptionPtrOutput

type TopicSubscriptionState

type TopicSubscriptionState struct {
	// The endpoint has three format. Available values format:
	// - HTTP Format: http://xxx.com/xxx
	// - Queue Format: acs:mns:{REGION}:{AccountID}:queues/{QueueName}
	// - Email Format: mail:directmail:{MailAddress}
	Endpoint pulumi.StringPtrInput
	// The length should be shorter than 16.
	FilterTag pulumi.StringPtrInput
	// Two topics subscription on a single account in the same topic cannot have the same name. A topic subscription name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 256 characters.
	Name pulumi.StringPtrInput
	// The NotifyContentFormat attribute of Subscription. This attribute specifies the content format of the messages pushed to users. The valid values: 'SIMPLIFIED', 'XML' and 'JSON'. Default to 'SIMPLIFIED'.
	NotifyContentFormat pulumi.StringPtrInput
	// The NotifyStrategy attribute of Subscription. This attribute specifies the retry strategy when message sending fails. the attribute has two value EXPONENTIAL_DECAY_RETR or BACKOFF_RETRY. Default value to BACKOFF_RETRY .
	NotifyStrategy pulumi.StringPtrInput
	// The topic which The subscription belongs to was named with the name.A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 256 characters.
	TopicName pulumi.StringPtrInput
}

func (TopicSubscriptionState) ElementType

func (TopicSubscriptionState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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