DataSourceSharedRuleArgs

data class DataSourceSharedRuleArgs(val dataSourceId: Output<Int>? = null, val envType: Output<String>? = null, val sharedUser: Output<String>? = null, val targetProjectId: Output<Int>? = null) : ConvertibleToJava<DataSourceSharedRuleArgs>

Provides a Data Works Data Source Shared Rule resource. Data source sharing rule, which expresses A data source, from space A to space B (A user). For information about Data Works Data Source Shared Rule and how to use it, see What is Data Source Shared Rule.

NOTE: Available since v1.237.0.

Import

Data Works Data Source Shared Rule can be imported using the id, e.g.

$ pulumi import alicloud:dataworks/dataSourceSharedRule:DataSourceSharedRule example <data_source_id>:<data_source_shared_rule_id>

Constructors

Link copied to clipboard
constructor(dataSourceId: Output<Int>? = null, envType: Output<String>? = null, sharedUser: Output<String>? = null, targetProjectId: Output<Int>? = null)

Properties

Link copied to clipboard
val dataSourceId: Output<Int>? = null

The ID of the data source, that is, the unique identifier of the data source.

Link copied to clipboard
val envType: Output<String>? = null

The environment type of the data source shared to the target project, such as Dev (Development Environment) and Prod (production environment).

Link copied to clipboard
val sharedUser: Output<String>? = null

The target user of the data source permission policy, which is null to share to the project.

Link copied to clipboard
val targetProjectId: Output<Int>? = null

The ID of the project to which the data source is shared.

Functions

Link copied to clipboard
open override fun toJava(): DataSourceSharedRuleArgs