Alibaba Cloud

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

IndustrialPidOrganization

Provides a Brain Industrial Pid Organization 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.IndustrialPidOrganization("example", new AliCloud.Brain.IndustrialPidOrganizationArgs
        {
            PidOrganizationName = "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
	})
}
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());

    }
}
import pulumi
import pulumi_alicloud as alicloud

example = alicloud.brain.IndustrialPidOrganization("example", pid_organization_name="tf-testAcc")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const example = new alicloud.brain.IndustrialPidOrganization("example", {
    pidOrganizationName: "tf-testAcc",
});
resources:
  example:
    type: alicloud:brain:IndustrialPidOrganization
    properties:
      pidOrganizationName: tf-testAcc

Create a IndustrialPidOrganization Resource

new IndustrialPidOrganization(name: string, args: IndustrialPidOrganizationArgs, opts?: CustomResourceOptions);
@overload
def IndustrialPidOrganization(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              parent_pid_organization_id: Optional[str] = None,
                              pid_organization_name: Optional[str] = None)
@overload
def IndustrialPidOrganization(resource_name: str,
                              args: IndustrialPidOrganizationArgs,
                              opts: Optional[ResourceOptions] = 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.

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.

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

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

Package Details

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

This Pulumi package is based on the alicloud Terraform Provider.