1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getVpcGatewayFlowQos
tencentcloud 1.81.182 published on Monday, Apr 14, 2025 by tencentcloudstack

tencentcloud.getVpcGatewayFlowQos

Explore with Pulumi AI

Use this data source to query detailed information of vpc gateway_flow_qos

Example Usage

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

const gatewayFlowQos = tencentcloud.getVpcGatewayFlowQos({
    gatewayId: "vpngw-gt8bianl",
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

gateway_flow_qos = tencentcloud.get_vpc_gateway_flow_qos(gateway_id="vpngw-gt8bianl")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := tencentcloud.GetVpcGatewayFlowQos(ctx, &tencentcloud.GetVpcGatewayFlowQosArgs{
			GatewayId: "vpngw-gt8bianl",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;

return await Deployment.RunAsync(() => 
{
    var gatewayFlowQos = Tencentcloud.GetVpcGatewayFlowQos.Invoke(new()
    {
        GatewayId = "vpngw-gt8bianl",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetVpcGatewayFlowQosArgs;
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 gatewayFlowQos = TencentcloudFunctions.getVpcGatewayFlowQos(GetVpcGatewayFlowQosArgs.builder()
            .gatewayId("vpngw-gt8bianl")
            .build());

    }
}
Copy
variables:
  gatewayFlowQos:
    fn::invoke:
      function: tencentcloud:getVpcGatewayFlowQos
      arguments:
        gatewayId: vpngw-gt8bianl
Copy

Using getVpcGatewayFlowQos

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 getVpcGatewayFlowQos(args: GetVpcGatewayFlowQosArgs, opts?: InvokeOptions): Promise<GetVpcGatewayFlowQosResult>
function getVpcGatewayFlowQosOutput(args: GetVpcGatewayFlowQosOutputArgs, opts?: InvokeOptions): Output<GetVpcGatewayFlowQosResult>
Copy
def get_vpc_gateway_flow_qos(gateway_id: Optional[str] = None,
                             id: Optional[str] = None,
                             ip_addresses: Optional[Sequence[str]] = None,
                             result_output_file: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetVpcGatewayFlowQosResult
def get_vpc_gateway_flow_qos_output(gateway_id: Optional[pulumi.Input[str]] = None,
                             id: Optional[pulumi.Input[str]] = None,
                             ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                             result_output_file: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetVpcGatewayFlowQosResult]
Copy
func GetVpcGatewayFlowQos(ctx *Context, args *GetVpcGatewayFlowQosArgs, opts ...InvokeOption) (*GetVpcGatewayFlowQosResult, error)
func GetVpcGatewayFlowQosOutput(ctx *Context, args *GetVpcGatewayFlowQosOutputArgs, opts ...InvokeOption) GetVpcGatewayFlowQosResultOutput
Copy

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

public static class GetVpcGatewayFlowQos 
{
    public static Task<GetVpcGatewayFlowQosResult> InvokeAsync(GetVpcGatewayFlowQosArgs args, InvokeOptions? opts = null)
    public static Output<GetVpcGatewayFlowQosResult> Invoke(GetVpcGatewayFlowQosInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetVpcGatewayFlowQosResult> getVpcGatewayFlowQos(GetVpcGatewayFlowQosArgs args, InvokeOptions options)
public static Output<GetVpcGatewayFlowQosResult> getVpcGatewayFlowQos(GetVpcGatewayFlowQosArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getVpcGatewayFlowQos:getVpcGatewayFlowQos
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

GatewayId This property is required. string
Network instance ID, the network instance types we currently support are:Private line gateway instance ID, in the form of dcg-ltjahce6;Nat gateway instance ID, in the form of nat-ltjahce6;VPN gateway instance ID, in the form of vpn-ltjahce6.
Id string
IpAddresses List<string>
Intranet IP of the cloud server with traffic limitation.
ResultOutputFile string
Used to save results.
GatewayId This property is required. string
Network instance ID, the network instance types we currently support are:Private line gateway instance ID, in the form of dcg-ltjahce6;Nat gateway instance ID, in the form of nat-ltjahce6;VPN gateway instance ID, in the form of vpn-ltjahce6.
Id string
IpAddresses []string
Intranet IP of the cloud server with traffic limitation.
ResultOutputFile string
Used to save results.
gatewayId This property is required. String
Network instance ID, the network instance types we currently support are:Private line gateway instance ID, in the form of dcg-ltjahce6;Nat gateway instance ID, in the form of nat-ltjahce6;VPN gateway instance ID, in the form of vpn-ltjahce6.
id String
ipAddresses List<String>
Intranet IP of the cloud server with traffic limitation.
resultOutputFile String
Used to save results.
gatewayId This property is required. string
Network instance ID, the network instance types we currently support are:Private line gateway instance ID, in the form of dcg-ltjahce6;Nat gateway instance ID, in the form of nat-ltjahce6;VPN gateway instance ID, in the form of vpn-ltjahce6.
id string
ipAddresses string[]
Intranet IP of the cloud server with traffic limitation.
resultOutputFile string
Used to save results.
gateway_id This property is required. str
Network instance ID, the network instance types we currently support are:Private line gateway instance ID, in the form of dcg-ltjahce6;Nat gateway instance ID, in the form of nat-ltjahce6;VPN gateway instance ID, in the form of vpn-ltjahce6.
id str
ip_addresses Sequence[str]
Intranet IP of the cloud server with traffic limitation.
result_output_file str
Used to save results.
gatewayId This property is required. String
Network instance ID, the network instance types we currently support are:Private line gateway instance ID, in the form of dcg-ltjahce6;Nat gateway instance ID, in the form of nat-ltjahce6;VPN gateway instance ID, in the form of vpn-ltjahce6.
id String
ipAddresses List<String>
Intranet IP of the cloud server with traffic limitation.
resultOutputFile String
Used to save results.

getVpcGatewayFlowQos Result

The following output properties are available:

gatewayId String
gatewayQosSets List<Property Map>
instance detail list.
id String
ipAddresses List<String>
resultOutputFile String

Supporting Types

GetVpcGatewayFlowQosGatewayQosSet

Bandwidth This property is required. double
bandwidth value.
CreateTime This property is required. string
create time.
IpAddress This property is required. string
cvm ip address.
VpcId This property is required. string
vpc id.
Bandwidth This property is required. float64
bandwidth value.
CreateTime This property is required. string
create time.
IpAddress This property is required. string
cvm ip address.
VpcId This property is required. string
vpc id.
bandwidth This property is required. Double
bandwidth value.
createTime This property is required. String
create time.
ipAddress This property is required. String
cvm ip address.
vpcId This property is required. String
vpc id.
bandwidth This property is required. number
bandwidth value.
createTime This property is required. string
create time.
ipAddress This property is required. string
cvm ip address.
vpcId This property is required. string
vpc id.
bandwidth This property is required. float
bandwidth value.
create_time This property is required. str
create time.
ip_address This property is required. str
cvm ip address.
vpc_id This property is required. str
vpc id.
bandwidth This property is required. Number
bandwidth value.
createTime This property is required. String
create time.
ipAddress This property is required. String
cvm ip address.
vpcId This property is required. String
vpc id.

Package Details

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