1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. maxcompute
  5. getProjects
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.maxcompute.getProjects

Explore with Pulumi AI

Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

This data source provides Max Compute Project available to the user.What is Project

NOTE: Available since v1.196.0.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const config = new pulumi.Config();
const name = config.get("name") || "tf_example_acc";
const defaultProject = new alicloud.maxcompute.Project("default", {
    defaultQuota: "默认后付费Quota",
    projectName: name,
    comment: name,
    productType: "PayAsYouGo",
});
const _default = alicloud.maxcompute.getProjectsOutput({
    nameRegex: defaultProject.projectName,
});
export const alicloudMaxcomputeProjectExampleId = _default.apply(_default => _default.projects?.[0]?.projectName);
Copy
import pulumi
import pulumi_alicloud as alicloud

config = pulumi.Config()
name = config.get("name")
if name is None:
    name = "tf_example_acc"
default_project = alicloud.maxcompute.Project("default",
    default_quota="默认后付费Quota",
    project_name=name,
    comment=name,
    product_type="PayAsYouGo")
default = alicloud.maxcompute.get_projects_output(name_regex=default_project.project_name)
pulumi.export("alicloudMaxcomputeProjectExampleId", default.projects[0].project_name)
Copy
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
})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var name = config.Get("name") ?? "tf_example_acc";
    var defaultProject = new AliCloud.MaxCompute.Project("default", new()
    {
        DefaultQuota = "默认后付费Quota",
        ProjectName = name,
        Comment = name,
        ProductType = "PayAsYouGo",
    });

    var @default = AliCloud.MaxCompute.GetProjects.Invoke(new()
    {
        NameRegex = defaultProject.ProjectName,
    });

    return new Dictionary<string, object?>
    {
        ["alicloudMaxcomputeProjectExampleId"] = @default.Apply(@default => @default.Apply(getProjectsResult => getProjectsResult.Projects[0]?.ProjectName)),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.maxcompute.Project;
import com.pulumi.alicloud.maxcompute.ProjectArgs;
import com.pulumi.alicloud.maxcompute.MaxcomputeFunctions;
import com.pulumi.alicloud.maxcompute.inputs.GetProjectsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var config = ctx.config();
        final var name = config.get("name").orElse("tf_example_acc");
        var defaultProject = new Project("defaultProject", ProjectArgs.builder()
            .defaultQuota("默认后付费Quota")
            .projectName(name)
            .comment(name)
            .productType("PayAsYouGo")
            .build());

        final var default = MaxcomputeFunctions.getProjects(GetProjectsArgs.builder()
            .nameRegex(defaultProject.projectName())
            .build());

        ctx.export("alicloudMaxcomputeProjectExampleId", default_.applyValue(default_ -> default_.projects()[0].projectName()));
    }
}
Copy
configuration:
  name:
    type: string
    default: tf_example_acc
resources:
  defaultProject:
    type: alicloud:maxcompute:Project
    name: default
    properties:
      defaultQuota: 默认后付费Quota
      projectName: ${name}
      comment: ${name}
      productType: PayAsYouGo
variables:
  default:
    fn::invoke:
      function: alicloud:maxcompute:getProjects
      arguments:
        nameRegex: ${defaultProject.projectName}
outputs:
  alicloudMaxcomputeProjectExampleId: ${default.projects[0].projectName}
Copy

Using getProjects

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getProjects(args: GetProjectsArgs, opts?: InvokeOptions): Promise<GetProjectsResult>
function getProjectsOutput(args: GetProjectsOutputArgs, opts?: InvokeOptions): Output<GetProjectsResult>
Copy
def get_projects(ids: Optional[Sequence[str]] = None,
                 name_regex: Optional[str] = None,
                 output_file: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetProjectsResult
def get_projects_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                 name_regex: Optional[pulumi.Input[str]] = None,
                 output_file: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetProjectsResult]
