Documentation
¶
Index ¶
- type DataSource
- type DataSourceArgs
- type DataSourceArray
- type DataSourceArrayInput
- type DataSourceArrayOutput
- func (DataSourceArrayOutput) ElementType() reflect.Type
- func (o DataSourceArrayOutput) Index(i pulumi.IntInput) DataSourceOutput
- func (o DataSourceArrayOutput) ToDataSourceArrayOutput() DataSourceArrayOutput
- func (o DataSourceArrayOutput) ToDataSourceArrayOutputWithContext(ctx context.Context) DataSourceArrayOutput
- type DataSourceInput
- type DataSourceMap
- type DataSourceMapInput
- type DataSourceMapOutput
- func (DataSourceMapOutput) ElementType() reflect.Type
- func (o DataSourceMapOutput) MapIndex(k pulumi.StringInput) DataSourceOutput
- func (o DataSourceMapOutput) ToDataSourceMapOutput() DataSourceMapOutput
- func (o DataSourceMapOutput) ToDataSourceMapOutputWithContext(ctx context.Context) DataSourceMapOutput
- type DataSourceOutput
- func (o DataSourceOutput) ConnectionProperties() pulumi.StringOutput
- func (o DataSourceOutput) ConnectionPropertiesMode() pulumi.StringOutput
- func (o DataSourceOutput) CreateTime() pulumi.IntOutput
- func (o DataSourceOutput) CreateUser() pulumi.StringOutput
- func (o DataSourceOutput) DataSourceId() pulumi.IntOutput
- func (o DataSourceOutput) DataSourceName() pulumi.StringOutput
- func (o DataSourceOutput) Description() pulumi.StringPtrOutput
- func (DataSourceOutput) ElementType() reflect.Type
- func (o DataSourceOutput) ModifyTime() pulumi.IntOutput
- func (o DataSourceOutput) ModifyUser() pulumi.StringOutput
- func (o DataSourceOutput) ProjectId() pulumi.IntOutput
- func (o DataSourceOutput) QualifiedName() pulumi.StringOutput
- func (o DataSourceOutput) ToDataSourceOutput() DataSourceOutput
- func (o DataSourceOutput) ToDataSourceOutputWithContext(ctx context.Context) DataSourceOutput
- func (o DataSourceOutput) Type() pulumi.StringOutput
- type DataSourceSharedRule
- type DataSourceSharedRuleArgs
- type DataSourceSharedRuleArray
- type DataSourceSharedRuleArrayInput
- type DataSourceSharedRuleArrayOutput
- func (DataSourceSharedRuleArrayOutput) ElementType() reflect.Type
- func (o DataSourceSharedRuleArrayOutput) Index(i pulumi.IntInput) DataSourceSharedRuleOutput
- func (o DataSourceSharedRuleArrayOutput) ToDataSourceSharedRuleArrayOutput() DataSourceSharedRuleArrayOutput
- func (o DataSourceSharedRuleArrayOutput) ToDataSourceSharedRuleArrayOutputWithContext(ctx context.Context) DataSourceSharedRuleArrayOutput
- type DataSourceSharedRuleInput
- type DataSourceSharedRuleMap
- type DataSourceSharedRuleMapInput
- type DataSourceSharedRuleMapOutput
- func (DataSourceSharedRuleMapOutput) ElementType() reflect.Type
- func (o DataSourceSharedRuleMapOutput) MapIndex(k pulumi.StringInput) DataSourceSharedRuleOutput
- func (o DataSourceSharedRuleMapOutput) ToDataSourceSharedRuleMapOutput() DataSourceSharedRuleMapOutput
- func (o DataSourceSharedRuleMapOutput) ToDataSourceSharedRuleMapOutputWithContext(ctx context.Context) DataSourceSharedRuleMapOutput
- type DataSourceSharedRuleOutput
- func (o DataSourceSharedRuleOutput) CreateTime() pulumi.IntOutput
- func (o DataSourceSharedRuleOutput) DataSourceId() pulumi.IntOutput
- func (o DataSourceSharedRuleOutput) DataSourceSharedRuleId() pulumi.StringOutput
- func (DataSourceSharedRuleOutput) ElementType() reflect.Type
- func (o DataSourceSharedRuleOutput) EnvType() pulumi.StringOutput
- func (o DataSourceSharedRuleOutput) SharedUser() pulumi.StringPtrOutput
- func (o DataSourceSharedRuleOutput) TargetProjectId() pulumi.IntOutput
- func (o DataSourceSharedRuleOutput) ToDataSourceSharedRuleOutput() DataSourceSharedRuleOutput
- func (o DataSourceSharedRuleOutput) ToDataSourceSharedRuleOutputWithContext(ctx context.Context) DataSourceSharedRuleOutput
- type DataSourceSharedRuleState
- type DataSourceState
- type Folder
- type FolderArgs
- type FolderArray
- type FolderArrayInput
- type FolderArrayOutput
- type FolderInput
- type FolderMap
- type FolderMapInput
- type FolderMapOutput
- type FolderOutput
- func (FolderOutput) ElementType() reflect.Type
- func (o FolderOutput) FolderId() pulumi.StringOutput
- func (o FolderOutput) FolderPath() pulumi.StringOutput
- func (o FolderOutput) ProjectId() pulumi.StringPtrOutput
- func (o FolderOutput) ProjectIdentifier() pulumi.StringPtrOutput
- func (o FolderOutput) ToFolderOutput() FolderOutput
- func (o FolderOutput) ToFolderOutputWithContext(ctx context.Context) FolderOutput
- type FolderState
- type GetFoldersArgs
- type GetFoldersFolder
- type GetFoldersFolderArgs
- type GetFoldersFolderArray
- type GetFoldersFolderArrayInput
- type GetFoldersFolderArrayOutput
- func (GetFoldersFolderArrayOutput) ElementType() reflect.Type
- func (o GetFoldersFolderArrayOutput) Index(i pulumi.IntInput) GetFoldersFolderOutput
- func (o GetFoldersFolderArrayOutput) ToGetFoldersFolderArrayOutput() GetFoldersFolderArrayOutput
- func (o GetFoldersFolderArrayOutput) ToGetFoldersFolderArrayOutputWithContext(ctx context.Context) GetFoldersFolderArrayOutput
- type GetFoldersFolderInput
- type GetFoldersFolderOutput
- func (GetFoldersFolderOutput) ElementType() reflect.Type
- func (o GetFoldersFolderOutput) FolderId() pulumi.StringOutput
- func (o GetFoldersFolderOutput) FolderPath() pulumi.StringOutput
- func (o GetFoldersFolderOutput) Id() pulumi.StringOutput
- func (o GetFoldersFolderOutput) ProjectId() pulumi.StringOutput
- func (o GetFoldersFolderOutput) ToGetFoldersFolderOutput() GetFoldersFolderOutput
- func (o GetFoldersFolderOutput) ToGetFoldersFolderOutputWithContext(ctx context.Context) GetFoldersFolderOutput
- type GetFoldersOutputArgs
- type GetFoldersResult
- type GetFoldersResultOutput
- func (GetFoldersResultOutput) ElementType() reflect.Type
- func (o GetFoldersResultOutput) Folders() GetFoldersFolderArrayOutput
- func (o GetFoldersResultOutput) Id() pulumi.StringOutput
- func (o GetFoldersResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetFoldersResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetFoldersResultOutput) ParentFolderPath() pulumi.StringOutput
- func (o GetFoldersResultOutput) ProjectId() pulumi.StringOutput
- func (o GetFoldersResultOutput) ToGetFoldersResultOutput() GetFoldersResultOutput
- func (o GetFoldersResultOutput) ToGetFoldersResultOutputWithContext(ctx context.Context) GetFoldersResultOutput
- type GetServiceArgs
- type GetServiceOutputArgs
- type GetServiceResult
- type GetServiceResultOutput
- func (GetServiceResultOutput) ElementType() reflect.Type
- func (o GetServiceResultOutput) Enable() pulumi.StringPtrOutput
- func (o GetServiceResultOutput) Id() pulumi.StringOutput
- func (o GetServiceResultOutput) Status() pulumi.StringOutput
- func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput
- func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput
- type Project
- type ProjectArgs
- type ProjectArray
- type ProjectArrayInput
- type ProjectArrayOutput
- type ProjectInput
- type ProjectMap
- type ProjectMapInput
- type ProjectMapOutput
- type ProjectMember
- type ProjectMemberArgs
- type ProjectMemberArray
- type ProjectMemberArrayInput
- type ProjectMemberArrayOutput
- func (ProjectMemberArrayOutput) ElementType() reflect.Type
- func (o ProjectMemberArrayOutput) Index(i pulumi.IntInput) ProjectMemberOutput
- func (o ProjectMemberArrayOutput) ToProjectMemberArrayOutput() ProjectMemberArrayOutput
- func (o ProjectMemberArrayOutput) ToProjectMemberArrayOutputWithContext(ctx context.Context) ProjectMemberArrayOutput
- type ProjectMemberInput
- type ProjectMemberMap
- type ProjectMemberMapInput
- type ProjectMemberMapOutput
- func (ProjectMemberMapOutput) ElementType() reflect.Type
- func (o ProjectMemberMapOutput) MapIndex(k pulumi.StringInput) ProjectMemberOutput
- func (o ProjectMemberMapOutput) ToProjectMemberMapOutput() ProjectMemberMapOutput
- func (o ProjectMemberMapOutput) ToProjectMemberMapOutputWithContext(ctx context.Context) ProjectMemberMapOutput
- type ProjectMemberOutput
- func (ProjectMemberOutput) ElementType() reflect.Type
- func (o ProjectMemberOutput) ProjectId() pulumi.IntOutput
- func (o ProjectMemberOutput) Roles() ProjectMemberRoleArrayOutput
- func (o ProjectMemberOutput) Status() pulumi.StringOutput
- func (o ProjectMemberOutput) ToProjectMemberOutput() ProjectMemberOutput
- func (o ProjectMemberOutput) ToProjectMemberOutputWithContext(ctx context.Context) ProjectMemberOutput
- func (o ProjectMemberOutput) UserId() pulumi.StringOutput
- type ProjectMemberRole
- type ProjectMemberRoleArgs
- type ProjectMemberRoleArray
- type ProjectMemberRoleArrayInput
- type ProjectMemberRoleArrayOutput
- func (ProjectMemberRoleArrayOutput) ElementType() reflect.Type
- func (o ProjectMemberRoleArrayOutput) Index(i pulumi.IntInput) ProjectMemberRoleOutput
- func (o ProjectMemberRoleArrayOutput) ToProjectMemberRoleArrayOutput() ProjectMemberRoleArrayOutput
- func (o ProjectMemberRoleArrayOutput) ToProjectMemberRoleArrayOutputWithContext(ctx context.Context) ProjectMemberRoleArrayOutput
- type ProjectMemberRoleInput
- type ProjectMemberRoleOutput
- func (o ProjectMemberRoleOutput) Code() pulumi.StringPtrOutput
- func (ProjectMemberRoleOutput) ElementType() reflect.Type
- func (o ProjectMemberRoleOutput) Name() pulumi.StringPtrOutput
- func (o ProjectMemberRoleOutput) ToProjectMemberRoleOutput() ProjectMemberRoleOutput
- func (o ProjectMemberRoleOutput) ToProjectMemberRoleOutputWithContext(ctx context.Context) ProjectMemberRoleOutput
- func (o ProjectMemberRoleOutput) Type() pulumi.StringPtrOutput
- type ProjectMemberState
- type ProjectOutput
- func (o ProjectOutput) Description() pulumi.StringPtrOutput
- func (o ProjectOutput) DevEnvironmentEnabled() pulumi.BoolOutput
- func (o ProjectOutput) DevRoleDisabled() pulumi.BoolOutput
- func (o ProjectOutput) DisplayName() pulumi.StringOutput
- func (ProjectOutput) ElementType() reflect.Type
- func (o ProjectOutput) PaiTaskEnabled() pulumi.BoolOutput
- func (o ProjectOutput) ProjectName() pulumi.StringOutput
- func (o ProjectOutput) ResourceGroupId() pulumi.StringOutput
- func (o ProjectOutput) Status() pulumi.StringOutput
- func (o ProjectOutput) Tags() pulumi.StringMapOutput
- func (o ProjectOutput) ToProjectOutput() ProjectOutput
- func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
- type ProjectState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataSource ¶ added in v3.69.0
type DataSource struct { pulumi.CustomResourceState // Data source connection configuration information, including the connection address, access identity, and environment information. The data source environment EnvType information is a member property of this object, including DEV (Development Environment) and PROD (production environment). The value of EnvType is not case-sensitive. ConnectionProperties pulumi.StringOutput `pulumi:"connectionProperties"` // The configuration mode of the data source. Different types of data sources have different configuration modes. For example, MySQL data sources support UrlMode and InstanceMode. ConnectionPropertiesMode pulumi.StringOutput `pulumi:"connectionPropertiesMode"` // The creation time of the resource CreateTime pulumi.IntOutput `pulumi:"createTime"` // Creator of the data source CreateUser pulumi.StringOutput `pulumi:"createUser"` // The first ID of the resource DataSourceId pulumi.IntOutput `pulumi:"dataSourceId"` // The data source name. The name of a data source in a specific environment (development environment or production environment) is unique in a project. DataSourceName pulumi.StringOutput `pulumi:"dataSourceName"` // Description of the data source Description pulumi.StringPtrOutput `pulumi:"description"` // Modification time ModifyTime pulumi.IntOutput `pulumi:"modifyTime"` // Modifier of the data source ModifyUser pulumi.StringOutput `pulumi:"modifyUser"` // The ID of the project to which the data source belongs. ProjectId pulumi.IntOutput `pulumi:"projectId"` // Business Unique Key of Data Source QualifiedName pulumi.StringOutput `pulumi:"qualifiedName"` // The type of data source. For a list of data source types, see the values listed in the API documentation. Type pulumi.StringOutput `pulumi:"type"` }
Provides a Data Works Data Source resource.
For information about Data Works Data Source and how to use it, see [What is Data Source](https://www.alibabacloud.com/help/en/).
> **NOTE:** Available since v1.237.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"encoding/json" "fmt" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dataworks" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi-random/sdk/v4/go/random" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tf_example" if param := cfg.Get("name"); param != "" { name = param } randint, err := random.NewInteger(ctx, "randint", &random.IntegerArgs{ Max: 999, Min: 1, }) if err != nil { return err } _default, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{}, nil) if err != nil { return err } defaultkguw4R, err := dataworks.NewProject(ctx, "defaultkguw4R", &dataworks.ProjectArgs{ Status: pulumi.String("Available"), Description: pulumi.String("tf_desc"), ProjectName: pulumi.Sprintf("%v%v", name, randint.Id), PaiTaskEnabled: pulumi.Bool(false), DisplayName: pulumi.String("tf_new_api_display"), DevRoleDisabled: pulumi.Bool(true), DevEnvironmentEnabled: pulumi.Bool(false), ResourceGroupId: pulumi.String(_default.Ids[0]), }) if err != nil { return err } tmpJSON0, err := json.Marshal(map[string]interface{}{ "address": []map[string]interface{}{ map[string]interface{}{ "host": "127.0.0.1", "port": "1234", }, }, "database": "hive_database", "metaType": "HiveMetastore", "metastoreUris": "thrift://123:123", "version": "2.3.9", "loginMode": "Anonymous", "securityProtocol": "authTypeNone", "envType": "Prod", "properties": map[string]interface{}{ "key1": "value1", }, }) if err != nil { return err } json0 := string(tmpJSON0) _, err = dataworks.NewDataSource(ctx, "default", &dataworks.DataSourceArgs{ Type: pulumi.String("hive"), DataSourceName: pulumi.String(name), ConnectionProperties: pulumi.String(json0), ConnectionPropertiesMode: pulumi.String("UrlMode"), ProjectId: defaultkguw4R.ID(), Description: pulumi.String(name), }) if err != nil { return err } return nil }) }
```
## Import
Data Works Data Source can be imported using the id, e.g.
```sh $ pulumi import alicloud:dataworks/dataSource:DataSource example <project_id>:<data_source_id> ```
func GetDataSource ¶ added in v3.69.0
func GetDataSource(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DataSourceState, opts ...pulumi.ResourceOption) (*DataSource, error)
GetDataSource gets an existing DataSource resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDataSource ¶ added in v3.69.0
func NewDataSource(ctx *pulumi.Context, name string, args *DataSourceArgs, opts ...pulumi.ResourceOption) (*DataSource, error)
NewDataSource registers a new resource with the given unique name, arguments, and options.
func (*DataSource) ElementType ¶ added in v3.69.0
func (*DataSource) ElementType() reflect.Type
func (*DataSource) ToDataSourceOutput ¶ added in v3.69.0
func (i *DataSource) ToDataSourceOutput() DataSourceOutput
func (*DataSource) ToDataSourceOutputWithContext ¶ added in v3.69.0
func (i *DataSource) ToDataSourceOutputWithContext(ctx context.Context) DataSourceOutput
type DataSourceArgs ¶ added in v3.69.0
type DataSourceArgs struct { // Data source connection configuration information, including the connection address, access identity, and environment information. The data source environment EnvType information is a member property of this object, including DEV (Development Environment) and PROD (production environment). The value of EnvType is not case-sensitive. ConnectionProperties pulumi.StringInput // The configuration mode of the data source. Different types of data sources have different configuration modes. For example, MySQL data sources support UrlMode and InstanceMode. ConnectionPropertiesMode pulumi.StringInput // The data source name. The name of a data source in a specific environment (development environment or production environment) is unique in a project. DataSourceName pulumi.StringInput // Description of the data source Description pulumi.StringPtrInput // The ID of the project to which the data source belongs. ProjectId pulumi.IntInput // The type of data source. For a list of data source types, see the values listed in the API documentation. Type pulumi.StringInput }
The set of arguments for constructing a DataSource resource.
func (DataSourceArgs) ElementType ¶ added in v3.69.0
func (DataSourceArgs) ElementType() reflect.Type
type DataSourceArray ¶ added in v3.69.0
type DataSourceArray []DataSourceInput
func (DataSourceArray) ElementType ¶ added in v3.69.0
func (DataSourceArray) ElementType() reflect.Type
func (DataSourceArray) ToDataSourceArrayOutput ¶ added in v3.69.0
func (i DataSourceArray) ToDataSourceArrayOutput() DataSourceArrayOutput
func (DataSourceArray) ToDataSourceArrayOutputWithContext ¶ added in v3.69.0
func (i DataSourceArray) ToDataSourceArrayOutputWithContext(ctx context.Context) DataSourceArrayOutput
type DataSourceArrayInput ¶ added in v3.69.0
type DataSourceArrayInput interface { pulumi.Input ToDataSourceArrayOutput() DataSourceArrayOutput ToDataSourceArrayOutputWithContext(context.Context) DataSourceArrayOutput }
DataSourceArrayInput is an input type that accepts DataSourceArray and DataSourceArrayOutput values. You can construct a concrete instance of `DataSourceArrayInput` via:
DataSourceArray{ DataSourceArgs{...} }
type DataSourceArrayOutput ¶ added in v3.69.0
type DataSourceArrayOutput struct{ *pulumi.OutputState }
func (DataSourceArrayOutput) ElementType ¶ added in v3.69.0
func (DataSourceArrayOutput) ElementType() reflect.Type
func (DataSourceArrayOutput) Index ¶ added in v3.69.0
func (o DataSourceArrayOutput) Index(i pulumi.IntInput) DataSourceOutput
func (DataSourceArrayOutput) ToDataSourceArrayOutput ¶ added in v3.69.0
func (o DataSourceArrayOutput) ToDataSourceArrayOutput() DataSourceArrayOutput
func (DataSourceArrayOutput) ToDataSourceArrayOutputWithContext ¶ added in v3.69.0
func (o DataSourceArrayOutput) ToDataSourceArrayOutputWithContext(ctx context.Context) DataSourceArrayOutput
type DataSourceInput ¶ added in v3.69.0
type DataSourceInput interface { pulumi.Input ToDataSourceOutput() DataSourceOutput ToDataSourceOutputWithContext(ctx context.Context) DataSourceOutput }
type DataSourceMap ¶ added in v3.69.0
type DataSourceMap map[string]DataSourceInput
func (DataSourceMap) ElementType ¶ added in v3.69.0
func (DataSourceMap) ElementType() reflect.Type
func (DataSourceMap) ToDataSourceMapOutput ¶ added in v3.69.0
func (i DataSourceMap) ToDataSourceMapOutput() DataSourceMapOutput
func (DataSourceMap) ToDataSourceMapOutputWithContext ¶ added in v3.69.0
func (i DataSourceMap) ToDataSourceMapOutputWithContext(ctx context.Context) DataSourceMapOutput
type DataSourceMapInput ¶ added in v3.69.0
type DataSourceMapInput interface { pulumi.Input ToDataSourceMapOutput() DataSourceMapOutput ToDataSourceMapOutputWithContext(context.Context) DataSourceMapOutput }
DataSourceMapInput is an input type that accepts DataSourceMap and DataSourceMapOutput values. You can construct a concrete instance of `DataSourceMapInput` via:
DataSourceMap{ "key": DataSourceArgs{...} }
type DataSourceMapOutput ¶ added in v3.69.0
type DataSourceMapOutput struct{ *pulumi.OutputState }
func (DataSourceMapOutput) ElementType ¶ added in v3.69.0
func (DataSourceMapOutput) ElementType() reflect.Type
func (DataSourceMapOutput) MapIndex ¶ added in v3.69.0
func (o DataSourceMapOutput) MapIndex(k pulumi.StringInput) DataSourceOutput
func (DataSourceMapOutput) ToDataSourceMapOutput ¶ added in v3.69.0
func (o DataSourceMapOutput) ToDataSourceMapOutput() DataSourceMapOutput
func (DataSourceMapOutput) ToDataSourceMapOutputWithContext ¶ added in v3.69.0
func (o DataSourceMapOutput) ToDataSourceMapOutputWithContext(ctx context.Context) DataSourceMapOutput
type DataSourceOutput ¶ added in v3.69.0
type DataSourceOutput struct{ *pulumi.OutputState }
func (DataSourceOutput) ConnectionProperties ¶ added in v3.69.0
func (o DataSourceOutput) ConnectionProperties() pulumi.StringOutput
Data source connection configuration information, including the connection address, access identity, and environment information. The data source environment EnvType information is a member property of this object, including DEV (Development Environment) and PROD (production environment). The value of EnvType is not case-sensitive.
func (DataSourceOutput) ConnectionPropertiesMode ¶ added in v3.69.0
func (o DataSourceOutput) ConnectionPropertiesMode() pulumi.StringOutput
The configuration mode of the data source. Different types of data sources have different configuration modes. For example, MySQL data sources support UrlMode and InstanceMode.
func (DataSourceOutput) CreateTime ¶ added in v3.69.0
func (o DataSourceOutput) CreateTime() pulumi.IntOutput
The creation time of the resource
func (DataSourceOutput) CreateUser ¶ added in v3.69.0
func (o DataSourceOutput) CreateUser() pulumi.StringOutput
Creator of the data source
func (DataSourceOutput) DataSourceId ¶ added in v3.69.0
func (o DataSourceOutput) DataSourceId() pulumi.IntOutput
The first ID of the resource
func (DataSourceOutput) DataSourceName ¶ added in v3.69.0
func (o DataSourceOutput) DataSourceName() pulumi.StringOutput
The data source name. The name of a data source in a specific environment (development environment or production environment) is unique in a project.
func (DataSourceOutput) Description ¶ added in v3.69.0
func (o DataSourceOutput) Description() pulumi.StringPtrOutput
Description of the data source
func (DataSourceOutput) ElementType ¶ added in v3.69.0
func (DataSourceOutput) ElementType() reflect.Type
func (DataSourceOutput) ModifyTime ¶ added in v3.69.0
func (o DataSourceOutput) ModifyTime() pulumi.IntOutput
Modification time
func (DataSourceOutput) ModifyUser ¶ added in v3.69.0
func (o DataSourceOutput) ModifyUser() pulumi.StringOutput
Modifier of the data source
func (DataSourceOutput) ProjectId ¶ added in v3.69.0
func (o DataSourceOutput) ProjectId() pulumi.IntOutput
The ID of the project to which the data source belongs.
func (DataSourceOutput) QualifiedName ¶ added in v3.69.0
func (o DataSourceOutput) QualifiedName() pulumi.StringOutput
Business Unique Key of Data Source
func (DataSourceOutput) ToDataSourceOutput ¶ added in v3.69.0
func (o DataSourceOutput) ToDataSourceOutput() DataSourceOutput
func (DataSourceOutput) ToDataSourceOutputWithContext ¶ added in v3.69.0
func (o DataSourceOutput) ToDataSourceOutputWithContext(ctx context.Context) DataSourceOutput
func (DataSourceOutput) Type ¶ added in v3.69.0
func (o DataSourceOutput) Type() pulumi.StringOutput
The type of data source. For a list of data source types, see the values listed in the API documentation.
type DataSourceSharedRule ¶ added in v3.69.0
type DataSourceSharedRule struct { pulumi.IntOutput `pulumi:"createTime"` DataSourceId pulumi.IntOutput `pulumi:"dataSourceId"` DataSourceSharedRuleId pulumi.StringOutput `pulumi:"dataSourceSharedRuleId"` EnvType pulumi.StringOutput `pulumi:"envType"` SharedUser pulumi.StringPtrOutput `pulumi:"sharedUser"` TargetProjectId pulumi.IntOutput `pulumi:"targetProjectId"` }CreateTime
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](https://www.alibabacloud.com/help/en/).
> **NOTE:** Available since v1.237.0.
## Import
Data Works Data Source Shared Rule can be imported using the id, e.g.
```sh $ pulumi import alicloud:dataworks/dataSourceSharedRule:DataSourceSharedRule example <data_source_id>:<data_source_shared_rule_id> ```
func GetDataSourceSharedRule ¶ added in v3.69.0
func GetDataSourceSharedRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DataSourceSharedRuleState, opts ...pulumi.ResourceOption) (*DataSourceSharedRule, error)
GetDataSourceSharedRule gets an existing DataSourceSharedRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDataSourceSharedRule ¶ added in v3.69.0
func NewDataSourceSharedRule(ctx *pulumi.Context, name string, args *DataSourceSharedRuleArgs, opts ...pulumi.ResourceOption) (*DataSourceSharedRule, error)
NewDataSourceSharedRule registers a new resource with the given unique name, arguments, and options.
func (*DataSourceSharedRule) ElementType ¶ added in v3.69.0
func (*DataSourceSharedRule) ElementType() reflect.Type
func (*DataSourceSharedRule) ToDataSourceSharedRuleOutput ¶ added in v3.69.0
func (i *DataSourceSharedRule) ToDataSourceSharedRuleOutput() DataSourceSharedRuleOutput
func (*DataSourceSharedRule) ToDataSourceSharedRuleOutputWithContext ¶ added in v3.69.0
func (i *DataSourceSharedRule) ToDataSourceSharedRuleOutputWithContext(ctx context.Context) DataSourceSharedRuleOutput
type DataSourceSharedRuleArgs ¶ added in v3.69.0
type DataSourceSharedRuleArgs struct { pulumi.IntInput EnvType pulumi.StringInput SharedUser pulumi.StringPtrInput TargetProjectId pulumi.IntInput }DataSourceId
The set of arguments for constructing a DataSourceSharedRule resource.
func (DataSourceSharedRuleArgs) ElementType ¶ added in v3.69.0
func (DataSourceSharedRuleArgs) ElementType() reflect.Type
type DataSourceSharedRuleArray ¶ added in v3.69.0
type DataSourceSharedRuleArray []DataSourceSharedRuleInput
func (DataSourceSharedRuleArray) ElementType ¶ added in v3.69.0
func (DataSourceSharedRuleArray) ElementType() reflect.Type
func (DataSourceSharedRuleArray) ToDataSourceSharedRuleArrayOutput ¶ added in v3.69.0
func (i DataSourceSharedRuleArray) ToDataSourceSharedRuleArrayOutput() DataSourceSharedRuleArrayOutput
func (DataSourceSharedRuleArray) ToDataSourceSharedRuleArrayOutputWithContext ¶ added in v3.69.0
func (i DataSourceSharedRuleArray) ToDataSourceSharedRuleArrayOutputWithContext(ctx context.Context) DataSourceSharedRuleArrayOutput
type DataSourceSharedRuleArrayInput ¶ added in v3.69.0
DataSourceSharedRuleArrayInput is an input type that accepts DataSourceSharedRuleArray and DataSourceSharedRuleArrayOutput values. You can construct a concrete instance of `DataSourceSharedRuleArrayInput` via:
DataSourceSharedRuleArray{ DataSourceSharedRuleArgs{...} }
type DataSourceSharedRuleArrayOutput ¶ added in v3.69.0
func (DataSourceSharedRuleArrayOutput) ElementType ¶ added in v3.69.0
func (DataSourceSharedRuleArrayOutput) ElementType() reflect.Type
func (DataSourceSharedRuleArrayOutput) Index ¶ added in v3.69.0
func (o DataSourceSharedRuleArrayOutput) Index(i pulumi.IntInput) DataSourceSharedRuleOutput
func (DataSourceSharedRuleArrayOutput) ToDataSourceSharedRuleArrayOutput ¶ added in v3.69.0
func (o DataSourceSharedRuleArrayOutput) ToDataSourceSharedRuleArrayOutput() DataSourceSharedRuleArrayOutput
func (DataSourceSharedRuleArrayOutput) ToDataSourceSharedRuleArrayOutputWithContext ¶ added in v3.69.0
func (o DataSourceSharedRuleArrayOutput) ToDataSourceSharedRuleArrayOutputWithContext(ctx context.Context) DataSourceSharedRuleArrayOutput
type DataSourceSharedRuleInput ¶ added in v3.69.0
type DataSourceSharedRuleMap ¶ added in v3.69.0
type DataSourceSharedRuleMap map[string]DataSourceSharedRuleInput
func (DataSourceSharedRuleMap) ElementType ¶ added in v3.69.0
func (DataSourceSharedRuleMap) ElementType() reflect.Type
func (DataSourceSharedRuleMap) ToDataSourceSharedRuleMapOutput ¶ added in v3.69.0
func (i DataSourceSharedRuleMap) ToDataSourceSharedRuleMapOutput() DataSourceSharedRuleMapOutput
func (DataSourceSharedRuleMap) ToDataSourceSharedRuleMapOutputWithContext ¶ added in v3.69.0
func (i DataSourceSharedRuleMap) ToDataSourceSharedRuleMapOutputWithContext(ctx context.Context) DataSourceSharedRuleMapOutput
type DataSourceSharedRuleMapInput ¶ added in v3.69.0
DataSourceSharedRuleMapInput is an input type that accepts DataSourceSharedRuleMap and DataSourceSharedRuleMapOutput values. You can construct a concrete instance of `DataSourceSharedRuleMapInput` via:
DataSourceSharedRuleMap{ "key": DataSourceSharedRuleArgs{...} }
type DataSourceSharedRuleMapOutput ¶ added in v3.69.0
func (DataSourceSharedRuleMapOutput) ElementType ¶ added in v3.69.0
func (DataSourceSharedRuleMapOutput) ElementType() reflect.Type
func (DataSourceSharedRuleMapOutput) MapIndex ¶ added in v3.69.0
func (o DataSourceSharedRuleMapOutput) MapIndex(k pulumi.StringInput) DataSourceSharedRuleOutput
func (DataSourceSharedRuleMapOutput) ToDataSourceSharedRuleMapOutput ¶ added in v3.69.0
func (o DataSourceSharedRuleMapOutput) ToDataSourceSharedRuleMapOutput() DataSourceSharedRuleMapOutput
func (DataSourceSharedRuleMapOutput) ToDataSourceSharedRuleMapOutputWithContext ¶ added in v3.69.0
func (o DataSourceSharedRuleMapOutput) ToDataSourceSharedRuleMapOutputWithContext(ctx context.Context) DataSourceSharedRuleMapOutput
type DataSourceSharedRuleOutput ¶ added in v3.69.0
func (DataSourceSharedRuleOutput) CreateTime ¶ added in v3.69.0
func (o DataSourceSharedRuleOutput) CreateTime() pulumi.IntOutput
The creation time of the data source sharing rule.
func (DataSourceSharedRuleOutput) DataSourceId ¶ added in v3.69.0
func (o DataSourceSharedRuleOutput) DataSourceId() pulumi.IntOutput
The ID of the data source, that is, the unique identifier of the data source.
func (DataSourceSharedRuleOutput) DataSourceSharedRuleId ¶ added in v3.69.0
func (o DataSourceSharedRuleOutput) DataSourceSharedRuleId() pulumi.StringOutput
The data source sharing rule ID, that is, the unique identifier of the data source sharing rule.
func (DataSourceSharedRuleOutput) ElementType ¶ added in v3.69.0
func (DataSourceSharedRuleOutput) ElementType() reflect.Type
func (DataSourceSharedRuleOutput) EnvType ¶ added in v3.69.0
func (o DataSourceSharedRuleOutput) EnvType() pulumi.StringOutput
The environment type of the data source shared to the target project, such as Dev (Development Environment) and Prod (production environment).
func (DataSourceSharedRuleOutput) SharedUser ¶ added in v3.69.0
func (o DataSourceSharedRuleOutput) SharedUser() pulumi.StringPtrOutput
The target user of the data source permission policy, which is null to share to the project.
func (DataSourceSharedRuleOutput) TargetProjectId ¶ added in v3.69.0
func (o DataSourceSharedRuleOutput) TargetProjectId() pulumi.IntOutput
The ID of the project to which the data source is shared.
func (DataSourceSharedRuleOutput) ToDataSourceSharedRuleOutput ¶ added in v3.69.0
func (o DataSourceSharedRuleOutput) ToDataSourceSharedRuleOutput() DataSourceSharedRuleOutput
func (DataSourceSharedRuleOutput) ToDataSourceSharedRuleOutputWithContext ¶ added in v3.69.0
func (o DataSourceSharedRuleOutput) ToDataSourceSharedRuleOutputWithContext(ctx context.Context) DataSourceSharedRuleOutput
type DataSourceSharedRuleState ¶ added in v3.69.0
type DataSourceSharedRuleState struct { pulumi.IntPtrInput DataSourceId pulumi.IntPtrInput DataSourceSharedRuleId pulumi.StringPtrInput EnvType pulumi.StringPtrInput SharedUser pulumi.StringPtrInput TargetProjectId pulumi.IntPtrInput }CreateTime
func (DataSourceSharedRuleState) ElementType ¶ added in v3.69.0
func (DataSourceSharedRuleState) ElementType() reflect.Type
type DataSourceState ¶ added in v3.69.0
type DataSourceState struct { // Data source connection configuration information, including the connection address, access identity, and environment information. The data source environment EnvType information is a member property of this object, including DEV (Development Environment) and PROD (production environment). The value of EnvType is not case-sensitive. ConnectionProperties pulumi.StringPtrInput // The configuration mode of the data source. Different types of data sources have different configuration modes. For example, MySQL data sources support UrlMode and InstanceMode. ConnectionPropertiesMode pulumi.StringPtrInput // The creation time of the resource CreateTime pulumi.IntPtrInput // Creator of the data source CreateUser pulumi.StringPtrInput // The first ID of the resource DataSourceId pulumi.IntPtrInput // The data source name. The name of a data source in a specific environment (development environment or production environment) is unique in a project. DataSourceName pulumi.StringPtrInput // Description of the data source Description pulumi.StringPtrInput // Modification time ModifyTime pulumi.IntPtrInput // Modifier of the data source ModifyUser pulumi.StringPtrInput // The ID of the project to which the data source belongs. ProjectId pulumi.IntPtrInput // Business Unique Key of Data Source QualifiedName pulumi.StringPtrInput // The type of data source. For a list of data source types, see the values listed in the API documentation. Type pulumi.StringPtrInput }
func (DataSourceState) ElementType ¶ added in v3.69.0
func (DataSourceState) ElementType() reflect.Type
type Folder ¶ added in v3.6.0
type Folder struct { pulumi.CustomResourceState FolderId pulumi.StringOutput `pulumi:"folderId"` // Folder Path. The folder path composed with for part: `Business Flow/{Business Flow Name}/[folderDi|folderMaxCompute|folderGeneral|folderJdbc|folderUserDefined]/{Directory Name}`. The first segment of path must be `Business Flow`, and sencond segment of path must be a Business Flow Name within the project. The third part of path must be one of those keywords:`folderDi|folderMaxCompute|folderGeneral|folderJdbc|folderUserDefined`. Then the finial part of folder path can be specified in yourself. FolderPath pulumi.StringOutput `pulumi:"folderPath"` // The ID of the project. ProjectId pulumi.StringPtrOutput `pulumi:"projectId"` ProjectIdentifier pulumi.StringPtrOutput `pulumi:"projectIdentifier"` }
Provides a Data Works Folder resource.
For information about Data Works Folder and how to use it, see [What is Folder](https://help.aliyun.com/document_detail/173940.html).
> **NOTE:** Available in v1.131.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dataworks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := dataworks.NewFolder(ctx, "example", &dataworks.FolderArgs{ ProjectId: pulumi.String("320687"), FolderPath: pulumi.String("Business Flow/tfTestAcc/folderDi/tftest1"), }) if err != nil { return err } return nil }) }
```
## Import
Data Works Folder can be imported using the id, e.g.
```sh $ pulumi import alicloud:dataworks/folder:Folder example <folder_id>:<$.ProjectId> ```
func GetFolder ¶ added in v3.6.0
func GetFolder(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FolderState, opts ...pulumi.ResourceOption) (*Folder, error)
GetFolder gets an existing Folder resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFolder ¶ added in v3.6.0
func NewFolder(ctx *pulumi.Context, name string, args *FolderArgs, opts ...pulumi.ResourceOption) (*Folder, error)
NewFolder registers a new resource with the given unique name, arguments, and options.
func (*Folder) ElementType ¶ added in v3.6.0
func (*Folder) ToFolderOutput ¶ added in v3.6.0
func (i *Folder) ToFolderOutput() FolderOutput
func (*Folder) ToFolderOutputWithContext ¶ added in v3.6.0
func (i *Folder) ToFolderOutputWithContext(ctx context.Context) FolderOutput
type FolderArgs ¶ added in v3.6.0
type FolderArgs struct { // Folder Path. The folder path composed with for part: `Business Flow/{Business Flow Name}/[folderDi|folderMaxCompute|folderGeneral|folderJdbc|folderUserDefined]/{Directory Name}`. The first segment of path must be `Business Flow`, and sencond segment of path must be a Business Flow Name within the project. The third part of path must be one of those keywords:`folderDi|folderMaxCompute|folderGeneral|folderJdbc|folderUserDefined`. Then the finial part of folder path can be specified in yourself. FolderPath pulumi.StringInput // The ID of the project. ProjectId pulumi.StringPtrInput ProjectIdentifier pulumi.StringPtrInput }
The set of arguments for constructing a Folder resource.
func (FolderArgs) ElementType ¶ added in v3.6.0
func (FolderArgs) ElementType() reflect.Type
type FolderArray ¶ added in v3.6.0
type FolderArray []FolderInput
func (FolderArray) ElementType ¶ added in v3.6.0
func (FolderArray) ElementType() reflect.Type
func (FolderArray) ToFolderArrayOutput ¶ added in v3.6.0
func (i FolderArray) ToFolderArrayOutput() FolderArrayOutput
func (FolderArray) ToFolderArrayOutputWithContext ¶ added in v3.6.0
func (i FolderArray) ToFolderArrayOutputWithContext(ctx context.Context) FolderArrayOutput
type FolderArrayInput ¶ added in v3.6.0
type FolderArrayInput interface { pulumi.Input ToFolderArrayOutput() FolderArrayOutput ToFolderArrayOutputWithContext(context.Context) FolderArrayOutput }
FolderArrayInput is an input type that accepts FolderArray and FolderArrayOutput values. You can construct a concrete instance of `FolderArrayInput` via:
FolderArray{ FolderArgs{...} }
type FolderArrayOutput ¶ added in v3.6.0
type FolderArrayOutput struct{ *pulumi.OutputState }
func (FolderArrayOutput) ElementType ¶ added in v3.6.0
func (FolderArrayOutput) ElementType() reflect.Type
func (FolderArrayOutput) Index ¶ added in v3.6.0
func (o FolderArrayOutput) Index(i pulumi.IntInput) FolderOutput
func (FolderArrayOutput) ToFolderArrayOutput ¶ added in v3.6.0
func (o FolderArrayOutput) ToFolderArrayOutput() FolderArrayOutput
func (FolderArrayOutput) ToFolderArrayOutputWithContext ¶ added in v3.6.0
func (o FolderArrayOutput) ToFolderArrayOutputWithContext(ctx context.Context) FolderArrayOutput
type FolderInput ¶ added in v3.6.0
type FolderInput interface { pulumi.Input ToFolderOutput() FolderOutput ToFolderOutputWithContext(ctx context.Context) FolderOutput }
type FolderMap ¶ added in v3.6.0
type FolderMap map[string]FolderInput
func (FolderMap) ElementType ¶ added in v3.6.0
func (FolderMap) ToFolderMapOutput ¶ added in v3.6.0
func (i FolderMap) ToFolderMapOutput() FolderMapOutput
func (FolderMap) ToFolderMapOutputWithContext ¶ added in v3.6.0
func (i FolderMap) ToFolderMapOutputWithContext(ctx context.Context) FolderMapOutput
type FolderMapInput ¶ added in v3.6.0
type FolderMapInput interface { pulumi.Input ToFolderMapOutput() FolderMapOutput ToFolderMapOutputWithContext(context.Context) FolderMapOutput }
FolderMapInput is an input type that accepts FolderMap and FolderMapOutput values. You can construct a concrete instance of `FolderMapInput` via:
FolderMap{ "key": FolderArgs{...} }
type FolderMapOutput ¶ added in v3.6.0
type FolderMapOutput struct{ *pulumi.OutputState }
func (FolderMapOutput) ElementType ¶ added in v3.6.0
func (FolderMapOutput) ElementType() reflect.Type
func (FolderMapOutput) MapIndex ¶ added in v3.6.0
func (o FolderMapOutput) MapIndex(k pulumi.StringInput) FolderOutput
func (FolderMapOutput) ToFolderMapOutput ¶ added in v3.6.0
func (o FolderMapOutput) ToFolderMapOutput() FolderMapOutput
func (FolderMapOutput) ToFolderMapOutputWithContext ¶ added in v3.6.0
func (o FolderMapOutput) ToFolderMapOutputWithContext(ctx context.Context) FolderMapOutput
type FolderOutput ¶ added in v3.6.0
type FolderOutput struct{ *pulumi.OutputState }
func (FolderOutput) ElementType ¶ added in v3.6.0
func (FolderOutput) ElementType() reflect.Type
func (FolderOutput) FolderId ¶ added in v3.27.0
func (o FolderOutput) FolderId() pulumi.StringOutput
func (FolderOutput) FolderPath ¶ added in v3.27.0
func (o FolderOutput) FolderPath() pulumi.StringOutput
Folder Path. The folder path composed with for part: `Business Flow/{Business Flow Name}/[folderDi|folderMaxCompute|folderGeneral|folderJdbc|folderUserDefined]/{Directory Name}`. The first segment of path must be `Business Flow`, and sencond segment of path must be a Business Flow Name within the project. The third part of path must be one of those keywords:`folderDi|folderMaxCompute|folderGeneral|folderJdbc|folderUserDefined`. Then the finial part of folder path can be specified in yourself.
func (FolderOutput) ProjectId ¶ added in v3.27.0
func (o FolderOutput) ProjectId() pulumi.StringPtrOutput
The ID of the project.
func (FolderOutput) ProjectIdentifier ¶ added in v3.27.0
func (o FolderOutput) ProjectIdentifier() pulumi.StringPtrOutput
func (FolderOutput) ToFolderOutput ¶ added in v3.6.0
func (o FolderOutput) ToFolderOutput() FolderOutput
func (FolderOutput) ToFolderOutputWithContext ¶ added in v3.6.0
func (o FolderOutput) ToFolderOutputWithContext(ctx context.Context) FolderOutput
type FolderState ¶ added in v3.6.0
type FolderState struct { FolderId pulumi.StringPtrInput // Folder Path. The folder path composed with for part: `Business Flow/{Business Flow Name}/[folderDi|folderMaxCompute|folderGeneral|folderJdbc|folderUserDefined]/{Directory Name}`. The first segment of path must be `Business Flow`, and sencond segment of path must be a Business Flow Name within the project. The third part of path must be one of those keywords:`folderDi|folderMaxCompute|folderGeneral|folderJdbc|folderUserDefined`. Then the finial part of folder path can be specified in yourself. FolderPath pulumi.StringPtrInput // The ID of the project. ProjectId pulumi.StringPtrInput ProjectIdentifier pulumi.StringPtrInput }
func (FolderState) ElementType ¶ added in v3.6.0
func (FolderState) ElementType() reflect.Type
type GetFoldersArgs ¶ added in v3.6.0
type GetFoldersArgs struct { // A list of Folder IDs. Ids []string `pulumi:"ids"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // The parent folder path. ParentFolderPath string `pulumi:"parentFolderPath"` // The ID of the project. ProjectId string `pulumi:"projectId"` }
A collection of arguments for invoking getFolders.
type GetFoldersFolder ¶ added in v3.6.0
type GetFoldersFolderArgs ¶ added in v3.6.0
type GetFoldersFolderArgs struct { FolderId pulumi.StringInput `pulumi:"folderId"` // Folder Path. FolderPath pulumi.StringInput `pulumi:"folderPath"` // The Folder ID. Id pulumi.StringInput `pulumi:"id"` // The ID of the project. ProjectId pulumi.StringInput `pulumi:"projectId"` }
func (GetFoldersFolderArgs) ElementType ¶ added in v3.6.0
func (GetFoldersFolderArgs) ElementType() reflect.Type
func (GetFoldersFolderArgs) ToGetFoldersFolderOutput ¶ added in v3.6.0
func (i GetFoldersFolderArgs) ToGetFoldersFolderOutput() GetFoldersFolderOutput
func (GetFoldersFolderArgs) ToGetFoldersFolderOutputWithContext ¶ added in v3.6.0
func (i GetFoldersFolderArgs) ToGetFoldersFolderOutputWithContext(ctx context.Context) GetFoldersFolderOutput
type GetFoldersFolderArray ¶ added in v3.6.0
type GetFoldersFolderArray []GetFoldersFolderInput
func (GetFoldersFolderArray) ElementType ¶ added in v3.6.0
func (GetFoldersFolderArray) ElementType() reflect.Type
func (GetFoldersFolderArray) ToGetFoldersFolderArrayOutput ¶ added in v3.6.0
func (i GetFoldersFolderArray) ToGetFoldersFolderArrayOutput() GetFoldersFolderArrayOutput
func (GetFoldersFolderArray) ToGetFoldersFolderArrayOutputWithContext ¶ added in v3.6.0
func (i GetFoldersFolderArray) ToGetFoldersFolderArrayOutputWithContext(ctx context.Context) GetFoldersFolderArrayOutput
type GetFoldersFolderArrayInput ¶ added in v3.6.0
type GetFoldersFolderArrayInput interface { pulumi.Input ToGetFoldersFolderArrayOutput() GetFoldersFolderArrayOutput ToGetFoldersFolderArrayOutputWithContext(context.Context) GetFoldersFolderArrayOutput }
GetFoldersFolderArrayInput is an input type that accepts GetFoldersFolderArray and GetFoldersFolderArrayOutput values. You can construct a concrete instance of `GetFoldersFolderArrayInput` via:
GetFoldersFolderArray{ GetFoldersFolderArgs{...} }
type GetFoldersFolderArrayOutput ¶ added in v3.6.0
type GetFoldersFolderArrayOutput struct{ *pulumi.OutputState }
func (GetFoldersFolderArrayOutput) ElementType ¶ added in v3.6.0
func (GetFoldersFolderArrayOutput) ElementType() reflect.Type
func (GetFoldersFolderArrayOutput) Index ¶ added in v3.6.0
func (o GetFoldersFolderArrayOutput) Index(i pulumi.IntInput) GetFoldersFolderOutput
func (GetFoldersFolderArrayOutput) ToGetFoldersFolderArrayOutput ¶ added in v3.6.0
func (o GetFoldersFolderArrayOutput) ToGetFoldersFolderArrayOutput() GetFoldersFolderArrayOutput
func (GetFoldersFolderArrayOutput) ToGetFoldersFolderArrayOutputWithContext ¶ added in v3.6.0
func (o GetFoldersFolderArrayOutput) ToGetFoldersFolderArrayOutputWithContext(ctx context.Context) GetFoldersFolderArrayOutput
type GetFoldersFolderInput ¶ added in v3.6.0
type GetFoldersFolderInput interface { pulumi.Input ToGetFoldersFolderOutput() GetFoldersFolderOutput ToGetFoldersFolderOutputWithContext(context.Context) GetFoldersFolderOutput }
GetFoldersFolderInput is an input type that accepts GetFoldersFolderArgs and GetFoldersFolderOutput values. You can construct a concrete instance of `GetFoldersFolderInput` via:
GetFoldersFolderArgs{...}
type GetFoldersFolderOutput ¶ added in v3.6.0
type GetFoldersFolderOutput struct{ *pulumi.OutputState }
func (GetFoldersFolderOutput) ElementType ¶ added in v3.6.0
func (GetFoldersFolderOutput) ElementType() reflect.Type
func (GetFoldersFolderOutput) FolderId ¶ added in v3.6.0
func (o GetFoldersFolderOutput) FolderId() pulumi.StringOutput
func (GetFoldersFolderOutput) FolderPath ¶ added in v3.6.0
func (o GetFoldersFolderOutput) FolderPath() pulumi.StringOutput
Folder Path.
func (GetFoldersFolderOutput) Id ¶ added in v3.6.0
func (o GetFoldersFolderOutput) Id() pulumi.StringOutput
The Folder ID.
func (GetFoldersFolderOutput) ProjectId ¶ added in v3.6.0
func (o GetFoldersFolderOutput) ProjectId() pulumi.StringOutput
The ID of the project.
func (GetFoldersFolderOutput) ToGetFoldersFolderOutput ¶ added in v3.6.0
func (o GetFoldersFolderOutput) ToGetFoldersFolderOutput() GetFoldersFolderOutput
func (GetFoldersFolderOutput) ToGetFoldersFolderOutputWithContext ¶ added in v3.6.0
func (o GetFoldersFolderOutput) ToGetFoldersFolderOutputWithContext(ctx context.Context) GetFoldersFolderOutput
type GetFoldersOutputArgs ¶ added in v3.9.0
type GetFoldersOutputArgs struct { // A list of Folder IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The parent folder path. ParentFolderPath pulumi.StringInput `pulumi:"parentFolderPath"` // The ID of the project. ProjectId pulumi.StringInput `pulumi:"projectId"` }
A collection of arguments for invoking getFolders.
func (GetFoldersOutputArgs) ElementType ¶ added in v3.9.0
func (GetFoldersOutputArgs) ElementType() reflect.Type
type GetFoldersResult ¶ added in v3.6.0
type GetFoldersResult struct { Folders []GetFoldersFolder `pulumi:"folders"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` ParentFolderPath string `pulumi:"parentFolderPath"` ProjectId string `pulumi:"projectId"` }
A collection of values returned by getFolders.
func GetFolders ¶ added in v3.6.0
func GetFolders(ctx *pulumi.Context, args *GetFoldersArgs, opts ...pulumi.InvokeOption) (*GetFoldersResult, error)
This data source provides the Data Works Folders of the current Alibaba Cloud user.
> **NOTE:** Available in v1.131.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dataworks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := dataworks.NewFolder(ctx, "default", &dataworks.FolderArgs{ ProjectId: pulumi.String("xxxx"), FolderPath: pulumi.String("Business Flow/tfTestAcc/folderDi"), }) if err != nil { return err } ids := pulumi.All(_default.FolderId, _default.ProjectId).ApplyT(func(_args []interface{}) (dataworks.GetFoldersResult, error) { folderId := _args[0].(string) projectId := _args[1].(*string) return dataworks.GetFoldersResult(interface{}(dataworks.GetFoldersOutput(ctx, dataworks.GetFoldersOutputArgs{ Ids: []string{ folderId, }, ProjectId: projectId, ParentFolderPath: "Business Flow/tfTestAcc/folderDi", }, nil))), nil }).(dataworks.GetFoldersResultOutput) ctx.Export("dataWorksFolderId1", ids.ApplyT(func(ids dataworks.GetFoldersResult) (*string, error) { return &ids.Folders[0].Id, nil }).(pulumi.StringPtrOutput)) return nil }) }
```
type GetFoldersResultOutput ¶ added in v3.9.0
type GetFoldersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFolders.
func GetFoldersOutput ¶ added in v3.9.0
func GetFoldersOutput(ctx *pulumi.Context, args GetFoldersOutputArgs, opts ...pulumi.InvokeOption) GetFoldersResultOutput
func (GetFoldersResultOutput) ElementType ¶ added in v3.9.0
func (GetFoldersResultOutput) ElementType() reflect.Type
func (GetFoldersResultOutput) Folders ¶ added in v3.9.0
func (o GetFoldersResultOutput) Folders() GetFoldersFolderArrayOutput
func (GetFoldersResultOutput) Id ¶ added in v3.9.0
func (o GetFoldersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetFoldersResultOutput) Ids ¶ added in v3.9.0
func (o GetFoldersResultOutput) Ids() pulumi.StringArrayOutput
func (GetFoldersResultOutput) OutputFile ¶ added in v3.9.0
func (o GetFoldersResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetFoldersResultOutput) ParentFolderPath ¶ added in v3.9.0
func (o GetFoldersResultOutput) ParentFolderPath() pulumi.StringOutput
func (GetFoldersResultOutput) ProjectId ¶ added in v3.9.0
func (o GetFoldersResultOutput) ProjectId() pulumi.StringOutput
func (GetFoldersResultOutput) ToGetFoldersResultOutput ¶ added in v3.9.0
func (o GetFoldersResultOutput) ToGetFoldersResultOutput() GetFoldersResultOutput
func (GetFoldersResultOutput) ToGetFoldersResultOutputWithContext ¶ added in v3.9.0
func (o GetFoldersResultOutput) ToGetFoldersResultOutputWithContext(ctx context.Context) GetFoldersResultOutput
type GetServiceArgs ¶
type GetServiceArgs struct { // Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: `On` or `Off`. Default to `Off`. // // > **NOTE:** Setting `enable = "On"` to open the DataWorks service that means you have read and agreed the [DataWorks Terms of Service](https://help.aliyun.com/document_detail/131538.html). The service can not closed once it is opened. Enable *string `pulumi:"enable"` }
A collection of arguments for invoking getService.
type GetServiceOutputArgs ¶ added in v3.9.0
type GetServiceOutputArgs struct { // Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: `On` or `Off`. Default to `Off`. // // > **NOTE:** Setting `enable = "On"` to open the DataWorks service that means you have read and agreed the [DataWorks Terms of Service](https://help.aliyun.com/document_detail/131538.html). The service can not closed once it is opened. Enable pulumi.StringPtrInput `pulumi:"enable"` }
A collection of arguments for invoking getService.
func (GetServiceOutputArgs) ElementType ¶ added in v3.9.0
func (GetServiceOutputArgs) ElementType() reflect.Type
type GetServiceResult ¶
type GetServiceResult struct { Enable *string `pulumi:"enable"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The current service enable status. Status string `pulumi:"status"` }
A collection of values returned by getService.
func GetService ¶
func GetService(ctx *pulumi.Context, args *GetServiceArgs, opts ...pulumi.InvokeOption) (*GetServiceResult, error)
Using this data source can open DataWorks service automatically. If the service has been opened, it will return opened.
For information about DataWorks and how to use it, see [What is DataWorks](https://www.alibabacloud.com/help/en/product/72772.htm).
> **NOTE:** Available in v1.118.0+. After the version 1.141.0, the data source is renamed as `dataworks.getService`.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dataworks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := dataworks.GetService(ctx, &dataworks.GetServiceArgs{ Enable: pulumi.StringRef("On"), }, nil) if err != nil { return err } return nil }) }
```
type GetServiceResultOutput ¶ added in v3.9.0
type GetServiceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getService.
func GetServiceOutput ¶ added in v3.9.0
func GetServiceOutput(ctx *pulumi.Context, args GetServiceOutputArgs, opts ...pulumi.InvokeOption) GetServiceResultOutput
func (GetServiceResultOutput) ElementType ¶ added in v3.9.0
func (GetServiceResultOutput) ElementType() reflect.Type
func (GetServiceResultOutput) Enable ¶ added in v3.9.0
func (o GetServiceResultOutput) Enable() pulumi.StringPtrOutput
func (GetServiceResultOutput) Id ¶ added in v3.9.0
func (o GetServiceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServiceResultOutput) Status ¶ added in v3.9.0
func (o GetServiceResultOutput) Status() pulumi.StringOutput
The current service enable status.
func (GetServiceResultOutput) ToGetServiceResultOutput ¶ added in v3.9.0
func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput
func (GetServiceResultOutput) ToGetServiceResultOutputWithContext ¶ added in v3.9.0
func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput
type Project ¶ added in v3.61.0
type Project struct { pulumi.CustomResourceState // Workspace Description Description pulumi.StringPtrOutput `pulumi:"description"` // Is Development Environment Enabled DevEnvironmentEnabled pulumi.BoolOutput `pulumi:"devEnvironmentEnabled"` // Is Development Role Disabled DevRoleDisabled pulumi.BoolOutput `pulumi:"devRoleDisabled"` // Workspace Display Name DisplayName pulumi.StringOutput `pulumi:"displayName"` // Create PAI Workspace Together PaiTaskEnabled pulumi.BoolOutput `pulumi:"paiTaskEnabled"` // Workspace Name ProjectName pulumi.StringOutput `pulumi:"projectName"` // Aliyun Resource Group Id ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` // Workspace Status Status pulumi.StringOutput `pulumi:"status"` // Aliyun Resource Tag Tags pulumi.StringMapOutput `pulumi:"tags"` }
Provides a Data Works Project resource.
For information about Data Works Project and how to use it, see [What is Project](https://www.alibabacloud.com/help/en/).
> **NOTE:** Available since v1.229.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"fmt" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dataworks" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi-random/sdk/v4/go/random" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tf_example" if param := cfg.Get("name"); param != "" { name = param } randint, err := random.NewInteger(ctx, "randint", &random.IntegerArgs{ Max: 999, Min: 1, }) if err != nil { return err } _default, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{}, nil) if err != nil { return err } _, err = dataworks.NewProject(ctx, "default", &dataworks.ProjectArgs{ Status: pulumi.String("Available"), Description: pulumi.String("tf_desc"), ProjectName: pulumi.Sprintf("%v%v", name, randint.Id), PaiTaskEnabled: pulumi.Bool(false), DisplayName: pulumi.String("tf_new_api_display"), DevRoleDisabled: pulumi.Bool(true), DevEnvironmentEnabled: pulumi.Bool(false), ResourceGroupId: pulumi.String(_default.Ids[0]), }) if err != nil { return err } return nil }) }
```
## Import
Data Works Project can be imported using the id, e.g.
```sh $ pulumi import alicloud:dataworks/project:Project example <id> ```
func GetProject ¶ added in v3.61.0
func GetProject(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)
GetProject gets an existing Project resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewProject ¶ added in v3.61.0
func NewProject(ctx *pulumi.Context, name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)
NewProject registers a new resource with the given unique name, arguments, and options.
func (*Project) ElementType ¶ added in v3.61.0
func (*Project) ToProjectOutput ¶ added in v3.61.0
func (i *Project) ToProjectOutput() ProjectOutput
func (*Project) ToProjectOutputWithContext ¶ added in v3.61.0
func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
type ProjectArgs ¶ added in v3.61.0
type ProjectArgs struct { // Workspace Description Description pulumi.StringPtrInput // Is Development Environment Enabled DevEnvironmentEnabled pulumi.BoolPtrInput // Is Development Role Disabled DevRoleDisabled pulumi.BoolPtrInput // Workspace Display Name DisplayName pulumi.StringInput // Create PAI Workspace Together PaiTaskEnabled pulumi.BoolInput // Workspace Name ProjectName pulumi.StringInput // Aliyun Resource Group Id ResourceGroupId pulumi.StringPtrInput // Workspace Status Status pulumi.StringPtrInput // Aliyun Resource Tag Tags pulumi.StringMapInput }
The set of arguments for constructing a Project resource.
func (ProjectArgs) ElementType ¶ added in v3.61.0
func (ProjectArgs) ElementType() reflect.Type
type ProjectArray ¶ added in v3.61.0
type ProjectArray []ProjectInput
func (ProjectArray) ElementType ¶ added in v3.61.0
func (ProjectArray) ElementType() reflect.Type
func (ProjectArray) ToProjectArrayOutput ¶ added in v3.61.0
func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput
func (ProjectArray) ToProjectArrayOutputWithContext ¶ added in v3.61.0
func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput
type ProjectArrayInput ¶ added in v3.61.0
type ProjectArrayInput interface { pulumi.Input ToProjectArrayOutput() ProjectArrayOutput ToProjectArrayOutputWithContext(context.Context) ProjectArrayOutput }
ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. You can construct a concrete instance of `ProjectArrayInput` via:
ProjectArray{ ProjectArgs{...} }
type ProjectArrayOutput ¶ added in v3.61.0
type ProjectArrayOutput struct{ *pulumi.OutputState }
func (ProjectArrayOutput) ElementType ¶ added in v3.61.0
func (ProjectArrayOutput) ElementType() reflect.Type
func (ProjectArrayOutput) Index ¶ added in v3.61.0
func (o ProjectArrayOutput) Index(i pulumi.IntInput) ProjectOutput
func (ProjectArrayOutput) ToProjectArrayOutput ¶ added in v3.61.0
func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput
func (ProjectArrayOutput) ToProjectArrayOutputWithContext ¶ added in v3.61.0
func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput
type ProjectInput ¶ added in v3.61.0
type ProjectInput interface { pulumi.Input ToProjectOutput() ProjectOutput ToProjectOutputWithContext(ctx context.Context) ProjectOutput }
type ProjectMap ¶ added in v3.61.0
type ProjectMap map[string]ProjectInput
func (ProjectMap) ElementType ¶ added in v3.61.0
func (ProjectMap) ElementType() reflect.Type
func (ProjectMap) ToProjectMapOutput ¶ added in v3.61.0
func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput
func (ProjectMap) ToProjectMapOutputWithContext ¶ added in v3.61.0
func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput
type ProjectMapInput ¶ added in v3.61.0
type ProjectMapInput interface { pulumi.Input ToProjectMapOutput() ProjectMapOutput ToProjectMapOutputWithContext(context.Context) ProjectMapOutput }
ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. You can construct a concrete instance of `ProjectMapInput` via:
ProjectMap{ "key": ProjectArgs{...} }
type ProjectMapOutput ¶ added in v3.61.0
type ProjectMapOutput struct{ *pulumi.OutputState }
func (ProjectMapOutput) ElementType ¶ added in v3.61.0
func (ProjectMapOutput) ElementType() reflect.Type
func (ProjectMapOutput) MapIndex ¶ added in v3.61.0
func (o ProjectMapOutput) MapIndex(k pulumi.StringInput) ProjectOutput
func (ProjectMapOutput) ToProjectMapOutput ¶ added in v3.61.0
func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput
func (ProjectMapOutput) ToProjectMapOutputWithContext ¶ added in v3.61.0
func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput
type ProjectMember ¶ added in v3.69.0
type ProjectMember struct { pulumi.CustomResourceState // Project ID ProjectId pulumi.IntOutput `pulumi:"projectId"` // List of roles owned by members. See `roles` below. Roles ProjectMemberRoleArrayOutput `pulumi:"roles"` // The status of the user in project Status pulumi.StringOutput `pulumi:"status"` // The user ID of the member. UserId pulumi.StringOutput `pulumi:"userId"` }
Provides a Data Works Project Member resource.
For information about Data Works Project Member and how to use it, see [What is Project Member](https://www.alibabacloud.com/help/en/).
> **NOTE:** Available since v1.237.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"fmt" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dataworks" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ram" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager" "github.com/pulumi/pulumi-random/sdk/v4/go/random" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") adminCode := "role_project_admin" if param := cfg.Get("adminCode"); param != "" { adminCode = param } name := "tf_example" if param := cfg.Get("name"); param != "" { name = param } randint, err := random.NewInteger(ctx, "randint", &random.IntegerArgs{ Max: 999, Min: 1, }) if err != nil { return err } defaultKCTrB2, err := ram.NewUser(ctx, "defaultKCTrB2", &ram.UserArgs{ DisplayName: pulumi.Sprintf("%v%v", name, randint.Id), Name: pulumi.Sprintf("%v%v", name, randint.Id), }) if err != nil { return err } _default, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{}, nil) if err != nil { return err } _, err = dataworks.NewProject(ctx, "defaultQeRfvU", &dataworks.ProjectArgs{ Status: pulumi.String("Available"), Description: pulumi.String("tf_desc"), ProjectName: pulumi.Sprintf("%v%v", name, randint.Id), PaiTaskEnabled: pulumi.Bool(false), DisplayName: pulumi.String("tf_new_api_display"), DevRoleDisabled: pulumi.Bool(true), DevEnvironmentEnabled: pulumi.Bool(false), ResourceGroupId: pulumi.String(_default.Ids[0]), }) if err != nil { return err } _, err = dataworks.NewProjectMember(ctx, "default", &dataworks.ProjectMemberArgs{ UserId: defaultKCTrB2.ID(), ProjectId: pulumi.Any(defaultCoMnk8.Id), Roles: dataworks.ProjectMemberRoleArray{ &dataworks.ProjectMemberRoleArgs{ Code: pulumi.String(adminCode), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Data Works Project Member can be imported using the id, e.g.
```sh $ pulumi import alicloud:dataworks/projectMember:ProjectMember example <project_id>:<user_id> ```
func GetProjectMember ¶ added in v3.69.0
func GetProjectMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProjectMemberState, opts ...pulumi.ResourceOption) (*ProjectMember, error)
GetProjectMember gets an existing ProjectMember resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewProjectMember ¶ added in v3.69.0
func NewProjectMember(ctx *pulumi.Context, name string, args *ProjectMemberArgs, opts ...pulumi.ResourceOption) (*ProjectMember, error)
NewProjectMember registers a new resource with the given unique name, arguments, and options.
func (*ProjectMember) ElementType ¶ added in v3.69.0
func (*ProjectMember) ElementType() reflect.Type
func (*ProjectMember) ToProjectMemberOutput ¶ added in v3.69.0
func (i *ProjectMember) ToProjectMemberOutput() ProjectMemberOutput
func (*ProjectMember) ToProjectMemberOutputWithContext ¶ added in v3.69.0
func (i *ProjectMember) ToProjectMemberOutputWithContext(ctx context.Context) ProjectMemberOutput
type ProjectMemberArgs ¶ added in v3.69.0
type ProjectMemberArgs struct { // Project ID ProjectId pulumi.IntInput // List of roles owned by members. See `roles` below. Roles ProjectMemberRoleArrayInput // The user ID of the member. UserId pulumi.StringInput }
The set of arguments for constructing a ProjectMember resource.
func (ProjectMemberArgs) ElementType ¶ added in v3.69.0
func (ProjectMemberArgs) ElementType() reflect.Type
type ProjectMemberArray ¶ added in v3.69.0
type ProjectMemberArray []ProjectMemberInput
func (ProjectMemberArray) ElementType ¶ added in v3.69.0
func (ProjectMemberArray) ElementType() reflect.Type
func (ProjectMemberArray) ToProjectMemberArrayOutput ¶ added in v3.69.0
func (i ProjectMemberArray) ToProjectMemberArrayOutput() ProjectMemberArrayOutput
func (ProjectMemberArray) ToProjectMemberArrayOutputWithContext ¶ added in v3.69.0
func (i ProjectMemberArray) ToProjectMemberArrayOutputWithContext(ctx context.Context) ProjectMemberArrayOutput
type ProjectMemberArrayInput ¶ added in v3.69.0
type ProjectMemberArrayInput interface { pulumi.Input ToProjectMemberArrayOutput() ProjectMemberArrayOutput ToProjectMemberArrayOutputWithContext(context.Context) ProjectMemberArrayOutput }
ProjectMemberArrayInput is an input type that accepts ProjectMemberArray and ProjectMemberArrayOutput values. You can construct a concrete instance of `ProjectMemberArrayInput` via:
ProjectMemberArray{ ProjectMemberArgs{...} }
type ProjectMemberArrayOutput ¶ added in v3.69.0
type ProjectMemberArrayOutput struct{ *pulumi.OutputState }
func (ProjectMemberArrayOutput) ElementType ¶ added in v3.69.0
func (ProjectMemberArrayOutput) ElementType() reflect.Type
func (ProjectMemberArrayOutput) Index ¶ added in v3.69.0
func (o ProjectMemberArrayOutput) Index(i pulumi.IntInput) ProjectMemberOutput
func (ProjectMemberArrayOutput) ToProjectMemberArrayOutput ¶ added in v3.69.0
func (o ProjectMemberArrayOutput) ToProjectMemberArrayOutput() ProjectMemberArrayOutput
func (ProjectMemberArrayOutput) ToProjectMemberArrayOutputWithContext ¶ added in v3.69.0
func (o ProjectMemberArrayOutput) ToProjectMemberArrayOutputWithContext(ctx context.Context) ProjectMemberArrayOutput
type ProjectMemberInput ¶ added in v3.69.0
type ProjectMemberInput interface { pulumi.Input ToProjectMemberOutput() ProjectMemberOutput ToProjectMemberOutputWithContext(ctx context.Context) ProjectMemberOutput }
type ProjectMemberMap ¶ added in v3.69.0
type ProjectMemberMap map[string]ProjectMemberInput
func (ProjectMemberMap) ElementType ¶ added in v3.69.0
func (ProjectMemberMap) ElementType() reflect.Type
func (ProjectMemberMap) ToProjectMemberMapOutput ¶ added in v3.69.0
func (i ProjectMemberMap) ToProjectMemberMapOutput() ProjectMemberMapOutput
func (ProjectMemberMap) ToProjectMemberMapOutputWithContext ¶ added in v3.69.0
func (i ProjectMemberMap) ToProjectMemberMapOutputWithContext(ctx context.Context) ProjectMemberMapOutput
type ProjectMemberMapInput ¶ added in v3.69.0
type ProjectMemberMapInput interface { pulumi.Input ToProjectMemberMapOutput() ProjectMemberMapOutput ToProjectMemberMapOutputWithContext(context.Context) ProjectMemberMapOutput }
ProjectMemberMapInput is an input type that accepts ProjectMemberMap and ProjectMemberMapOutput values. You can construct a concrete instance of `ProjectMemberMapInput` via:
ProjectMemberMap{ "key": ProjectMemberArgs{...} }
type ProjectMemberMapOutput ¶ added in v3.69.0
type ProjectMemberMapOutput struct{ *pulumi.OutputState }
func (ProjectMemberMapOutput) ElementType ¶ added in v3.69.0
func (ProjectMemberMapOutput) ElementType() reflect.Type
func (ProjectMemberMapOutput) MapIndex ¶ added in v3.69.0
func (o ProjectMemberMapOutput) MapIndex(k pulumi.StringInput) ProjectMemberOutput
func (ProjectMemberMapOutput) ToProjectMemberMapOutput ¶ added in v3.69.0
func (o ProjectMemberMapOutput) ToProjectMemberMapOutput() ProjectMemberMapOutput
func (ProjectMemberMapOutput) ToProjectMemberMapOutputWithContext ¶ added in v3.69.0
func (o ProjectMemberMapOutput) ToProjectMemberMapOutputWithContext(ctx context.Context) ProjectMemberMapOutput
type ProjectMemberOutput ¶ added in v3.69.0
type ProjectMemberOutput struct{ *pulumi.OutputState }
func (ProjectMemberOutput) ElementType ¶ added in v3.69.0
func (ProjectMemberOutput) ElementType() reflect.Type
func (ProjectMemberOutput) ProjectId ¶ added in v3.69.0
func (o ProjectMemberOutput) ProjectId() pulumi.IntOutput
Project ID
func (ProjectMemberOutput) Roles ¶ added in v3.69.0
func (o ProjectMemberOutput) Roles() ProjectMemberRoleArrayOutput
List of roles owned by members. See `roles` below.
func (ProjectMemberOutput) Status ¶ added in v3.69.0
func (o ProjectMemberOutput) Status() pulumi.StringOutput
The status of the user in project
func (ProjectMemberOutput) ToProjectMemberOutput ¶ added in v3.69.0
func (o ProjectMemberOutput) ToProjectMemberOutput() ProjectMemberOutput
func (ProjectMemberOutput) ToProjectMemberOutputWithContext ¶ added in v3.69.0
func (o ProjectMemberOutput) ToProjectMemberOutputWithContext(ctx context.Context) ProjectMemberOutput
func (ProjectMemberOutput) UserId ¶ added in v3.69.0
func (o ProjectMemberOutput) UserId() pulumi.StringOutput
The user ID of the member.
type ProjectMemberRole ¶ added in v3.69.0
type ProjectMemberRoleArgs ¶ added in v3.69.0
type ProjectMemberRoleArgs struct { // Project Role Code. Code pulumi.StringPtrInput `pulumi:"code"` // project role name Name pulumi.StringPtrInput `pulumi:"name"` // project role type Type pulumi.StringPtrInput `pulumi:"type"` }
func (ProjectMemberRoleArgs) ElementType ¶ added in v3.69.0
func (ProjectMemberRoleArgs) ElementType() reflect.Type
func (ProjectMemberRoleArgs) ToProjectMemberRoleOutput ¶ added in v3.69.0
func (i ProjectMemberRoleArgs) ToProjectMemberRoleOutput() ProjectMemberRoleOutput
func (ProjectMemberRoleArgs) ToProjectMemberRoleOutputWithContext ¶ added in v3.69.0
func (i ProjectMemberRoleArgs) ToProjectMemberRoleOutputWithContext(ctx context.Context) ProjectMemberRoleOutput
type ProjectMemberRoleArray ¶ added in v3.69.0
type ProjectMemberRoleArray []ProjectMemberRoleInput
func (ProjectMemberRoleArray) ElementType ¶ added in v3.69.0
func (ProjectMemberRoleArray) ElementType() reflect.Type
func (ProjectMemberRoleArray) ToProjectMemberRoleArrayOutput ¶ added in v3.69.0
func (i ProjectMemberRoleArray) ToProjectMemberRoleArrayOutput() ProjectMemberRoleArrayOutput
func (ProjectMemberRoleArray) ToProjectMemberRoleArrayOutputWithContext ¶ added in v3.69.0
func (i ProjectMemberRoleArray) ToProjectMemberRoleArrayOutputWithContext(ctx context.Context) ProjectMemberRoleArrayOutput
type ProjectMemberRoleArrayInput ¶ added in v3.69.0
type ProjectMemberRoleArrayInput interface { pulumi.Input ToProjectMemberRoleArrayOutput() ProjectMemberRoleArrayOutput ToProjectMemberRoleArrayOutputWithContext(context.Context) ProjectMemberRoleArrayOutput }
ProjectMemberRoleArrayInput is an input type that accepts ProjectMemberRoleArray and ProjectMemberRoleArrayOutput values. You can construct a concrete instance of `ProjectMemberRoleArrayInput` via:
ProjectMemberRoleArray{ ProjectMemberRoleArgs{...} }
type ProjectMemberRoleArrayOutput ¶ added in v3.69.0
type ProjectMemberRoleArrayOutput struct{ *pulumi.OutputState }
func (ProjectMemberRoleArrayOutput) ElementType ¶ added in v3.69.0
func (ProjectMemberRoleArrayOutput) ElementType() reflect.Type
func (ProjectMemberRoleArrayOutput) Index ¶ added in v3.69.0
func (o ProjectMemberRoleArrayOutput) Index(i pulumi.IntInput) ProjectMemberRoleOutput
func (ProjectMemberRoleArrayOutput) ToProjectMemberRoleArrayOutput ¶ added in v3.69.0
func (o ProjectMemberRoleArrayOutput) ToProjectMemberRoleArrayOutput() ProjectMemberRoleArrayOutput
func (ProjectMemberRoleArrayOutput) ToProjectMemberRoleArrayOutputWithContext ¶ added in v3.69.0
func (o ProjectMemberRoleArrayOutput) ToProjectMemberRoleArrayOutputWithContext(ctx context.Context) ProjectMemberRoleArrayOutput
type ProjectMemberRoleInput ¶ added in v3.69.0
type ProjectMemberRoleInput interface { pulumi.Input ToProjectMemberRoleOutput() ProjectMemberRoleOutput ToProjectMemberRoleOutputWithContext(context.Context) ProjectMemberRoleOutput }
ProjectMemberRoleInput is an input type that accepts ProjectMemberRoleArgs and ProjectMemberRoleOutput values. You can construct a concrete instance of `ProjectMemberRoleInput` via:
ProjectMemberRoleArgs{...}
type ProjectMemberRoleOutput ¶ added in v3.69.0
type ProjectMemberRoleOutput struct{ *pulumi.OutputState }
func (ProjectMemberRoleOutput) Code ¶ added in v3.69.0
func (o ProjectMemberRoleOutput) Code() pulumi.StringPtrOutput
Project Role Code.
func (ProjectMemberRoleOutput) ElementType ¶ added in v3.69.0
func (ProjectMemberRoleOutput) ElementType() reflect.Type
func (ProjectMemberRoleOutput) Name ¶ added in v3.69.0
func (o ProjectMemberRoleOutput) Name() pulumi.StringPtrOutput
project role name
func (ProjectMemberRoleOutput) ToProjectMemberRoleOutput ¶ added in v3.69.0
func (o ProjectMemberRoleOutput) ToProjectMemberRoleOutput() ProjectMemberRoleOutput
func (ProjectMemberRoleOutput) ToProjectMemberRoleOutputWithContext ¶ added in v3.69.0
func (o ProjectMemberRoleOutput) ToProjectMemberRoleOutputWithContext(ctx context.Context) ProjectMemberRoleOutput
func (ProjectMemberRoleOutput) Type ¶ added in v3.69.0
func (o ProjectMemberRoleOutput) Type() pulumi.StringPtrOutput
project role type
type ProjectMemberState ¶ added in v3.69.0
type ProjectMemberState struct { // Project ID ProjectId pulumi.IntPtrInput // List of roles owned by members. See `roles` below. Roles ProjectMemberRoleArrayInput // The status of the user in project Status pulumi.StringPtrInput // The user ID of the member. UserId pulumi.StringPtrInput }
func (ProjectMemberState) ElementType ¶ added in v3.69.0
func (ProjectMemberState) ElementType() reflect.Type
type ProjectOutput ¶ added in v3.61.0
type ProjectOutput struct{ *pulumi.OutputState }
func (ProjectOutput) Description ¶ added in v3.61.0
func (o ProjectOutput) Description() pulumi.StringPtrOutput
Workspace Description
func (ProjectOutput) DevEnvironmentEnabled ¶ added in v3.69.0
func (o ProjectOutput) DevEnvironmentEnabled() pulumi.BoolOutput
Is Development Environment Enabled
func (ProjectOutput) DevRoleDisabled ¶ added in v3.69.0
func (o ProjectOutput) DevRoleDisabled() pulumi.BoolOutput
Is Development Role Disabled
func (ProjectOutput) DisplayName ¶ added in v3.61.0
func (o ProjectOutput) DisplayName() pulumi.StringOutput
Workspace Display Name
func (ProjectOutput) ElementType ¶ added in v3.61.0
func (ProjectOutput) ElementType() reflect.Type
func (ProjectOutput) PaiTaskEnabled ¶ added in v3.69.0
func (o ProjectOutput) PaiTaskEnabled() pulumi.BoolOutput
Create PAI Workspace Together
func (ProjectOutput) ProjectName ¶ added in v3.61.0
func (o ProjectOutput) ProjectName() pulumi.StringOutput
Workspace Name
func (ProjectOutput) ResourceGroupId ¶ added in v3.69.0
func (o ProjectOutput) ResourceGroupId() pulumi.StringOutput
Aliyun Resource Group Id
func (ProjectOutput) Status ¶ added in v3.61.0
func (o ProjectOutput) Status() pulumi.StringOutput
Workspace Status
func (ProjectOutput) Tags ¶ added in v3.69.0
func (o ProjectOutput) Tags() pulumi.StringMapOutput
Aliyun Resource Tag
func (ProjectOutput) ToProjectOutput ¶ added in v3.61.0
func (o ProjectOutput) ToProjectOutput() ProjectOutput
func (ProjectOutput) ToProjectOutputWithContext ¶ added in v3.61.0
func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
type ProjectState ¶ added in v3.61.0
type ProjectState struct { // Workspace Description Description pulumi.StringPtrInput // Is Development Environment Enabled DevEnvironmentEnabled pulumi.BoolPtrInput // Is Development Role Disabled DevRoleDisabled pulumi.BoolPtrInput // Workspace Display Name DisplayName pulumi.StringPtrInput // Create PAI Workspace Together PaiTaskEnabled pulumi.BoolPtrInput // Workspace Name ProjectName pulumi.StringPtrInput // Aliyun Resource Group Id ResourceGroupId pulumi.StringPtrInput // Workspace Status Status pulumi.StringPtrInput // Aliyun Resource Tag Tags pulumi.StringMapInput }
func (ProjectState) ElementType ¶ added in v3.61.0
func (ProjectState) ElementType() reflect.Type