1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. brain
  5. IndustrialPidProject
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.brain.IndustrialPidProject

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

    Provides a Brain Industrial Pid Project resource.

    NOTE: Available since v1.113.0.

    DEPRECATED: This resource has been deprecated from version 1.222.0.

    Example Usage

    Basic Usage

    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",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    example = alicloud.brain.IndustrialPidProject("example",
        pid_organization_id="3e74e684-cbb5-xxxx",
        pid_project_name="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
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new AliCloud.Brain.IndustrialPidProject("example", new()
        {
            PidOrganizationId = "3e74e684-cbb5-xxxx",
            PidProjectName = "tf-testAcc",
        });
    
    });
    
    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());
    
        }
    }
    
    resources:
      example:
        type: alicloud:brain:IndustrialPidProject
        properties:
          pidOrganizationId: 3e74e684-cbb5-xxxx
          pidProjectName: tf-testAcc
    

    Create IndustrialPidProject Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IndustrialPidProject(name: string, args: IndustrialPidProjectArgs, opts?: CustomResourceOptions);
    @overload
    def IndustrialPidProject(resource_name: str,
                             args: IndustrialPidProjectArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def IndustrialPidProject(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             pid_organization_id: Optional[str] = None,
                             pid_project_name: Optional[str] = None,
                             pid_project_desc: Optional[str] = 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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var industrialPidProjectResource = new AliCloud.Brain.IndustrialPidProject("industrialPidProjectResource", new()
    {
        PidOrganizationId = "string",
        PidProjectName = "string",
        PidProjectDesc = "string",
    });
    
    example, err := brain.NewIndustrialPidProject(ctx, "industrialPidProjectResource", &brain.IndustrialPidProjectArgs{
    	PidOrganizationId: pulumi.String("string"),
    	PidProjectName:    pulumi.String("string"),
    	PidProjectDesc:    pulumi.String("string"),
    })
    
    var industrialPidProjectResource = new IndustrialPidProject("industrialPidProjectResource", IndustrialPidProjectArgs.builder()
        .pidOrganizationId("string")
        .pidProjectName("string")
        .pidProjectDesc("string")
        .build());
    
    industrial_pid_project_resource = alicloud.brain.IndustrialPidProject("industrialPidProjectResource",
        pid_organization_id="string",
        pid_project_name="string",
        pid_project_desc="string")
    
    const industrialPidProjectResource = new alicloud.brain.IndustrialPidProject("industrialPidProjectResource", {
        pidOrganizationId: "string",
        pidProjectName: "string",
        pidProjectDesc: "string",
    });
    
    type: alicloud:brain:IndustrialPidProject
    properties:
        pidOrganizationId: string
        pidProjectDesc: string
        pidProjectName: string
    

    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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    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 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>
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.66.0 published on Friday, Nov 15, 2024 by Pulumi