1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. maxcompute
  5. getProjects
Alibaba Cloud v3.69.0 published on Monday, Dec 9, 2024 by Pulumi

alicloud.maxcompute.getProjects

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.69.0 published on Monday, Dec 9, 2024 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);
    
    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)
    
    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
    })
    }
    
    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)),
        };
    });
    
    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()));
        }
    }
    
    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}
    

    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>
    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]
    func GetProjects(ctx *Context, args *GetProjectsArgs, opts ...InvokeOption) (*GetProjectsResult, error)
    func GetProjectsOutput(ctx *Context, args *GetProjectsOutputArgs, opts ...InvokeOption) GetProjectsResultOutput

    > 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)
    }
    public static CompletableFuture<GetProjectsResult> getProjects(GetProjectsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:maxcompute/getProjects:getProjects
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Ids List<string>
    A list of Project IDs.
    NameRegex 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 []string
    A list of Project IDs.
    NameRegex 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 List<String>
    A list of Project IDs.
    nameRegex 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 string[]
    A list of Project IDs.
    nameRegex 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 Sequence[str]
    A list of Project IDs.
    name_regex 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 List<String>
    A list of Project IDs.
    nameRegex 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 string
    Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
    CostStorage 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 string
    Represents the creation time of the project
    DefaultQuota 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 Pulumi.AliCloud.MaxCompute.Inputs.GetProjectsProjectIpWhiteList
    IP whitelist
    Owner string
    Project owner
    ProjectName 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 Pulumi.AliCloud.MaxCompute.Inputs.GetProjectsProjectProperties
    Project base attributes
    SecurityProperties Pulumi.AliCloud.MaxCompute.Inputs.GetProjectsProjectSecurityProperties
    Security-related attributes
    Status string
    The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
    Type string
    Project type
    Comment string
    Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
    CostStorage 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 string
    Represents the creation time of the project
    DefaultQuota 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 GetProjectsProjectIpWhiteList
    IP whitelist
    Owner string
    Project owner
    ProjectName 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 GetProjectsProjectProperties
    Project base attributes
    SecurityProperties GetProjectsProjectSecurityProperties
    Security-related attributes
    Status string
    The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
    Type string
    Project type
    comment String
    Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
    costStorage 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 String
    Represents the creation time of the project
    defaultQuota 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 GetProjectsProjectIpWhiteList
    IP whitelist
    owner String
    Project owner
    projectName 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 GetProjectsProjectProperties
    Project base attributes
    securityProperties GetProjectsProjectSecurityProperties
    Security-related attributes
    status String
    The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
    type String
    Project type
    comment string
    Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
    costStorage 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 string
    Represents the creation time of the project
    defaultQuota 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 GetProjectsProjectIpWhiteList
    IP whitelist
    owner string
    Project owner
    projectName 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 GetProjectsProjectProperties
    Project base attributes
    securityProperties GetProjectsProjectSecurityProperties
    Security-related attributes
    status string
    The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
    type string
    Project type
    comment str
    Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
    cost_storage 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 str
    Represents the creation time of the project
    default_quota 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 GetProjectsProjectIpWhiteList
    IP whitelist
    owner str
    Project owner
    project_name 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 GetProjectsProjectProperties
    Project base attributes
    security_properties GetProjectsProjectSecurityProperties
    Security-related attributes
    status str
    The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
    type str
    Project type
    comment String
    Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
    costStorage 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 String
    Represents the creation time of the project
    defaultQuota 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 Property Map
    IP whitelist
    owner String
    Project owner
    projectName 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 Property Map
    Project base attributes
    securityProperties Property Map
    Security-related attributes
    status String
    The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
    type String
    Project type

    GetProjectsProjectIpWhiteList

    IpList 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 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 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 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 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 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 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 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 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 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 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 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 bool
    Whether to allow full table scan. Default: false.
    EnableDecimal2 bool
    Whether to turn on Decimal2.0.
    Encryption 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 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 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 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 string
    Project time zone, example value: Asia/Shanghai.
    TypeSystem 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 bool
    Whether to allow full table scan. Default: false.
    EnableDecimal2 bool
    Whether to turn on Decimal2.0.
    Encryption 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 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 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 GetProjectsProjectPropertiesTableLifecycle
    Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property,.
    Timezone string
    Project time zone, example value: Asia/Shanghai.
    TypeSystem 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 Boolean
    Whether to allow full table scan. Default: false.
    enableDecimal2 Boolean
    Whether to turn on Decimal2.0.
    encryption 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 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 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 GetProjectsProjectPropertiesTableLifecycle
    Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property,.
    timezone String
    Project time zone, example value: Asia/Shanghai.
    typeSystem 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 boolean
    Whether to allow full table scan. Default: false.
    enableDecimal2 boolean
    Whether to turn on Decimal2.0.
    encryption 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 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 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 GetProjectsProjectPropertiesTableLifecycle
    Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property,.
    timezone string
    Project time zone, example value: Asia/Shanghai.
    typeSystem 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 bool
    Whether to allow full table scan. Default: false.
    enable_decimal2 bool
    Whether to turn on Decimal2.0.
    encryption 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 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 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 GetProjectsProjectPropertiesTableLifecycle
    Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property,.
    timezone str
    Project time zone, example value: Asia/Shanghai.
    type_system 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 Boolean
    Whether to allow full table scan. Default: false.
    enableDecimal2 Boolean
    Whether to turn on Decimal2.0.
    encryption 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 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 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 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 String
    Project time zone, example value: Asia/Shanghai.
    typeSystem 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 string
    The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
    Enable bool
    Only enable function is supported. Value: (true).
    Key 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 string
    The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
    Enable bool
    Only enable function is supported. Value: (true).
    Key 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 String
    The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
    enable Boolean
    Only enable function is supported. Value: (true).
    key 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 string
    The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
    enable boolean
    Only enable function is supported. Value: (true).
    key 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 str
    The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
    enable bool
    Only enable function is supported. Value: (true).
    key 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 String
    The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
    enable Boolean
    Only enable function is supported. Value: (true).
    key 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 string
    Project type
    Value string
    The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.
    Type string
    Project type
    Value string
    The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.
    type String
    Project type
    value String
    The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.
    type string
    Project type
    value string
    The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.
    type str
    Project type
    value str
    The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.
    type String
    Project type
    value String
    The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.

    GetProjectsProjectSecurityProperties

    EnableDownloadPrivilege bool
    Set whether to enable the Download permission control function, that is, set the ODPS. security.enabledownloadprivilege property.
    LabelSecurity bool
    Set whether to use the Label permission control function, that is, set the LabelSecurity attribute, which is not used by default.
    ObjectCreatorHasAccessPermission 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 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 Pulumi.AliCloud.MaxCompute.Inputs.GetProjectsProjectSecurityPropertiesProjectProtection
    Project protection.
    UsingAcl bool
    Set whether to use the ACL permission control function, that is, set the CheckPermissionUsingACL attribute, which is in use by default.
    UsingPolicy 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 bool
    Set whether to enable the Download permission control function, that is, set the ODPS. security.enabledownloadprivilege property.
    LabelSecurity bool
    Set whether to use the Label permission control function, that is, set the LabelSecurity attribute, which is not used by default.
    ObjectCreatorHasAccessPermission 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 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 GetProjectsProjectSecurityPropertiesProjectProtection
    Project protection.
    UsingAcl bool
    Set whether to use the ACL permission control function, that is, set the CheckPermissionUsingACL attribute, which is in use by default.
    UsingPolicy 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 Boolean
    Set whether to enable the Download permission control function, that is, set the ODPS. security.enabledownloadprivilege property.
    labelSecurity Boolean
    Set whether to use the Label permission control function, that is, set the LabelSecurity attribute, which is not used by default.
    objectCreatorHasAccessPermission 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 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 GetProjectsProjectSecurityPropertiesProjectProtection
    Project protection.
    usingAcl Boolean
    Set whether to use the ACL permission control function, that is, set the CheckPermissionUsingACL attribute, which is in use by default.
    usingPolicy 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 boolean
    Set whether to enable the Download permission control function, that is, set the ODPS. security.enabledownloadprivilege property.
    labelSecurity boolean
    Set whether to use the Label permission control function, that is, set the LabelSecurity attribute, which is not used by default.
    objectCreatorHasAccessPermission 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 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 GetProjectsProjectSecurityPropertiesProjectProtection
    Project protection.
    usingAcl boolean
    Set whether to use the ACL permission control function, that is, set the CheckPermissionUsingACL attribute, which is in use by default.
    usingPolicy 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 bool
    Set whether to enable the Download permission control function, that is, set the ODPS. security.enabledownloadprivilege property.
    label_security 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 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 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 GetProjectsProjectSecurityPropertiesProjectProtection
    Project protection.
    using_acl bool
    Set whether to use the ACL permission control function, that is, set the CheckPermissionUsingACL attribute, which is in use by default.
    using_policy 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 Boolean
    Set whether to enable the Download permission control function, that is, set the ODPS. security.enabledownloadprivilege property.
    labelSecurity Boolean
    Set whether to use the Label permission control function, that is, set the LabelSecurity attribute, which is not used by default.
    objectCreatorHasAccessPermission 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 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 Property Map
    Project protection.
    usingAcl Boolean
    Set whether to use the ACL permission control function, that is, set the CheckPermissionUsingACL attribute, which is in use by default.
    usingPolicy 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 string
    Set Exceptions or Trusted Items.
    Protected bool
    Whether enabled, value:(true/false).
    ExceptionPolicy string
    Set Exceptions or Trusted Items.
    Protected bool
    Whether enabled, value:(true/false).
    exceptionPolicy String
    Set Exceptions or Trusted Items.
    protected_ Boolean
    Whether enabled, value:(true/false).
    exceptionPolicy string
    Set Exceptions or Trusted Items.
    protected boolean
    Whether enabled, value:(true/false).
    exception_policy str
    Set Exceptions or Trusted Items.
    protected bool
    Whether enabled, value:(true/false).
    exceptionPolicy String
    Set Exceptions or Trusted Items.
    protected 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.
    alicloud logo
    Alibaba Cloud v3.69.0 published on Monday, Dec 9, 2024 by Pulumi