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

alicloud.brain.IndustrialPidOrganization

Explore with Pulumi AI

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

    Provides a Brain Industrial Pid Organization 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.IndustrialPidOrganization("example", {pidOrganizationName: "tf-testAcc"});
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    example = alicloud.brain.IndustrialPidOrganization("example", pid_organization_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.NewIndustrialPidOrganization(ctx, "example", &brain.IndustrialPidOrganizationArgs{
    			PidOrganizationName: 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.IndustrialPidOrganization("example", new()
        {
            PidOrganizationName = "tf-testAcc",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.brain.IndustrialPidOrganization;
    import com.pulumi.alicloud.brain.IndustrialPidOrganizationArgs;
    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 IndustrialPidOrganization("example", IndustrialPidOrganizationArgs.builder()
                .pidOrganizationName("tf-testAcc")
                .build());
    
        }
    }
    
    resources:
      example:
        type: alicloud:brain:IndustrialPidOrganization
        properties:
          pidOrganizationName: tf-testAcc
    

    Create IndustrialPidOrganization Resource

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

    Constructor syntax

    new IndustrialPidOrganization(name: string, args: IndustrialPidOrganizationArgs, opts?: CustomResourceOptions);
    @overload
    def IndustrialPidOrganization(resource_name: str,
                                  args: IndustrialPidOrganizationArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def IndustrialPidOrganization(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  pid_organization_name: Optional[str] = None,
                                  parent_pid_organization_id: Optional[str] = None)
    func NewIndustrialPidOrganization(ctx *Context, name string, args IndustrialPidOrganizationArgs, opts ...ResourceOption) (*IndustrialPidOrganization, error)
    public IndustrialPidOrganization(string name, IndustrialPidOrganizationArgs args, CustomResourceOptions? opts = null)
    public IndustrialPidOrganization(String name, IndustrialPidOrganizationArgs args)
    public IndustrialPidOrganization(String name, IndustrialPidOrganizationArgs args, CustomResourceOptions options)
    
    type: alicloud:brain:IndustrialPidOrganization
    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 IndustrialPidOrganizationArgs
    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 IndustrialPidOrganizationArgs
    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 IndustrialPidOrganizationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IndustrialPidOrganizationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IndustrialPidOrganizationArgs
    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 industrialPidOrganizationResource = new AliCloud.Brain.IndustrialPidOrganization("industrialPidOrganizationResource", new()
    {
        PidOrganizationName = "string",
        ParentPidOrganizationId = "string",
    });
    
    example, err := brain.NewIndustrialPidOrganization(ctx, "industrialPidOrganizationResource", &brain.IndustrialPidOrganizationArgs{
    	PidOrganizationName:     pulumi.String("string"),
    	ParentPidOrganizationId: pulumi.String("string"),
    })
    
    var industrialPidOrganizationResource = new IndustrialPidOrganization("industrialPidOrganizationResource", IndustrialPidOrganizationArgs.builder()
        .pidOrganizationName("string")
        .parentPidOrganizationId("string")
        .build());
    
    industrial_pid_organization_resource = alicloud.brain.IndustrialPidOrganization("industrialPidOrganizationResource",
        pid_organization_name="string",
        parent_pid_organization_id="string")
    
    const industrialPidOrganizationResource = new alicloud.brain.IndustrialPidOrganization("industrialPidOrganizationResource", {
        pidOrganizationName: "string",
        parentPidOrganizationId: "string",
    });
    
    type: alicloud:brain:IndustrialPidOrganization
    properties:
        parentPidOrganizationId: string
        pidOrganizationName: string
    

    IndustrialPidOrganization 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 IndustrialPidOrganization resource accepts the following input properties:

    PidOrganizationName string
    The name of pid organization.
    ParentPidOrganizationId string
    The ID of parent pid organization.
    PidOrganizationName string
    The name of pid organization.
    ParentPidOrganizationId string
    The ID of parent pid organization.
    pidOrganizationName String
    The name of pid organization.
    parentPidOrganizationId String
    The ID of parent pid organization.
    pidOrganizationName string
    The name of pid organization.
    parentPidOrganizationId string
    The ID of parent pid organization.
    pid_organization_name str
    The name of pid organization.
    parent_pid_organization_id str
    The ID of parent pid organization.
    pidOrganizationName String
    The name of pid organization.
    parentPidOrganizationId String
    The ID of parent pid organization.

    Outputs

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

    Get an existing IndustrialPidOrganization 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?: IndustrialPidOrganizationState, opts?: CustomResourceOptions): IndustrialPidOrganization
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            parent_pid_organization_id: Optional[str] = None,
            pid_organization_name: Optional[str] = None) -> IndustrialPidOrganization
    func GetIndustrialPidOrganization(ctx *Context, name string, id IDInput, state *IndustrialPidOrganizationState, opts ...ResourceOption) (*IndustrialPidOrganization, error)
    public static IndustrialPidOrganization Get(string name, Input<string> id, IndustrialPidOrganizationState? state, CustomResourceOptions? opts = null)
    public static IndustrialPidOrganization get(String name, Output<String> id, IndustrialPidOrganizationState 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:
    ParentPidOrganizationId string
    The ID of parent pid organization.
    PidOrganizationName string
    The name of pid organization.
    ParentPidOrganizationId string
    The ID of parent pid organization.
    PidOrganizationName string
    The name of pid organization.
    parentPidOrganizationId String
    The ID of parent pid organization.
    pidOrganizationName String
    The name of pid organization.
    parentPidOrganizationId string
    The ID of parent pid organization.
    pidOrganizationName string
    The name of pid organization.
    parent_pid_organization_id str
    The ID of parent pid organization.
    pid_organization_name str
    The name of pid organization.
    parentPidOrganizationId String
    The ID of parent pid organization.
    pidOrganizationName String
    The name of pid organization.

    Import

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

    $ pulumi import alicloud:brain/industrialPidOrganization:IndustrialPidOrganization 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