1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getApigwGatewayFeaturesV2
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud

opentelekomcloud.getApigwGatewayFeaturesV2

Explore with Pulumi AI

Up-to-date reference of API arguments for API Gateway environment variable service you can get at documentation portal

Use this data source to get the list of the features under the APIGW gateway within OpenTelekomCloud.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";

const config = new pulumi.Config();
const gatewayId = config.requireObject("gatewayId");
const ft = opentelekomcloud.getApigwGatewayFeaturesV2({
    gatewayId: gatewayId,
});
Copy
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud

config = pulumi.Config()
gateway_id = config.require_object("gatewayId")
ft = opentelekomcloud.get_apigw_gateway_features_v2(gateway_id=gateway_id)
Copy
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, "")
		gatewayId := cfg.RequireObject("gatewayId")
		_, err := opentelekomcloud.GetApigwGatewayFeaturesV2(ctx, &opentelekomcloud.GetApigwGatewayFeaturesV2Args{
			GatewayId: gatewayId,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var gatewayId = config.RequireObject<dynamic>("gatewayId");
    var ft = Opentelekomcloud.GetApigwGatewayFeaturesV2.Invoke(new()
    {
        GatewayId = gatewayId,
    });

});
Copy
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.GetApigwGatewayFeaturesV2Args;
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 gatewayId = config.get("gatewayId");
        final var ft = OpentelekomcloudFunctions.getApigwGatewayFeaturesV2(GetApigwGatewayFeaturesV2Args.builder()
            .gatewayId(gatewayId)
            .build());

    }
}
Copy
configuration:
  gatewayId:
    type: dynamic
variables:
  ft:
    fn::invoke:
      function: opentelekomcloud:getApigwGatewayFeaturesV2
      arguments:
        gatewayId: ${gatewayId}
Copy

Using getApigwGatewayFeaturesV2

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 getApigwGatewayFeaturesV2(args: GetApigwGatewayFeaturesV2Args, opts?: InvokeOptions): Promise<GetApigwGatewayFeaturesV2Result>
function getApigwGatewayFeaturesV2Output(args: GetApigwGatewayFeaturesV2OutputArgs, opts?: InvokeOptions): Output<GetApigwGatewayFeaturesV2Result>
Copy
def get_apigw_gateway_features_v2(gateway_id: Optional[str] = None,
                                  id: Optional[str] = None,
                                  name: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetApigwGatewayFeaturesV2Result
def get_apigw_gateway_features_v2_output(gateway_id: Optional[pulumi.Input[str]] = None,
                                  id: Optional[pulumi.Input[str]] = None,
                                  name: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetApigwGatewayFeaturesV2Result]
Copy
func GetApigwGatewayFeaturesV2(ctx *Context, args *GetApigwGatewayFeaturesV2Args, opts ...InvokeOption) (*GetApigwGatewayFeaturesV2Result, error)
func GetApigwGatewayFeaturesV2Output(ctx *Context, args *GetApigwGatewayFeaturesV2OutputArgs, opts ...InvokeOption) GetApigwGatewayFeaturesV2ResultOutput
Copy

> Note: This function is named GetApigwGatewayFeaturesV2 in the Go SDK.

public static class GetApigwGatewayFeaturesV2 
{
    public static Task<GetApigwGatewayFeaturesV2Result> InvokeAsync(GetApigwGatewayFeaturesV2Args args, InvokeOptions? opts = null)
    public static Output<GetApigwGatewayFeaturesV2Result> Invoke(GetApigwGatewayFeaturesV2InvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetApigwGatewayFeaturesV2Result> getApigwGatewayFeaturesV2(GetApigwGatewayFeaturesV2Args args, InvokeOptions options)
public static Output<GetApigwGatewayFeaturesV2Result> getApigwGatewayFeaturesV2(GetApigwGatewayFeaturesV2Args args, InvokeOptions options)
Copy
fn::invoke:
  function: opentelekomcloud:index/getApigwGatewayFeaturesV2:getApigwGatewayFeaturesV2
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

GatewayId This property is required. string
Specified the ID of the dedicated gateway to which the features belong.
Id string
The ID of the feature.
Name string
Specified the name of the feature.
GatewayId This property is required. string
Specified the ID of the dedicated gateway to which the features belong.
Id string
The ID of the feature.
Name string
Specified the name of the feature.
gatewayId This property is required. String
Specified the ID of the dedicated gateway to which the features belong.
id String
The ID of the feature.
name String
Specified the name of the feature.
gatewayId This property is required. string
Specified the ID of the dedicated gateway to which the features belong.
id string
The ID of the feature.
name string
Specified the name of the feature.
gateway_id This property is required. str
Specified the ID of the dedicated gateway to which the features belong.
id str
The ID of the feature.
name str
Specified the name of the feature.
gatewayId This property is required. String
Specified the ID of the dedicated gateway to which the features belong.
id String
The ID of the feature.
name String
Specified the name of the feature.

getApigwGatewayFeaturesV2 Result

The following output properties are available:

Features List<GetApigwGatewayFeaturesV2Feature>
All instance features that match the filter parameters. The features structure is documented below.
GatewayId string
Id string
The ID of the feature.
Region string
The region in which to query the data source.
Name string
The name of the feature.
Features []GetApigwGatewayFeaturesV2Feature
All instance features that match the filter parameters. The features structure is documented below.
GatewayId string
Id string
The ID of the feature.
Region string
The region in which to query the data source.
Name string
The name of the feature.
features List<GetApigwGatewayFeaturesV2Feature>
All instance features that match the filter parameters. The features structure is documented below.
gatewayId String
id String
The ID of the feature.
region String
The region in which to query the data source.
name String
The name of the feature.
features GetApigwGatewayFeaturesV2Feature[]
All instance features that match the filter parameters. The features structure is documented below.
gatewayId string
id string
The ID of the feature.
region string
The region in which to query the data source.
name string
The name of the feature.
features Sequence[GetApigwGatewayFeaturesV2Feature]
All instance features that match the filter parameters. The features structure is documented below.
gateway_id str
id str
The ID of the feature.
region str
The region in which to query the data source.
name str
The name of the feature.
features List<Property Map>
All instance features that match the filter parameters. The features structure is documented below.
gatewayId String
id String
The ID of the feature.
region String
The region in which to query the data source.
name String
The name of the feature.

Supporting Types

GetApigwGatewayFeaturesV2Feature

Config This property is required. string
The detailed configuration of the instance feature.
Enabled This property is required. bool
Whether the feature is enabled.
Id This property is required. string
The ID of the feature.
Name This property is required. string
Specified the name of the feature.
UpdatedAt This property is required. string
The latest update time of the feature, in RFC3339 format.
Config This property is required. string
The detailed configuration of the instance feature.
Enabled This property is required. bool
Whether the feature is enabled.
Id This property is required. string
The ID of the feature.
Name This property is required. string
Specified the name of the feature.
UpdatedAt This property is required. string
The latest update time of the feature, in RFC3339 format.
config This property is required. String
The detailed configuration of the instance feature.
enabled This property is required. Boolean
Whether the feature is enabled.
id This property is required. String
The ID of the feature.
name This property is required. String
Specified the name of the feature.
updatedAt This property is required. String
The latest update time of the feature, in RFC3339 format.
config This property is required. string
The detailed configuration of the instance feature.
enabled This property is required. boolean
Whether the feature is enabled.
id This property is required. string
The ID of the feature.
name This property is required. string
Specified the name of the feature.
updatedAt This property is required. string
The latest update time of the feature, in RFC3339 format.
config This property is required. str
The detailed configuration of the instance feature.
enabled This property is required. bool
Whether the feature is enabled.
id This property is required. str
The ID of the feature.
name This property is required. str
Specified the name of the feature.
updated_at This property is required. str
The latest update time of the feature, in RFC3339 format.
config This property is required. String
The detailed configuration of the instance feature.
enabled This property is required. Boolean
Whether the feature is enabled.
id This property is required. String
The ID of the feature.
name This property is required. String
Specified the name of the feature.
updatedAt This property is required. String
The latest update time of the feature, in RFC3339 format.

Package Details

Repository
opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
License
Notes
This Pulumi package is based on the opentelekomcloud Terraform Provider.