Alibaba Cloud

v3.28.0 published on Tuesday, Aug 16, 2022 by Pulumi

IndustrialPidProject

Provides a Brain Industrial Pid Project resource.

NOTE: Available in v1.113.0+.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new AliCloud.Brain.IndustrialPidProject("example", new AliCloud.Brain.IndustrialPidProjectArgs
        {
            PidOrganizationId = "3e74e684-cbb5-xxxx",
            PidProjectName = "tf-testAcc",
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/brain"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := brain.NewIndustrialPidProject(ctx, "example", &brain.IndustrialPidProjectArgs{
			PidOrganizationId: pulumi.String("3e74e684-cbb5-xxxx"),
			PidProjectName:    pulumi.String("tf-testAcc"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.brain.IndustrialPidProject;
import com.pulumi.alicloud.brain.IndustrialPidProjectArgs;
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) {
        var example = new IndustrialPidProject("example", IndustrialPidProjectArgs.builder()        
            .pidOrganizationId("3e74e684-cbb5-xxxx")
            .pidProjectName("tf-testAcc")
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

example = alicloud.brain.IndustrialPidProject("example",
    pid_organization_id="3e74e684-cbb5-xxxx",
    pid_project_name="tf-testAcc")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const example = new alicloud.brain.IndustrialPidProject("example", {
    pidOrganizationId: "3e74e684-cbb5-xxxx",
    pidProjectName: "tf-testAcc",
});
resources:
  example:
    type: alicloud:brain:IndustrialPidProject
    properties:
      pidOrganizationId: 3e74e684-cbb5-xxxx
      pidProjectName: tf-testAcc

Create a IndustrialPidProject Resource

new IndustrialPidProject(name: string, args: IndustrialPidProjectArgs, opts?: CustomResourceOptions);
@overload
def IndustrialPidProject(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         pid_organization_id: Optional[str] = None,
                         pid_project_desc: Optional[str] = None,
                         pid_project_name: Optional[str] = None)
@overload
def IndustrialPidProject(resource_name: str,
                         args: IndustrialPidProjectArgs,
                         opts: Optional[ResourceOptions] = None)
func NewIndustrialPidProject(ctx *Context, name string, args IndustrialPidProjectArgs, opts ...ResourceOption) (*IndustrialPidProject, error)
public IndustrialPidProject(string name, IndustrialPidProjectArgs args, CustomResourceOptions? opts = null)
public IndustrialPidProject(String name, IndustrialPidProjectArgs args)
public IndustrialPidProject(String name, IndustrialPidProjectArgs args, CustomResourceOptions options)
type: alicloud:brain:IndustrialPidProject
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args IndustrialPidProjectArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args IndustrialPidProjectArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args IndustrialPidProjectArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args IndustrialPidProjectArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args IndustrialPidProjectArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

IndustrialPidProject Resource Properties

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

Inputs

The IndustrialPidProject resource accepts the following input properties:

PidOrganizationId string

The ID of Pid Organization.

PidProjectName string

The name of Pid Project.

PidProjectDesc string

The description of Pid Project.

PidOrganizationId string

The ID of Pid Organization.

PidProjectName string

The name of Pid Project.

PidProjectDesc string

The description of Pid Project.

pidOrganizationId String

The ID of Pid Organization.

pidProjectName String

The name of Pid Project.

pidProjectDesc String

The description of Pid Project.

pidOrganizationId string

The ID of Pid Organization.

pidProjectName string

The name of Pid Project.

pidProjectDesc string

The description of Pid Project.

pid_organization_id str

The ID of Pid Organization.

pid_project_name str

The name of Pid Project.

pid_project_desc str

The description of Pid Project.

pidOrganizationId String

The ID of Pid Organization.

pidProjectName String

The name of Pid Project.

pidProjectDesc String

The description of Pid Project.

Outputs

All input properties are implicitly available as output properties. Additionally, the IndustrialPidProject 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 string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up an Existing IndustrialPidProject Resource

Get an existing IndustrialPidProject 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?: IndustrialPidProjectState, opts?: CustomResourceOptions): IndustrialPidProject
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        pid_organization_id: Optional[str] = None,
        pid_project_desc: Optional[str] = None,
        pid_project_name: Optional[str] = None) -> IndustrialPidProject
func GetIndustrialPidProject(ctx *Context, name string, id IDInput, state *IndustrialPidProjectState, opts ...ResourceOption) (*IndustrialPidProject, error)
public static IndustrialPidProject Get(string name, Input<string> id, IndustrialPidProjectState? state, CustomResourceOptions? opts = null)
public static IndustrialPidProject get(String name, Output<String> id, IndustrialPidProjectState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
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:
PidOrganizationId string

The ID of Pid Organization.

PidProjectDesc string

The description of Pid Project.

PidProjectName string

The name of Pid Project.

PidOrganizationId string

The ID of Pid Organization.

PidProjectDesc string

The description of Pid Project.

PidProjectName string

The name of Pid Project.

pidOrganizationId String

The ID of Pid Organization.

pidProjectDesc String

The description of Pid Project.

pidProjectName String

The name of Pid Project.

pidOrganizationId string

The ID of Pid Organization.

pidProjectDesc string

The description of Pid Project.

pidProjectName string

The name of Pid Project.

pid_organization_id str

The ID of Pid Organization.

pid_project_desc str

The description of Pid Project.

pid_project_name str

The name of Pid Project.

pidOrganizationId String

The ID of Pid Organization.

pidProjectDesc String

The description of Pid Project.

pidProjectName String

The name of Pid Project.

Import

Brain Industrial Pid Project can be imported using the id, e.g.

 $ pulumi import alicloud:brain/industrialPidProject:IndustrialPidProject example <id>

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.