opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
opentelekomcloud.getApigwGatewayFeaturesV2
Explore with Pulumi AI
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
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,
});
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)
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
})
}
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,
});
});
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());
}
}
configuration:
gatewayId:
type: dynamic
variables:
ft:
fn::invoke:
function: opentelekomcloud:getApigwGatewayFeaturesV2
arguments:
gatewayId: ${gatewayId}
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>
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]
func GetApigwGatewayFeaturesV2(ctx *Context, args *GetApigwGatewayFeaturesV2Args, opts ...InvokeOption) (*GetApigwGatewayFeaturesV2Result, error)
func GetApigwGatewayFeaturesV2Output(ctx *Context, args *GetApigwGatewayFeaturesV2OutputArgs, opts ...InvokeOption) GetApigwGatewayFeaturesV2ResultOutput
> 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)
}
public static CompletableFuture<GetApigwGatewayFeaturesV2Result> getApigwGatewayFeaturesV2(GetApigwGatewayFeaturesV2Args args, InvokeOptions options)
public static Output<GetApigwGatewayFeaturesV2Result> getApigwGatewayFeaturesV2(GetApigwGatewayFeaturesV2Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getApigwGatewayFeaturesV2:getApigwGatewayFeaturesV2
arguments:
# arguments dictionary
The following arguments are supported:
- gateway_
id 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.
getApigwGatewayFeaturesV2 Result
The following output properties are available:
- features
Sequence[Get
Apigw Gateway Features V2Feature] - 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.
Supporting Types
GetApigwGatewayFeaturesV2Feature
- config str
- The detailed configuration of the instance feature.
- enabled bool
- Whether the feature is enabled.
- id str
- The ID of the feature.
- name str
- Specified the name of the feature.
- updated_
at str - 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.
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud