maxcompute

package
v3.65.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetProjectsArgs added in v3.29.0

type GetProjectsArgs struct {
	// A list of Project IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Group Metric Rule name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getProjects.

type GetProjectsOutputArgs added in v3.29.0

type GetProjectsOutputArgs struct {
	// A list of Project IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Group Metric Rule name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getProjects.

func (GetProjectsOutputArgs) ElementType added in v3.29.0

func (GetProjectsOutputArgs) ElementType() reflect.Type

type GetProjectsProject added in v3.29.0

type GetProjectsProject struct {
	// Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
	Comment string `pulumi:"comment"`
	// View the current storage size of the Project. The storage size is the same as the measurement size, that is, the compressed logical storage size collected by the Project.
	CostStorage string `pulumi:"costStorage"`
	// Represents the creation time of the project
	CreateTime string `pulumi:"createTime"`
	// Used to implement computing resource allocation.If the calculation Quota is not specified, the default Quota resource will be consumed by jobs initiated by the project. For more information about computing resource usage, see [Computing Resource Usage](https://www.alibabacloud.com/help/en/maxcompute/user-guide/use-of-computing-resources).
	DefaultQuota string `pulumi:"defaultQuota"`
	// IP whitelist
	IpWhiteList GetProjectsProjectIpWhiteList `pulumi:"ipWhiteList"`
	// Project owner
	Owner string `pulumi:"owner"`
	// The name begins with a letter, containing letters, digits, and underscores (_). It can be 3 to 28 characters in length and is globally unique.
	ProjectName string `pulumi:"projectName"`
	// Project base attributes
	Properties GetProjectsProjectProperties `pulumi:"properties"`
	// Security-related attributes
	SecurityProperties GetProjectsProjectSecurityProperties `pulumi:"securityProperties"`
	// The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
	Status string `pulumi:"status"`
	// Project type
	Type string `pulumi:"type"`
}

type GetProjectsProjectArgs added in v3.29.0

type GetProjectsProjectArgs struct {
	// Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
	Comment pulumi.StringInput `pulumi:"comment"`
	// View the current storage size of the Project. The storage size is the same as the measurement size, that is, the compressed logical storage size collected by the Project.
	CostStorage pulumi.StringInput `pulumi:"costStorage"`
	// Represents the creation time of the project
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Used to implement computing resource allocation.If the calculation Quota is not specified, the default Quota resource will be consumed by jobs initiated by the project. For more information about computing resource usage, see [Computing Resource Usage](https://www.alibabacloud.com/help/en/maxcompute/user-guide/use-of-computing-resources).
	DefaultQuota pulumi.StringInput `pulumi:"defaultQuota"`
	// IP whitelist
	IpWhiteList GetProjectsProjectIpWhiteListInput `pulumi:"ipWhiteList"`
	// Project owner
	Owner pulumi.StringInput `pulumi:"owner"`
	// The name begins with a letter, containing letters, digits, and underscores (_). It can be 3 to 28 characters in length and is globally unique.
	ProjectName pulumi.StringInput `pulumi:"projectName"`
	// Project base attributes
	Properties GetProjectsProjectPropertiesInput `pulumi:"properties"`
	// Security-related attributes
	SecurityProperties GetProjectsProjectSecurityPropertiesInput `pulumi:"securityProperties"`
	// The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
	Status pulumi.StringInput `pulumi:"status"`
	// Project type
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetProjectsProjectArgs) ElementType added in v3.29.0

func (GetProjectsProjectArgs) ElementType() reflect.Type

func (GetProjectsProjectArgs) ToGetProjectsProjectOutput added in v3.29.0

func (i GetProjectsProjectArgs) ToGetProjectsProjectOutput() GetProjectsProjectOutput

func (GetProjectsProjectArgs) ToGetProjectsProjectOutputWithContext added in v3.29.0

func (i GetProjectsProjectArgs) ToGetProjectsProjectOutputWithContext(ctx context.Context) GetProjectsProjectOutput

type GetProjectsProjectArray added in v3.29.0

type GetProjectsProjectArray []GetProjectsProjectInput

func (GetProjectsProjectArray) ElementType added in v3.29.0

func (GetProjectsProjectArray) ElementType() reflect.Type

func (GetProjectsProjectArray) ToGetProjectsProjectArrayOutput added in v3.29.0

func (i GetProjectsProjectArray) ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput

func (GetProjectsProjectArray) ToGetProjectsProjectArrayOutputWithContext added in v3.29.0

func (i GetProjectsProjectArray) ToGetProjectsProjectArrayOutputWithContext(ctx context.Context) GetProjectsProjectArrayOutput

type GetProjectsProjectArrayInput added in v3.29.0

type GetProjectsProjectArrayInput interface {
	pulumi.Input

	ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput
	ToGetProjectsProjectArrayOutputWithContext(context.Context) GetProjectsProjectArrayOutput
}

GetProjectsProjectArrayInput is an input type that accepts GetProjectsProjectArray and GetProjectsProjectArrayOutput values. You can construct a concrete instance of `GetProjectsProjectArrayInput` via:

GetProjectsProjectArray{ GetProjectsProjectArgs{...} }

type GetProjectsProjectArrayOutput added in v3.29.0

type GetProjectsProjectArrayOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectArrayOutput) ElementType added in v3.29.0

func (GetProjectsProjectArrayOutput) Index added in v3.29.0

func (GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutput added in v3.29.0

func (o GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput

func (GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutputWithContext added in v3.29.0

func (o GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutputWithContext(ctx context.Context) GetProjectsProjectArrayOutput

type GetProjectsProjectInput added in v3.29.0

type GetProjectsProjectInput interface {
	pulumi.Input

	ToGetProjectsProjectOutput() GetProjectsProjectOutput
	ToGetProjectsProjectOutputWithContext(context.Context) GetProjectsProjectOutput
}

GetProjectsProjectInput is an input type that accepts GetProjectsProjectArgs and GetProjectsProjectOutput values. You can construct a concrete instance of `GetProjectsProjectInput` via:

GetProjectsProjectArgs{...}

type GetProjectsProjectIpWhiteList added in v3.29.0

type GetProjectsProjectIpWhiteList struct {
	// Set the IP address whitelist in the classic network. Only devices in the whitelist are allowed to access the project.> **NOTE:** If you only configure a classic network IP address whitelist, access to the classic network is restricted and all access to the VPC is prohibited.
	IpList string `pulumi:"ipList"`
	// Set the IP address whitelist in the VPC network to allow only devices in the whitelist to access the project space.> **NOTE:** If you only configure a VPC network IP address whitelist, access to the VPC network is restricted and access to the classic network is prohibited.
	VpcIpList string `pulumi:"vpcIpList"`
}

type GetProjectsProjectIpWhiteListArgs added in v3.29.0

type GetProjectsProjectIpWhiteListArgs struct {
	// Set the IP address whitelist in the classic network. Only devices in the whitelist are allowed to access the project.> **NOTE:** If you only configure a classic network IP address whitelist, access to the classic network is restricted and all access to the VPC is prohibited.
	IpList pulumi.StringInput `pulumi:"ipList"`
	// Set the IP address whitelist in the VPC network to allow only devices in the whitelist to access the project space.> **NOTE:** If you only configure a VPC network IP address whitelist, access to the VPC network is restricted and access to the classic network is prohibited.
	VpcIpList pulumi.StringInput `pulumi:"vpcIpList"`
}

func (GetProjectsProjectIpWhiteListArgs) ElementType added in v3.29.0

func (GetProjectsProjectIpWhiteListArgs) ToGetProjectsProjectIpWhiteListOutput added in v3.29.0

func (i GetProjectsProjectIpWhiteListArgs) ToGetProjectsProjectIpWhiteListOutput() GetProjectsProjectIpWhiteListOutput

func (GetProjectsProjectIpWhiteListArgs) ToGetProjectsProjectIpWhiteListOutputWithContext added in v3.29.0

func (i GetProjectsProjectIpWhiteListArgs) ToGetProjectsProjectIpWhiteListOutputWithContext(ctx context.Context) GetProjectsProjectIpWhiteListOutput

type GetProjectsProjectIpWhiteListInput added in v3.29.0

type GetProjectsProjectIpWhiteListInput interface {
	pulumi.Input

	ToGetProjectsProjectIpWhiteListOutput() GetProjectsProjectIpWhiteListOutput
	ToGetProjectsProjectIpWhiteListOutputWithContext(context.Context) GetProjectsProjectIpWhiteListOutput
}

GetProjectsProjectIpWhiteListInput is an input type that accepts GetProjectsProjectIpWhiteListArgs and GetProjectsProjectIpWhiteListOutput values. You can construct a concrete instance of `GetProjectsProjectIpWhiteListInput` via:

GetProjectsProjectIpWhiteListArgs{...}

type GetProjectsProjectIpWhiteListOutput added in v3.29.0

type GetProjectsProjectIpWhiteListOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectIpWhiteListOutput) ElementType added in v3.29.0

func (GetProjectsProjectIpWhiteListOutput) IpList added in v3.29.0

Set the IP address whitelist in the classic network. Only devices in the whitelist are allowed to access the project.> **NOTE:** If you only configure a classic network IP address whitelist, access to the classic network is restricted and all access to the VPC is prohibited.

func (GetProjectsProjectIpWhiteListOutput) ToGetProjectsProjectIpWhiteListOutput added in v3.29.0

func (o GetProjectsProjectIpWhiteListOutput) ToGetProjectsProjectIpWhiteListOutput() GetProjectsProjectIpWhiteListOutput

func (GetProjectsProjectIpWhiteListOutput) ToGetProjectsProjectIpWhiteListOutputWithContext added in v3.29.0

func (o GetProjectsProjectIpWhiteListOutput) ToGetProjectsProjectIpWhiteListOutputWithContext(ctx context.Context) GetProjectsProjectIpWhiteListOutput

func (GetProjectsProjectIpWhiteListOutput) VpcIpList added in v3.29.0

Set the IP address whitelist in the VPC network to allow only devices in the whitelist to access the project space.> **NOTE:** If you only configure a VPC network IP address whitelist, access to the VPC network is restricted and access to the classic network is prohibited.

type GetProjectsProjectOutput added in v3.29.0

type GetProjectsProjectOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectOutput) Comment added in v3.29.0

Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.

func (GetProjectsProjectOutput) CostStorage added in v3.60.0

View the current storage size of the Project. The storage size is the same as the measurement size, that is, the compressed logical storage size collected by the Project.

func (GetProjectsProjectOutput) CreateTime added in v3.60.0

Represents the creation time of the project

func (GetProjectsProjectOutput) DefaultQuota added in v3.29.0

func (o GetProjectsProjectOutput) DefaultQuota() pulumi.StringOutput

Used to implement computing resource allocation.If the calculation Quota is not specified, the default Quota resource will be consumed by jobs initiated by the project. For more information about computing resource usage, see [Computing Resource Usage](https://www.alibabacloud.com/help/en/maxcompute/user-guide/use-of-computing-resources).

func (GetProjectsProjectOutput) ElementType added in v3.29.0

func (GetProjectsProjectOutput) ElementType() reflect.Type

func (GetProjectsProjectOutput) IpWhiteList added in v3.29.0

IP whitelist

func (GetProjectsProjectOutput) Owner added in v3.29.0

Project owner

func (GetProjectsProjectOutput) ProjectName added in v3.29.0

The name begins with a letter, containing letters, digits, and underscores (_). It can be 3 to 28 characters in length and is globally unique.

func (GetProjectsProjectOutput) Properties added in v3.29.0

Project base attributes

func (GetProjectsProjectOutput) SecurityProperties added in v3.29.0

Security-related attributes

func (GetProjectsProjectOutput) Status added in v3.29.0

The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)

func (GetProjectsProjectOutput) ToGetProjectsProjectOutput added in v3.29.0

func (o GetProjectsProjectOutput) ToGetProjectsProjectOutput() GetProjectsProjectOutput

func (GetProjectsProjectOutput) ToGetProjectsProjectOutputWithContext added in v3.29.0

func (o GetProjectsProjectOutput) ToGetProjectsProjectOutputWithContext(ctx context.Context) GetProjectsProjectOutput

func (GetProjectsProjectOutput) Type added in v3.29.0

Project type

type GetProjectsProjectProperties added in v3.29.0

type GetProjectsProjectProperties struct {
	// Whether to allow full table scan. Default: false.
	AllowFullScan bool `pulumi:"allowFullScan"`
	// Whether to turn on Decimal2.0.
	EnableDecimal2 bool `pulumi:"enableDecimal2"`
	// Storage encryption. For details, see [Storage Encryption](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/storage-encryption)> **NOTE :**:To enable storage encryption, you need to modify the parameters of the basic attributes of the MaxCompute project. This operation permission is authenticated by RAM, and you need to have the Super_Administrator role permission of the corresponding project.To configure the permissions and IP whitelist parameters of the MaxCompute project, you must have the management permissions (Admin) of the corresponding project, including Super_Administrator, Admin, or custom management permissions. For more information, see the project management permissions list.You can turn on storage encryption only for projects that have not turned on storage encryption. For projects that have turned on storage encryption, you cannot turn off storage encryption or change the encryption algorithm.
	Encryption GetProjectsProjectPropertiesEncryption `pulumi:"encryption"`
	// Set the number of days to retain backup data. During this time, you can restore the current version to any backup version. The value range of days is [0,30], and the default value is 1. 0 means backup is turned off.The effective policy after adjusting the backup cycle is:Extend the backup cycle: The new backup cycle takes effect on the same day.Shorten the backup cycle: The system will automatically delete backup data that has exceeded the retention cycle.
	RetentionDays int `pulumi:"retentionDays"`
	// Set the maximum threshold of single SQL consumption, that is, set the ODPS. SQL. metering.value.max attribute. For details, see [Consumption Monitoring Alarm](https://www.alibabacloud.com/help/en/maxcompute/product-overview/consumption-control).Unit: scan volume (GB)* complexity.
	SqlMeteringMax string `pulumi:"sqlMeteringMax"`
	// Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property,.
	TableLifecycle GetProjectsProjectPropertiesTableLifecycle `pulumi:"tableLifecycle"`
	// Project time zone, example value: Asia/Shanghai.
	Timezone string `pulumi:"timezone"`
	// Data type version. Value:(1/2/hive)1: The original MaxCompute type system.2: New type system introduced by MaxCompute 2.0.hive: the type system of the Hive compatibility mode introduced by MaxCompute 2.0.
	TypeSystem string `pulumi:"typeSystem"`
}

type GetProjectsProjectPropertiesArgs added in v3.29.0

type GetProjectsProjectPropertiesArgs struct {
	// Whether to allow full table scan. Default: false.
	AllowFullScan pulumi.BoolInput `pulumi:"allowFullScan"`
	// Whether to turn on Decimal2.0.
	EnableDecimal2 pulumi.BoolInput `pulumi:"enableDecimal2"`
	// Storage encryption. For details, see [Storage Encryption](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/storage-encryption)> **NOTE :**:To enable storage encryption, you need to modify the parameters of the basic attributes of the MaxCompute project. This operation permission is authenticated by RAM, and you need to have the Super_Administrator role permission of the corresponding project.To configure the permissions and IP whitelist parameters of the MaxCompute project, you must have the management permissions (Admin) of the corresponding project, including Super_Administrator, Admin, or custom management permissions. For more information, see the project management permissions list.You can turn on storage encryption only for projects that have not turned on storage encryption. For projects that have turned on storage encryption, you cannot turn off storage encryption or change the encryption algorithm.
	Encryption GetProjectsProjectPropertiesEncryptionInput `pulumi:"encryption"`
	// Set the number of days to retain backup data. During this time, you can restore the current version to any backup version. The value range of days is [0,30], and the default value is 1. 0 means backup is turned off.The effective policy after adjusting the backup cycle is:Extend the backup cycle: The new backup cycle takes effect on the same day.Shorten the backup cycle: The system will automatically delete backup data that has exceeded the retention cycle.
	RetentionDays pulumi.IntInput `pulumi:"retentionDays"`
	// Set the maximum threshold of single SQL consumption, that is, set the ODPS. SQL. metering.value.max attribute. For details, see [Consumption Monitoring Alarm](https://www.alibabacloud.com/help/en/maxcompute/product-overview/consumption-control).Unit: scan volume (GB)* complexity.
	SqlMeteringMax pulumi.StringInput `pulumi:"sqlMeteringMax"`
	// Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property,.
	TableLifecycle GetProjectsProjectPropertiesTableLifecycleInput `pulumi:"tableLifecycle"`
	// Project time zone, example value: Asia/Shanghai.
	Timezone pulumi.StringInput `pulumi:"timezone"`
	// Data type version. Value:(1/2/hive)1: The original MaxCompute type system.2: New type system introduced by MaxCompute 2.0.hive: the type system of the Hive compatibility mode introduced by MaxCompute 2.0.
	TypeSystem pulumi.StringInput `pulumi:"typeSystem"`
}

func (GetProjectsProjectPropertiesArgs) ElementType added in v3.29.0

func (GetProjectsProjectPropertiesArgs) ToGetProjectsProjectPropertiesOutput added in v3.29.0

func (i GetProjectsProjectPropertiesArgs) ToGetProjectsProjectPropertiesOutput() GetProjectsProjectPropertiesOutput

func (GetProjectsProjectPropertiesArgs) ToGetProjectsProjectPropertiesOutputWithContext added in v3.29.0

func (i GetProjectsProjectPropertiesArgs) ToGetProjectsProjectPropertiesOutputWithContext(ctx context.Context) GetProjectsProjectPropertiesOutput

type GetProjectsProjectPropertiesEncryption added in v3.29.0

type GetProjectsProjectPropertiesEncryption struct {
	// The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
	Algorithm string `pulumi:"algorithm"`
	// Only enable function is supported. Value: (true).
	Enable bool `pulumi:"enable"`
	// The encryption algorithm Key, the Key type used by the project, including the Default Key (MaxCompute Default Key) and the self-contained Key (BYOK). The MaxCompute Default Key is the Default Key created inside MaxCompute.
	Key string `pulumi:"key"`
}

type GetProjectsProjectPropertiesEncryptionArgs added in v3.29.0

type GetProjectsProjectPropertiesEncryptionArgs struct {
	// The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
	Algorithm pulumi.StringInput `pulumi:"algorithm"`
	// Only enable function is supported. Value: (true).
	Enable pulumi.BoolInput `pulumi:"enable"`
	// The encryption algorithm Key, the Key type used by the project, including the Default Key (MaxCompute Default Key) and the self-contained Key (BYOK). The MaxCompute Default Key is the Default Key created inside MaxCompute.
	Key pulumi.StringInput `pulumi:"key"`
}

func (GetProjectsProjectPropertiesEncryptionArgs) ElementType added in v3.29.0

func (GetProjectsProjectPropertiesEncryptionArgs) ToGetProjectsProjectPropertiesEncryptionOutput added in v3.29.0

func (i GetProjectsProjectPropertiesEncryptionArgs) ToGetProjectsProjectPropertiesEncryptionOutput() GetProjectsProjectPropertiesEncryptionOutput

func (GetProjectsProjectPropertiesEncryptionArgs) ToGetProjectsProjectPropertiesEncryptionOutputWithContext added in v3.29.0

func (i GetProjectsProjectPropertiesEncryptionArgs) ToGetProjectsProjectPropertiesEncryptionOutputWithContext(ctx context.Context) GetProjectsProjectPropertiesEncryptionOutput

type GetProjectsProjectPropertiesEncryptionInput added in v3.29.0

type GetProjectsProjectPropertiesEncryptionInput interface {
	pulumi.Input

	ToGetProjectsProjectPropertiesEncryptionOutput() GetProjectsProjectPropertiesEncryptionOutput
	ToGetProjectsProjectPropertiesEncryptionOutputWithContext(context.Context) GetProjectsProjectPropertiesEncryptionOutput
}

GetProjectsProjectPropertiesEncryptionInput is an input type that accepts GetProjectsProjectPropertiesEncryptionArgs and GetProjectsProjectPropertiesEncryptionOutput values. You can construct a concrete instance of `GetProjectsProjectPropertiesEncryptionInput` via:

GetProjectsProjectPropertiesEncryptionArgs{...}

type GetProjectsProjectPropertiesEncryptionOutput added in v3.29.0

type GetProjectsProjectPropertiesEncryptionOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectPropertiesEncryptionOutput) Algorithm added in v3.29.0

The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.

func (GetProjectsProjectPropertiesEncryptionOutput) ElementType added in v3.29.0

func (GetProjectsProjectPropertiesEncryptionOutput) Enable added in v3.29.0

Only enable function is supported. Value: (true).

func (GetProjectsProjectPropertiesEncryptionOutput) Key added in v3.29.0

The encryption algorithm Key, the Key type used by the project, including the Default Key (MaxCompute Default Key) and the self-contained Key (BYOK). The MaxCompute Default Key is the Default Key created inside MaxCompute.

func (GetProjectsProjectPropertiesEncryptionOutput) ToGetProjectsProjectPropertiesEncryptionOutput added in v3.29.0

func (o GetProjectsProjectPropertiesEncryptionOutput) ToGetProjectsProjectPropertiesEncryptionOutput() GetProjectsProjectPropertiesEncryptionOutput

func (GetProjectsProjectPropertiesEncryptionOutput) ToGetProjectsProjectPropertiesEncryptionOutputWithContext added in v3.29.0

func (o GetProjectsProjectPropertiesEncryptionOutput) ToGetProjectsProjectPropertiesEncryptionOutputWithContext(ctx context.Context) GetProjectsProjectPropertiesEncryptionOutput

type GetProjectsProjectPropertiesInput added in v3.29.0

type GetProjectsProjectPropertiesInput interface {
	pulumi.Input

	ToGetProjectsProjectPropertiesOutput() GetProjectsProjectPropertiesOutput
	ToGetProjectsProjectPropertiesOutputWithContext(context.Context) GetProjectsProjectPropertiesOutput
}

GetProjectsProjectPropertiesInput is an input type that accepts GetProjectsProjectPropertiesArgs and GetProjectsProjectPropertiesOutput values. You can construct a concrete instance of `GetProjectsProjectPropertiesInput` via:

GetProjectsProjectPropertiesArgs{...}

type GetProjectsProjectPropertiesOutput added in v3.29.0

type GetProjectsProjectPropertiesOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectPropertiesOutput) AllowFullScan added in v3.29.0

Whether to allow full table scan. Default: false.

func (GetProjectsProjectPropertiesOutput) ElementType added in v3.29.0

func (GetProjectsProjectPropertiesOutput) EnableDecimal2 added in v3.29.0

Whether to turn on Decimal2.0.

func (GetProjectsProjectPropertiesOutput) Encryption added in v3.29.0

Storage encryption. For details, see [Storage Encryption](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/storage-encryption)> **NOTE :**:To enable storage encryption, you need to modify the parameters of the basic attributes of the MaxCompute project. This operation permission is authenticated by RAM, and you need to have the Super_Administrator role permission of the corresponding project.To configure the permissions and IP whitelist parameters of the MaxCompute project, you must have the management permissions (Admin) of the corresponding project, including Super_Administrator, Admin, or custom management permissions. For more information, see the project management permissions list.You can turn on storage encryption only for projects that have not turned on storage encryption. For projects that have turned on storage encryption, you cannot turn off storage encryption or change the encryption algorithm.

func (GetProjectsProjectPropertiesOutput) RetentionDays added in v3.29.0

Set the number of days to retain backup data. During this time, you can restore the current version to any backup version. The value range of days is [0,30], and the default value is 1. 0 means backup is turned off.The effective policy after adjusting the backup cycle is:Extend the backup cycle: The new backup cycle takes effect on the same day.Shorten the backup cycle: The system will automatically delete backup data that has exceeded the retention cycle.

func (GetProjectsProjectPropertiesOutput) SqlMeteringMax added in v3.29.0

Set the maximum threshold of single SQL consumption, that is, set the ODPS. SQL. metering.value.max attribute. For details, see [Consumption Monitoring Alarm](https://www.alibabacloud.com/help/en/maxcompute/product-overview/consumption-control).Unit: scan volume (GB)* complexity.

func (GetProjectsProjectPropertiesOutput) TableLifecycle added in v3.29.0

Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property,.

func (GetProjectsProjectPropertiesOutput) Timezone added in v3.29.0

Project time zone, example value: Asia/Shanghai.

func (GetProjectsProjectPropertiesOutput) ToGetProjectsProjectPropertiesOutput added in v3.29.0

func (o GetProjectsProjectPropertiesOutput) ToGetProjectsProjectPropertiesOutput() GetProjectsProjectPropertiesOutput

func (GetProjectsProjectPropertiesOutput) ToGetProjectsProjectPropertiesOutputWithContext added in v3.29.0

func (o GetProjectsProjectPropertiesOutput) ToGetProjectsProjectPropertiesOutputWithContext(ctx context.Context) GetProjectsProjectPropertiesOutput

func (GetProjectsProjectPropertiesOutput) TypeSystem added in v3.29.0

Data type version. Value:(1/2/hive)1: The original MaxCompute type system.2: New type system introduced by MaxCompute 2.0.hive: the type system of the Hive compatibility mode introduced by MaxCompute 2.0.

type GetProjectsProjectPropertiesTableLifecycle added in v3.29.0

type GetProjectsProjectPropertiesTableLifecycle struct {
	// Project type
	Type string `pulumi:"type"`
	// The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.
	Value string `pulumi:"value"`
}

type GetProjectsProjectPropertiesTableLifecycleArgs added in v3.29.0

type GetProjectsProjectPropertiesTableLifecycleArgs struct {
	// Project type
	Type pulumi.StringInput `pulumi:"type"`
	// The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetProjectsProjectPropertiesTableLifecycleArgs) ElementType added in v3.29.0

func (GetProjectsProjectPropertiesTableLifecycleArgs) ToGetProjectsProjectPropertiesTableLifecycleOutput added in v3.29.0

func (i GetProjectsProjectPropertiesTableLifecycleArgs) ToGetProjectsProjectPropertiesTableLifecycleOutput() GetProjectsProjectPropertiesTableLifecycleOutput

func (GetProjectsProjectPropertiesTableLifecycleArgs) ToGetProjectsProjectPropertiesTableLifecycleOutputWithContext added in v3.29.0

func (i GetProjectsProjectPropertiesTableLifecycleArgs) ToGetProjectsProjectPropertiesTableLifecycleOutputWithContext(ctx context.Context) GetProjectsProjectPropertiesTableLifecycleOutput

type GetProjectsProjectPropertiesTableLifecycleInput added in v3.29.0

type GetProjectsProjectPropertiesTableLifecycleInput interface {
	pulumi.Input

	ToGetProjectsProjectPropertiesTableLifecycleOutput() GetProjectsProjectPropertiesTableLifecycleOutput
	ToGetProjectsProjectPropertiesTableLifecycleOutputWithContext(context.Context) GetProjectsProjectPropertiesTableLifecycleOutput
}

GetProjectsProjectPropertiesTableLifecycleInput is an input type that accepts GetProjectsProjectPropertiesTableLifecycleArgs and GetProjectsProjectPropertiesTableLifecycleOutput values. You can construct a concrete instance of `GetProjectsProjectPropertiesTableLifecycleInput` via:

GetProjectsProjectPropertiesTableLifecycleArgs{...}

type GetProjectsProjectPropertiesTableLifecycleOutput added in v3.29.0

type GetProjectsProjectPropertiesTableLifecycleOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectPropertiesTableLifecycleOutput) ElementType added in v3.29.0

func (GetProjectsProjectPropertiesTableLifecycleOutput) ToGetProjectsProjectPropertiesTableLifecycleOutput added in v3.29.0

func (o GetProjectsProjectPropertiesTableLifecycleOutput) ToGetProjectsProjectPropertiesTableLifecycleOutput() GetProjectsProjectPropertiesTableLifecycleOutput

func (GetProjectsProjectPropertiesTableLifecycleOutput) ToGetProjectsProjectPropertiesTableLifecycleOutputWithContext added in v3.29.0

func (o GetProjectsProjectPropertiesTableLifecycleOutput) ToGetProjectsProjectPropertiesTableLifecycleOutputWithContext(ctx context.Context) GetProjectsProjectPropertiesTableLifecycleOutput

func (GetProjectsProjectPropertiesTableLifecycleOutput) Type added in v3.29.0

Project type

func (GetProjectsProjectPropertiesTableLifecycleOutput) Value added in v3.29.0

The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.

type GetProjectsProjectSecurityProperties added in v3.29.0

type GetProjectsProjectSecurityProperties struct {
	// Set whether to enable the [Download permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/download-control), that is, set the ODPS. security.enabledownloadprivilege property.
	EnableDownloadPrivilege bool `pulumi:"enableDownloadPrivilege"`
	// Set whether to use the [Label permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/label-based-access-control), that is, set the LabelSecurity attribute, which is not used by default.
	LabelSecurity bool `pulumi:"labelSecurity"`
	// Sets whether to allow the creator of the object to have access to the object, I .e. sets the attribute. The default is the allowed state.
	ObjectCreatorHasAccessPermission bool `pulumi:"objectCreatorHasAccessPermission"`
	// The ObjectCreatorHasGrantPermission attribute is set to allow the object creator to have the authorization permission on the object. The default is the allowed state.
	ObjectCreatorHasGrantPermission bool `pulumi:"objectCreatorHasGrantPermission"`
	// Project protection.
	ProjectProtection GetProjectsProjectSecurityPropertiesProjectProtection `pulumi:"projectProtection"`
	// Set whether to use the [ACL permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/maxcompute-permissions), that is, set the CheckPermissionUsingACL attribute, which is in use by default.
	UsingAcl bool `pulumi:"usingAcl"`
	// Set whether to use the Policy permission control function (https://www.alibabacloud.com/help/en/maxcompute/user-guide/policy-based-access-control-1), that is, set the CheckPermissionUsingACL attribute, which is in use by default.
	UsingPolicy bool `pulumi:"usingPolicy"`
}

type GetProjectsProjectSecurityPropertiesArgs added in v3.29.0

type GetProjectsProjectSecurityPropertiesArgs struct {
	// Set whether to enable the [Download permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/download-control), that is, set the ODPS. security.enabledownloadprivilege property.
	EnableDownloadPrivilege pulumi.BoolInput `pulumi:"enableDownloadPrivilege"`
	// Set whether to use the [Label permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/label-based-access-control), that is, set the LabelSecurity attribute, which is not used by default.
	LabelSecurity pulumi.BoolInput `pulumi:"labelSecurity"`
	// Sets whether to allow the creator of the object to have access to the object, I .e. sets the attribute. The default is the allowed state.
	ObjectCreatorHasAccessPermission pulumi.BoolInput `pulumi:"objectCreatorHasAccessPermission"`
	// The ObjectCreatorHasGrantPermission attribute is set to allow the object creator to have the authorization permission on the object. The default is the allowed state.
	ObjectCreatorHasGrantPermission pulumi.BoolInput `pulumi:"objectCreatorHasGrantPermission"`
	// Project protection.
	ProjectProtection GetProjectsProjectSecurityPropertiesProjectProtectionInput `pulumi:"projectProtection"`
	// Set whether to use the [ACL permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/maxcompute-permissions), that is, set the CheckPermissionUsingACL attribute, which is in use by default.
	UsingAcl pulumi.BoolInput `pulumi:"usingAcl"`
	// Set whether to use the Policy permission control function (https://www.alibabacloud.com/help/en/maxcompute/user-guide/policy-based-access-control-1), that is, set the CheckPermissionUsingACL attribute, which is in use by default.
	UsingPolicy pulumi.BoolInput `pulumi:"usingPolicy"`
}

func (GetProjectsProjectSecurityPropertiesArgs) ElementType added in v3.29.0

func (GetProjectsProjectSecurityPropertiesArgs) ToGetProjectsProjectSecurityPropertiesOutput added in v3.29.0

func (i GetProjectsProjectSecurityPropertiesArgs) ToGetProjectsProjectSecurityPropertiesOutput() GetProjectsProjectSecurityPropertiesOutput

func (GetProjectsProjectSecurityPropertiesArgs) ToGetProjectsProjectSecurityPropertiesOutputWithContext added in v3.29.0

func (i GetProjectsProjectSecurityPropertiesArgs) ToGetProjectsProjectSecurityPropertiesOutputWithContext(ctx context.Context) GetProjectsProjectSecurityPropertiesOutput

type GetProjectsProjectSecurityPropertiesInput added in v3.29.0

type GetProjectsProjectSecurityPropertiesInput interface {
	pulumi.Input

	ToGetProjectsProjectSecurityPropertiesOutput() GetProjectsProjectSecurityPropertiesOutput
	ToGetProjectsProjectSecurityPropertiesOutputWithContext(context.Context) GetProjectsProjectSecurityPropertiesOutput
}

GetProjectsProjectSecurityPropertiesInput is an input type that accepts GetProjectsProjectSecurityPropertiesArgs and GetProjectsProjectSecurityPropertiesOutput values. You can construct a concrete instance of `GetProjectsProjectSecurityPropertiesInput` via:

GetProjectsProjectSecurityPropertiesArgs{...}

type GetProjectsProjectSecurityPropertiesOutput added in v3.29.0

type GetProjectsProjectSecurityPropertiesOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectSecurityPropertiesOutput) ElementType added in v3.29.0

func (GetProjectsProjectSecurityPropertiesOutput) EnableDownloadPrivilege added in v3.29.0

func (o GetProjectsProjectSecurityPropertiesOutput) EnableDownloadPrivilege() pulumi.BoolOutput

Set whether to enable the [Download permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/download-control), that is, set the ODPS. security.enabledownloadprivilege property.

func (GetProjectsProjectSecurityPropertiesOutput) LabelSecurity added in v3.29.0

Set whether to use the [Label permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/label-based-access-control), that is, set the LabelSecurity attribute, which is not used by default.

func (GetProjectsProjectSecurityPropertiesOutput) ObjectCreatorHasAccessPermission added in v3.29.0

func (o GetProjectsProjectSecurityPropertiesOutput) ObjectCreatorHasAccessPermission() pulumi.BoolOutput

Sets whether to allow the creator of the object to have access to the object, I .e. sets the attribute. The default is the allowed state.

func (GetProjectsProjectSecurityPropertiesOutput) ObjectCreatorHasGrantPermission added in v3.29.0

func (o GetProjectsProjectSecurityPropertiesOutput) ObjectCreatorHasGrantPermission() pulumi.BoolOutput

The ObjectCreatorHasGrantPermission attribute is set to allow the object creator to have the authorization permission on the object. The default is the allowed state.

func (GetProjectsProjectSecurityPropertiesOutput) ProjectProtection added in v3.29.0

Project protection.

func (GetProjectsProjectSecurityPropertiesOutput) ToGetProjectsProjectSecurityPropertiesOutput added in v3.29.0

func (o GetProjectsProjectSecurityPropertiesOutput) ToGetProjectsProjectSecurityPropertiesOutput() GetProjectsProjectSecurityPropertiesOutput

func (GetProjectsProjectSecurityPropertiesOutput) ToGetProjectsProjectSecurityPropertiesOutputWithContext added in v3.29.0

func (o GetProjectsProjectSecurityPropertiesOutput) ToGetProjectsProjectSecurityPropertiesOutputWithContext(ctx context.Context) GetProjectsProjectSecurityPropertiesOutput

func (GetProjectsProjectSecurityPropertiesOutput) UsingAcl added in v3.29.0

Set whether to use the [ACL permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/maxcompute-permissions), that is, set the CheckPermissionUsingACL attribute, which is in use by default.

func (GetProjectsProjectSecurityPropertiesOutput) UsingPolicy added in v3.29.0

Set whether to use the Policy permission control function (https://www.alibabacloud.com/help/en/maxcompute/user-guide/policy-based-access-control-1), that is, set the CheckPermissionUsingACL attribute, which is in use by default.

type GetProjectsProjectSecurityPropertiesProjectProtection added in v3.29.0

type GetProjectsProjectSecurityPropertiesProjectProtection struct {
	// Set [Exceptions or Trusted Items](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/project-data-protection).
	ExceptionPolicy string `pulumi:"exceptionPolicy"`
	// Whether enabled, value:(true/false).
	Protected bool `pulumi:"protected"`
}

type GetProjectsProjectSecurityPropertiesProjectProtectionArgs added in v3.29.0

type GetProjectsProjectSecurityPropertiesProjectProtectionArgs struct {
	// Set [Exceptions or Trusted Items](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/project-data-protection).
	ExceptionPolicy pulumi.StringInput `pulumi:"exceptionPolicy"`
	// Whether enabled, value:(true/false).
	Protected pulumi.BoolInput `pulumi:"protected"`
}

func (GetProjectsProjectSecurityPropertiesProjectProtectionArgs) ElementType added in v3.29.0

func (GetProjectsProjectSecurityPropertiesProjectProtectionArgs) ToGetProjectsProjectSecurityPropertiesProjectProtectionOutput added in v3.29.0

func (GetProjectsProjectSecurityPropertiesProjectProtectionArgs) ToGetProjectsProjectSecurityPropertiesProjectProtectionOutputWithContext added in v3.29.0

func (i GetProjectsProjectSecurityPropertiesProjectProtectionArgs) ToGetProjectsProjectSecurityPropertiesProjectProtectionOutputWithContext(ctx context.Context) GetProjectsProjectSecurityPropertiesProjectProtectionOutput

type GetProjectsProjectSecurityPropertiesProjectProtectionInput added in v3.29.0

type GetProjectsProjectSecurityPropertiesProjectProtectionInput interface {
	pulumi.Input

	ToGetProjectsProjectSecurityPropertiesProjectProtectionOutput() GetProjectsProjectSecurityPropertiesProjectProtectionOutput
	ToGetProjectsProjectSecurityPropertiesProjectProtectionOutputWithContext(context.Context) GetProjectsProjectSecurityPropertiesProjectProtectionOutput
}

GetProjectsProjectSecurityPropertiesProjectProtectionInput is an input type that accepts GetProjectsProjectSecurityPropertiesProjectProtectionArgs and GetProjectsProjectSecurityPropertiesProjectProtectionOutput values. You can construct a concrete instance of `GetProjectsProjectSecurityPropertiesProjectProtectionInput` via:

GetProjectsProjectSecurityPropertiesProjectProtectionArgs{...}

type GetProjectsProjectSecurityPropertiesProjectProtectionOutput added in v3.29.0

type GetProjectsProjectSecurityPropertiesProjectProtectionOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectSecurityPropertiesProjectProtectionOutput) ElementType added in v3.29.0

func (GetProjectsProjectSecurityPropertiesProjectProtectionOutput) ExceptionPolicy added in v3.29.0

Set [Exceptions or Trusted Items](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/project-data-protection).

func (GetProjectsProjectSecurityPropertiesProjectProtectionOutput) Protected added in v3.29.0

Whether enabled, value:(true/false).

func (GetProjectsProjectSecurityPropertiesProjectProtectionOutput) ToGetProjectsProjectSecurityPropertiesProjectProtectionOutput added in v3.29.0

func (GetProjectsProjectSecurityPropertiesProjectProtectionOutput) ToGetProjectsProjectSecurityPropertiesProjectProtectionOutputWithContext added in v3.29.0

func (o GetProjectsProjectSecurityPropertiesProjectProtectionOutput) ToGetProjectsProjectSecurityPropertiesProjectProtectionOutputWithContext(ctx context.Context) GetProjectsProjectSecurityPropertiesProjectProtectionOutput

type GetProjectsResult added in v3.29.0

type GetProjectsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of Project IDs.
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of name of Projects.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// A list of Project Entries. Each element contains the following attributes:
	Projects []GetProjectsProject `pulumi:"projects"`
}

A collection of values returned by getProjects.

func GetProjects added in v3.29.0

func GetProjects(ctx *pulumi.Context, args *GetProjectsArgs, opts ...pulumi.InvokeOption) (*GetProjectsResult, error)

This data source provides Max Compute Project available to the user.[What is Project](https://www.alibabacloud.com/help/en/maxcompute/)

> **NOTE:** Available since v1.196.0.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/maxcompute"
"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_acc"; if param := cfg.Get("name"); param != ""{ name = param } defaultProject, err := maxcompute.NewProject(ctx, "default", &maxcompute.ProjectArgs{ DefaultQuota: pulumi.String("默认后付费Quota"), ProjectName: pulumi.String(name), Comment: pulumi.String(name), ProductType: pulumi.String("PayAsYouGo"), }) if err != nil { return err } _default := maxcompute.GetProjectsOutput(ctx, maxcompute.GetProjectsOutputArgs{ NameRegex: defaultProject.ProjectName, }, nil); ctx.Export("alicloudMaxcomputeProjectExampleId", _default.ApplyT(func(_default maxcompute.GetProjectsResult) (*string, error) { return &default.Projects[0].ProjectName, nil }).(pulumi.StringPtrOutput)) return nil }) } ```

type GetProjectsResultOutput added in v3.29.0

type GetProjectsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjects.

func GetProjectsOutput added in v3.29.0

func GetProjectsOutput(ctx *pulumi.Context, args GetProjectsOutputArgs, opts ...pulumi.InvokeOption) GetProjectsResultOutput

func (GetProjectsResultOutput) ElementType added in v3.29.0

func (GetProjectsResultOutput) ElementType() reflect.Type

func (GetProjectsResultOutput) Id added in v3.29.0

The provider-assigned unique ID for this managed resource.

func (GetProjectsResultOutput) Ids added in v3.29.0

A list of Project IDs.

func (GetProjectsResultOutput) NameRegex added in v3.29.0

func (GetProjectsResultOutput) Names added in v3.29.0

A list of name of Projects.

func (GetProjectsResultOutput) OutputFile added in v3.29.0

func (GetProjectsResultOutput) Projects added in v3.29.0

A list of Project Entries. Each element contains the following attributes:

func (GetProjectsResultOutput) ToGetProjectsResultOutput added in v3.29.0

func (o GetProjectsResultOutput) ToGetProjectsResultOutput() GetProjectsResultOutput

func (GetProjectsResultOutput) ToGetProjectsResultOutputWithContext added in v3.29.0

func (o GetProjectsResultOutput) ToGetProjectsResultOutputWithContext(ctx context.Context) GetProjectsResultOutput

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 Maxcompute service that means you have read and agreed the [Maxcompute Terms of Service](https://help.aliyun.com/document_detail/98605.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 Maxcompute service that means you have read and agreed the [Maxcompute Terms of Service](https://help.aliyun.com/document_detail/98605.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)

> **NOTE:** When you open MaxCompute service, you'd better open [DataWorks service](https://www.alibabacloud.com/help/en/product/72772.htm) as well.

Using this data source can open Maxcompute service automatically. If the service has been opened, it will return opened.

For information about Maxcompute and how to use it, see [What is Maxcompute](https://www.alibabacloud.com/help/en/product/27797.htm).

> **NOTE:** Available in v1.117.0+

> **NOTE:** This datasource has been deprecated since provider version v1.228.0.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/maxcompute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := maxcompute.GetService(ctx, &maxcompute.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 (GetServiceResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetServiceResultOutput) Status added in v3.9.0

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

type Project struct {
	pulumi.CustomResourceState

	// Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
	Comment pulumi.StringPtrOutput `pulumi:"comment"`
	// Represents the creation time of the project
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Used to implement computing resource allocation. If the calculation Quota is not specified, the default Quota resource will be consumed by jobs initiated by the project. For more information about computing resource usage, see [Computing Resource Usage](https://www.alibabacloud.com/help/en/maxcompute/user-guide/use-of-computing-resources).
	DefaultQuota pulumi.StringPtrOutput `pulumi:"defaultQuota"`
	// IP whitelist See `ipWhiteList` below.
	IpWhiteList ProjectIpWhiteListPtrOutput `pulumi:"ipWhiteList"`
	// Logical deletion, value: (true/false) true: In this case, the project status will be changed to 'DELETING' and completely deleted after 14 days. false: immediately deleted, that is, completely deleted, permanently unrecoverable.
	IsLogical pulumi.StringPtrOutput `pulumi:"isLogical"`
	// Project owner
	Owner pulumi.StringOutput `pulumi:"owner"`
	// Quota payment type, support `PayAsYouGo`, `Subscription`, `Dev`.
	ProductType pulumi.StringPtrOutput `pulumi:"productType"`
	// The name begins with a letter, containing letters, digits, and underscores (_). It can be 3 to 28 characters in length and is globally unique.
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
	// Project base attributes See `properties` below.
	Properties ProjectPropertiesOutput `pulumi:"properties"`
	// Security-related attributes See `securityProperties` below.
	SecurityProperties ProjectSecurityPropertiesOutput `pulumi:"securityProperties"`
	// The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
	Status pulumi.StringOutput `pulumi:"status"`
	// The tag of the resource
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Project type
	Type pulumi.StringOutput `pulumi:"type"`
}

Provides a Max Compute Project resource.

MaxCompute project .

For information about Max Compute Project and how to use it, see [What is Project](https://www.alibabacloud.com/help/en/maxcompute/).

> **NOTE:** Available since v1.77.0.

> **NOTE:** Field `name`, `specificationType`, `orderType` has been removed from provider version 1.227.1.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/maxcompute"
"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
		}
		_, err := maxcompute.NewProject(ctx, "default", &maxcompute.ProjectArgs{
			DefaultQuota: pulumi.String("默认后付费Quota"),
			ProjectName:  pulumi.String(name),
			Comment:      pulumi.String(name),
			ProductType:  pulumi.String("PayAsYouGo"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Max Compute Project can be imported using the id, e.g.

```sh $ pulumi import alicloud:maxcompute/project:Project example <id> ```

func GetProject

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

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

func (*Project) ElementType() reflect.Type

func (*Project) ToProjectOutput

func (i *Project) ToProjectOutput() ProjectOutput

func (*Project) ToProjectOutputWithContext

func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

type ProjectArgs

type ProjectArgs struct {
	// Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
	Comment pulumi.StringPtrInput
	// Used to implement computing resource allocation. If the calculation Quota is not specified, the default Quota resource will be consumed by jobs initiated by the project. For more information about computing resource usage, see [Computing Resource Usage](https://www.alibabacloud.com/help/en/maxcompute/user-guide/use-of-computing-resources).
	DefaultQuota pulumi.StringPtrInput
	// IP whitelist See `ipWhiteList` below.
	IpWhiteList ProjectIpWhiteListPtrInput
	// Logical deletion, value: (true/false) true: In this case, the project status will be changed to 'DELETING' and completely deleted after 14 days. false: immediately deleted, that is, completely deleted, permanently unrecoverable.
	IsLogical pulumi.StringPtrInput
	// Quota payment type, support `PayAsYouGo`, `Subscription`, `Dev`.
	ProductType pulumi.StringPtrInput
	// The name begins with a letter, containing letters, digits, and underscores (_). It can be 3 to 28 characters in length and is globally unique.
	ProjectName pulumi.StringPtrInput
	// Project base attributes See `properties` below.
	Properties ProjectPropertiesPtrInput
	// Security-related attributes See `securityProperties` below.
	SecurityProperties ProjectSecurityPropertiesPtrInput
	// The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
	Status pulumi.StringPtrInput
	// The tag of the resource
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Project resource.

func (ProjectArgs) ElementType

func (ProjectArgs) ElementType() reflect.Type

type ProjectArray

type ProjectArray []ProjectInput

func (ProjectArray) ElementType

func (ProjectArray) ElementType() reflect.Type

func (ProjectArray) ToProjectArrayOutput

func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArray) ToProjectArrayOutputWithContext

func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectArrayInput

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

type ProjectArrayOutput struct{ *pulumi.OutputState }

func (ProjectArrayOutput) ElementType

func (ProjectArrayOutput) ElementType() reflect.Type

func (ProjectArrayOutput) Index

func (ProjectArrayOutput) ToProjectArrayOutput

func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArrayOutput) ToProjectArrayOutputWithContext

func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectInput

type ProjectInput interface {
	pulumi.Input

	ToProjectOutput() ProjectOutput
	ToProjectOutputWithContext(ctx context.Context) ProjectOutput
}

type ProjectIpWhiteList added in v3.29.0

type ProjectIpWhiteList struct {
	// Set the IP address whitelist in the classic network. Only devices in the whitelist are allowed to access the project.> **NOTE:** If you only configure a classic network IP address whitelist, access to the classic network is restricted and all access to the VPC is prohibited.
	IpList *string `pulumi:"ipList"`
	// Set the IP address whitelist in the VPC network to allow only devices in the whitelist to access the project space.> **NOTE:** If you only configure a VPC network IP address whitelist, access to the VPC network is restricted and access to the classic network is prohibited.
	VpcIpList *string `pulumi:"vpcIpList"`
}

type ProjectIpWhiteListArgs added in v3.29.0

type ProjectIpWhiteListArgs struct {
	// Set the IP address whitelist in the classic network. Only devices in the whitelist are allowed to access the project.> **NOTE:** If you only configure a classic network IP address whitelist, access to the classic network is restricted and all access to the VPC is prohibited.
	IpList pulumi.StringPtrInput `pulumi:"ipList"`
	// Set the IP address whitelist in the VPC network to allow only devices in the whitelist to access the project space.> **NOTE:** If you only configure a VPC network IP address whitelist, access to the VPC network is restricted and access to the classic network is prohibited.
	VpcIpList pulumi.StringPtrInput `pulumi:"vpcIpList"`
}

func (ProjectIpWhiteListArgs) ElementType added in v3.29.0

func (ProjectIpWhiteListArgs) ElementType() reflect.Type

func (ProjectIpWhiteListArgs) ToProjectIpWhiteListOutput added in v3.29.0

func (i ProjectIpWhiteListArgs) ToProjectIpWhiteListOutput() ProjectIpWhiteListOutput

func (ProjectIpWhiteListArgs) ToProjectIpWhiteListOutputWithContext added in v3.29.0

func (i ProjectIpWhiteListArgs) ToProjectIpWhiteListOutputWithContext(ctx context.Context) ProjectIpWhiteListOutput

func (ProjectIpWhiteListArgs) ToProjectIpWhiteListPtrOutput added in v3.29.0

func (i ProjectIpWhiteListArgs) ToProjectIpWhiteListPtrOutput() ProjectIpWhiteListPtrOutput

func (ProjectIpWhiteListArgs) ToProjectIpWhiteListPtrOutputWithContext added in v3.29.0

func (i ProjectIpWhiteListArgs) ToProjectIpWhiteListPtrOutputWithContext(ctx context.Context) ProjectIpWhiteListPtrOutput

type ProjectIpWhiteListInput added in v3.29.0

type ProjectIpWhiteListInput interface {
	pulumi.Input

	ToProjectIpWhiteListOutput() ProjectIpWhiteListOutput
	ToProjectIpWhiteListOutputWithContext(context.Context) ProjectIpWhiteListOutput
}

ProjectIpWhiteListInput is an input type that accepts ProjectIpWhiteListArgs and ProjectIpWhiteListOutput values. You can construct a concrete instance of `ProjectIpWhiteListInput` via:

ProjectIpWhiteListArgs{...}

type ProjectIpWhiteListOutput added in v3.29.0

type ProjectIpWhiteListOutput struct{ *pulumi.OutputState }

func (ProjectIpWhiteListOutput) ElementType added in v3.29.0

func (ProjectIpWhiteListOutput) ElementType() reflect.Type

func (ProjectIpWhiteListOutput) IpList added in v3.29.0

Set the IP address whitelist in the classic network. Only devices in the whitelist are allowed to access the project.> **NOTE:** If you only configure a classic network IP address whitelist, access to the classic network is restricted and all access to the VPC is prohibited.

func (ProjectIpWhiteListOutput) ToProjectIpWhiteListOutput added in v3.29.0

func (o ProjectIpWhiteListOutput) ToProjectIpWhiteListOutput() ProjectIpWhiteListOutput

func (ProjectIpWhiteListOutput) ToProjectIpWhiteListOutputWithContext added in v3.29.0

func (o ProjectIpWhiteListOutput) ToProjectIpWhiteListOutputWithContext(ctx context.Context) ProjectIpWhiteListOutput

func (ProjectIpWhiteListOutput) ToProjectIpWhiteListPtrOutput added in v3.29.0

func (o ProjectIpWhiteListOutput) ToProjectIpWhiteListPtrOutput() ProjectIpWhiteListPtrOutput

func (ProjectIpWhiteListOutput) ToProjectIpWhiteListPtrOutputWithContext added in v3.29.0

func (o ProjectIpWhiteListOutput) ToProjectIpWhiteListPtrOutputWithContext(ctx context.Context) ProjectIpWhiteListPtrOutput

func (ProjectIpWhiteListOutput) VpcIpList added in v3.29.0

Set the IP address whitelist in the VPC network to allow only devices in the whitelist to access the project space.> **NOTE:** If you only configure a VPC network IP address whitelist, access to the VPC network is restricted and access to the classic network is prohibited.

type ProjectIpWhiteListPtrInput added in v3.29.0

type ProjectIpWhiteListPtrInput interface {
	pulumi.Input

	ToProjectIpWhiteListPtrOutput() ProjectIpWhiteListPtrOutput
	ToProjectIpWhiteListPtrOutputWithContext(context.Context) ProjectIpWhiteListPtrOutput
}

ProjectIpWhiteListPtrInput is an input type that accepts ProjectIpWhiteListArgs, ProjectIpWhiteListPtr and ProjectIpWhiteListPtrOutput values. You can construct a concrete instance of `ProjectIpWhiteListPtrInput` via:

        ProjectIpWhiteListArgs{...}

or:

        nil

func ProjectIpWhiteListPtr added in v3.29.0

func ProjectIpWhiteListPtr(v *ProjectIpWhiteListArgs) ProjectIpWhiteListPtrInput

type ProjectIpWhiteListPtrOutput added in v3.29.0

type ProjectIpWhiteListPtrOutput struct{ *pulumi.OutputState }

func (ProjectIpWhiteListPtrOutput) Elem added in v3.29.0

func (ProjectIpWhiteListPtrOutput) ElementType added in v3.29.0

func (ProjectIpWhiteListPtrOutput) IpList added in v3.29.0

Set the IP address whitelist in the classic network. Only devices in the whitelist are allowed to access the project.> **NOTE:** If you only configure a classic network IP address whitelist, access to the classic network is restricted and all access to the VPC is prohibited.

func (ProjectIpWhiteListPtrOutput) ToProjectIpWhiteListPtrOutput added in v3.29.0

func (o ProjectIpWhiteListPtrOutput) ToProjectIpWhiteListPtrOutput() ProjectIpWhiteListPtrOutput

func (ProjectIpWhiteListPtrOutput) ToProjectIpWhiteListPtrOutputWithContext added in v3.29.0

func (o ProjectIpWhiteListPtrOutput) ToProjectIpWhiteListPtrOutputWithContext(ctx context.Context) ProjectIpWhiteListPtrOutput

func (ProjectIpWhiteListPtrOutput) VpcIpList added in v3.29.0

Set the IP address whitelist in the VPC network to allow only devices in the whitelist to access the project space.> **NOTE:** If you only configure a VPC network IP address whitelist, access to the VPC network is restricted and access to the classic network is prohibited.

type ProjectMap

type ProjectMap map[string]ProjectInput

func (ProjectMap) ElementType

func (ProjectMap) ElementType() reflect.Type

func (ProjectMap) ToProjectMapOutput

func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput

func (ProjectMap) ToProjectMapOutputWithContext

func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectMapInput

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

type ProjectMapOutput struct{ *pulumi.OutputState }

func (ProjectMapOutput) ElementType

func (ProjectMapOutput) ElementType() reflect.Type

func (ProjectMapOutput) MapIndex

func (ProjectMapOutput) ToProjectMapOutput

func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput

func (ProjectMapOutput) ToProjectMapOutputWithContext

func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectOutput

type ProjectOutput struct{ *pulumi.OutputState }

func (ProjectOutput) Comment added in v3.29.0

func (o ProjectOutput) Comment() pulumi.StringPtrOutput

Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.

func (ProjectOutput) CreateTime added in v3.59.1

func (o ProjectOutput) CreateTime() pulumi.StringOutput

Represents the creation time of the project

func (ProjectOutput) DefaultQuota added in v3.29.0

func (o ProjectOutput) DefaultQuota() pulumi.StringPtrOutput

Used to implement computing resource allocation. If the calculation Quota is not specified, the default Quota resource will be consumed by jobs initiated by the project. For more information about computing resource usage, see [Computing Resource Usage](https://www.alibabacloud.com/help/en/maxcompute/user-guide/use-of-computing-resources).

func (ProjectOutput) ElementType

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) IpWhiteList added in v3.29.0

IP whitelist See `ipWhiteList` below.

func (ProjectOutput) IsLogical added in v3.59.1

func (o ProjectOutput) IsLogical() pulumi.StringPtrOutput

Logical deletion, value: (true/false) true: In this case, the project status will be changed to 'DELETING' and completely deleted after 14 days. false: immediately deleted, that is, completely deleted, permanently unrecoverable.

func (ProjectOutput) Owner added in v3.29.0

func (o ProjectOutput) Owner() pulumi.StringOutput

Project owner

func (ProjectOutput) ProductType added in v3.29.0

func (o ProjectOutput) ProductType() pulumi.StringPtrOutput

Quota payment type, support `PayAsYouGo`, `Subscription`, `Dev`.

func (ProjectOutput) ProjectName added in v3.27.0

func (o ProjectOutput) ProjectName() pulumi.StringOutput

The name begins with a letter, containing letters, digits, and underscores (_). It can be 3 to 28 characters in length and is globally unique.

func (ProjectOutput) Properties added in v3.29.0

func (o ProjectOutput) Properties() ProjectPropertiesOutput

Project base attributes See `properties` below.

func (ProjectOutput) SecurityProperties added in v3.29.0

func (o ProjectOutput) SecurityProperties() ProjectSecurityPropertiesOutput

Security-related attributes See `securityProperties` below.

func (ProjectOutput) Status added in v3.29.0

func (o ProjectOutput) Status() pulumi.StringOutput

The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)

func (ProjectOutput) Tags added in v3.59.1

The tag of the resource

func (ProjectOutput) ToProjectOutput

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext

func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

func (ProjectOutput) Type added in v3.29.0

Project type

type ProjectProperties added in v3.29.0

type ProjectProperties struct {
	// Whether to allow full table scan. Default: false.
	AllowFullScan *bool `pulumi:"allowFullScan"`
	// Whether to turn on Decimal2.0.
	EnableDecimal2 *bool `pulumi:"enableDecimal2"`
	// Storage encryption. For details, see [Storage Encryption](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/storage-encryption)
	// > **NOTE :**:  To enable storage encryption, you need to modify the parameters of the basic attributes of the MaxCompute project. This operation permission is authenticated by RAM, and you need to have the Super_Administrator role permission of the corresponding project.  To configure the permissions and IP whitelist parameters of the MaxCompute project, you must have the management permissions (Admin) of the corresponding project, including Super_Administrator, Admin, or custom management permissions. For more information, see the project management permissions list.  You can turn on storage encryption only for projects that have not turned on storage encryption. For projects that have turned on storage encryption, you cannot turn off storage encryption or change the encryption algorithm. See `encryption` below.
	Encryption *ProjectPropertiesEncryption `pulumi:"encryption"`
	// Set the number of days to retain backup data. During this time, you can restore the current version to any backup version. The value range of days is [0,30], and the default value is 1. 0 means backup is turned off. The effective policy after adjusting the backup cycle is: Extend the backup cycle: The new backup cycle takes effect on the same day. Shorten the backup cycle: The system will automatically delete backup data that has exceeded the retention cycle.
	RetentionDays *int `pulumi:"retentionDays"`
	// Set the maximum threshold of single SQL consumption, that is, set the ODPS. SQL. metering.value.max attribute. For details, see [Consumption Monitoring Alarm](https://www.alibabacloud.com/help/en/maxcompute/product-overview/consumption-control). Unit: scan volume (GB)* complexity. .
	SqlMeteringMax *string `pulumi:"sqlMeteringMax"`
	// Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property,. See `tableLifecycle` below.
	TableLifecycle *ProjectPropertiesTableLifecycle `pulumi:"tableLifecycle"`
	// Project time zone, example value: Asia/Shanghai.
	Timezone *string `pulumi:"timezone"`
	// Data type version. Value:(1/2/hive) 1: The original MaxCompute type system. 2: New type system introduced by MaxCompute 2.0. hive: the type system of the Hive compatibility mode introduced by MaxCompute 2.0.
	TypeSystem *string `pulumi:"typeSystem"`
}

type ProjectPropertiesArgs added in v3.29.0

type ProjectPropertiesArgs struct {
	// Whether to allow full table scan. Default: false.
	AllowFullScan pulumi.BoolPtrInput `pulumi:"allowFullScan"`
	// Whether to turn on Decimal2.0.
	EnableDecimal2 pulumi.BoolPtrInput `pulumi:"enableDecimal2"`
	// Storage encryption. For details, see [Storage Encryption](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/storage-encryption)
	// > **NOTE :**:  To enable storage encryption, you need to modify the parameters of the basic attributes of the MaxCompute project. This operation permission is authenticated by RAM, and you need to have the Super_Administrator role permission of the corresponding project.  To configure the permissions and IP whitelist parameters of the MaxCompute project, you must have the management permissions (Admin) of the corresponding project, including Super_Administrator, Admin, or custom management permissions. For more information, see the project management permissions list.  You can turn on storage encryption only for projects that have not turned on storage encryption. For projects that have turned on storage encryption, you cannot turn off storage encryption or change the encryption algorithm. See `encryption` below.
	Encryption ProjectPropertiesEncryptionPtrInput `pulumi:"encryption"`
	// Set the number of days to retain backup data. During this time, you can restore the current version to any backup version. The value range of days is [0,30], and the default value is 1. 0 means backup is turned off. The effective policy after adjusting the backup cycle is: Extend the backup cycle: The new backup cycle takes effect on the same day. Shorten the backup cycle: The system will automatically delete backup data that has exceeded the retention cycle.
	RetentionDays pulumi.IntPtrInput `pulumi:"retentionDays"`
	// Set the maximum threshold of single SQL consumption, that is, set the ODPS. SQL. metering.value.max attribute. For details, see [Consumption Monitoring Alarm](https://www.alibabacloud.com/help/en/maxcompute/product-overview/consumption-control). Unit: scan volume (GB)* complexity. .
	SqlMeteringMax pulumi.StringPtrInput `pulumi:"sqlMeteringMax"`
	// Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property,. See `tableLifecycle` below.
	TableLifecycle ProjectPropertiesTableLifecyclePtrInput `pulumi:"tableLifecycle"`
	// Project time zone, example value: Asia/Shanghai.
	Timezone pulumi.StringPtrInput `pulumi:"timezone"`
	// Data type version. Value:(1/2/hive) 1: The original MaxCompute type system. 2: New type system introduced by MaxCompute 2.0. hive: the type system of the Hive compatibility mode introduced by MaxCompute 2.0.
	TypeSystem pulumi.StringPtrInput `pulumi:"typeSystem"`
}

func (ProjectPropertiesArgs) ElementType added in v3.29.0

func (ProjectPropertiesArgs) ElementType() reflect.Type

func (ProjectPropertiesArgs) ToProjectPropertiesOutput added in v3.29.0

func (i ProjectPropertiesArgs) ToProjectPropertiesOutput() ProjectPropertiesOutput

func (ProjectPropertiesArgs) ToProjectPropertiesOutputWithContext added in v3.29.0

func (i ProjectPropertiesArgs) ToProjectPropertiesOutputWithContext(ctx context.Context) ProjectPropertiesOutput

func (ProjectPropertiesArgs) ToProjectPropertiesPtrOutput added in v3.29.0

func (i ProjectPropertiesArgs) ToProjectPropertiesPtrOutput() ProjectPropertiesPtrOutput

func (ProjectPropertiesArgs) ToProjectPropertiesPtrOutputWithContext added in v3.29.0

func (i ProjectPropertiesArgs) ToProjectPropertiesPtrOutputWithContext(ctx context.Context) ProjectPropertiesPtrOutput

type ProjectPropertiesEncryption added in v3.29.0

type ProjectPropertiesEncryption struct {
	// The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
	Algorithm *string `pulumi:"algorithm"`
	// Only enable function is supported. Value: (true).
	Enable *bool `pulumi:"enable"`
	// The encryption algorithm Key, the Key type used by the project, including the Default Key (MaxCompute Default Key) and the self-contained Key (BYOK). The MaxCompute Default Key is the Default Key created inside MaxCompute.
	Key *string `pulumi:"key"`
}

type ProjectPropertiesEncryptionArgs added in v3.29.0

type ProjectPropertiesEncryptionArgs struct {
	// The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
	Algorithm pulumi.StringPtrInput `pulumi:"algorithm"`
	// Only enable function is supported. Value: (true).
	Enable pulumi.BoolPtrInput `pulumi:"enable"`
	// The encryption algorithm Key, the Key type used by the project, including the Default Key (MaxCompute Default Key) and the self-contained Key (BYOK). The MaxCompute Default Key is the Default Key created inside MaxCompute.
	Key pulumi.StringPtrInput `pulumi:"key"`
}

func (ProjectPropertiesEncryptionArgs) ElementType added in v3.29.0

func (ProjectPropertiesEncryptionArgs) ToProjectPropertiesEncryptionOutput added in v3.29.0

func (i ProjectPropertiesEncryptionArgs) ToProjectPropertiesEncryptionOutput() ProjectPropertiesEncryptionOutput

func (ProjectPropertiesEncryptionArgs) ToProjectPropertiesEncryptionOutputWithContext added in v3.29.0

func (i ProjectPropertiesEncryptionArgs) ToProjectPropertiesEncryptionOutputWithContext(ctx context.Context) ProjectPropertiesEncryptionOutput

func (ProjectPropertiesEncryptionArgs) ToProjectPropertiesEncryptionPtrOutput added in v3.29.0

func (i ProjectPropertiesEncryptionArgs) ToProjectPropertiesEncryptionPtrOutput() ProjectPropertiesEncryptionPtrOutput

func (ProjectPropertiesEncryptionArgs) ToProjectPropertiesEncryptionPtrOutputWithContext added in v3.29.0

func (i ProjectPropertiesEncryptionArgs) ToProjectPropertiesEncryptionPtrOutputWithContext(ctx context.Context) ProjectPropertiesEncryptionPtrOutput

type ProjectPropertiesEncryptionInput added in v3.29.0

type ProjectPropertiesEncryptionInput interface {
	pulumi.Input

	ToProjectPropertiesEncryptionOutput() ProjectPropertiesEncryptionOutput
	ToProjectPropertiesEncryptionOutputWithContext(context.Context) ProjectPropertiesEncryptionOutput
}

ProjectPropertiesEncryptionInput is an input type that accepts ProjectPropertiesEncryptionArgs and ProjectPropertiesEncryptionOutput values. You can construct a concrete instance of `ProjectPropertiesEncryptionInput` via:

ProjectPropertiesEncryptionArgs{...}

type ProjectPropertiesEncryptionOutput added in v3.29.0

type ProjectPropertiesEncryptionOutput struct{ *pulumi.OutputState }

func (ProjectPropertiesEncryptionOutput) Algorithm added in v3.29.0

The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.

func (ProjectPropertiesEncryptionOutput) ElementType added in v3.29.0

func (ProjectPropertiesEncryptionOutput) Enable added in v3.29.0

Only enable function is supported. Value: (true).

func (ProjectPropertiesEncryptionOutput) Key added in v3.29.0

The encryption algorithm Key, the Key type used by the project, including the Default Key (MaxCompute Default Key) and the self-contained Key (BYOK). The MaxCompute Default Key is the Default Key created inside MaxCompute.

func (ProjectPropertiesEncryptionOutput) ToProjectPropertiesEncryptionOutput added in v3.29.0

func (o ProjectPropertiesEncryptionOutput) ToProjectPropertiesEncryptionOutput() ProjectPropertiesEncryptionOutput

func (ProjectPropertiesEncryptionOutput) ToProjectPropertiesEncryptionOutputWithContext added in v3.29.0

func (o ProjectPropertiesEncryptionOutput) ToProjectPropertiesEncryptionOutputWithContext(ctx context.Context) ProjectPropertiesEncryptionOutput

func (ProjectPropertiesEncryptionOutput) ToProjectPropertiesEncryptionPtrOutput added in v3.29.0

func (o ProjectPropertiesEncryptionOutput) ToProjectPropertiesEncryptionPtrOutput() ProjectPropertiesEncryptionPtrOutput

func (ProjectPropertiesEncryptionOutput) ToProjectPropertiesEncryptionPtrOutputWithContext added in v3.29.0

func (o ProjectPropertiesEncryptionOutput) ToProjectPropertiesEncryptionPtrOutputWithContext(ctx context.Context) ProjectPropertiesEncryptionPtrOutput

type ProjectPropertiesEncryptionPtrInput added in v3.29.0

type ProjectPropertiesEncryptionPtrInput interface {
	pulumi.Input

	ToProjectPropertiesEncryptionPtrOutput() ProjectPropertiesEncryptionPtrOutput
	ToProjectPropertiesEncryptionPtrOutputWithContext(context.Context) ProjectPropertiesEncryptionPtrOutput
}

ProjectPropertiesEncryptionPtrInput is an input type that accepts ProjectPropertiesEncryptionArgs, ProjectPropertiesEncryptionPtr and ProjectPropertiesEncryptionPtrOutput values. You can construct a concrete instance of `ProjectPropertiesEncryptionPtrInput` via:

        ProjectPropertiesEncryptionArgs{...}

or:

        nil

func ProjectPropertiesEncryptionPtr added in v3.29.0

type ProjectPropertiesEncryptionPtrOutput added in v3.29.0

type ProjectPropertiesEncryptionPtrOutput struct{ *pulumi.OutputState }

func (ProjectPropertiesEncryptionPtrOutput) Algorithm added in v3.29.0

The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.

func (ProjectPropertiesEncryptionPtrOutput) Elem added in v3.29.0

func (ProjectPropertiesEncryptionPtrOutput) ElementType added in v3.29.0

func (ProjectPropertiesEncryptionPtrOutput) Enable added in v3.29.0

Only enable function is supported. Value: (true).

func (ProjectPropertiesEncryptionPtrOutput) Key added in v3.29.0

The encryption algorithm Key, the Key type used by the project, including the Default Key (MaxCompute Default Key) and the self-contained Key (BYOK). The MaxCompute Default Key is the Default Key created inside MaxCompute.

func (ProjectPropertiesEncryptionPtrOutput) ToProjectPropertiesEncryptionPtrOutput added in v3.29.0

func (o ProjectPropertiesEncryptionPtrOutput) ToProjectPropertiesEncryptionPtrOutput() ProjectPropertiesEncryptionPtrOutput

func (ProjectPropertiesEncryptionPtrOutput) ToProjectPropertiesEncryptionPtrOutputWithContext added in v3.29.0

func (o ProjectPropertiesEncryptionPtrOutput) ToProjectPropertiesEncryptionPtrOutputWithContext(ctx context.Context) ProjectPropertiesEncryptionPtrOutput

type ProjectPropertiesInput added in v3.29.0

type ProjectPropertiesInput interface {
	pulumi.Input

	ToProjectPropertiesOutput() ProjectPropertiesOutput
	ToProjectPropertiesOutputWithContext(context.Context) ProjectPropertiesOutput
}

ProjectPropertiesInput is an input type that accepts ProjectPropertiesArgs and ProjectPropertiesOutput values. You can construct a concrete instance of `ProjectPropertiesInput` via:

ProjectPropertiesArgs{...}

type ProjectPropertiesOutput added in v3.29.0

type ProjectPropertiesOutput struct{ *pulumi.OutputState }

func (ProjectPropertiesOutput) AllowFullScan added in v3.29.0

func (o ProjectPropertiesOutput) AllowFullScan() pulumi.BoolPtrOutput

Whether to allow full table scan. Default: false.

func (ProjectPropertiesOutput) ElementType added in v3.29.0

func (ProjectPropertiesOutput) ElementType() reflect.Type

func (ProjectPropertiesOutput) EnableDecimal2 added in v3.29.0

func (o ProjectPropertiesOutput) EnableDecimal2() pulumi.BoolPtrOutput

Whether to turn on Decimal2.0.

func (ProjectPropertiesOutput) Encryption added in v3.29.0

Storage encryption. For details, see [Storage Encryption](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/storage-encryption) > **NOTE :**: To enable storage encryption, you need to modify the parameters of the basic attributes of the MaxCompute project. This operation permission is authenticated by RAM, and you need to have the Super_Administrator role permission of the corresponding project. To configure the permissions and IP whitelist parameters of the MaxCompute project, you must have the management permissions (Admin) of the corresponding project, including Super_Administrator, Admin, or custom management permissions. For more information, see the project management permissions list. You can turn on storage encryption only for projects that have not turned on storage encryption. For projects that have turned on storage encryption, you cannot turn off storage encryption or change the encryption algorithm. See `encryption` below.

func (ProjectPropertiesOutput) RetentionDays added in v3.29.0

func (o ProjectPropertiesOutput) RetentionDays() pulumi.IntPtrOutput

Set the number of days to retain backup data. During this time, you can restore the current version to any backup version. The value range of days is [0,30], and the default value is 1. 0 means backup is turned off. The effective policy after adjusting the backup cycle is: Extend the backup cycle: The new backup cycle takes effect on the same day. Shorten the backup cycle: The system will automatically delete backup data that has exceeded the retention cycle.

func (ProjectPropertiesOutput) SqlMeteringMax added in v3.29.0

func (o ProjectPropertiesOutput) SqlMeteringMax() pulumi.StringPtrOutput

Set the maximum threshold of single SQL consumption, that is, set the ODPS. SQL. metering.value.max attribute. For details, see [Consumption Monitoring Alarm](https://www.alibabacloud.com/help/en/maxcompute/product-overview/consumption-control). Unit: scan volume (GB)* complexity. .

func (ProjectPropertiesOutput) TableLifecycle added in v3.29.0

Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property,. See `tableLifecycle` below.

func (ProjectPropertiesOutput) Timezone added in v3.29.0

Project time zone, example value: Asia/Shanghai.

func (ProjectPropertiesOutput) ToProjectPropertiesOutput added in v3.29.0

func (o ProjectPropertiesOutput) ToProjectPropertiesOutput() ProjectPropertiesOutput

func (ProjectPropertiesOutput) ToProjectPropertiesOutputWithContext added in v3.29.0

func (o ProjectPropertiesOutput) ToProjectPropertiesOutputWithContext(ctx context.Context) ProjectPropertiesOutput

func (ProjectPropertiesOutput) ToProjectPropertiesPtrOutput added in v3.29.0

func (o ProjectPropertiesOutput) ToProjectPropertiesPtrOutput() ProjectPropertiesPtrOutput

func (ProjectPropertiesOutput) ToProjectPropertiesPtrOutputWithContext added in v3.29.0

func (o ProjectPropertiesOutput) ToProjectPropertiesPtrOutputWithContext(ctx context.Context) ProjectPropertiesPtrOutput

func (ProjectPropertiesOutput) TypeSystem added in v3.29.0

Data type version. Value:(1/2/hive) 1: The original MaxCompute type system. 2: New type system introduced by MaxCompute 2.0. hive: the type system of the Hive compatibility mode introduced by MaxCompute 2.0.

type ProjectPropertiesPtrInput added in v3.29.0

type ProjectPropertiesPtrInput interface {
	pulumi.Input

	ToProjectPropertiesPtrOutput() ProjectPropertiesPtrOutput
	ToProjectPropertiesPtrOutputWithContext(context.Context) ProjectPropertiesPtrOutput
}

ProjectPropertiesPtrInput is an input type that accepts ProjectPropertiesArgs, ProjectPropertiesPtr and ProjectPropertiesPtrOutput values. You can construct a concrete instance of `ProjectPropertiesPtrInput` via:

        ProjectPropertiesArgs{...}

or:

        nil

func ProjectPropertiesPtr added in v3.29.0

func ProjectPropertiesPtr(v *ProjectPropertiesArgs) ProjectPropertiesPtrInput

type ProjectPropertiesPtrOutput added in v3.29.0

type ProjectPropertiesPtrOutput struct{ *pulumi.OutputState }

func (ProjectPropertiesPtrOutput) AllowFullScan added in v3.29.0

Whether to allow full table scan. Default: false.

func (ProjectPropertiesPtrOutput) Elem added in v3.29.0

func (ProjectPropertiesPtrOutput) ElementType added in v3.29.0

func (ProjectPropertiesPtrOutput) ElementType() reflect.Type

func (ProjectPropertiesPtrOutput) EnableDecimal2 added in v3.29.0

func (o ProjectPropertiesPtrOutput) EnableDecimal2() pulumi.BoolPtrOutput

Whether to turn on Decimal2.0.

func (ProjectPropertiesPtrOutput) Encryption added in v3.29.0

Storage encryption. For details, see [Storage Encryption](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/storage-encryption) > **NOTE :**: To enable storage encryption, you need to modify the parameters of the basic attributes of the MaxCompute project. This operation permission is authenticated by RAM, and you need to have the Super_Administrator role permission of the corresponding project. To configure the permissions and IP whitelist parameters of the MaxCompute project, you must have the management permissions (Admin) of the corresponding project, including Super_Administrator, Admin, or custom management permissions. For more information, see the project management permissions list. You can turn on storage encryption only for projects that have not turned on storage encryption. For projects that have turned on storage encryption, you cannot turn off storage encryption or change the encryption algorithm. See `encryption` below.

func (ProjectPropertiesPtrOutput) RetentionDays added in v3.29.0

Set the number of days to retain backup data. During this time, you can restore the current version to any backup version. The value range of days is [0,30], and the default value is 1. 0 means backup is turned off. The effective policy after adjusting the backup cycle is: Extend the backup cycle: The new backup cycle takes effect on the same day. Shorten the backup cycle: The system will automatically delete backup data that has exceeded the retention cycle.

func (ProjectPropertiesPtrOutput) SqlMeteringMax added in v3.29.0

Set the maximum threshold of single SQL consumption, that is, set the ODPS. SQL. metering.value.max attribute. For details, see [Consumption Monitoring Alarm](https://www.alibabacloud.com/help/en/maxcompute/product-overview/consumption-control). Unit: scan volume (GB)* complexity. .

func (ProjectPropertiesPtrOutput) TableLifecycle added in v3.29.0

Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property,. See `tableLifecycle` below.

func (ProjectPropertiesPtrOutput) Timezone added in v3.29.0

Project time zone, example value: Asia/Shanghai.

func (ProjectPropertiesPtrOutput) ToProjectPropertiesPtrOutput added in v3.29.0

func (o ProjectPropertiesPtrOutput) ToProjectPropertiesPtrOutput() ProjectPropertiesPtrOutput

func (ProjectPropertiesPtrOutput) ToProjectPropertiesPtrOutputWithContext added in v3.29.0

func (o ProjectPropertiesPtrOutput) ToProjectPropertiesPtrOutputWithContext(ctx context.Context) ProjectPropertiesPtrOutput

func (ProjectPropertiesPtrOutput) TypeSystem added in v3.29.0

Data type version. Value:(1/2/hive) 1: The original MaxCompute type system. 2: New type system introduced by MaxCompute 2.0. hive: the type system of the Hive compatibility mode introduced by MaxCompute 2.0.

type ProjectPropertiesTableLifecycle added in v3.29.0

type ProjectPropertiesTableLifecycle struct {
	// Project type
	Type *string `pulumi:"type"`
	// The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.
	Value *string `pulumi:"value"`
}

type ProjectPropertiesTableLifecycleArgs added in v3.29.0

type ProjectPropertiesTableLifecycleArgs struct {
	// Project type
	Type pulumi.StringPtrInput `pulumi:"type"`
	// The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ProjectPropertiesTableLifecycleArgs) ElementType added in v3.29.0

func (ProjectPropertiesTableLifecycleArgs) ToProjectPropertiesTableLifecycleOutput added in v3.29.0

func (i ProjectPropertiesTableLifecycleArgs) ToProjectPropertiesTableLifecycleOutput() ProjectPropertiesTableLifecycleOutput

func (ProjectPropertiesTableLifecycleArgs) ToProjectPropertiesTableLifecycleOutputWithContext added in v3.29.0

func (i ProjectPropertiesTableLifecycleArgs) ToProjectPropertiesTableLifecycleOutputWithContext(ctx context.Context) ProjectPropertiesTableLifecycleOutput

func (ProjectPropertiesTableLifecycleArgs) ToProjectPropertiesTableLifecyclePtrOutput added in v3.29.0

func (i ProjectPropertiesTableLifecycleArgs) ToProjectPropertiesTableLifecyclePtrOutput() ProjectPropertiesTableLifecyclePtrOutput

func (ProjectPropertiesTableLifecycleArgs) ToProjectPropertiesTableLifecyclePtrOutputWithContext added in v3.29.0

func (i ProjectPropertiesTableLifecycleArgs) ToProjectPropertiesTableLifecyclePtrOutputWithContext(ctx context.Context) ProjectPropertiesTableLifecyclePtrOutput

type ProjectPropertiesTableLifecycleInput added in v3.29.0

type ProjectPropertiesTableLifecycleInput interface {
	pulumi.Input

	ToProjectPropertiesTableLifecycleOutput() ProjectPropertiesTableLifecycleOutput
	ToProjectPropertiesTableLifecycleOutputWithContext(context.Context) ProjectPropertiesTableLifecycleOutput
}

ProjectPropertiesTableLifecycleInput is an input type that accepts ProjectPropertiesTableLifecycleArgs and ProjectPropertiesTableLifecycleOutput values. You can construct a concrete instance of `ProjectPropertiesTableLifecycleInput` via:

ProjectPropertiesTableLifecycleArgs{...}

type ProjectPropertiesTableLifecycleOutput added in v3.29.0

type ProjectPropertiesTableLifecycleOutput struct{ *pulumi.OutputState }

func (ProjectPropertiesTableLifecycleOutput) ElementType added in v3.29.0

func (ProjectPropertiesTableLifecycleOutput) ToProjectPropertiesTableLifecycleOutput added in v3.29.0

func (o ProjectPropertiesTableLifecycleOutput) ToProjectPropertiesTableLifecycleOutput() ProjectPropertiesTableLifecycleOutput

func (ProjectPropertiesTableLifecycleOutput) ToProjectPropertiesTableLifecycleOutputWithContext added in v3.29.0

func (o ProjectPropertiesTableLifecycleOutput) ToProjectPropertiesTableLifecycleOutputWithContext(ctx context.Context) ProjectPropertiesTableLifecycleOutput

func (ProjectPropertiesTableLifecycleOutput) ToProjectPropertiesTableLifecyclePtrOutput added in v3.29.0

func (o ProjectPropertiesTableLifecycleOutput) ToProjectPropertiesTableLifecyclePtrOutput() ProjectPropertiesTableLifecyclePtrOutput

func (ProjectPropertiesTableLifecycleOutput) ToProjectPropertiesTableLifecyclePtrOutputWithContext added in v3.29.0

func (o ProjectPropertiesTableLifecycleOutput) ToProjectPropertiesTableLifecyclePtrOutputWithContext(ctx context.Context) ProjectPropertiesTableLifecyclePtrOutput

func (ProjectPropertiesTableLifecycleOutput) Type added in v3.29.0

Project type

func (ProjectPropertiesTableLifecycleOutput) Value added in v3.29.0

The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.

type ProjectPropertiesTableLifecyclePtrInput added in v3.29.0

type ProjectPropertiesTableLifecyclePtrInput interface {
	pulumi.Input

	ToProjectPropertiesTableLifecyclePtrOutput() ProjectPropertiesTableLifecyclePtrOutput
	ToProjectPropertiesTableLifecyclePtrOutputWithContext(context.Context) ProjectPropertiesTableLifecyclePtrOutput
}

ProjectPropertiesTableLifecyclePtrInput is an input type that accepts ProjectPropertiesTableLifecycleArgs, ProjectPropertiesTableLifecyclePtr and ProjectPropertiesTableLifecyclePtrOutput values. You can construct a concrete instance of `ProjectPropertiesTableLifecyclePtrInput` via:

        ProjectPropertiesTableLifecycleArgs{...}

or:

        nil

type ProjectPropertiesTableLifecyclePtrOutput added in v3.29.0

type ProjectPropertiesTableLifecyclePtrOutput struct{ *pulumi.OutputState }

func (ProjectPropertiesTableLifecyclePtrOutput) Elem added in v3.29.0

func (ProjectPropertiesTableLifecyclePtrOutput) ElementType added in v3.29.0

func (ProjectPropertiesTableLifecyclePtrOutput) ToProjectPropertiesTableLifecyclePtrOutput added in v3.29.0

func (o ProjectPropertiesTableLifecyclePtrOutput) ToProjectPropertiesTableLifecyclePtrOutput() ProjectPropertiesTableLifecyclePtrOutput

func (ProjectPropertiesTableLifecyclePtrOutput) ToProjectPropertiesTableLifecyclePtrOutputWithContext added in v3.29.0

func (o ProjectPropertiesTableLifecyclePtrOutput) ToProjectPropertiesTableLifecyclePtrOutputWithContext(ctx context.Context) ProjectPropertiesTableLifecyclePtrOutput

func (ProjectPropertiesTableLifecyclePtrOutput) Type added in v3.29.0

Project type

func (ProjectPropertiesTableLifecyclePtrOutput) Value added in v3.29.0

The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.

type ProjectSecurityProperties added in v3.29.0

type ProjectSecurityProperties struct {
	// Set whether to enable the [Download permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/download-control), that is, set the ODPS. security.enabledownloadprivilege property.
	EnableDownloadPrivilege *bool `pulumi:"enableDownloadPrivilege"`
	// Set whether to use the [Label permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/label-based-access-control), that is, set the LabelSecurity attribute, which is not used by default.
	LabelSecurity *bool `pulumi:"labelSecurity"`
	// Sets whether to allow the creator of the object to have access to the object, I .e. sets the attribute. The default is the allowed state.
	ObjectCreatorHasAccessPermission *bool `pulumi:"objectCreatorHasAccessPermission"`
	// The ObjectCreatorHasGrantPermission attribute is set to allow the object creator to have the authorization permission on the object. The default is the allowed state.
	ObjectCreatorHasGrantPermission *bool `pulumi:"objectCreatorHasGrantPermission"`
	// Project protection. See `projectProtection` below.
	ProjectProtection *ProjectSecurityPropertiesProjectProtection `pulumi:"projectProtection"`
	// Set whether to use the [ACL permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/maxcompute-permissions), that is, set the CheckPermissionUsingACL attribute, which is in use by default.
	UsingAcl *bool `pulumi:"usingAcl"`
	// Set whether to use the Policy permission control function (https://www.alibabacloud.com/help/en/maxcompute/user-guide/policy-based-access-control-1), that is, set the CheckPermissionUsingACL attribute, which is in use by default.
	UsingPolicy *bool `pulumi:"usingPolicy"`
}

type ProjectSecurityPropertiesArgs added in v3.29.0

type ProjectSecurityPropertiesArgs struct {
	// Set whether to enable the [Download permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/download-control), that is, set the ODPS. security.enabledownloadprivilege property.
	EnableDownloadPrivilege pulumi.BoolPtrInput `pulumi:"enableDownloadPrivilege"`
	// Set whether to use the [Label permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/label-based-access-control), that is, set the LabelSecurity attribute, which is not used by default.
	LabelSecurity pulumi.BoolPtrInput `pulumi:"labelSecurity"`
	// Sets whether to allow the creator of the object to have access to the object, I .e. sets the attribute. The default is the allowed state.
	ObjectCreatorHasAccessPermission pulumi.BoolPtrInput `pulumi:"objectCreatorHasAccessPermission"`
	// The ObjectCreatorHasGrantPermission attribute is set to allow the object creator to have the authorization permission on the object. The default is the allowed state.
	ObjectCreatorHasGrantPermission pulumi.BoolPtrInput `pulumi:"objectCreatorHasGrantPermission"`
	// Project protection. See `projectProtection` below.
	ProjectProtection ProjectSecurityPropertiesProjectProtectionPtrInput `pulumi:"projectProtection"`
	// Set whether to use the [ACL permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/maxcompute-permissions), that is, set the CheckPermissionUsingACL attribute, which is in use by default.
	UsingAcl pulumi.BoolPtrInput `pulumi:"usingAcl"`
	// Set whether to use the Policy permission control function (https://www.alibabacloud.com/help/en/maxcompute/user-guide/policy-based-access-control-1), that is, set the CheckPermissionUsingACL attribute, which is in use by default.
	UsingPolicy pulumi.BoolPtrInput `pulumi:"usingPolicy"`
}

func (ProjectSecurityPropertiesArgs) ElementType added in v3.29.0

func (ProjectSecurityPropertiesArgs) ToProjectSecurityPropertiesOutput added in v3.29.0

func (i ProjectSecurityPropertiesArgs) ToProjectSecurityPropertiesOutput() ProjectSecurityPropertiesOutput

func (ProjectSecurityPropertiesArgs) ToProjectSecurityPropertiesOutputWithContext added in v3.29.0

func (i ProjectSecurityPropertiesArgs) ToProjectSecurityPropertiesOutputWithContext(ctx context.Context) ProjectSecurityPropertiesOutput

func (ProjectSecurityPropertiesArgs) ToProjectSecurityPropertiesPtrOutput added in v3.29.0

func (i ProjectSecurityPropertiesArgs) ToProjectSecurityPropertiesPtrOutput() ProjectSecurityPropertiesPtrOutput

func (ProjectSecurityPropertiesArgs) ToProjectSecurityPropertiesPtrOutputWithContext added in v3.29.0

func (i ProjectSecurityPropertiesArgs) ToProjectSecurityPropertiesPtrOutputWithContext(ctx context.Context) ProjectSecurityPropertiesPtrOutput

type ProjectSecurityPropertiesInput added in v3.29.0

type ProjectSecurityPropertiesInput interface {
	pulumi.Input

	ToProjectSecurityPropertiesOutput() ProjectSecurityPropertiesOutput
	ToProjectSecurityPropertiesOutputWithContext(context.Context) ProjectSecurityPropertiesOutput
}

ProjectSecurityPropertiesInput is an input type that accepts ProjectSecurityPropertiesArgs and ProjectSecurityPropertiesOutput values. You can construct a concrete instance of `ProjectSecurityPropertiesInput` via:

ProjectSecurityPropertiesArgs{...}

type ProjectSecurityPropertiesOutput added in v3.29.0

type ProjectSecurityPropertiesOutput struct{ *pulumi.OutputState }

func (ProjectSecurityPropertiesOutput) ElementType added in v3.29.0

func (ProjectSecurityPropertiesOutput) EnableDownloadPrivilege added in v3.29.0

func (o ProjectSecurityPropertiesOutput) EnableDownloadPrivilege() pulumi.BoolPtrOutput

Set whether to enable the [Download permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/download-control), that is, set the ODPS. security.enabledownloadprivilege property.

func (ProjectSecurityPropertiesOutput) LabelSecurity added in v3.29.0

Set whether to use the [Label permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/label-based-access-control), that is, set the LabelSecurity attribute, which is not used by default.

func (ProjectSecurityPropertiesOutput) ObjectCreatorHasAccessPermission added in v3.29.0

func (o ProjectSecurityPropertiesOutput) ObjectCreatorHasAccessPermission() pulumi.BoolPtrOutput

Sets whether to allow the creator of the object to have access to the object, I .e. sets the attribute. The default is the allowed state.

func (ProjectSecurityPropertiesOutput) ObjectCreatorHasGrantPermission added in v3.29.0

func (o ProjectSecurityPropertiesOutput) ObjectCreatorHasGrantPermission() pulumi.BoolPtrOutput

The ObjectCreatorHasGrantPermission attribute is set to allow the object creator to have the authorization permission on the object. The default is the allowed state.

func (ProjectSecurityPropertiesOutput) ProjectProtection added in v3.29.0

Project protection. See `projectProtection` below.

func (ProjectSecurityPropertiesOutput) ToProjectSecurityPropertiesOutput added in v3.29.0

func (o ProjectSecurityPropertiesOutput) ToProjectSecurityPropertiesOutput() ProjectSecurityPropertiesOutput

func (ProjectSecurityPropertiesOutput) ToProjectSecurityPropertiesOutputWithContext added in v3.29.0

func (o ProjectSecurityPropertiesOutput) ToProjectSecurityPropertiesOutputWithContext(ctx context.Context) ProjectSecurityPropertiesOutput

func (ProjectSecurityPropertiesOutput) ToProjectSecurityPropertiesPtrOutput added in v3.29.0

func (o ProjectSecurityPropertiesOutput) ToProjectSecurityPropertiesPtrOutput() ProjectSecurityPropertiesPtrOutput

func (ProjectSecurityPropertiesOutput) ToProjectSecurityPropertiesPtrOutputWithContext added in v3.29.0

func (o ProjectSecurityPropertiesOutput) ToProjectSecurityPropertiesPtrOutputWithContext(ctx context.Context) ProjectSecurityPropertiesPtrOutput

func (ProjectSecurityPropertiesOutput) UsingAcl added in v3.29.0

Set whether to use the [ACL permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/maxcompute-permissions), that is, set the CheckPermissionUsingACL attribute, which is in use by default.

func (ProjectSecurityPropertiesOutput) UsingPolicy added in v3.29.0

Set whether to use the Policy permission control function (https://www.alibabacloud.com/help/en/maxcompute/user-guide/policy-based-access-control-1), that is, set the CheckPermissionUsingACL attribute, which is in use by default.

type ProjectSecurityPropertiesProjectProtection added in v3.29.0

type ProjectSecurityPropertiesProjectProtection struct {
	// Set [Exceptions or Trusted Items](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/project-data-protection).
	ExceptionPolicy *string `pulumi:"exceptionPolicy"`
	// Whether enabled, value:(true/false).
	Protected *bool `pulumi:"protected"`
}

type ProjectSecurityPropertiesProjectProtectionArgs added in v3.29.0

type ProjectSecurityPropertiesProjectProtectionArgs struct {
	// Set [Exceptions or Trusted Items](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/project-data-protection).
	ExceptionPolicy pulumi.StringPtrInput `pulumi:"exceptionPolicy"`
	// Whether enabled, value:(true/false).
	Protected pulumi.BoolPtrInput `pulumi:"protected"`
}

func (ProjectSecurityPropertiesProjectProtectionArgs) ElementType added in v3.29.0

func (ProjectSecurityPropertiesProjectProtectionArgs) ToProjectSecurityPropertiesProjectProtectionOutput added in v3.29.0

func (i ProjectSecurityPropertiesProjectProtectionArgs) ToProjectSecurityPropertiesProjectProtectionOutput() ProjectSecurityPropertiesProjectProtectionOutput

func (ProjectSecurityPropertiesProjectProtectionArgs) ToProjectSecurityPropertiesProjectProtectionOutputWithContext added in v3.29.0

func (i ProjectSecurityPropertiesProjectProtectionArgs) ToProjectSecurityPropertiesProjectProtectionOutputWithContext(ctx context.Context) ProjectSecurityPropertiesProjectProtectionOutput

func (ProjectSecurityPropertiesProjectProtectionArgs) ToProjectSecurityPropertiesProjectProtectionPtrOutput added in v3.29.0

func (i ProjectSecurityPropertiesProjectProtectionArgs) ToProjectSecurityPropertiesProjectProtectionPtrOutput() ProjectSecurityPropertiesProjectProtectionPtrOutput

func (ProjectSecurityPropertiesProjectProtectionArgs) ToProjectSecurityPropertiesProjectProtectionPtrOutputWithContext added in v3.29.0

func (i ProjectSecurityPropertiesProjectProtectionArgs) ToProjectSecurityPropertiesProjectProtectionPtrOutputWithContext(ctx context.Context) ProjectSecurityPropertiesProjectProtectionPtrOutput

type ProjectSecurityPropertiesProjectProtectionInput added in v3.29.0

type ProjectSecurityPropertiesProjectProtectionInput interface {
	pulumi.Input

	ToProjectSecurityPropertiesProjectProtectionOutput() ProjectSecurityPropertiesProjectProtectionOutput
	ToProjectSecurityPropertiesProjectProtectionOutputWithContext(context.Context) ProjectSecurityPropertiesProjectProtectionOutput
}

ProjectSecurityPropertiesProjectProtectionInput is an input type that accepts ProjectSecurityPropertiesProjectProtectionArgs and ProjectSecurityPropertiesProjectProtectionOutput values. You can construct a concrete instance of `ProjectSecurityPropertiesProjectProtectionInput` via:

ProjectSecurityPropertiesProjectProtectionArgs{...}

type ProjectSecurityPropertiesProjectProtectionOutput added in v3.29.0

type ProjectSecurityPropertiesProjectProtectionOutput struct{ *pulumi.OutputState }

func (ProjectSecurityPropertiesProjectProtectionOutput) ElementType added in v3.29.0

func (ProjectSecurityPropertiesProjectProtectionOutput) ExceptionPolicy added in v3.29.0

Set [Exceptions or Trusted Items](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/project-data-protection).

func (ProjectSecurityPropertiesProjectProtectionOutput) Protected added in v3.29.0

Whether enabled, value:(true/false).

func (ProjectSecurityPropertiesProjectProtectionOutput) ToProjectSecurityPropertiesProjectProtectionOutput added in v3.29.0

func (o ProjectSecurityPropertiesProjectProtectionOutput) ToProjectSecurityPropertiesProjectProtectionOutput() ProjectSecurityPropertiesProjectProtectionOutput

func (ProjectSecurityPropertiesProjectProtectionOutput) ToProjectSecurityPropertiesProjectProtectionOutputWithContext added in v3.29.0

func (o ProjectSecurityPropertiesProjectProtectionOutput) ToProjectSecurityPropertiesProjectProtectionOutputWithContext(ctx context.Context) ProjectSecurityPropertiesProjectProtectionOutput

func (ProjectSecurityPropertiesProjectProtectionOutput) ToProjectSecurityPropertiesProjectProtectionPtrOutput added in v3.29.0

func (o ProjectSecurityPropertiesProjectProtectionOutput) ToProjectSecurityPropertiesProjectProtectionPtrOutput() ProjectSecurityPropertiesProjectProtectionPtrOutput

func (ProjectSecurityPropertiesProjectProtectionOutput) ToProjectSecurityPropertiesProjectProtectionPtrOutputWithContext added in v3.29.0

func (o ProjectSecurityPropertiesProjectProtectionOutput) ToProjectSecurityPropertiesProjectProtectionPtrOutputWithContext(ctx context.Context) ProjectSecurityPropertiesProjectProtectionPtrOutput

type ProjectSecurityPropertiesProjectProtectionPtrInput added in v3.29.0

type ProjectSecurityPropertiesProjectProtectionPtrInput interface {
	pulumi.Input

	ToProjectSecurityPropertiesProjectProtectionPtrOutput() ProjectSecurityPropertiesProjectProtectionPtrOutput
	ToProjectSecurityPropertiesProjectProtectionPtrOutputWithContext(context.Context) ProjectSecurityPropertiesProjectProtectionPtrOutput
}

ProjectSecurityPropertiesProjectProtectionPtrInput is an input type that accepts ProjectSecurityPropertiesProjectProtectionArgs, ProjectSecurityPropertiesProjectProtectionPtr and ProjectSecurityPropertiesProjectProtectionPtrOutput values. You can construct a concrete instance of `ProjectSecurityPropertiesProjectProtectionPtrInput` via:

        ProjectSecurityPropertiesProjectProtectionArgs{...}

or:

        nil

type ProjectSecurityPropertiesProjectProtectionPtrOutput added in v3.29.0

type ProjectSecurityPropertiesProjectProtectionPtrOutput struct{ *pulumi.OutputState }

func (ProjectSecurityPropertiesProjectProtectionPtrOutput) Elem added in v3.29.0

func (ProjectSecurityPropertiesProjectProtectionPtrOutput) ElementType added in v3.29.0

func (ProjectSecurityPropertiesProjectProtectionPtrOutput) ExceptionPolicy added in v3.29.0

Set [Exceptions or Trusted Items](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/project-data-protection).

func (ProjectSecurityPropertiesProjectProtectionPtrOutput) Protected added in v3.29.0

Whether enabled, value:(true/false).

func (ProjectSecurityPropertiesProjectProtectionPtrOutput) ToProjectSecurityPropertiesProjectProtectionPtrOutput added in v3.29.0

func (o ProjectSecurityPropertiesProjectProtectionPtrOutput) ToProjectSecurityPropertiesProjectProtectionPtrOutput() ProjectSecurityPropertiesProjectProtectionPtrOutput

func (ProjectSecurityPropertiesProjectProtectionPtrOutput) ToProjectSecurityPropertiesProjectProtectionPtrOutputWithContext added in v3.29.0

func (o ProjectSecurityPropertiesProjectProtectionPtrOutput) ToProjectSecurityPropertiesProjectProtectionPtrOutputWithContext(ctx context.Context) ProjectSecurityPropertiesProjectProtectionPtrOutput

type ProjectSecurityPropertiesPtrInput added in v3.29.0

type ProjectSecurityPropertiesPtrInput interface {
	pulumi.Input

	ToProjectSecurityPropertiesPtrOutput() ProjectSecurityPropertiesPtrOutput
	ToProjectSecurityPropertiesPtrOutputWithContext(context.Context) ProjectSecurityPropertiesPtrOutput
}

ProjectSecurityPropertiesPtrInput is an input type that accepts ProjectSecurityPropertiesArgs, ProjectSecurityPropertiesPtr and ProjectSecurityPropertiesPtrOutput values. You can construct a concrete instance of `ProjectSecurityPropertiesPtrInput` via:

        ProjectSecurityPropertiesArgs{...}

or:

        nil

func ProjectSecurityPropertiesPtr added in v3.29.0

type ProjectSecurityPropertiesPtrOutput added in v3.29.0

type ProjectSecurityPropertiesPtrOutput struct{ *pulumi.OutputState }

func (ProjectSecurityPropertiesPtrOutput) Elem added in v3.29.0

func (ProjectSecurityPropertiesPtrOutput) ElementType added in v3.29.0

func (ProjectSecurityPropertiesPtrOutput) EnableDownloadPrivilege added in v3.29.0

func (o ProjectSecurityPropertiesPtrOutput) EnableDownloadPrivilege() pulumi.BoolPtrOutput

Set whether to enable the [Download permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/download-control), that is, set the ODPS. security.enabledownloadprivilege property.

func (ProjectSecurityPropertiesPtrOutput) LabelSecurity added in v3.29.0

Set whether to use the [Label permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/label-based-access-control), that is, set the LabelSecurity attribute, which is not used by default.

func (ProjectSecurityPropertiesPtrOutput) ObjectCreatorHasAccessPermission added in v3.29.0

func (o ProjectSecurityPropertiesPtrOutput) ObjectCreatorHasAccessPermission() pulumi.BoolPtrOutput

Sets whether to allow the creator of the object to have access to the object, I .e. sets the attribute. The default is the allowed state.

func (ProjectSecurityPropertiesPtrOutput) ObjectCreatorHasGrantPermission added in v3.29.0

func (o ProjectSecurityPropertiesPtrOutput) ObjectCreatorHasGrantPermission() pulumi.BoolPtrOutput

The ObjectCreatorHasGrantPermission attribute is set to allow the object creator to have the authorization permission on the object. The default is the allowed state.

func (ProjectSecurityPropertiesPtrOutput) ProjectProtection added in v3.29.0

Project protection. See `projectProtection` below.

func (ProjectSecurityPropertiesPtrOutput) ToProjectSecurityPropertiesPtrOutput added in v3.29.0

func (o ProjectSecurityPropertiesPtrOutput) ToProjectSecurityPropertiesPtrOutput() ProjectSecurityPropertiesPtrOutput

func (ProjectSecurityPropertiesPtrOutput) ToProjectSecurityPropertiesPtrOutputWithContext added in v3.29.0

func (o ProjectSecurityPropertiesPtrOutput) ToProjectSecurityPropertiesPtrOutputWithContext(ctx context.Context) ProjectSecurityPropertiesPtrOutput

func (ProjectSecurityPropertiesPtrOutput) UsingAcl added in v3.29.0

Set whether to use the [ACL permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/maxcompute-permissions), that is, set the CheckPermissionUsingACL attribute, which is in use by default.

func (ProjectSecurityPropertiesPtrOutput) UsingPolicy added in v3.29.0

Set whether to use the Policy permission control function (https://www.alibabacloud.com/help/en/maxcompute/user-guide/policy-based-access-control-1), that is, set the CheckPermissionUsingACL attribute, which is in use by default.

type ProjectState

type ProjectState struct {
	// Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
	Comment pulumi.StringPtrInput
	// Represents the creation time of the project
	CreateTime pulumi.StringPtrInput
	// Used to implement computing resource allocation. If the calculation Quota is not specified, the default Quota resource will be consumed by jobs initiated by the project. For more information about computing resource usage, see [Computing Resource Usage](https://www.alibabacloud.com/help/en/maxcompute/user-guide/use-of-computing-resources).
	DefaultQuota pulumi.StringPtrInput
	// IP whitelist See `ipWhiteList` below.
	IpWhiteList ProjectIpWhiteListPtrInput
	// Logical deletion, value: (true/false) true: In this case, the project status will be changed to 'DELETING' and completely deleted after 14 days. false: immediately deleted, that is, completely deleted, permanently unrecoverable.
	IsLogical pulumi.StringPtrInput
	// Project owner
	Owner pulumi.StringPtrInput
	// Quota payment type, support `PayAsYouGo`, `Subscription`, `Dev`.
	ProductType pulumi.StringPtrInput
	// The name begins with a letter, containing letters, digits, and underscores (_). It can be 3 to 28 characters in length and is globally unique.
	ProjectName pulumi.StringPtrInput
	// Project base attributes See `properties` below.
	Properties ProjectPropertiesPtrInput
	// Security-related attributes See `securityProperties` below.
	SecurityProperties ProjectSecurityPropertiesPtrInput
	// The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
	Status pulumi.StringPtrInput
	// The tag of the resource
	Tags pulumi.StringMapInput
	// Project type
	Type pulumi.StringPtrInput
}

func (ProjectState) ElementType

func (ProjectState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL