opentelekomcloud 1.36.45 published on Friday, Aug 15, 2025 by opentelekomcloud
opentelekomcloud.getErAssociationsV3
Explore with Pulumi AI
opentelekomcloud 1.36.45 published on Friday, Aug 15, 2025 by opentelekomcloud
Use this data source to get the list of associations.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const instanceId = config.requireObject("instanceId");
const routeTableId = config.requireObject("routeTableId");
const test = opentelekomcloud.getErAssociationsV3({
instanceId: instanceId,
routeTableId: routeTableId,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
instance_id = config.require_object("instanceId")
route_table_id = config.require_object("routeTableId")
test = opentelekomcloud.get_er_associations_v3(instance_id=instance_id,
route_table_id=route_table_id)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
instanceId := cfg.RequireObject("instanceId")
routeTableId := cfg.RequireObject("routeTableId")
_, err := opentelekomcloud.GetErAssociationsV3(ctx, &opentelekomcloud.GetErAssociationsV3Args{
InstanceId: instanceId,
RouteTableId: routeTableId,
}, 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 config = new Config();
var instanceId = config.RequireObject<dynamic>("instanceId");
var routeTableId = config.RequireObject<dynamic>("routeTableId");
var test = Opentelekomcloud.GetErAssociationsV3.Invoke(new()
{
InstanceId = instanceId,
RouteTableId = routeTableId,
});
});
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.GetErAssociationsV3Args;
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 config = ctx.config();
final var instanceId = config.get("instanceId");
final var routeTableId = config.get("routeTableId");
final var test = OpentelekomcloudFunctions.getErAssociationsV3(GetErAssociationsV3Args.builder()
.instanceId(instanceId)
.routeTableId(routeTableId)
.build());
}
}
configuration:
instanceId:
type: dynamic
routeTableId:
type: dynamic
variables:
test:
fn::invoke:
function: opentelekomcloud:getErAssociationsV3
arguments:
instanceId: ${instanceId}
routeTableId: ${routeTableId}
Using getErAssociationsV3
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 getErAssociationsV3(args: GetErAssociationsV3Args, opts?: InvokeOptions): Promise<GetErAssociationsV3Result>
function getErAssociationsV3Output(args: GetErAssociationsV3OutputArgs, opts?: InvokeOptions): Output<GetErAssociationsV3Result>
def get_er_associations_v3(attachment_id: Optional[str] = None,
attachment_type: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
route_table_id: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetErAssociationsV3Result
def get_er_associations_v3_output(attachment_id: Optional[pulumi.Input[str]] = None,
attachment_type: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
route_table_id: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetErAssociationsV3Result]
func GetErAssociationsV3(ctx *Context, args *GetErAssociationsV3Args, opts ...InvokeOption) (*GetErAssociationsV3Result, error)
func GetErAssociationsV3Output(ctx *Context, args *GetErAssociationsV3OutputArgs, opts ...InvokeOption) GetErAssociationsV3ResultOutput
> Note: This function is named GetErAssociationsV3
in the Go SDK.
public static class GetErAssociationsV3
{
public static Task<GetErAssociationsV3Result> InvokeAsync(GetErAssociationsV3Args args, InvokeOptions? opts = null)
public static Output<GetErAssociationsV3Result> Invoke(GetErAssociationsV3InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetErAssociationsV3Result> getErAssociationsV3(GetErAssociationsV3Args args, InvokeOptions options)
public static Output<GetErAssociationsV3Result> getErAssociationsV3(GetErAssociationsV3Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getErAssociationsV3:getErAssociationsV3
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id string - Specifies the ER instance ID to which the association belongs.
- Route
Table stringId - Specifies the route table ID to which the association belongs.
- Attachment
Id string - Specifies the attachment ID corresponding to the association.
- Attachment
Type string - Specifies the attachment type corresponding to the association.
- Id string
- The association ID.
- Status string
- Specifies the status of the association. Default value is
available
. The valid values are as follows:- available
- failed
- Instance
Id string - Specifies the ER instance ID to which the association belongs.
- Route
Table stringId - Specifies the route table ID to which the association belongs.
- Attachment
Id string - Specifies the attachment ID corresponding to the association.
- Attachment
Type string - Specifies the attachment type corresponding to the association.
- Id string
- The association ID.
- Status string
- Specifies the status of the association. Default value is
available
. The valid values are as follows:- available
- failed
- instance
Id String - Specifies the ER instance ID to which the association belongs.
- route
Table StringId - Specifies the route table ID to which the association belongs.
- attachment
Id String - Specifies the attachment ID corresponding to the association.
- attachment
Type String - Specifies the attachment type corresponding to the association.
- id String
- The association ID.
- status String
- Specifies the status of the association. Default value is
available
. The valid values are as follows:- available
- failed
- instance
Id string - Specifies the ER instance ID to which the association belongs.
- route
Table stringId - Specifies the route table ID to which the association belongs.
- attachment
Id string - Specifies the attachment ID corresponding to the association.
- attachment
Type string - Specifies the attachment type corresponding to the association.
- id string
- The association ID.
- status string
- Specifies the status of the association. Default value is
available
. The valid values are as follows:- available
- failed
- instance_
id str - Specifies the ER instance ID to which the association belongs.
- route_
table_ strid - Specifies the route table ID to which the association belongs.
- attachment_
id str - Specifies the attachment ID corresponding to the association.
- attachment_
type str - Specifies the attachment type corresponding to the association.
- id str
- The association ID.
- status str
- Specifies the status of the association. Default value is
available
. The valid values are as follows:- available
- failed
- instance
Id String - Specifies the ER instance ID to which the association belongs.
- route
Table StringId - Specifies the route table ID to which the association belongs.
- attachment
Id String - Specifies the attachment ID corresponding to the association.
- attachment
Type String - Specifies the attachment type corresponding to the association.
- id String
- The association ID.
- status String
- Specifies the status of the association. Default value is
available
. The valid values are as follows:- available
- failed
getErAssociationsV3 Result
The following output properties are available:
- Associations
List<Get
Er Associations V3Association> - All associations that match the filter parameters. The associations structure is documented below.
- Id string
- The association ID.
- Instance
Id string - Route
Table stringId - Attachment
Id string - The attachment ID corresponding to the association.
- Attachment
Type string - The type of the attachment corresponding to the association.
- Status string
- The current status of the association.
- Associations
[]Get
Er Associations V3Association - All associations that match the filter parameters. The associations structure is documented below.
- Id string
- The association ID.
- Instance
Id string - Route
Table stringId - Attachment
Id string - The attachment ID corresponding to the association.
- Attachment
Type string - The type of the attachment corresponding to the association.
- Status string
- The current status of the association.
- associations
List<Get
Er Associations V3Association> - All associations that match the filter parameters. The associations structure is documented below.
- id String
- The association ID.
- instance
Id String - route
Table StringId - attachment
Id String - The attachment ID corresponding to the association.
- attachment
Type String - The type of the attachment corresponding to the association.
- status String
- The current status of the association.
- associations
Get
Er Associations V3Association[] - All associations that match the filter parameters. The associations structure is documented below.
- id string
- The association ID.
- instance
Id string - route
Table stringId - attachment
Id string - The attachment ID corresponding to the association.
- attachment
Type string - The type of the attachment corresponding to the association.
- status string
- The current status of the association.
- associations
Sequence[Get
Er Associations V3Association] - All associations that match the filter parameters. The associations structure is documented below.
- id str
- The association ID.
- instance_
id str - route_
table_ strid - attachment_
id str - The attachment ID corresponding to the association.
- attachment_
type str - The type of the attachment corresponding to the association.
- status str
- The current status of the association.
- associations List<Property Map>
- All associations that match the filter parameters. The associations structure is documented below.
- id String
- The association ID.
- instance
Id String - route
Table StringId - attachment
Id String - The attachment ID corresponding to the association.
- attachment
Type String - The type of the attachment corresponding to the association.
- status String
- The current status of the association.
Supporting Types
GetErAssociationsV3Association
- Attachment
Id string - Specifies the attachment ID corresponding to the association.
- Attachment
Type string - Specifies the attachment type corresponding to the association.
- Created
At string - The creation time.
- Id string
- The association ID.
- Resource
Id string - The resource ID of the attachment corresponding to the association.
- Route
Table stringId - Specifies the route table ID to which the association belongs.
- Status string
- Specifies the status of the association. Default value is
available
. The valid values are as follows:- available
- failed
- Updated
At string - The latest update time.
- Attachment
Id string - Specifies the attachment ID corresponding to the association.
- Attachment
Type string - Specifies the attachment type corresponding to the association.
- Created
At string - The creation time.
- Id string
- The association ID.
- Resource
Id string - The resource ID of the attachment corresponding to the association.
- Route
Table stringId - Specifies the route table ID to which the association belongs.
- Status string
- Specifies the status of the association. Default value is
available
. The valid values are as follows:- available
- failed
- Updated
At string - The latest update time.
- attachment
Id String - Specifies the attachment ID corresponding to the association.
- attachment
Type String - Specifies the attachment type corresponding to the association.
- created
At String - The creation time.
- id String
- The association ID.
- resource
Id String - The resource ID of the attachment corresponding to the association.
- route
Table StringId - Specifies the route table ID to which the association belongs.
- status String
- Specifies the status of the association. Default value is
available
. The valid values are as follows:- available
- failed
- updated
At String - The latest update time.
- attachment
Id string - Specifies the attachment ID corresponding to the association.
- attachment
Type string - Specifies the attachment type corresponding to the association.
- created
At string - The creation time.
- id string
- The association ID.
- resource
Id string - The resource ID of the attachment corresponding to the association.
- route
Table stringId - Specifies the route table ID to which the association belongs.
- status string
- Specifies the status of the association. Default value is
available
. The valid values are as follows:- available
- failed
- updated
At string - The latest update time.
- attachment_
id str - Specifies the attachment ID corresponding to the association.
- attachment_
type str - Specifies the attachment type corresponding to the association.
- created_
at str - The creation time.
- id str
- The association ID.
- resource_
id str - The resource ID of the attachment corresponding to the association.
- route_
table_ strid - Specifies the route table ID to which the association belongs.
- status str
- Specifies the status of the association. Default value is
available
. The valid values are as follows:- available
- failed
- updated_
at str - The latest update time.
- attachment
Id String - Specifies the attachment ID corresponding to the association.
- attachment
Type String - Specifies the attachment type corresponding to the association.
- created
At String - The creation time.
- id String
- The association ID.
- resource
Id String - The resource ID of the attachment corresponding to the association.
- route
Table StringId - Specifies the route table ID to which the association belongs.
- status String
- Specifies the status of the association. Default value is
available
. The valid values are as follows:- available
- failed
- updated
At String - The latest update time.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.
opentelekomcloud 1.36.45 published on Friday, Aug 15, 2025 by opentelekomcloud