opentelekomcloud 1.36.43 published on Thursday, Jul 17, 2025 by opentelekomcloud
opentelekomcloud.getErInstancesV3
Explore with Pulumi AI
opentelekomcloud 1.36.43 published on Thursday, Jul 17, 2025 by opentelekomcloud
Use this data source to filter ER instances within OpenTelekomCloud.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const test = opentelekomcloud.getErInstancesV3({
tags: {
foo: "bar",
},
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
test = opentelekomcloud.get_er_instances_v3(tags={
"foo": "bar",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := opentelekomcloud.GetErInstancesV3(ctx, &opentelekomcloud.GetErInstancesV3Args{
Tags: map[string]interface{}{
"foo": "bar",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var test = Opentelekomcloud.GetErInstancesV3.Invoke(new()
{
Tags =
{
{ "foo", "bar" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetErInstancesV3Args;
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 test = OpentelekomcloudFunctions.getErInstancesV3(GetErInstancesV3Args.builder()
.tags(Map.of("foo", "bar"))
.build());
}
}
variables:
test:
fn::invoke:
function: opentelekomcloud:getErInstancesV3
arguments:
tags:
foo: bar
Using getErInstancesV3
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 getErInstancesV3(args: GetErInstancesV3Args, opts?: InvokeOptions): Promise<GetErInstancesV3Result>
function getErInstancesV3Output(args: GetErInstancesV3OutputArgs, opts?: InvokeOptions): Output<GetErInstancesV3Result>
def get_er_instances_v3(id: Optional[str] = None,
instance_id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
opts: Optional[InvokeOptions] = None) -> GetErInstancesV3Result
def get_er_instances_v3_output(id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetErInstancesV3Result]
func GetErInstancesV3(ctx *Context, args *GetErInstancesV3Args, opts ...InvokeOption) (*GetErInstancesV3Result, error)
func GetErInstancesV3Output(ctx *Context, args *GetErInstancesV3OutputArgs, opts ...InvokeOption) GetErInstancesV3ResultOutput
> Note: This function is named GetErInstancesV3
in the Go SDK.
public static class GetErInstancesV3
{
public static Task<GetErInstancesV3Result> InvokeAsync(GetErInstancesV3Args args, InvokeOptions? opts = null)
public static Output<GetErInstancesV3Result> Invoke(GetErInstancesV3InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetErInstancesV3Result> getErInstancesV3(GetErInstancesV3Args args, InvokeOptions options)
public static Output<GetErInstancesV3Result> getErInstancesV3(GetErInstancesV3Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getErInstancesV3:getErInstancesV3
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The ER instance ID.
- Instance
Id string - Specifies the ID used to query specified ER instance.
- Name string
- Specifies the name used to filter the ER instances.
The valid length is limited from
1
to64
, only Chinese and English letters, digits, underscores (_) and hyphens (-) are allowed. - Region string
- The region where the ER instances are located.
- Status string
- Specifies the status used to filter the ER instances.
- Dictionary<string, string>
- Specifies the key/value pairs used to filter the ER instances.
- Id string
- The ER instance ID.
- Instance
Id string - Specifies the ID used to query specified ER instance.
- Name string
- Specifies the name used to filter the ER instances.
The valid length is limited from
1
to64
, only Chinese and English letters, digits, underscores (_) and hyphens (-) are allowed. - Region string
- The region where the ER instances are located.
- Status string
- Specifies the status used to filter the ER instances.
- map[string]string
- Specifies the key/value pairs used to filter the ER instances.
- id String
- The ER instance ID.
- instance
Id String - Specifies the ID used to query specified ER instance.
- name String
- Specifies the name used to filter the ER instances.
The valid length is limited from
1
to64
, only Chinese and English letters, digits, underscores (_) and hyphens (-) are allowed. - region String
- The region where the ER instances are located.
- status String
- Specifies the status used to filter the ER instances.
- Map<String,String>
- Specifies the key/value pairs used to filter the ER instances.
- id string
- The ER instance ID.
- instance
Id string - Specifies the ID used to query specified ER instance.
- name string
- Specifies the name used to filter the ER instances.
The valid length is limited from
1
to64
, only Chinese and English letters, digits, underscores (_) and hyphens (-) are allowed. - region string
- The region where the ER instances are located.
- status string
- Specifies the status used to filter the ER instances.
- {[key: string]: string}
- Specifies the key/value pairs used to filter the ER instances.
- id str
- The ER instance ID.
- instance_
id str - Specifies the ID used to query specified ER instance.
- name str
- Specifies the name used to filter the ER instances.
The valid length is limited from
1
to64
, only Chinese and English letters, digits, underscores (_) and hyphens (-) are allowed. - region str
- The region where the ER instances are located.
- status str
- Specifies the status used to filter the ER instances.
- Mapping[str, str]
- Specifies the key/value pairs used to filter the ER instances.
- id String
- The ER instance ID.
- instance
Id String - Specifies the ID used to query specified ER instance.
- name String
- Specifies the name used to filter the ER instances.
The valid length is limited from
1
to64
, only Chinese and English letters, digits, underscores (_) and hyphens (-) are allowed. - region String
- The region where the ER instances are located.
- status String
- Specifies the status used to filter the ER instances.
- Map<String>
- Specifies the key/value pairs used to filter the ER instances.
getErInstancesV3 Result
The following output properties are available:
- Id string
- The ER instance ID.
- Instances
List<Get
Er Instances V3Instance> - All instances that match the filter parameters. The object structure is documented below.
- Instance
Id string - Name string
- The name of the ER instance.
- Region string
- The region where the ER instances are located.
- Status string
- The current status of the ER instance.
- Dictionary<string, string>
- The key/value pairs to associate with the ER instance.
- Id string
- The ER instance ID.
- Instances
[]Get
Er Instances V3Instance - All instances that match the filter parameters. The object structure is documented below.
- Instance
Id string - Name string
- The name of the ER instance.
- Region string
- The region where the ER instances are located.
- Status string
- The current status of the ER instance.
- map[string]string
- The key/value pairs to associate with the ER instance.
- id String
- The ER instance ID.
- instances
List<Get
Er Instances V3Instance> - All instances that match the filter parameters. The object structure is documented below.
- instance
Id String - name String
- The name of the ER instance.
- region String
- The region where the ER instances are located.
- status String
- The current status of the ER instance.
- Map<String,String>
- The key/value pairs to associate with the ER instance.
- id string
- The ER instance ID.
- instances
Get
Er Instances V3Instance[] - All instances that match the filter parameters. The object structure is documented below.
- instance
Id string - name string
- The name of the ER instance.
- region string
- The region where the ER instances are located.
- status string
- The current status of the ER instance.
- {[key: string]: string}
- The key/value pairs to associate with the ER instance.
- id str
- The ER instance ID.
- instances
Sequence[Get
Er Instances V3Instance] - All instances that match the filter parameters. The object structure is documented below.
- instance_
id str - name str
- The name of the ER instance.
- region str
- The region where the ER instances are located.
- status str
- The current status of the ER instance.
- Mapping[str, str]
- The key/value pairs to associate with the ER instance.
- id String
- The ER instance ID.
- instances List<Property Map>
- All instances that match the filter parameters. The object structure is documented below.
- instance
Id String - name String
- The name of the ER instance.
- region String
- The region where the ER instances are located.
- status String
- The current status of the ER instance.
- Map<String>
- The key/value pairs to associate with the ER instance.
Supporting Types
GetErInstancesV3Instance
- Asn double
- The BGP AS number of the ER instance.
- bool
- Whether to automatically accept the creation of shared attachment.
- Availability
Zones List<string> - The availability zone list where the ER instance is located.
- Created
At string - The creation time of the ER instance.
- Default
Association stringRoute Table Id - The ID of the default association route table.
- Default
Propagation stringRoute Table Id - The ID of the default propagation route table.
- Description string
- The description of the ER instance.
- Enable
Default boolAssociation - Whether to enable the association of the default route table.
- Enable
Default boolPropagation - Whether to enable the propagation of the default route table.
- Id string
- The ER instance ID.
- Name string
- Specifies the name used to filter the ER instances.
The valid length is limited from
1
to64
, only Chinese and English letters, digits, underscores (_) and hyphens (-) are allowed. - Status string
- Specifies the status used to filter the ER instances.
- Dictionary<string, string>
- Specifies the key/value pairs used to filter the ER instances.
- Updated
At string - The last update time of the ER instance.
- Asn float64
- The BGP AS number of the ER instance.
- bool
- Whether to automatically accept the creation of shared attachment.
- Availability
Zones []string - The availability zone list where the ER instance is located.
- Created
At string - The creation time of the ER instance.
- Default
Association stringRoute Table Id - The ID of the default association route table.
- Default
Propagation stringRoute Table Id - The ID of the default propagation route table.
- Description string
- The description of the ER instance.
- Enable
Default boolAssociation - Whether to enable the association of the default route table.
- Enable
Default boolPropagation - Whether to enable the propagation of the default route table.
- Id string
- The ER instance ID.
- Name string
- Specifies the name used to filter the ER instances.
The valid length is limited from
1
to64
, only Chinese and English letters, digits, underscores (_) and hyphens (-) are allowed. - Status string
- Specifies the status used to filter the ER instances.
- map[string]string
- Specifies the key/value pairs used to filter the ER instances.
- Updated
At string - The last update time of the ER instance.
- asn Double
- The BGP AS number of the ER instance.
- Boolean
- Whether to automatically accept the creation of shared attachment.
- availability
Zones List<String> - The availability zone list where the ER instance is located.
- created
At String - The creation time of the ER instance.
- default
Association StringRoute Table Id - The ID of the default association route table.
- default
Propagation StringRoute Table Id - The ID of the default propagation route table.
- description String
- The description of the ER instance.
- enable
Default BooleanAssociation - Whether to enable the association of the default route table.
- enable
Default BooleanPropagation - Whether to enable the propagation of the default route table.
- id String
- The ER instance ID.
- name String
- Specifies the name used to filter the ER instances.
The valid length is limited from
1
to64
, only Chinese and English letters, digits, underscores (_) and hyphens (-) are allowed. - status String
- Specifies the status used to filter the ER instances.
- Map<String,String>
- Specifies the key/value pairs used to filter the ER instances.
- updated
At String - The last update time of the ER instance.
- asn number
- The BGP AS number of the ER instance.
- boolean
- Whether to automatically accept the creation of shared attachment.
- availability
Zones string[] - The availability zone list where the ER instance is located.
- created
At string - The creation time of the ER instance.
- default
Association stringRoute Table Id - The ID of the default association route table.
- default
Propagation stringRoute Table Id - The ID of the default propagation route table.
- description string
- The description of the ER instance.
- enable
Default booleanAssociation - Whether to enable the association of the default route table.
- enable
Default booleanPropagation - Whether to enable the propagation of the default route table.
- id string
- The ER instance ID.
- name string
- Specifies the name used to filter the ER instances.
The valid length is limited from
1
to64
, only Chinese and English letters, digits, underscores (_) and hyphens (-) are allowed. - status string
- Specifies the status used to filter the ER instances.
- {[key: string]: string}
- Specifies the key/value pairs used to filter the ER instances.
- updated
At string - The last update time of the ER instance.
- asn float
- The BGP AS number of the ER instance.
- bool
- Whether to automatically accept the creation of shared attachment.
- availability_
zones Sequence[str] - The availability zone list where the ER instance is located.
- created_
at str - The creation time of the ER instance.
- default_
association_ strroute_ table_ id - The ID of the default association route table.
- default_
propagation_ strroute_ table_ id - The ID of the default propagation route table.
- description str
- The description of the ER instance.
- enable_
default_ boolassociation - Whether to enable the association of the default route table.
- enable_
default_ boolpropagation - Whether to enable the propagation of the default route table.
- id str
- The ER instance ID.
- name str
- Specifies the name used to filter the ER instances.
The valid length is limited from
1
to64
, only Chinese and English letters, digits, underscores (_) and hyphens (-) are allowed. - status str
- Specifies the status used to filter the ER instances.
- Mapping[str, str]
- Specifies the key/value pairs used to filter the ER instances.
- updated_
at str - The last update time of the ER instance.
- asn Number
- The BGP AS number of the ER instance.
- Boolean
- Whether to automatically accept the creation of shared attachment.
- availability
Zones List<String> - The availability zone list where the ER instance is located.
- created
At String - The creation time of the ER instance.
- default
Association StringRoute Table Id - The ID of the default association route table.
- default
Propagation StringRoute Table Id - The ID of the default propagation route table.
- description String
- The description of the ER instance.
- enable
Default BooleanAssociation - Whether to enable the association of the default route table.
- enable
Default BooleanPropagation - Whether to enable the propagation of the default route table.
- id String
- The ER instance ID.
- name String
- Specifies the name used to filter the ER instances.
The valid length is limited from
1
to64
, only Chinese and English letters, digits, underscores (_) and hyphens (-) are allowed. - status String
- Specifies the status used to filter the ER instances.
- Map<String>
- Specifies the key/value pairs used to filter the ER instances.
- updated
At String - The last update time of the ER instance.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.
opentelekomcloud 1.36.43 published on Thursday, Jul 17, 2025 by opentelekomcloud