Class Subscription
Inherited Members
Namespace: Pulumi.AliCloud.Datahub
Assembly: Pulumi.AliCloud.dll
Syntax
public class Subscription : CustomResource
Constructors
View SourceSubscription(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 SourceComment
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> |
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> |
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> |
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> |
SubId
The identidy of the subscritpion, generate from server side.
Declaration
public Output<string> SubId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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 SourceGet(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 |