Project

The project is the basic unit of operation in maxcompute. It is similar to the concept of Database or Schema in traditional databases, and sets the boundary for maxcompute multi-user isolation and access control. Refer to details.

->NOTE: Available in 1.77.0+.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new AliCloud.MaxCompute.Project("example", new AliCloud.MaxCompute.ProjectArgs
        {
            OrderType = "PayAsYouGo",
            SpecificationType = "OdpsStandard",
        });
    }

}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

example = alicloud.maxcompute.Project("example",
    order_type="PayAsYouGo",
    specification_type="OdpsStandard")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const example = new alicloud.maxcompute.Project("example", {
    orderType: "PayAsYouGo",
    specificationType: "OdpsStandard",
});

Create a Project Resource

new Project(name: string, args: ProjectArgs, opts?: CustomResourceOptions);
def Project(resource_name, opts=None, name=None, order_type=None, specification_type=None, __props__=None);
func NewProject(ctx *Context, name string, args ProjectArgs, opts ...ResourceOption) (*Project, error)
public Project(string name, ProjectArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ProjectArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ProjectArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ProjectArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Project Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Project resource accepts the following input properties:

OrderType string

The type of payment, only PayAsYouGo supported currently.

SpecificationType string

The type of resource Specification, only OdpsStandard supported currently.

Name string

The name of the maxcompute project.

OrderType string

The type of payment, only PayAsYouGo supported currently.

SpecificationType string

The type of resource Specification, only OdpsStandard supported currently.

Name string

The name of the maxcompute project.

orderType string

The type of payment, only PayAsYouGo supported currently.

specificationType string

The type of resource Specification, only OdpsStandard supported currently.

name string

The name of the maxcompute project.

order_type str

The type of payment, only PayAsYouGo supported currently.

specification_type str

The type of resource Specification, only OdpsStandard supported currently.

name str

The name of the maxcompute project.

Outputs

All input properties are implicitly available as output properties. Additionally, the Project resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Project Resource

Get an existing Project resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ProjectState, opts?: CustomResourceOptions): Project
static get(resource_name, id, opts=None, name=None, order_type=None, specification_type=None, __props__=None);
func GetProject(ctx *Context, name string, id IDInput, state *ProjectState, opts ...ResourceOption) (*Project, error)
public static Project Get(string name, Input<string> id, ProjectState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Name string

The name of the maxcompute project.

OrderType string

The type of payment, only PayAsYouGo supported currently.

SpecificationType string

The type of resource Specification, only OdpsStandard supported currently.

Name string

The name of the maxcompute project.

OrderType string

The type of payment, only PayAsYouGo supported currently.

SpecificationType string

The type of resource Specification, only OdpsStandard supported currently.

name string

The name of the maxcompute project.

orderType string

The type of payment, only PayAsYouGo supported currently.

specificationType string

The type of resource Specification, only OdpsStandard supported currently.

name str

The name of the maxcompute project.

order_type str

The type of payment, only PayAsYouGo supported currently.

specification_type str

The type of resource Specification, only OdpsStandard supported currently.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.