1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getVpcGatewayFlowQos
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getVpcGatewayFlowQos

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    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",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    gateway_flow_qos = tencentcloud.get_vpc_gateway_flow_qos(gateway_id="vpngw-gt8bianl")
    
    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
    	})
    }
    
    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",
        });
    
    });
    
    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());
    
        }
    }
    
    variables:
      gatewayFlowQos:
        fn::invoke:
          function: tencentcloud:getVpcGatewayFlowQos
          arguments:
            gatewayId: vpngw-gt8bianl
    

    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>
    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]
    func GetVpcGatewayFlowQos(ctx *Context, args *GetVpcGatewayFlowQosArgs, opts ...InvokeOption) (*GetVpcGatewayFlowQosResult, error)
    func GetVpcGatewayFlowQosOutput(ctx *Context, args *GetVpcGatewayFlowQosOutputArgs, opts ...InvokeOption) GetVpcGatewayFlowQosResultOutput

    > 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)
    }
    public static CompletableFuture<GetVpcGatewayFlowQosResult> getVpcGatewayFlowQos(GetVpcGatewayFlowQosArgs args, InvokeOptions options)
    public static Output<GetVpcGatewayFlowQosResult> getVpcGatewayFlowQos(GetVpcGatewayFlowQosArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getVpcGatewayFlowQos:getVpcGatewayFlowQos
      arguments:
        # arguments dictionary

    The following arguments are supported:

    GatewayId 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 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 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 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 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 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 double
    bandwidth value.
    CreateTime string
    create time.
    IpAddress string
    cvm ip address.
    VpcId string
    vpc id.
    Bandwidth float64
    bandwidth value.
    CreateTime string
    create time.
    IpAddress string
    cvm ip address.
    VpcId string
    vpc id.
    bandwidth Double
    bandwidth value.
    createTime String
    create time.
    ipAddress String
    cvm ip address.
    vpcId String
    vpc id.
    bandwidth number
    bandwidth value.
    createTime string
    create time.
    ipAddress string
    cvm ip address.
    vpcId string
    vpc id.
    bandwidth float
    bandwidth value.
    create_time str
    create time.
    ip_address str
    cvm ip address.
    vpc_id str
    vpc id.
    bandwidth Number
    bandwidth value.
    createTime String
    create time.
    ipAddress String
    cvm ip address.
    vpcId String
    vpc id.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack