1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getErInstancesV3
opentelekomcloud 1.36.43 published on Thursday, Jul 17, 2025 by opentelekomcloud

opentelekomcloud.getErInstancesV3

Explore with Pulumi AI

opentelekomcloud logo
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.
    InstanceId 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 to 64, 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.
    Tags Dictionary<string, string>
    Specifies the key/value pairs used to filter the ER instances.
    Id string
    The ER instance ID.
    InstanceId 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 to 64, 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.
    Tags map[string]string
    Specifies the key/value pairs used to filter the ER instances.
    id String
    The ER instance ID.
    instanceId 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 to 64, 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.
    tags Map<String,String>
    Specifies the key/value pairs used to filter the ER instances.
    id string
    The ER instance ID.
    instanceId 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 to 64, 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.
    tags {[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 to 64, 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.
    tags Mapping[str, str]
    Specifies the key/value pairs used to filter the ER instances.
    id String
    The ER instance ID.
    instanceId 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 to 64, 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.
    tags 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<GetErInstancesV3Instance>
    All instances that match the filter parameters. The object structure is documented below.
    InstanceId 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.
    Tags Dictionary<string, string>
    The key/value pairs to associate with the ER instance.
    Id string
    The ER instance ID.
    Instances []GetErInstancesV3Instance
    All instances that match the filter parameters. The object structure is documented below.
    InstanceId 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.
    Tags map[string]string
    The key/value pairs to associate with the ER instance.
    id String
    The ER instance ID.
    instances List<GetErInstancesV3Instance>
    All instances that match the filter parameters. The object structure is documented below.
    instanceId 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.
    tags Map<String,String>
    The key/value pairs to associate with the ER instance.
    id string
    The ER instance ID.
    instances GetErInstancesV3Instance[]
    All instances that match the filter parameters. The object structure is documented below.
    instanceId 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.
    tags {[key: string]: string}
    The key/value pairs to associate with the ER instance.
    id str
    The ER instance ID.
    instances Sequence[GetErInstancesV3Instance]
    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.
    tags 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.
    instanceId 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.
    tags 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.
    AutoAcceptSharedAttachments bool
    Whether to automatically accept the creation of shared attachment.
    AvailabilityZones List<string>
    The availability zone list where the ER instance is located.
    CreatedAt string
    The creation time of the ER instance.
    DefaultAssociationRouteTableId string
    The ID of the default association route table.
    DefaultPropagationRouteTableId string
    The ID of the default propagation route table.
    Description string
    The description of the ER instance.
    EnableDefaultAssociation bool
    Whether to enable the association of the default route table.
    EnableDefaultPropagation bool
    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 to 64, only Chinese and English letters, digits, underscores (_) and hyphens (-) are allowed.
    Status string
    Specifies the status used to filter the ER instances.
    Tags Dictionary<string, string>
    Specifies the key/value pairs used to filter the ER instances.
    UpdatedAt string
    The last update time of the ER instance.
    Asn float64
    The BGP AS number of the ER instance.
    AutoAcceptSharedAttachments bool
    Whether to automatically accept the creation of shared attachment.
    AvailabilityZones []string
    The availability zone list where the ER instance is located.
    CreatedAt string
    The creation time of the ER instance.
    DefaultAssociationRouteTableId string
    The ID of the default association route table.
    DefaultPropagationRouteTableId string
    The ID of the default propagation route table.
    Description string
    The description of the ER instance.
    EnableDefaultAssociation bool
    Whether to enable the association of the default route table.
    EnableDefaultPropagation bool
    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 to 64, only Chinese and English letters, digits, underscores (_) and hyphens (-) are allowed.
    Status string
    Specifies the status used to filter the ER instances.
    Tags map[string]string
    Specifies the key/value pairs used to filter the ER instances.
    UpdatedAt string
    The last update time of the ER instance.
    asn Double
    The BGP AS number of the ER instance.
    autoAcceptSharedAttachments Boolean
    Whether to automatically accept the creation of shared attachment.
    availabilityZones List<String>
    The availability zone list where the ER instance is located.
    createdAt String
    The creation time of the ER instance.
    defaultAssociationRouteTableId String
    The ID of the default association route table.
    defaultPropagationRouteTableId String
    The ID of the default propagation route table.
    description String
    The description of the ER instance.
    enableDefaultAssociation Boolean
    Whether to enable the association of the default route table.
    enableDefaultPropagation Boolean
    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 to 64, only Chinese and English letters, digits, underscores (_) and hyphens (-) are allowed.
    status String
    Specifies the status used to filter the ER instances.
    tags Map<String,String>
    Specifies the key/value pairs used to filter the ER instances.
    updatedAt String
    The last update time of the ER instance.
    asn number
    The BGP AS number of the ER instance.
    autoAcceptSharedAttachments boolean
    Whether to automatically accept the creation of shared attachment.
    availabilityZones string[]
    The availability zone list where the ER instance is located.
    createdAt string
    The creation time of the ER instance.
    defaultAssociationRouteTableId string
    The ID of the default association route table.
    defaultPropagationRouteTableId string
    The ID of the default propagation route table.
    description string
    The description of the ER instance.
    enableDefaultAssociation boolean
    Whether to enable the association of the default route table.
    enableDefaultPropagation boolean
    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 to 64, only Chinese and English letters, digits, underscores (_) and hyphens (-) are allowed.
    status string
    Specifies the status used to filter the ER instances.
    tags {[key: string]: string}
    Specifies the key/value pairs used to filter the ER instances.
    updatedAt string
    The last update time of the ER instance.
    asn float
    The BGP AS number of the ER instance.
    auto_accept_shared_attachments 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_route_table_id str
    The ID of the default association route table.
    default_propagation_route_table_id str
    The ID of the default propagation route table.
    description str
    The description of the ER instance.
    enable_default_association bool
    Whether to enable the association of the default route table.
    enable_default_propagation bool
    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 to 64, only Chinese and English letters, digits, underscores (_) and hyphens (-) are allowed.
    status str
    Specifies the status used to filter the ER instances.
    tags 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.
    autoAcceptSharedAttachments Boolean
    Whether to automatically accept the creation of shared attachment.
    availabilityZones List<String>
    The availability zone list where the ER instance is located.
    createdAt String
    The creation time of the ER instance.
    defaultAssociationRouteTableId String
    The ID of the default association route table.
    defaultPropagationRouteTableId String
    The ID of the default propagation route table.
    description String
    The description of the ER instance.
    enableDefaultAssociation Boolean
    Whether to enable the association of the default route table.
    enableDefaultPropagation Boolean
    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 to 64, only Chinese and English letters, digits, underscores (_) and hyphens (-) are allowed.
    status String
    Specifies the status used to filter the ER instances.
    tags Map<String>
    Specifies the key/value pairs used to filter the ER instances.
    updatedAt 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 logo
    opentelekomcloud 1.36.43 published on Thursday, Jul 17, 2025 by opentelekomcloud