1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getEmrCvmQuota
tencentcloud 1.81.187 published on Monday, Apr 28, 2025 by tencentcloudstack

tencentcloud.getEmrCvmQuota

Explore with Pulumi AI

tencentcloud 1.81.187 published on Monday, Apr 28, 2025 by tencentcloudstack

Use this data source to query detailed information of emr cvm_quota

Example Usage

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

const cvmQuota = tencentcloud.getEmrCvmQuota({
    clusterId: "emr-0ze36vnp",
    zoneId: 100003,
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

cvm_quota = tencentcloud.get_emr_cvm_quota(cluster_id="emr-0ze36vnp",
    zone_id=100003)
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.GetEmrCvmQuota(ctx, &tencentcloud.GetEmrCvmQuotaArgs{
			ClusterId: "emr-0ze36vnp",
			ZoneId:    pulumi.Float64Ref(100003),
		}, 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 cvmQuota = Tencentcloud.GetEmrCvmQuota.Invoke(new()
    {
        ClusterId = "emr-0ze36vnp",
        ZoneId = 100003,
    });

});
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.GetEmrCvmQuotaArgs;
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 cvmQuota = TencentcloudFunctions.getEmrCvmQuota(GetEmrCvmQuotaArgs.builder()
            .clusterId("emr-0ze36vnp")
            .zoneId(100003)
            .build());

    }
}
Copy
variables:
  cvmQuota:
    fn::invoke:
      function: tencentcloud:getEmrCvmQuota
      arguments:
        clusterId: emr-0ze36vnp
        zoneId: 100003
Copy

Using getEmrCvmQuota

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 getEmrCvmQuota(args: GetEmrCvmQuotaArgs, opts?: InvokeOptions): Promise<GetEmrCvmQuotaResult>
function getEmrCvmQuotaOutput(args: GetEmrCvmQuotaOutputArgs, opts?: InvokeOptions): Output<GetEmrCvmQuotaResult>
Copy
def get_emr_cvm_quota(cluster_id: Optional[str] = None,
                      id: Optional[str] = None,
                      result_output_file: Optional[str] = None,
                      zone_id: Optional[float] = None,
                      opts: Optional[InvokeOptions] = None) -> GetEmrCvmQuotaResult
