Alibaba Cloud v3.87.0 published on Saturday, Oct 18, 2025 by Pulumi
alicloud.brain.getIndustrialPidLoops
This data source provides the Brain Industrial Pid Loops of the current Alibaba Cloud user.
NOTE: Available since v1.117.0.
DEPRECATED: This data source has been deprecated from version
1.229.1.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const example = alicloud.brain.getIndustrialPidLoops({
pidProjectId: "856c6b8f-ca63-40a4-xxxx-xxxx",
ids: ["742a3d4e-d8b0-47c8-xxxx-xxxx"],
nameRegex: "tf-testACC",
});
export const firstBrainIndustrialPidLoopId = example.then(example => example.loops?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
example = alicloud.brain.get_industrial_pid_loops(pid_project_id="856c6b8f-ca63-40a4-xxxx-xxxx",
ids=["742a3d4e-d8b0-47c8-xxxx-xxxx"],
name_regex="tf-testACC")
pulumi.export("firstBrainIndustrialPidLoopId", example.loops[0].id)
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 {
example, err := brain.GetIndustrialPidLoops(ctx, &brain.GetIndustrialPidLoopsArgs{
PidProjectId: "856c6b8f-ca63-40a4-xxxx-xxxx",
Ids: []string{
"742a3d4e-d8b0-47c8-xxxx-xxxx",
},
NameRegex: pulumi.StringRef("tf-testACC"),
}, nil)
if err != nil {
return err
}
ctx.Export("firstBrainIndustrialPidLoopId", example.Loops[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var example = AliCloud.Brain.GetIndustrialPidLoops.Invoke(new()
{
PidProjectId = "856c6b8f-ca63-40a4-xxxx-xxxx",
Ids = new[]
{
"742a3d4e-d8b0-47c8-xxxx-xxxx",
},
NameRegex = "tf-testACC",
});
return new Dictionary<string, object?>
{
["firstBrainIndustrialPidLoopId"] = example.Apply(getIndustrialPidLoopsResult => getIndustrialPidLoopsResult.Loops[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.brain.BrainFunctions;
import com.pulumi.alicloud.brain.inputs.GetIndustrialPidLoopsArgs;
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) {
final var example = BrainFunctions.getIndustrialPidLoops(GetIndustrialPidLoopsArgs.builder()
.pidProjectId("856c6b8f-ca63-40a4-xxxx-xxxx")
.ids("742a3d4e-d8b0-47c8-xxxx-xxxx")
.nameRegex("tf-testACC")
.build());
ctx.export("firstBrainIndustrialPidLoopId", example.loops()[0].id());
}
}
variables:
example:
fn::invoke:
function: alicloud:brain:getIndustrialPidLoops
arguments:
pidProjectId: 856c6b8f-ca63-40a4-xxxx-xxxx
ids:
- 742a3d4e-d8b0-47c8-xxxx-xxxx
nameRegex: tf-testACC
outputs:
firstBrainIndustrialPidLoopId: ${example.loops[0].id}
Using getIndustrialPidLoops
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getIndustrialPidLoops(args: GetIndustrialPidLoopsArgs, opts?: InvokeOptions): Promise<GetIndustrialPidLoopsResult>
function getIndustrialPidLoopsOutput(args: GetIndustrialPidLoopsOutputArgs, opts?: InvokeOptions): Output<GetIndustrialPidLoopsResult>def get_industrial_pid_loops(enable_details: Optional[bool] = None,
ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
pid_loop_name: Optional[str] = None,
pid_project_id: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIndustrialPidLoopsResult
def get_industrial_pid_loops_output(enable_details: Optional[pulumi.Input[bool]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
pid_loop_name: Optional[pulumi.Input[str]] = None,
pid_project_id: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIndustrialPidLoopsResult]func GetIndustrialPidLoops(ctx *Context, args *GetIndustrialPidLoopsArgs, opts ...InvokeOption) (*GetIndustrialPidLoopsResult, error)
func GetIndustrialPidLoopsOutput(ctx *Context, args *GetIndustrialPidLoopsOutputArgs, opts ...InvokeOption) GetIndustrialPidLoopsResultOutput> Note: This function is named GetIndustrialPidLoops in the Go SDK.
public static class GetIndustrialPidLoops
{
public static Task<GetIndustrialPidLoopsResult> InvokeAsync(GetIndustrialPidLoopsArgs args, InvokeOptions? opts = null)
public static Output<GetIndustrialPidLoopsResult> Invoke(GetIndustrialPidLoopsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIndustrialPidLoopsResult> getIndustrialPidLoops(GetIndustrialPidLoopsArgs args, InvokeOptions options)
public static Output<GetIndustrialPidLoopsResult> getIndustrialPidLoops(GetIndustrialPidLoopsArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:brain/getIndustrialPidLoops:getIndustrialPidLoops
arguments:
# arguments dictionaryThe following arguments are supported:
- Pid
Project stringId - The pid project id.
- Enable
Details bool - Ids List<string>
- A list of Pid Loop IDs.
- Name
Regex string - A regex string to filter results by Pid Loop name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Pid
Loop stringName - The name of Pid Loop.
- Status string
- The status of Pid Loop.
- Pid
Project stringId - The pid project id.
- Enable
Details bool - Ids []string
- A list of Pid Loop IDs.
- Name
Regex string - A regex string to filter results by Pid Loop name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Pid
Loop stringName - The name of Pid Loop.
- Status string
- The status of Pid Loop.
- pid
Project StringId - The pid project id.
- enable
Details Boolean - ids List<String>
- A list of Pid Loop IDs.
- name
Regex String - A regex string to filter results by Pid Loop name.
- output
File String - File name where to save data source results (after running
pulumi preview). - pid
Loop StringName - The name of Pid Loop.
- status String
- The status of Pid Loop.
- pid
Project stringId - The pid project id.
- enable
Details boolean - ids string[]
- A list of Pid Loop IDs.
- name
Regex string - A regex string to filter results by Pid Loop name.
- output
File string - File name where to save data source results (after running
pulumi preview). - pid
Loop stringName - The name of Pid Loop.
- status string
- The status of Pid Loop.
- pid_
project_ strid - The pid project id.
- enable_
details bool - ids Sequence[str]
- A list of Pid Loop IDs.
- name_
regex str - A regex string to filter results by Pid Loop name.
- output_
file str - File name where to save data source results (after running
pulumi preview). - pid_
loop_ strname - The name of Pid Loop.
- status str
- The status of Pid Loop.
- pid
Project StringId - The pid project id.
- enable
Details Boolean - ids List<String>
- A list of Pid Loop IDs.
- name
Regex String - A regex string to filter results by Pid Loop name.
- output
File String - File name where to save data source results (after running
pulumi preview). - pid
Loop StringName - The name of Pid Loop.
- status String
- The status of Pid Loop.
getIndustrialPidLoops Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Loops
List<Pulumi.
Ali Cloud. Brain. Outputs. Get Industrial Pid Loops Loop> - A list of Brain Industrial Pid Loops. Each element contains the following attributes:
- Names List<string>
- A list of Pid Loop names.
- Pid
Project stringId - Enable
Details bool - Name
Regex string - Output
File string - Pid
Loop stringName - The name of Pid Loop.
- Status string
- The status of Pid Loop.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Loops
[]Get
Industrial Pid Loops Loop - A list of Brain Industrial Pid Loops. Each element contains the following attributes:
- Names []string
- A list of Pid Loop names.
- Pid
Project stringId - Enable
Details bool - Name
Regex string - Output
File string - Pid
Loop stringName - The name of Pid Loop.
- Status string
- The status of Pid Loop.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- loops
List<Get
Industrial Pid Loops Loop> - A list of Brain Industrial Pid Loops. Each element contains the following attributes:
- names List<String>
- A list of Pid Loop names.
- pid
Project StringId - enable
Details Boolean - name
Regex String - output
File String - pid
Loop StringName - The name of Pid Loop.
- status String
- The status of Pid Loop.
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- loops
Get
Industrial Pid Loops Loop[] - A list of Brain Industrial Pid Loops. Each element contains the following attributes:
- names string[]
- A list of Pid Loop names.
- pid
Project stringId - enable
Details boolean - name
Regex string - output
File string - pid
Loop stringName - The name of Pid Loop.
- status string
- The status of Pid Loop.
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- loops
Sequence[Get
Industrial Pid Loops Loop] - A list of Brain Industrial Pid Loops. Each element contains the following attributes:
- names Sequence[str]
- A list of Pid Loop names.
- pid_
project_ strid - enable_
details bool - name_
regex str - output_
file str - pid_
loop_ strname - The name of Pid Loop.
- status str
- The status of Pid Loop.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- loops List<Property Map>
- A list of Brain Industrial Pid Loops. Each element contains the following attributes:
- names List<String>
- A list of Pid Loop names.
- pid
Project StringId - enable
Details Boolean - name
Regex String - output
File String - pid
Loop StringName - The name of Pid Loop.
- status String
- The status of Pid Loop.
Supporting Types
GetIndustrialPidLoopsLoop
- Id string
- The ID of the Pid Loop.
- Pid
Loop stringConfiguration - Pid
Loop stringDcs Type - The dcs type of Pid Loop.
- Pid
Loop stringDesc - Pid
Loop stringId - The ID of the 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.
- Pid
Project stringId - The pid project id.
- Status string
- The status of Pid Loop.
- Id string
- The ID of the Pid Loop.
- Pid
Loop stringConfiguration - Pid
Loop stringDcs Type - The dcs type of Pid Loop.
- Pid
Loop stringDesc - Pid
Loop stringId - The ID of the 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.
- Pid
Project stringId - The pid project id.
- Status string
- The status of Pid Loop.
- id String
- The ID of the Pid Loop.
- pid
Loop StringConfiguration - pid
Loop StringDcs Type - The dcs type of Pid Loop.
- pid
Loop StringDesc - pid
Loop StringId - The ID of the 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.
- pid
Project StringId - The pid project id.
- status String
- The status of Pid Loop.
- id string
- The ID of the Pid Loop.
- pid
Loop stringConfiguration - pid
Loop stringDcs Type - The dcs type of Pid Loop.
- pid
Loop stringDesc - pid
Loop stringId - The ID of the 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.
- pid
Project stringId - The pid project id.
- status string
- The status of Pid Loop.
- id str
- The ID of the Pid Loop.
- pid_
loop_ strconfiguration - pid_
loop_ strdcs_ type - The dcs type of Pid Loop.
- pid_
loop_ strdesc - pid_
loop_ strid - The ID of the 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.
- pid_
project_ strid - The pid project id.
- status str
- The status of Pid Loop.
- id String
- The ID of the Pid Loop.
- pid
Loop StringConfiguration - pid
Loop StringDcs Type - The dcs type of Pid Loop.
- pid
Loop StringDesc - pid
Loop StringId - The ID of the 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.
- pid
Project StringId - The pid project id.
- status String
- The status of Pid Loop.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
