Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi
alicloud.maxcompute.getProjects
Explore with Pulumi AI
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)
public static Output<GetProjectsResult> getProjects(GetProjectsArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:maxcompute/getProjects:getProjects
arguments:
# arguments dictionary
The following arguments are supported:
- Ids
Changes to this property will trigger replacement.
- A list of Project IDs.
- Name
Regex Changes to this property will trigger replacement.
- A regex string to filter results by Group Metric Rule name.
- Output
File string - File name where to save data source results (after running
pulumi preview
).
- Ids
Changes to this property will trigger replacement.
- A list of Project IDs.
- Name
Regex Changes to this property will trigger replacement.
- A regex string to filter results by Group Metric Rule name.
- Output
File string - File name where to save data source results (after running
pulumi preview
).
- ids
Changes to this property will trigger replacement.
- A list of Project IDs.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter results by Group Metric Rule name.
- output
File String - File name where to save data source results (after running
pulumi preview
).
- ids
Changes to this property will trigger replacement.
- A list of Project IDs.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter results by Group Metric Rule name.
- output
File string - File name where to save data source results (after running
pulumi preview
).
- ids
Changes to this property will trigger replacement.
- A list of Project IDs.
- name_
regex Changes to this property will trigger replacement.
- 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.
- A list of Project IDs.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter results by Group Metric Rule name.
- output
File 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.
Ali Cloud. Max Compute. Outputs. Get Projects Project> - A list of Project Entries. Each element contains the following attributes:
- Name
Regex string - Output
File 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
[]Get
Projects Project - A list of Project Entries. Each element contains the following attributes:
- Name
Regex string - Output
File 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<Get
Projects Project> - A list of Project Entries. Each element contains the following attributes:
- name
Regex String - output
File 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
Get
Projects Project[] - A list of Project Entries. Each element contains the following attributes:
- name
Regex string - output
File 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[Get
Projects Project] - 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:
- name
Regex String - output
File 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.
- Cost
Storage 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.
- Create
Time This property is required. string - Represents the creation time of the project
- Default
Quota 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.
- Ip
White List This property is required. Pulumi.Ali Cloud. Max Compute. Inputs. Get Projects Project Ip White List - IP whitelist
- Owner
This property is required. string - Project owner
- Project
Name 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.Ali Cloud. Max Compute. Inputs. Get Projects Project Properties - Project base attributes
- Security
Properties This property is required. Pulumi.Ali Cloud. Max Compute. Inputs. Get Projects Project Security Properties - 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.
- Cost
Storage 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.
- Create
Time This property is required. string - Represents the creation time of the project
- Default
Quota 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.
- Ip
White List This property is required. GetProjects Project Ip White List - IP whitelist
- Owner
This property is required. string - Project owner
- Project
Name 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. GetProjects Project Properties - Project base attributes
- Security
Properties This property is required. GetProjects Project Security Properties - 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.
- cost
Storage 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.
- create
Time This property is required. String - Represents the creation time of the project
- default
Quota 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.
- ip
White List This property is required. GetProjects Project Ip White List - IP whitelist
- owner
This property is required. String - Project owner
- project
Name 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. GetProjects Project Properties - Project base attributes
- security
Properties This property is required. GetProjects Project Security Properties - 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.
- cost
Storage 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.
- create
Time This property is required. string - Represents the creation time of the project
- default
Quota 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.
- ip
White List This property is required. GetProjects Project Ip White List - IP whitelist
- owner
This property is required. string - Project owner
- project
Name 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. GetProjects Project Properties - Project base attributes
- security
Properties This property is required. GetProjects Project Security Properties - 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. GetProjects Project Ip White List - 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. GetProjects Project Properties - Project base attributes
- security_
properties This property is required. GetProjects Project Security Properties - 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.
- cost
Storage 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.
- create
Time This property is required. String - Represents the creation time of the project
- default
Quota 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.
- ip
White List This property is required. Property Map - IP whitelist
- owner
This property is required. String - Project owner
- project
Name 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
- security
Properties 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
- Ip
List 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.
- Vpc
Ip List 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. 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.
- Vpc
Ip List 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. 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.
- vpc
Ip List 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. 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.
- vpc
Ip List 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.
- ip
List 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.
- vpc
Ip List 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
- 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. Pulumi.Ali Cloud. Max Compute. Inputs. Get Projects Project Properties Encryption - 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. 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.
- Table
Lifecycle This property is required. Pulumi.Ali Cloud. Max Compute. Inputs. Get Projects Project Properties Table Lifecycle - 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.
- Type
System 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. GetProjects Project Properties Encryption - 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. 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.
- Table
Lifecycle This property is required. GetProjects Project Properties Table Lifecycle - 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.
- Type
System 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. Boolean - Whether to allow full table scan. Default: false.
- enable
Decimal2 This property is required. Boolean - Whether to turn on Decimal2.0.
- encryption
This property is required. GetProjects Project Properties Encryption - 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. 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.
- sql
Metering Max 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.
- table
Lifecycle This property is required. GetProjects Project Properties Table Lifecycle - 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.
- type
System 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. boolean - Whether to allow full table scan. Default: false.
- enable
Decimal2 This property is required. boolean - Whether to turn on Decimal2.0.
- encryption
This property is required. GetProjects Project Properties Encryption - 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. 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.
- sql
Metering Max 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.
- table
Lifecycle This property is required. GetProjects Project Properties Table Lifecycle - 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.
- type
System 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. GetProjects Project Properties Encryption - 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. GetProjects Project Properties Table Lifecycle - 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.
- allow
Full Scan This property is required. Boolean - Whether to allow full table scan. Default: false.
- enable
Decimal2 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.
- retention
Days 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.
- sql
Metering Max 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.
- table
Lifecycle 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.
- type
System 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
GetProjectsProjectSecurityProperties
- 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. Pulumi.Ali Cloud. Max Compute. Inputs. Get Projects Project Security Properties Project Protection - 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.
- 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. GetProjects Project Security Properties Project Protection - 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.
- enable
Download Privilege This property is required. Boolean - Set whether to enable the Download permission control function, that is, set the ODPS. security.enabledownloadprivilege property.
- label
Security 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.
- object
Creator Has Access Permission 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.
- object
Creator Has Grant Permission 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.
- project
Protection This property is required. GetProjects Project Security Properties Project Protection - Project protection.
- using
Acl 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.
- using
Policy 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. boolean - Set whether to enable the Download permission control function, that is, set the ODPS. security.enabledownloadprivilege property.
- label
Security 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.
- object
Creator Has Access Permission 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.
- object
Creator Has Grant Permission 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.
- project
Protection This property is required. GetProjects Project Security Properties Project Protection - Project protection.
- using
Acl 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.
- using
Policy 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. GetProjects Project Security Properties Project Protection - 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.
- enable
Download Privilege This property is required. Boolean - Set whether to enable the Download permission control function, that is, set the ODPS. security.enabledownloadprivilege property.
- label
Security 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.
- object
Creator Has Access Permission 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.
- object
Creator Has Grant Permission 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.
- project
Protection This property is required. Property Map - Project protection.
- using
Acl 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.
- using
Policy 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
- Exception
Policy This property is required. string - Set Exceptions or Trusted Items.
- Protected
This property is required. bool - Whether enabled, value:(true/false).
- Exception
Policy This property is required. string - Set Exceptions or Trusted Items.
- Protected
This property is required. bool - Whether enabled, value:(true/false).
- exception
Policy 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. 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).
- exception
Policy 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.