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

tencentcloud.getVpcNetworkInterfaceLimit

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 network_interface_limit

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const networkInterfaceLimit = tencentcloud.getVpcNetworkInterfaceLimit({
        instanceId: "ins-cr2rfq78",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    network_interface_limit = tencentcloud.get_vpc_network_interface_limit(instance_id="ins-cr2rfq78")
    
    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.GetVpcNetworkInterfaceLimit(ctx, &tencentcloud.GetVpcNetworkInterfaceLimitArgs{
    			InstanceId: "ins-cr2rfq78",
    		}, 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 networkInterfaceLimit = Tencentcloud.GetVpcNetworkInterfaceLimit.Invoke(new()
        {
            InstanceId = "ins-cr2rfq78",
        });
    
    });
    
    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.GetVpcNetworkInterfaceLimitArgs;
    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 networkInterfaceLimit = TencentcloudFunctions.getVpcNetworkInterfaceLimit(GetVpcNetworkInterfaceLimitArgs.builder()
                .instanceId("ins-cr2rfq78")
                .build());
    
        }
    }
    
    variables:
      networkInterfaceLimit:
        fn::invoke:
          function: tencentcloud:getVpcNetworkInterfaceLimit
          arguments:
            instanceId: ins-cr2rfq78
    

    Using getVpcNetworkInterfaceLimit

    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 getVpcNetworkInterfaceLimit(args: GetVpcNetworkInterfaceLimitArgs, opts?: InvokeOptions): Promise<GetVpcNetworkInterfaceLimitResult>
    function getVpcNetworkInterfaceLimitOutput(args: GetVpcNetworkInterfaceLimitOutputArgs, opts?: InvokeOptions): Output<GetVpcNetworkInterfaceLimitResult>
    def get_vpc_network_interface_limit(id: Optional[str] = None,
                                        instance_id: Optional[str] = None,
                                        result_output_file: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetVpcNetworkInterfaceLimitResult
    def get_vpc_network_interface_limit_output(id: Optional[pulumi.Input[str]] = None,
                                        instance_id: Optional[pulumi.Input[str]] = None,
                                        result_output_file: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetVpcNetworkInterfaceLimitResult]
    func GetVpcNetworkInterfaceLimit(ctx *Context, args *GetVpcNetworkInterfaceLimitArgs, opts ...InvokeOption) (*GetVpcNetworkInterfaceLimitResult, error)
    func GetVpcNetworkInterfaceLimitOutput(ctx *Context, args *GetVpcNetworkInterfaceLimitOutputArgs, opts ...InvokeOption) GetVpcNetworkInterfaceLimitResultOutput

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

    public static class GetVpcNetworkInterfaceLimit 
    {
        public static Task<GetVpcNetworkInterfaceLimitResult> InvokeAsync(GetVpcNetworkInterfaceLimitArgs args, InvokeOptions? opts = null)
        public static Output<GetVpcNetworkInterfaceLimitResult> Invoke(GetVpcNetworkInterfaceLimitInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVpcNetworkInterfaceLimitResult> getVpcNetworkInterfaceLimit(GetVpcNetworkInterfaceLimitArgs args, InvokeOptions options)
    public static Output<GetVpcNetworkInterfaceLimitResult> getVpcNetworkInterfaceLimit(GetVpcNetworkInterfaceLimitArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getVpcNetworkInterfaceLimit:getVpcNetworkInterfaceLimit
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    ID of a CVM instance or ENI to query.
    Id string
    ResultOutputFile string
    Used to save results.
    InstanceId string
    ID of a CVM instance or ENI to query.
    Id string
    ResultOutputFile string
    Used to save results.
    instanceId String
    ID of a CVM instance or ENI to query.
    id String
    resultOutputFile String
    Used to save results.
    instanceId string
    ID of a CVM instance or ENI to query.
    id string
    resultOutputFile string
    Used to save results.
    instance_id str
    ID of a CVM instance or ENI to query.
    id str
    result_output_file str
    Used to save results.
    instanceId String
    ID of a CVM instance or ENI to query.
    id String
    resultOutputFile String
    Used to save results.

    getVpcNetworkInterfaceLimit Result

    The following output properties are available:

    EniPrivateIpAddressQuantity double
    Quota of IP addresses that can be allocated to each standard-mounted ENI.
    EniQuantity double
    Quota of ENIs mounted to a CVM instance in a standard way.
    ExtendEniPrivateIpAddressQuantity double
    Quota of IP addresses that can be allocated to each extension-mounted ENI.Note: this field may return null, indicating that no valid values can be obtained.
    ExtendEniQuantity double
    Quota of ENIs mounted to a CVM instance as an extensionNote: this field may return null, indicating that no valid values can be obtained.
    Id string
    InstanceId string
    SubEniPrivateIpAddressQuantity double
    The quota of IPs that can be assigned to each relayed ENI.Note: This field may return null, indicating that no valid values can be obtained.
    SubEniQuantity double
    The quota of relayed ENIsNote: This field may return null, indicating that no valid values can be obtained.
    ResultOutputFile string
    EniPrivateIpAddressQuantity float64
    Quota of IP addresses that can be allocated to each standard-mounted ENI.
    EniQuantity float64
    Quota of ENIs mounted to a CVM instance in a standard way.
    ExtendEniPrivateIpAddressQuantity float64
    Quota of IP addresses that can be allocated to each extension-mounted ENI.Note: this field may return null, indicating that no valid values can be obtained.
    ExtendEniQuantity float64
    Quota of ENIs mounted to a CVM instance as an extensionNote: this field may return null, indicating that no valid values can be obtained.
    Id string
    InstanceId string
    SubEniPrivateIpAddressQuantity float64
    The quota of IPs that can be assigned to each relayed ENI.Note: This field may return null, indicating that no valid values can be obtained.
    SubEniQuantity float64
    The quota of relayed ENIsNote: This field may return null, indicating that no valid values can be obtained.
    ResultOutputFile string
    eniPrivateIpAddressQuantity Double
    Quota of IP addresses that can be allocated to each standard-mounted ENI.
    eniQuantity Double
    Quota of ENIs mounted to a CVM instance in a standard way.
    extendEniPrivateIpAddressQuantity Double
    Quota of IP addresses that can be allocated to each extension-mounted ENI.Note: this field may return null, indicating that no valid values can be obtained.
    extendEniQuantity Double
    Quota of ENIs mounted to a CVM instance as an extensionNote: this field may return null, indicating that no valid values can be obtained.
    id String
    instanceId String
    subEniPrivateIpAddressQuantity Double
    The quota of IPs that can be assigned to each relayed ENI.Note: This field may return null, indicating that no valid values can be obtained.
    subEniQuantity Double
    The quota of relayed ENIsNote: This field may return null, indicating that no valid values can be obtained.
    resultOutputFile String
    eniPrivateIpAddressQuantity number
    Quota of IP addresses that can be allocated to each standard-mounted ENI.
    eniQuantity number
    Quota of ENIs mounted to a CVM instance in a standard way.
    extendEniPrivateIpAddressQuantity number
    Quota of IP addresses that can be allocated to each extension-mounted ENI.Note: this field may return null, indicating that no valid values can be obtained.
    extendEniQuantity number
    Quota of ENIs mounted to a CVM instance as an extensionNote: this field may return null, indicating that no valid values can be obtained.
    id string
    instanceId string
    subEniPrivateIpAddressQuantity number
    The quota of IPs that can be assigned to each relayed ENI.Note: This field may return null, indicating that no valid values can be obtained.
    subEniQuantity number
    The quota of relayed ENIsNote: This field may return null, indicating that no valid values can be obtained.
    resultOutputFile string
    eni_private_ip_address_quantity float
    Quota of IP addresses that can be allocated to each standard-mounted ENI.
    eni_quantity float
    Quota of ENIs mounted to a CVM instance in a standard way.
    extend_eni_private_ip_address_quantity float
    Quota of IP addresses that can be allocated to each extension-mounted ENI.Note: this field may return null, indicating that no valid values can be obtained.
    extend_eni_quantity float
    Quota of ENIs mounted to a CVM instance as an extensionNote: this field may return null, indicating that no valid values can be obtained.
    id str
    instance_id str
    sub_eni_private_ip_address_quantity float
    The quota of IPs that can be assigned to each relayed ENI.Note: This field may return null, indicating that no valid values can be obtained.
    sub_eni_quantity float
    The quota of relayed ENIsNote: This field may return null, indicating that no valid values can be obtained.
    result_output_file str
    eniPrivateIpAddressQuantity Number
    Quota of IP addresses that can be allocated to each standard-mounted ENI.
    eniQuantity Number
    Quota of ENIs mounted to a CVM instance in a standard way.
    extendEniPrivateIpAddressQuantity Number
    Quota of IP addresses that can be allocated to each extension-mounted ENI.Note: this field may return null, indicating that no valid values can be obtained.
    extendEniQuantity Number
    Quota of ENIs mounted to a CVM instance as an extensionNote: this field may return null, indicating that no valid values can be obtained.
    id String
    instanceId String
    subEniPrivateIpAddressQuantity Number
    The quota of IPs that can be assigned to each relayed ENI.Note: This field may return null, indicating that no valid values can be obtained.
    subEniQuantity Number
    The quota of relayed ENIsNote: This field may return null, indicating that no valid values can be obtained.
    resultOutputFile String

    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