def get_emr_cvm_quota_output(cluster_id: Optional[pulumi.Input[str]] = None,
                      id: Optional[pulumi.Input[str]] = None,
                      result_output_file: Optional[pulumi.Input[str]] = None,
                      zone_id: Optional[pulumi.Input[float]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetEmrCvmQuotaResult]
Copy
func GetEmrCvmQuota(ctx *Context, args *GetEmrCvmQuotaArgs, opts ...InvokeOption) (*GetEmrCvmQuotaResult, error)
func GetEmrCvmQuotaOutput(ctx *Context, args *GetEmrCvmQuotaOutputArgs, opts ...InvokeOption) GetEmrCvmQuotaResultOutput
Copy

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

public static class GetEmrCvmQuota 
{
    public static Task<GetEmrCvmQuotaResult> InvokeAsync(GetEmrCvmQuotaArgs args, InvokeOptions? opts = null)
    public static Output<GetEmrCvmQuotaResult> Invoke(GetEmrCvmQuotaInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetEmrCvmQuotaResult> getEmrCvmQuota(GetEmrCvmQuotaArgs args, InvokeOptions options)
public static Output<GetEmrCvmQuotaResult> getEmrCvmQuota(GetEmrCvmQuotaArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getEmrCvmQuota:getEmrCvmQuota
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ClusterId This property is required. string
EMR cluster ID.
Id string
ResultOutputFile string
Used to save results.
ZoneId double
Zone ID.
ClusterId This property is required. string
EMR cluster ID.
Id string
ResultOutputFile string
Used to save results.
ZoneId float64
Zone ID.
clusterId This property is required. String
EMR cluster ID.
id String
resultOutputFile String
Used to save results.
zoneId Double
Zone ID.
clusterId This property is required. string
EMR cluster ID.
id string
resultOutputFile string
Used to save results.
zoneId number
Zone ID.
cluster_id This property is required. str
EMR cluster ID.
id str
result_output_file str
Used to save results.
zone_id float
Zone ID.
clusterId This property is required. String
EMR cluster ID.
id String
resultOutputFile String
Used to save results.
zoneId Number
Zone ID.

getEmrCvmQuota Result

The following output properties are available:

ClusterId string
EksQuotaSets List<GetEmrCvmQuotaEksQuotaSet>
Eks quota Note: This field may return null, indicating that a valid value cannot be obtained.
Id string
PostPaidQuotaSets List<GetEmrCvmQuotaPostPaidQuotaSet>
Postpaid quota list Note: This field may return null, indicating that no valid value can be obtained.
SpotPaidQuotaSets List<GetEmrCvmQuotaSpotPaidQuotaSet>
Biding instance quota list Note: This field may return null, indicating that a valid value cannot be obtained.
ResultOutputFile string
ZoneId double
ClusterId string
EksQuotaSets []GetEmrCvmQuotaEksQuotaSet
Eks quota Note: This field may return null, indicating that a valid value cannot be obtained.
Id string
PostPaidQuotaSets []GetEmrCvmQuotaPostPaidQuotaSet
Postpaid quota list Note: This field may return null, indicating that no valid value can be obtained.
SpotPaidQuotaSets []GetEmrCvmQuotaSpotPaidQuotaSet
Biding instance quota list Note: This field may return null, indicating that a valid value cannot be obtained.
ResultOutputFile string
ZoneId float64
clusterId String
eksQuotaSets List<GetEmrCvmQuotaEksQuotaSet>
Eks quota Note: This field may return null, indicating that a valid value cannot be obtained.
id String
postPaidQuotaSets List<GetEmrCvmQuotaPostPaidQuotaSet>
Postpaid quota list Note: This field may return null, indicating that no valid value can be obtained.
spotPaidQuotaSets List<GetEmrCvmQuotaSpotPaidQuotaSet>
Biding instance quota list Note: This field may return null, indicating that a valid value cannot be obtained.
resultOutputFile String
zoneId Double
clusterId string
eksQuotaSets GetEmrCvmQuotaEksQuotaSet[]
Eks quota Note: This field may return null, indicating that a valid value cannot be obtained.
id string
postPaidQuotaSets GetEmrCvmQuotaPostPaidQuotaSet[]
Postpaid quota list Note: This field may return null, indicating that no valid value can be obtained.
spotPaidQuotaSets GetEmrCvmQuotaSpotPaidQuotaSet[]
Biding instance quota list Note: This field may return null, indicating that a valid value cannot be obtained.
resultOutputFile string
zoneId number
cluster_id str
eks_quota_sets Sequence[GetEmrCvmQuotaEksQuotaSet]
Eks quota Note: This field may return null, indicating that a valid value cannot be obtained.
id str
post_paid_quota_sets Sequence[GetEmrCvmQuotaPostPaidQuotaSet]
Postpaid quota list Note: This field may return null, indicating that no valid value can be obtained.
spot_paid_quota_sets Sequence[GetEmrCvmQuotaSpotPaidQuotaSet]
Biding instance quota list Note: This field may return null, indicating that a valid value cannot be obtained.
result_output_file str
zone_id float
clusterId String
eksQuotaSets List<Property Map>
Eks quota Note: This field may return null, indicating that a valid value cannot be obtained.
id String
postPaidQuotaSets List<Property Map>
Postpaid quota list Note: This field may return null, indicating that no valid value can be obtained.
spotPaidQuotaSets List<Property Map>
Biding instance quota list Note: This field may return null, indicating that a valid value cannot be obtained.
resultOutputFile String
zoneId Number

Supporting Types

GetEmrCvmQuotaEksQuotaSet

Cpu This property is required. double
Cpu cores.
Memory This property is required. double
Memory quantity (unit: GB).
NodeType This property is required. string
The specifications of the marketable resource are as follows: TASK, CORE, MASTER, ROUTER.
Number This property is required. double
Specifies the maximum number of resources that can be applied for.
Cpu This property is required. float64
Cpu cores.
Memory This property is required. float64
Memory quantity (unit: GB).
NodeType This property is required. string
The specifications of the marketable resource are as follows: TASK, CORE, MASTER, ROUTER.
Number This property is required. float64
Specifies the maximum number of resources that can be applied for.
cpu This property is required. Double
Cpu cores.
memory This property is required. Double
Memory quantity (unit: GB).
nodeType This property is required. String
The specifications of the marketable resource are as follows: TASK, CORE, MASTER, ROUTER.
number This property is required. Double
Specifies the maximum number of resources that can be applied for.
cpu This property is required. number
Cpu cores.
memory This property is required. number
Memory quantity (unit: GB).
nodeType This property is required. string
The specifications of the marketable resource are as follows: TASK, CORE, MASTER, ROUTER.
number This property is required. number
Specifies the maximum number of resources that can be applied for.
cpu This property is required. float
Cpu cores.
memory This property is required. float
Memory quantity (unit: GB).
node_type This property is required. str
The specifications of the marketable resource are as follows: TASK, CORE, MASTER, ROUTER.
number This property is required. float
Specifies the maximum number of resources that can be applied for.
cpu This property is required. Number
Cpu cores.
memory This property is required. Number
Memory quantity (unit: GB).
nodeType This property is required. String
The specifications of the marketable resource are as follows: TASK, CORE, MASTER, ROUTER.
number This property is required. Number
Specifies the maximum number of resources that can be applied for.

GetEmrCvmQuotaPostPaidQuotaSet

RemainingQuota This property is required. double
Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
TotalQuota This property is required. double
Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
UsedQuota This property is required. double
Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
Zone This property is required. string
Available area Note: This field may return null, indicating that a valid value cannot be obtained.
RemainingQuota This property is required. float64
Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
TotalQuota This property is required. float64
Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
UsedQuota This property is required. float64
Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
Zone This property is required. string
Available area Note: This field may return null, indicating that a valid value cannot be obtained.
remainingQuota This property is required. Double
Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
totalQuota This property is required. Double
Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
usedQuota This property is required. Double
Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
zone This property is required. String
Available area Note: This field may return null, indicating that a valid value cannot be obtained.
remainingQuota This property is required. number
Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
totalQuota This property is required. number
Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
usedQuota This property is required. number
Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
zone This property is required. string
Available area Note: This field may return null, indicating that a valid value cannot be obtained.
remaining_quota This property is required. float
Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
total_quota This property is required. float
Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
used_quota This property is required. float
Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
zone This property is required. str
Available area Note: This field may return null, indicating that a valid value cannot be obtained.
remainingQuota This property is required. Number
Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
totalQuota This property is required. Number
Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
usedQuota This property is required. Number
Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
zone This property is required. String
Available area Note: This field may return null, indicating that a valid value cannot be obtained.

GetEmrCvmQuotaSpotPaidQuotaSet

RemainingQuota This property is required. double
Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
TotalQuota This property is required. double
Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
UsedQuota This property is required. double
Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
Zone This property is required. string
Available area Note: This field may return null, indicating that a valid value cannot be obtained.
RemainingQuota This property is required. float64
Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
TotalQuota This property is required. float64
Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
UsedQuota This property is required. float64
Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
Zone This property is required. string
Available area Note: This field may return null, indicating that a valid value cannot be obtained.
remainingQuota This property is required. Double
Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
totalQuota This property is required. Double
Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
usedQuota This property is required. Double
Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
zone This property is required. String
Available area Note: This field may return null, indicating that a valid value cannot be obtained.
remainingQuota This property is required. number
Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
totalQuota This property is required. number
Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
usedQuota This property is required. number
Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
zone This property is required. string
Available area Note: This field may return null, indicating that a valid value cannot be obtained.
remaining_quota This property is required. float
Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
total_quota This property is required. float
Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
used_quota This property is required. float
Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
zone This property is required. str
Available area Note: This field may return null, indicating that a valid value cannot be obtained.
remainingQuota This property is required. Number
Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
totalQuota This property is required. Number
Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
usedQuota This property is required. Number
Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
zone This property is required. String
Available area Note: This field may return null, indicating that a valid value cannot be obtained.

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.
tencentcloud 1.81.187 published on Monday, Apr 28, 2025 by tencentcloudstack