alicloud.brain.IndustrialPidLoop
Explore with Pulumi AI
Provides a Brain Industrial Pid Loop resource.
NOTE: Available in v1.117.0+.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const example = new alicloud.brain.IndustrialPidLoop("example", {
pidLoopConfiguration: "YourLoopConfiguration",
pidLoopDcsType: "standard",
pidLoopIsCrucial: true,
pidLoopName: "tf-testAcc",
pidLoopType: "0",
pidProjectId: "856c6b8f-ca63-40a4-xxxx-xxxx",
});
import pulumi
import pulumi_alicloud as alicloud
example = alicloud.brain.IndustrialPidLoop("example",
pid_loop_configuration="YourLoopConfiguration",
pid_loop_dcs_type="standard",
pid_loop_is_crucial=True,
pid_loop_name="tf-testAcc",
pid_loop_type="0",
pid_project_id="856c6b8f-ca63-40a4-xxxx-xxxx")
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.NewIndustrialPidLoop(ctx, "example", &brain.IndustrialPidLoopArgs{
PidLoopConfiguration: pulumi.String("YourLoopConfiguration"),
PidLoopDcsType: pulumi.String("standard"),
PidLoopIsCrucial: pulumi.Bool(true),
PidLoopName: pulumi.String("tf-testAcc"),
PidLoopType: pulumi.String("0"),
PidProjectId: pulumi.String("856c6b8f-ca63-40a4-xxxx-xxxx"),
})
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.IndustrialPidLoop("example", new()
{
PidLoopConfiguration = "YourLoopConfiguration",
PidLoopDcsType = "standard",
PidLoopIsCrucial = true,
PidLoopName = "tf-testAcc",
PidLoopType = "0",
PidProjectId = "856c6b8f-ca63-40a4-xxxx-xxxx",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.brain.IndustrialPidLoop;
import com.pulumi.alicloud.brain.IndustrialPidLoopArgs;
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 IndustrialPidLoop("example", IndustrialPidLoopArgs.builder()
.pidLoopConfiguration("YourLoopConfiguration")
.pidLoopDcsType("standard")
.pidLoopIsCrucial(true)
.pidLoopName("tf-testAcc")
.pidLoopType("0")
.pidProjectId("856c6b8f-ca63-40a4-xxxx-xxxx")
.build());
}
}
resources:
example:
type: alicloud:brain:IndustrialPidLoop
properties:
pidLoopConfiguration: YourLoopConfiguration
pidLoopDcsType: standard
pidLoopIsCrucial: true
pidLoopName: tf-testAcc
pidLoopType: '0'
pidProjectId: 856c6b8f-ca63-40a4-xxxx-xxxx
Create IndustrialPidLoop Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IndustrialPidLoop(name: string, args: IndustrialPidLoopArgs, opts?: CustomResourceOptions);
@overload
def IndustrialPidLoop(resource_name: str,
args: IndustrialPidLoopArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IndustrialPidLoop(resource_name: str,
opts: Optional[ResourceOptions] = None,
pid_loop_configuration: Optional[str] = None,
pid_loop_dcs_type: Optional[str] = None,
pid_loop_is_crucial: Optional[bool] = None,
pid_loop_name: Optional[str] = None,
pid_loop_type: Optional[str] = None,
pid_project_id: Optional[str] = None,
pid_loop_desc: Optional[str] = None)
func NewIndustrialPidLoop(ctx *Context, name string, args IndustrialPidLoopArgs, opts ...ResourceOption) (*IndustrialPidLoop, error)
public IndustrialPidLoop(string name, IndustrialPidLoopArgs args, CustomResourceOptions? opts = null)
public IndustrialPidLoop(String name, IndustrialPidLoopArgs args)
public IndustrialPidLoop(String name, IndustrialPidLoopArgs args, CustomResourceOptions options)
type: alicloud:brain:IndustrialPidLoop
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 IndustrialPidLoopArgs
- 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 IndustrialPidLoopArgs
- 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 IndustrialPidLoopArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IndustrialPidLoopArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IndustrialPidLoopArgs
- 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 industrialPidLoopResource = new AliCloud.Brain.IndustrialPidLoop("industrialPidLoopResource", new()
{
PidLoopConfiguration = "string",
PidLoopDcsType = "string",
PidLoopIsCrucial = false,
PidLoopName = "string",
PidLoopType = "string",
PidProjectId = "string",
PidLoopDesc = "string",
});
example, err := brain.NewIndustrialPidLoop(ctx, "industrialPidLoopResource", &brain.IndustrialPidLoopArgs{
PidLoopConfiguration: pulumi.String("string"),
PidLoopDcsType: pulumi.String("string"),
PidLoopIsCrucial: pulumi.Bool(false),
PidLoopName: pulumi.String("string"),
PidLoopType: pulumi.String("string"),
PidProjectId: pulumi.String("string"),
PidLoopDesc: pulumi.String("string"),
})
var industrialPidLoopResource = new IndustrialPidLoop("industrialPidLoopResource", IndustrialPidLoopArgs.builder()
.pidLoopConfiguration("string")
.pidLoopDcsType("string")
.pidLoopIsCrucial(false)
.pidLoopName("string")
.pidLoopType("string")
.pidProjectId("string")
.pidLoopDesc("string")
.build());
industrial_pid_loop_resource = alicloud.brain.IndustrialPidLoop("industrialPidLoopResource",
pid_loop_configuration="string",
pid_loop_dcs_type="string",
pid_loop_is_crucial=False,
pid_loop_name="string",
pid_loop_type="string",
pid_project_id="string",
pid_loop_desc="string")
const industrialPidLoopResource = new alicloud.brain.IndustrialPidLoop("industrialPidLoopResource", {
pidLoopConfiguration: "string",
pidLoopDcsType: "string",
pidLoopIsCrucial: false,
pidLoopName: "string",
pidLoopType: "string",
pidProjectId: "string",
pidLoopDesc: "string",
});
type: alicloud:brain:IndustrialPidLoop
properties:
pidLoopConfiguration: string
pidLoopDcsType: string
pidLoopDesc: string
pidLoopIsCrucial: false
pidLoopName: string
pidLoopType: string
pidProjectId: string
IndustrialPidLoop 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 IndustrialPidLoop resource accepts the following input properties:
- Pid
Loop stringConfiguration - The Pid Loop Configuration.
- Pid
Loop stringDcs Type - The dcs type of Pid Loop. Valid values:
standard
. - Pid
Loop boolIs Crucial - Whether is crucial Pid Loop.
- Pid
Loop stringName - The name of Pid Loop.
- Pid
Loop stringType - The type of Pid Loop. Valid values:
0
,1
,2
,3
,4
,5
. - Pid
Project stringId - The pid project id.
- Pid
Loop stringDesc - The desc of Pid Loop.
- Pid
Loop stringConfiguration - The Pid Loop Configuration.
- Pid
Loop stringDcs Type - The dcs type of Pid Loop. Valid values:
standard
. - Pid
Loop boolIs Crucial - Whether is crucial Pid Loop.
- Pid
Loop stringName - The name of Pid Loop.
- Pid
Loop stringType - The type of Pid Loop. Valid values:
0
,1
,2
,3
,4
,5
. - Pid
Project stringId - The pid project id.
- Pid
Loop stringDesc - The desc of Pid Loop.
- pid
Loop StringConfiguration - The Pid Loop Configuration.
- pid
Loop StringDcs Type - The dcs type of Pid Loop. Valid values:
standard
. - pid
Loop BooleanIs Crucial - Whether is crucial Pid Loop.
- pid
Loop StringName - The name of Pid Loop.
- pid
Loop StringType - The type of Pid Loop. Valid values:
0
,1
,2
,3
,4
,5
. - pid
Project StringId - The pid project id.
- pid
Loop StringDesc - The desc of Pid Loop.
- pid
Loop stringConfiguration - The Pid Loop Configuration.
- pid
Loop stringDcs Type - The dcs type of Pid Loop. Valid values:
standard
. - pid
Loop booleanIs Crucial - Whether is crucial Pid Loop.
- pid
Loop stringName - The name of Pid Loop.
- pid
Loop stringType - The type of Pid Loop. Valid values:
0
,1
,2
,3
,4
,5
. - pid
Project stringId - The pid project id.
- pid
Loop stringDesc - The desc of Pid Loop.
- pid_
loop_ strconfiguration - The Pid Loop Configuration.
- pid_
loop_ strdcs_ type - The dcs type of Pid Loop. Valid values:
standard
. - pid_
loop_ boolis_ crucial - Whether is crucial Pid Loop.
- pid_
loop_ strname - The name of Pid Loop.
- pid_
loop_ strtype - The type of Pid Loop. Valid values:
0
,1
,2
,3
,4
,5
. - pid_
project_ strid - The pid project id.
- pid_
loop_ strdesc - The desc of Pid Loop.
- pid
Loop StringConfiguration - The Pid Loop Configuration.
- pid
Loop StringDcs Type - The dcs type of Pid Loop. Valid values:
standard
. - pid
Loop BooleanIs Crucial - Whether is crucial Pid Loop.
- pid
Loop StringName - The name of Pid Loop.
- pid
Loop StringType - The type of Pid Loop. Valid values:
0
,1
,2
,3
,4
,5
. - pid
Project StringId - The pid project id.
- pid
Loop StringDesc - The desc of Pid Loop.
Outputs
All input properties are implicitly available as output properties. Additionally, the IndustrialPidLoop resource produces the following output properties:
Look up Existing IndustrialPidLoop Resource
Get an existing IndustrialPidLoop 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?: IndustrialPidLoopState, opts?: CustomResourceOptions): IndustrialPidLoop
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
pid_loop_configuration: Optional[str] = None,
pid_loop_dcs_type: Optional[str] = None,
pid_loop_desc: Optional[str] = None,
pid_loop_is_crucial: Optional[bool] = None,
pid_loop_name: Optional[str] = None,
pid_loop_type: Optional[str] = None,
pid_project_id: Optional[str] = None,
status: Optional[str] = None) -> IndustrialPidLoop
func GetIndustrialPidLoop(ctx *Context, name string, id IDInput, state *IndustrialPidLoopState, opts ...ResourceOption) (*IndustrialPidLoop, error)
public static IndustrialPidLoop Get(string name, Input<string> id, IndustrialPidLoopState? state, CustomResourceOptions? opts = null)
public static IndustrialPidLoop get(String name, Output<String> id, IndustrialPidLoopState 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.
- Pid
Loop stringConfiguration - The Pid Loop Configuration.
- Pid
Loop stringDcs Type - The dcs type of Pid Loop. Valid values:
standard
. - Pid
Loop stringDesc - The desc of Pid Loop.
- Pid
Loop boolIs Crucial - Whether is crucial Pid Loop.
- Pid
Loop stringName - The name of Pid Loop.
- Pid
Loop stringType - The type of Pid Loop. Valid values:
0
,1
,2
,3
,4
,5
. - Pid
Project stringId - The pid project id.
- Status string
- The status of Pid Loop.
- Pid
Loop stringConfiguration - The Pid Loop Configuration.
- Pid
Loop stringDcs Type - The dcs type of Pid Loop. Valid values:
standard
. - Pid
Loop stringDesc - The desc of Pid Loop.
- Pid
Loop boolIs Crucial - Whether is crucial Pid Loop.
- Pid
Loop stringName - The name of Pid Loop.
- Pid
Loop stringType - The type of Pid Loop. Valid values:
0
,1
,2
,3
,4
,5
. - Pid
Project stringId - The pid project id.
- Status string
- The status of Pid Loop.
- pid
Loop StringConfiguration - The Pid Loop Configuration.
- pid
Loop StringDcs Type - The dcs type of Pid Loop. Valid values:
standard
. - pid
Loop StringDesc - The desc of Pid Loop.
- pid
Loop BooleanIs Crucial - Whether is crucial Pid Loop.
- pid
Loop StringName - The name of Pid Loop.
- pid
Loop StringType - The type of Pid Loop. Valid values:
0
,1
,2
,3
,4
,5
. - pid
Project StringId - The pid project id.
- status String
- The status of Pid Loop.
- pid
Loop stringConfiguration - The Pid Loop Configuration.
- pid
Loop stringDcs Type - The dcs type of Pid Loop. Valid values:
standard
. - pid
Loop stringDesc - The desc of Pid Loop.
- pid
Loop booleanIs Crucial - Whether is crucial Pid Loop.
- pid
Loop stringName - The name of Pid Loop.
- pid
Loop stringType - The type of Pid Loop. Valid values:
0
,1
,2
,3
,4
,5
. - pid
Project stringId - The pid project id.
- status string
- The status of Pid Loop.
- pid_
loop_ strconfiguration - The Pid Loop Configuration.
- pid_
loop_ strdcs_ type - The dcs type of Pid Loop. Valid values:
standard
. - pid_
loop_ strdesc - The desc of Pid Loop.
- pid_
loop_ boolis_ crucial - Whether is crucial Pid Loop.
- pid_
loop_ strname - The name of Pid Loop.
- pid_
loop_ strtype - The type of Pid Loop. Valid values:
0
,1
,2
,3
,4
,5
. - pid_
project_ strid - The pid project id.
- status str
- The status of Pid Loop.
- pid
Loop StringConfiguration - The Pid Loop Configuration.
- pid
Loop StringDcs Type - The dcs type of Pid Loop. Valid values:
standard
. - pid
Loop StringDesc - The desc of Pid Loop.
- pid
Loop BooleanIs Crucial - Whether is crucial Pid Loop.
- pid
Loop StringName - The name of Pid Loop.
- pid
Loop StringType - The type of Pid Loop. Valid values:
0
,1
,2
,3
,4
,5
. - pid
Project StringId - The pid project id.
- status String
- The status of Pid Loop.
Import
Brain Industrial Pid Loop can be imported using the id, e.g.
$ pulumi import alicloud:brain/industrialPidLoop:IndustrialPidLoop 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.