Show / Hide Table of Contents

Class Topic

Inheritance
System.Object
Resource
CustomResource
Topic
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 Topic : CustomResource

Constructors

View Source

Topic(String, TopicArgs, CustomResourceOptions)

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

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

The unique name of the resource

TopicArgs 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 topic. 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 topic. 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 topic. 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

LifeCycle

How many days this topic lives. The permitted range of values is [1, 7]. The default value is 3.

Declaration
public Output<int?> LifeCycle { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

Name

The name of the datahub topic. 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> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

ProjectName

The name of the datahub project that this topic belongs to. It is case-insensitive.

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

RecordSchema

Schema of this topic, required only for TUPLE topic. Supported data types (case-insensitive) are:

  • BIGINT
  • STRING
  • BOOLEAN
  • DOUBLE
  • TIMESTAMP
Declaration
public Output<ImmutableDictionary<string, object>> RecordSchema { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

RecordType

The type of this topic. Its value must be one of {BLOB, TUPLE}. For BLOB topic, data will be organized as binary and encoded by BASE64. For TUPLE topic, data has fixed schema. The default value is "TUPLE" with a schema {STRING}.

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

ShardCount

The number of shards this topic contains. The permitted range of values is [1, 10]. The default value is 1.

Declaration
public Output<int?> ShardCount { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>

Methods

View Source

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

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

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

TopicState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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