This page documents the language specification for the alicloud package. If you're looking for help working with the inputs, outputs, or functions of alicloud resources in a Pulumi program, please see the resource documentation for examples and API reference.
datahub¶
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-alicloud repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-alicloud repo.
- class
pulumi_alicloud.datahub.Project(resource_name, opts=None, comment=None, name=None, __props__=None, __name__=None, __opts__=None)¶ Create a Project resource with the given unique name, props, and options. :param str resourcename: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] comment: Comment of the datahub project. It cannot be longer than 255 characters. :param pulumi.Input[str] name: The name of the datahub project. Its length is limited to 3-32 and only characters such as letters, digits and ‘’ are allowed. It is case-insensitive.
comment: pulumi.Output[str] = None¶Comment of the datahub project. It cannot be longer than 255 characters.
create_time: pulumi.Output[str] = None¶Create time of the datahub project. It is a human-readable string rather than 64-bits UTC.
last_modify_time: pulumi.Output[str] = None¶Last modify time of the datahub project. It is the same as create_time at the beginning. It is also a human-readable string rather than 64-bits UTC.
name: pulumi.Output[str] = None¶The name of the datahub project. Its length is limited to 3-32 and only characters such as letters, digits and ‘_’ are allowed. It is case-insensitive.
- static
get(resource_name, id, opts=None, comment=None, create_time=None, last_modify_time=None, name=None)¶ Get an existing Project resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
comment (pulumi.Input[str]) – Comment of the datahub project. It cannot be longer than 255 characters.
create_time (pulumi.Input[str]) – Create time of the datahub project. It is a human-readable string rather than 64-bits UTC.
last_modify_time (pulumi.Input[str]) – Last modify time of the datahub project. It is the same as create_time at the beginning. It is also a human-readable string rather than 64-bits UTC.
name (pulumi.Input[str]) – The name of the datahub project. Its length is limited to 3-32 and only characters such as letters, digits and ‘_’ are allowed. It is case-insensitive.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
- class
pulumi_alicloud.datahub.Subscription(resource_name, opts=None, comment=None, project_name=None, topic_name=None, __props__=None, __name__=None, __opts__=None)¶ Create a Subscription resource with the given unique name, props, and options. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] comment: Comment of the datahub subscription. It cannot be longer than 255 characters. :param pulumi.Input[str] 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. :param pulumi.Input[str] 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.
comment: pulumi.Output[str] = None¶Comment of the datahub subscription. It cannot be longer than 255 characters.
create_time: pulumi.Output[str] = None¶Create time of the datahub subscription. It is a human-readable string rather than 64-bits UTC.
last_modify_time: pulumi.Output[str] = None¶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.
project_name: pulumi.Output[str] = None¶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.
sub_id: pulumi.Output[str] = None¶The identidy of the subscritpion, generate from server side.
topic_name: pulumi.Output[str] = None¶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.
- static
get(resource_name, id, opts=None, comment=None, create_time=None, last_modify_time=None, project_name=None, sub_id=None, topic_name=None)¶ Get an existing Subscription resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
comment (pulumi.Input[str]) – Comment of the datahub subscription. It cannot be longer than 255 characters.
create_time (pulumi.Input[str]) – Create time of the datahub subscription. It is a human-readable string rather than 64-bits UTC.
last_modify_time (pulumi.Input[str]) – 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.
project*name (pulumi.Input[str]) –
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.
sub_id (pulumi.Input[str]) – The identidy of the subscritpion, generate from server side.
topic*name (pulumi.Input[str]) –
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.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
- class
pulumi_alicloud.datahub.Topic(resource_name, opts=None, comment=None, life_cycle=None, name=None, project_name=None, record_schema=None, record_type=None, shard_count=None, __props__=None, __name__=None, __opts__=None)¶ Create a Topic resource with the given unique name, props, and options. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] comment: Comment of the datahub topic. It cannot be longer than 255 characters. :param pulumi.Input[float] lifecycle: How many days this topic lives. The permitted range of values is [1, 7]. The default value is 3. :param pulumi.Input[str] 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. :param pulumi.Input[str] project_name: The name of the datahub project that this topic belongs to. It is case-insensitive. :param pulumi.Input[dict] record_schema: Schema of this topic, required only for TUPLE topic. Supported data types (case-insensitive) are:
- BIGINT - STRING - BOOLEAN - DOUBLE - TIMESTAMP
- Parameters
record_type (pulumi.Input[str]) – 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}.
shard_count (pulumi.Input[float]) – The number of shards this topic contains. The permitted range of values is [1, 10]. The default value is 1.
comment: pulumi.Output[str] = None¶Comment of the datahub topic. It cannot be longer than 255 characters.
create_time: pulumi.Output[str] = None¶Create time of the datahub topic. It is a human-readable string rather than 64-bits UTC.
last_modify_time: pulumi.Output[str] = None¶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.
life_cycle: pulumi.Output[float] = None¶How many days this topic lives. The permitted range of values is [1, 7]. The default value is 3.
name: pulumi.Output[str] = None¶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.
project_name: pulumi.Output[str] = None¶The name of the datahub project that this topic belongs to. It is case-insensitive.
record_schema: pulumi.Output[dict] = None¶Schema of this topic, required only for TUPLE topic. Supported data types (case-insensitive) are:
BIGINT
STRING
BOOLEAN
DOUBLE
TIMESTAMP
record_type: pulumi.Output[str] = None¶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}.
shard_count: pulumi.Output[float] = None¶The number of shards this topic contains. The permitted range of values is [1, 10]. The default value is 1.
- static
get(resource_name, id, opts=None, comment=None, create_time=None, last_modify_time=None, life_cycle=None, name=None, project_name=None, record_schema=None, record_type=None, shard_count=None)¶ Get an existing Topic resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
comment (pulumi.Input[str]) – Comment of the datahub topic. It cannot be longer than 255 characters.
create_time (pulumi.Input[str]) – Create time of the datahub topic. It is a human-readable string rather than 64-bits UTC.
last_modify_time (pulumi.Input[str]) – 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.
life*cycle (pulumi.Input[float]) –
How many days this topic lives. The permitted range of values is [1, 7]. The default value is 3.
name (pulumi.Input[str]) – 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.
project_name (pulumi.Input[str]) – The name of the datahub project that this topic belongs to. It is case-insensitive.
record_schema (pulumi.Input[dict]) – Schema of this topic, required only for TUPLE topic. Supported data types (case-insensitive) are:
- BIGINT - STRING - BOOLEAN - DOUBLE - TIMESTAMP
- Parameters
record_type (pulumi.Input[str]) – 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}.
shard_count (pulumi.Input[float]) – The number of shards this topic contains. The permitted range of values is [1, 10]. The default value is 1.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str