tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getVpcNetworkInterfaceLimit
Explore with Pulumi AI
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:
- Instance
Id string - ID of a CVM instance or ENI to query.
- Id string
- Result
Output stringFile - Used to save results.
- Instance
Id string - ID of a CVM instance or ENI to query.
- Id string
- Result
Output stringFile - Used to save results.
- instance
Id String - ID of a CVM instance or ENI to query.
- id String
- result
Output StringFile - Used to save results.
- instance
Id string - ID of a CVM instance or ENI to query.
- id string
- result
Output stringFile - Used to save results.
- instance_
id str - ID of a CVM instance or ENI to query.
- id str
- result_
output_ strfile - Used to save results.
- instance
Id String - ID of a CVM instance or ENI to query.
- id String
- result
Output StringFile - Used to save results.
getVpcNetworkInterfaceLimit Result
The following output properties are available:
- Eni
Private doubleIp Address Quantity - Quota of IP addresses that can be allocated to each standard-mounted ENI.
- Eni
Quantity double - Quota of ENIs mounted to a CVM instance in a standard way.
- Extend
Eni doublePrivate Ip Address Quantity - 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 doubleQuantity - 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
- Instance
Id string - Sub
Eni doublePrivate Ip Address Quantity - 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 doubleQuantity - The quota of relayed ENIsNote: This field may return
null
, indicating that no valid values can be obtained. - Result
Output stringFile
- Eni
Private float64Ip Address Quantity - Quota of IP addresses that can be allocated to each standard-mounted ENI.
- Eni
Quantity float64 - Quota of ENIs mounted to a CVM instance in a standard way.
- Extend
Eni float64Private Ip Address Quantity - 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 float64Quantity - 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
- Instance
Id string - Sub
Eni float64Private Ip Address Quantity - 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 float64Quantity - The quota of relayed ENIsNote: This field may return
null
, indicating that no valid values can be obtained. - Result
Output stringFile
- eni
Private DoubleIp Address Quantity - Quota of IP addresses that can be allocated to each standard-mounted ENI.
- eni
Quantity Double - Quota of ENIs mounted to a CVM instance in a standard way.
- extend
Eni DoublePrivate Ip Address Quantity - 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 DoubleQuantity - 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
- instance
Id String - sub
Eni DoublePrivate Ip Address Quantity - 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 DoubleQuantity - The quota of relayed ENIsNote: This field may return
null
, indicating that no valid values can be obtained. - result
Output StringFile
- eni
Private numberIp Address Quantity - Quota of IP addresses that can be allocated to each standard-mounted ENI.
- eni
Quantity number - Quota of ENIs mounted to a CVM instance in a standard way.
- extend
Eni numberPrivate Ip Address Quantity - 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 numberQuantity - 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
- instance
Id string - sub
Eni numberPrivate Ip Address Quantity - 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 numberQuantity - The quota of relayed ENIsNote: This field may return
null
, indicating that no valid values can be obtained. - result
Output stringFile
- eni_
private_ floatip_ address_ quantity - 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_ floatprivate_ ip_ address_ quantity - 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_ floatquantity - 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_ floatprivate_ ip_ address_ quantity - 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_ floatquantity - The quota of relayed ENIsNote: This field may return
null
, indicating that no valid values can be obtained. - result_
output_ strfile
- eni
Private NumberIp Address Quantity - Quota of IP addresses that can be allocated to each standard-mounted ENI.
- eni
Quantity Number - Quota of ENIs mounted to a CVM instance in a standard way.
- extend
Eni NumberPrivate Ip Address Quantity - 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 NumberQuantity - 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
- instance
Id String - sub
Eni NumberPrivate Ip Address Quantity - 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 NumberQuantity - The quota of relayed ENIsNote: This field may return
null
, indicating that no valid values can be obtained. - result
Output StringFile
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack