Show / Hide Table of Contents

Class TopicSubscription

Inheritance
System.Object
Resource
CustomResource
TopicSubscription
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Mns
Assembly: Pulumi.AliCloud.dll
Syntax
public class TopicSubscription : CustomResource

Constructors

View Source

TopicSubscription(String, TopicSubscriptionArgs, CustomResourceOptions)

Create a TopicSubscription resource with the given unique name, arguments, and options.

Declaration
public TopicSubscription(string name, TopicSubscriptionArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

TopicSubscriptionArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Endpoint

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}
Declaration
public Output<string> Endpoint { get; }
Property Value
Type Description
Output<System.String>
View Source

FilterTag

The length should be shorter than 16.

Declaration
public Output<string> FilterTag { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

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.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

NotifyContentFormat

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'.

Declaration
public Output<string> NotifyContentFormat { get; }
Property Value
Type Description
Output<System.String>
View Source

NotifyStrategy

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 .

Declaration
public Output<string> NotifyStrategy { get; }
Property Value
Type Description
Output<System.String>
View Source

TopicName

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.

Declaration
public Output<string> TopicName { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, TopicSubscriptionState, CustomResourceOptions)

Get an existing TopicSubscription resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static TopicSubscription Get(string name, Input<string> id, TopicSubscriptionState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

TopicSubscriptionState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
TopicSubscription
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.