Show / Hide Table of Contents

Class Subscription

Inheritance
System.Object
Resource
CustomResource
Subscription
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.Datahub
Assembly: Pulumi.AliCloud.dll
Syntax
public class Subscription : CustomResource

Constructors

View Source

Subscription(String, SubscriptionArgs, CustomResourceOptions)

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

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

The unique name of the resource

SubscriptionArgs 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

Comment

Comment of the datahub subscription. It cannot be longer than 255 characters.

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

CreateTime

Create time of the datahub subscription. It is a human-readable string rather than 64-bits UTC.

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

LastModifyTime

Last modify time of the datahub subscription. It is the same as create_time at the beginning. It is also a human-readable string rather than 64-bits UTC.

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

ProjectName

The name of the datahub project that the subscription belongs to. Its length is limited to 3-32 and only characters such as letters, digits and '_' are allowed. It is case-insensitive.

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

SubId

The identidy of the subscritpion, generate from server side.

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

TopicName

The name of the datahub topic that the subscription belongs to. Its length is limited to 1-128 and only characters such as letters, digits and '_' are allowed. It is case-insensitive.

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

Methods

View Source

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

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

Declaration
public static Subscription Get(string name, Input<string> id, SubscriptionState 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.

SubscriptionState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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