Project Args
data class ProjectArgs(val comment: Output<String>? = null, val defaultQuota: Output<String>? = null, val ipWhiteList: Output<ProjectIpWhiteListArgs>? = null, val productType: Output<String>? = null, val projectName: Output<String>? = null, val properties: Output<ProjectPropertiesArgs>? = null, val securityProperties: Output<ProjectSecurityPropertiesArgs>? = null) : ConvertibleToJava<ProjectArgs>
Provides a Max Compute Project resource. For information about Max Compute Project and how to use it, see What is Project.
NOTE: Available since v1.77.0.
Example Usage
Basic Usage
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 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");
var default_ = new Project("default", ProjectArgs.builder()
.defaultQuota("默认后付费Quota")
.projectName(name)
.comment(name)
.productType("PayAsYouGo")
.build());
}
}
Content copied to clipboard
Constructors
Link copied to clipboard
fun ProjectArgs(comment: Output<String>? = null, defaultQuota: Output<String>? = null, ipWhiteList: Output<ProjectIpWhiteListArgs>? = null, productType: Output<String>? = null, projectName: Output<String>? = null, properties: Output<ProjectPropertiesArgs>? = null, securityProperties: Output<ProjectSecurityPropertiesArgs>? = null)