Copy
func GetProjects(ctx *Context, args *GetProjectsArgs, opts ...InvokeOption) (*GetProjectsResult, error)
func GetProjectsOutput(ctx *Context, args *GetProjectsOutputArgs, opts ...InvokeOption) GetProjectsResultOutput
Copy

> Note: This function is named GetProjects in the Go SDK.

public static class GetProjects 
{
    public static Task<GetProjectsResult> InvokeAsync(GetProjectsArgs args, InvokeOptions? opts = null)
    public static Output<GetProjectsResult> Invoke(GetProjectsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetProjectsResult> getProjects(GetProjectsArgs args, InvokeOptions options)
public static Output<GetProjectsResult> getProjects(GetProjectsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:maxcompute/getProjects:getProjects
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Ids Changes to this property will trigger replacement. List<string>
A list of Project IDs.
NameRegex Changes to this property will trigger replacement. string
A regex string to filter results by Group Metric Rule name.
OutputFile string
File name where to save data source results (after running pulumi preview).
Ids Changes to this property will trigger replacement. []string
A list of Project IDs.
NameRegex Changes to this property will trigger replacement. string
A regex string to filter results by Group Metric Rule name.
OutputFile string
File name where to save data source results (after running pulumi preview).
ids Changes to this property will trigger replacement. List<String>
A list of Project IDs.
nameRegex Changes to this property will trigger replacement. String
A regex string to filter results by Group Metric Rule name.
outputFile String
File name where to save data source results (after running pulumi preview).
ids Changes to this property will trigger replacement. string[]
A list of Project IDs.
nameRegex Changes to this property will trigger replacement. string
A regex string to filter results by Group Metric Rule name.
outputFile string
File name where to save data source results (after running pulumi preview).
ids Changes to this property will trigger replacement. Sequence[str]
A list of Project IDs.
name_regex Changes to this property will trigger replacement. str
A regex string to filter results by Group Metric Rule name.
output_file str
File name where to save data source results (after running pulumi preview).
ids Changes to this property will trigger replacement. List<String>
A list of Project IDs.
nameRegex Changes to this property will trigger replacement. String
A regex string to filter results by Group Metric Rule name.
outputFile String
File name where to save data source results (after running pulumi preview).

getProjects Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Ids List<string>
A list of Project IDs.
Names List<string>
A list of name of Projects.
Projects List<Pulumi.AliCloud.MaxCompute.Outputs.GetProjectsProject>
A list of Project Entries. Each element contains the following attributes:
NameRegex string
OutputFile string
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
A list of Project IDs.
Names []string
A list of name of Projects.
Projects []GetProjectsProject
A list of Project Entries. Each element contains the following attributes:
NameRegex string
OutputFile string
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
A list of Project IDs.
names List<String>
A list of name of Projects.
projects List<GetProjectsProject>
A list of Project Entries. Each element contains the following attributes:
nameRegex String
outputFile String
id string
The provider-assigned unique ID for this managed resource.
ids string[]
A list of Project IDs.
names string[]
A list of name of Projects.
projects GetProjectsProject[]
A list of Project Entries. Each element contains the following attributes:
nameRegex string
outputFile string
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
A list of Project IDs.
names Sequence[str]
A list of name of Projects.
projects Sequence[GetProjectsProject]
A list of Project Entries. Each element contains the following attributes:
name_regex str
output_file str
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
A list of Project IDs.
names List<String>
A list of name of Projects.
projects List<Property Map>
A list of Project Entries. Each element contains the following attributes:
nameRegex String
outputFile String

Supporting Types

GetProjectsProject

Comment This property is required. string
Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
CostStorage This property is required. string
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.
CreateTime This property is required. string
Represents the creation time of the project
DefaultQuota This property is required. string
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.
IpWhiteList This property is required. Pulumi.AliCloud.MaxCompute.Inputs.GetProjectsProjectIpWhiteList
IP whitelist
Owner This property is required. string
Project owner
ProjectName This property is required. string
The name begins with a letter, containing letters, digits, and underscores (_). It can be 3 to 28 characters in length and is globally unique.
Properties This property is required. Pulumi.AliCloud.MaxCompute.Inputs.GetProjectsProjectProperties
Project base attributes
SecurityProperties This property is required. Pulumi.AliCloud.MaxCompute.Inputs.GetProjectsProjectSecurityProperties
Security-related attributes
Status This property is required. string
The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
Type This property is required. string
Project type
Comment This property is required. string
Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
CostStorage This property is required. string
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.
CreateTime This property is required. string
Represents the creation time of the project
DefaultQuota This property is required. string
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.
IpWhiteList This property is required. GetProjectsProjectIpWhiteList
IP whitelist
Owner This property is required. string
Project owner
ProjectName This property is required. string
The name begins with a letter, containing letters, digits, and underscores (_). It can be 3 to 28 characters in length and is globally unique.
Properties This property is required. GetProjectsProjectProperties
Project base attributes
SecurityProperties This property is required. GetProjectsProjectSecurityProperties
Security-related attributes
Status This property is required. string
The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
Type This property is required. string
Project type
comment This property is required. String
Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
costStorage This property is required. String
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.
createTime This property is required. String
Represents the creation time of the project
defaultQuota This property is required. String
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.
ipWhiteList This property is required. GetProjectsProjectIpWhiteList
IP whitelist
owner This property is required. String
Project owner
projectName This property is required. String
The name begins with a letter, containing letters, digits, and underscores (_). It can be 3 to 28 characters in length and is globally unique.
properties This property is required. GetProjectsProjectProperties
Project base attributes
securityProperties This property is required. GetProjectsProjectSecurityProperties
Security-related attributes
status This property is required. String
The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
type This property is required. String
Project type
comment This property is required. string
Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
costStorage This property is required. string
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.
createTime This property is required. string
Represents the creation time of the project
defaultQuota This property is required. string
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.
ipWhiteList This property is required. GetProjectsProjectIpWhiteList
IP whitelist
owner This property is required. string
Project owner
projectName This property is required. string
The name begins with a letter, containing letters, digits, and underscores (_). It can be 3 to 28 characters in length and is globally unique.
properties This property is required. GetProjectsProjectProperties
Project base attributes
securityProperties This property is required. GetProjectsProjectSecurityProperties
Security-related attributes
status This property is required. string
The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
type This property is required. string
Project type
comment This property is required. str
Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
cost_storage This property is required. str
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.
create_time This property is required. str
Represents the creation time of the project
default_quota This property is required. str
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.
ip_white_list This property is required. GetProjectsProjectIpWhiteList
IP whitelist
owner This property is required. str
Project owner
project_name This property is required. str
The name begins with a letter, containing letters, digits, and underscores (_). It can be 3 to 28 characters in length and is globally unique.
properties This property is required. GetProjectsProjectProperties
Project base attributes
security_properties This property is required. GetProjectsProjectSecurityProperties
Security-related attributes
status This property is required. str
The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
type This property is required. str
Project type
comment This property is required. String
Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
costStorage This property is required. String
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.
createTime This property is required. String
Represents the creation time of the project
defaultQuota This property is required. String
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.
ipWhiteList This property is required. Property Map
IP whitelist
owner This property is required. String
Project owner
projectName This property is required. String
The name begins with a letter, containing letters, digits, and underscores (_). It can be 3 to 28 characters in length and is globally unique.
properties This property is required. Property Map
Project base attributes
securityProperties This property is required. Property Map
Security-related attributes
status This property is required. String
The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
type This property is required. String
Project type

GetProjectsProjectIpWhiteList

IpList This property is required. string
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.
VpcIpList This property is required. string
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.
IpList This property is required. string
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.
VpcIpList This property is required. string
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.
ipList This property is required. String
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.
vpcIpList This property is required. String
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.
ipList This property is required. string
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.
vpcIpList This property is required. string
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.
ip_list This property is required. str
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.
vpc_ip_list This property is required. str
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.
ipList This property is required. String
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.
vpcIpList This property is required. String
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.

GetProjectsProjectProperties

AllowFullScan This property is required. bool
Whether to allow full table scan. Default: false.
EnableDecimal2 This property is required. bool
Whether to turn on Decimal2.0.
Encryption This property is required. Pulumi.AliCloud.MaxCompute.Inputs.GetProjectsProjectPropertiesEncryption
Storage encryption. For details, see 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.
RetentionDays This property is required. int
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.
SqlMeteringMax This property is required. string
Set the maximum threshold of single SQL consumption, that is, set the ODPS. SQL. metering.value.max attribute. For details, see Consumption Monitoring Alarm.Unit: scan volume (GB)* complexity.
TableLifecycle This property is required. Pulumi.AliCloud.MaxCompute.Inputs.GetProjectsProjectPropertiesTableLifecycle
Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property,.
Timezone This property is required. string
Project time zone, example value: Asia/Shanghai.
TypeSystem This property is required. string
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.
AllowFullScan This property is required. bool
Whether to allow full table scan. Default: false.
EnableDecimal2 This property is required. bool
Whether to turn on Decimal2.0.
Encryption This property is required. GetProjectsProjectPropertiesEncryption
Storage encryption. For details, see 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.
RetentionDays This property is required. int
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.
SqlMeteringMax This property is required. string
Set the maximum threshold of single SQL consumption, that is, set the ODPS. SQL. metering.value.max attribute. For details, see Consumption Monitoring Alarm.Unit: scan volume (GB)* complexity.
TableLifecycle This property is required. GetProjectsProjectPropertiesTableLifecycle
Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property,.
Timezone This property is required. string
Project time zone, example value: Asia/Shanghai.
TypeSystem This property is required. string
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.
allowFullScan This property is required. Boolean
Whether to allow full table scan. Default: false.
enableDecimal2 This property is required. Boolean
Whether to turn on Decimal2.0.
encryption This property is required. GetProjectsProjectPropertiesEncryption
Storage encryption. For details, see 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.
retentionDays This property is required. Integer
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.
sqlMeteringMax This property is required. String
Set the maximum threshold of single SQL consumption, that is, set the ODPS. SQL. metering.value.max attribute. For details, see Consumption Monitoring Alarm.Unit: scan volume (GB)* complexity.
tableLifecycle This property is required. GetProjectsProjectPropertiesTableLifecycle
Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property,.
timezone This property is required. String
Project time zone, example value: Asia/Shanghai.
typeSystem This property is required. String
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.
allowFullScan This property is required. boolean
Whether to allow full table scan. Default: false.
enableDecimal2 This property is required. boolean
Whether to turn on Decimal2.0.
encryption This property is required. GetProjectsProjectPropertiesEncryption
Storage encryption. For details, see 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.
retentionDays This property is required. number
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.
sqlMeteringMax This property is required. string
Set the maximum threshold of single SQL consumption, that is, set the ODPS. SQL. metering.value.max attribute. For details, see Consumption Monitoring Alarm.Unit: scan volume (GB)* complexity.
tableLifecycle This property is required. GetProjectsProjectPropertiesTableLifecycle
Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property,.
timezone This property is required. string
Project time zone, example value: Asia/Shanghai.
typeSystem This property is required. string
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.
allow_full_scan This property is required. bool
Whether to allow full table scan. Default: false.
enable_decimal2 This property is required. bool
Whether to turn on Decimal2.0.
encryption This property is required. GetProjectsProjectPropertiesEncryption
Storage encryption. For details, see 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.
retention_days This property is required. int
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.
sql_metering_max This property is required. str
Set the maximum threshold of single SQL consumption, that is, set the ODPS. SQL. metering.value.max attribute. For details, see Consumption Monitoring Alarm.Unit: scan volume (GB)* complexity.
table_lifecycle This property is required. GetProjectsProjectPropertiesTableLifecycle
Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property,.
timezone This property is required. str
Project time zone, example value: Asia/Shanghai.
type_system This property is required. str
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.
allowFullScan This property is required. Boolean
Whether to allow full table scan. Default: false.
enableDecimal2 This property is required. Boolean
Whether to turn on Decimal2.0.
encryption This property is required. Property Map
Storage encryption. For details, see 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.
retentionDays This property is required. Number
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.
sqlMeteringMax This property is required. String
Set the maximum threshold of single SQL consumption, that is, set the ODPS. SQL. metering.value.max attribute. For details, see Consumption Monitoring Alarm.Unit: scan volume (GB)* complexity.
tableLifecycle This property is required. Property Map
Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property,.
timezone This property is required. String
Project time zone, example value: Asia/Shanghai.
typeSystem This property is required. String
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.

GetProjectsProjectPropertiesEncryption

Algorithm This property is required. string
The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
Enable This property is required. bool
Only enable function is supported. Value: (true).
Key This property is required. string
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.
Algorithm This property is required. string
The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
Enable This property is required. bool
Only enable function is supported. Value: (true).
Key This property is required. string
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.
algorithm This property is required. String
The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
enable This property is required. Boolean
Only enable function is supported. Value: (true).
key This property is required. String
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.
algorithm This property is required. string
The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
enable This property is required. boolean
Only enable function is supported. Value: (true).
key This property is required. string
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.
algorithm This property is required. str
The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
enable This property is required. bool
Only enable function is supported. Value: (true).
key This property is required. str
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.
algorithm This property is required. String
The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
enable This property is required. Boolean
Only enable function is supported. Value: (true).
key This property is required. String
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.

GetProjectsProjectPropertiesTableLifecycle

Type This property is required. string
Project type
Value This property is required. string
The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.
Type This property is required. string
Project type
Value This property is required. string
The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.
type This property is required. String
Project type
value This property is required. String
The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.
type This property is required. string
Project type
value This property is required. string
The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.
type This property is required. str
Project type
value This property is required. str
The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.
type This property is required. String
Project type
value This property is required. String
The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.

GetProjectsProjectSecurityProperties

EnableDownloadPrivilege This property is required. bool
Set whether to enable the Download permission control function, that is, set the ODPS. security.enabledownloadprivilege property.
LabelSecurity This property is required. bool
Set whether to use the Label permission control function, that is, set the LabelSecurity attribute, which is not used by default.
ObjectCreatorHasAccessPermission This property is required. bool
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.
ObjectCreatorHasGrantPermission This property is required. bool
The ObjectCreatorHasGrantPermission attribute is set to allow the object creator to have the authorization permission on the object. The default is the allowed state.
ProjectProtection This property is required. Pulumi.AliCloud.MaxCompute.Inputs.GetProjectsProjectSecurityPropertiesProjectProtection
Project protection.
UsingAcl This property is required. bool
Set whether to use the ACL permission control function, that is, set the CheckPermissionUsingACL attribute, which is in use by default.
UsingPolicy This property is required. bool
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.
EnableDownloadPrivilege This property is required. bool
Set whether to enable the Download permission control function, that is, set the ODPS. security.enabledownloadprivilege property.
LabelSecurity This property is required. bool
Set whether to use the Label permission control function, that is, set the LabelSecurity attribute, which is not used by default.
ObjectCreatorHasAccessPermission This property is required. bool
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.
ObjectCreatorHasGrantPermission This property is required. bool
The ObjectCreatorHasGrantPermission attribute is set to allow the object creator to have the authorization permission on the object. The default is the allowed state.
ProjectProtection This property is required. GetProjectsProjectSecurityPropertiesProjectProtection
Project protection.
UsingAcl This property is required. bool
Set whether to use the ACL permission control function, that is, set the CheckPermissionUsingACL attribute, which is in use by default.
UsingPolicy This property is required. bool
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.
enableDownloadPrivilege This property is required. Boolean
Set whether to enable the Download permission control function, that is, set the ODPS. security.enabledownloadprivilege property.
labelSecurity This property is required. Boolean
Set whether to use the Label permission control function, that is, set the LabelSecurity attribute, which is not used by default.
objectCreatorHasAccessPermission This property is required. Boolean
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.
objectCreatorHasGrantPermission This property is required. Boolean
The ObjectCreatorHasGrantPermission attribute is set to allow the object creator to have the authorization permission on the object. The default is the allowed state.
projectProtection This property is required. GetProjectsProjectSecurityPropertiesProjectProtection
Project protection.
usingAcl This property is required. Boolean
Set whether to use the ACL permission control function, that is, set the CheckPermissionUsingACL attribute, which is in use by default.
usingPolicy This property is required. Boolean
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.
enableDownloadPrivilege This property is required. boolean
Set whether to enable the Download permission control function, that is, set the ODPS. security.enabledownloadprivilege property.
labelSecurity This property is required. boolean
Set whether to use the Label permission control function, that is, set the LabelSecurity attribute, which is not used by default.
objectCreatorHasAccessPermission This property is required. boolean
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.
objectCreatorHasGrantPermission This property is required. boolean
The ObjectCreatorHasGrantPermission attribute is set to allow the object creator to have the authorization permission on the object. The default is the allowed state.
projectProtection This property is required. GetProjectsProjectSecurityPropertiesProjectProtection
Project protection.
usingAcl This property is required. boolean
Set whether to use the ACL permission control function, that is, set the CheckPermissionUsingACL attribute, which is in use by default.
usingPolicy This property is required. boolean
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.
enable_download_privilege This property is required. bool
Set whether to enable the Download permission control function, that is, set the ODPS. security.enabledownloadprivilege property.
label_security This property is required. bool
Set whether to use the Label permission control function, that is, set the LabelSecurity attribute, which is not used by default.
object_creator_has_access_permission This property is required. bool
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.
object_creator_has_grant_permission This property is required. bool
The ObjectCreatorHasGrantPermission attribute is set to allow the object creator to have the authorization permission on the object. The default is the allowed state.
project_protection This property is required. GetProjectsProjectSecurityPropertiesProjectProtection
Project protection.
using_acl This property is required. bool
Set whether to use the ACL permission control function, that is, set the CheckPermissionUsingACL attribute, which is in use by default.
using_policy This property is required. bool
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.
enableDownloadPrivilege This property is required. Boolean
Set whether to enable the Download permission control function, that is, set the ODPS. security.enabledownloadprivilege property.
labelSecurity This property is required. Boolean
Set whether to use the Label permission control function, that is, set the LabelSecurity attribute, which is not used by default.
objectCreatorHasAccessPermission This property is required. Boolean
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.
objectCreatorHasGrantPermission This property is required. Boolean
The ObjectCreatorHasGrantPermission attribute is set to allow the object creator to have the authorization permission on the object. The default is the allowed state.
projectProtection This property is required. Property Map
Project protection.
usingAcl This property is required. Boolean
Set whether to use the ACL permission control function, that is, set the CheckPermissionUsingACL attribute, which is in use by default.
usingPolicy This property is required. Boolean
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.

GetProjectsProjectSecurityPropertiesProjectProtection

ExceptionPolicy This property is required. string
Set Exceptions or Trusted Items.
Protected This property is required. bool
Whether enabled, value:(true/false).
ExceptionPolicy This property is required. string
Set Exceptions or Trusted Items.
Protected This property is required. bool
Whether enabled, value:(true/false).
exceptionPolicy This property is required. String
Set Exceptions or Trusted Items.
protected_ This property is required. Boolean
Whether enabled, value:(true/false).
exceptionPolicy This property is required. string
Set Exceptions or Trusted Items.
protected This property is required. boolean
Whether enabled, value:(true/false).
exception_policy This property is required. str
Set Exceptions or Trusted Items.
protected This property is required. bool
Whether enabled, value:(true/false).
exceptionPolicy This property is required. String
Set Exceptions or Trusted Items.
protected This property is required. Boolean
Whether enabled, value:(true/false).

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi