tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getEmrCvmQuota
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 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,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
cvm_quota = tencentcloud.get_emr_cvm_quota(cluster_id="emr-0ze36vnp",
    zone_id=100003)
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
	})
}
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,
    });
});
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());
    }
}
variables:
  cvmQuota:
    fn::invoke:
      function: tencentcloud:getEmrCvmQuota
      arguments:
        clusterId: emr-0ze36vnp
        zoneId: 100003
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>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]func GetEmrCvmQuota(ctx *Context, args *GetEmrCvmQuotaArgs, opts ...InvokeOption) (*GetEmrCvmQuotaResult, error)
func GetEmrCvmQuotaOutput(ctx *Context, args *GetEmrCvmQuotaOutputArgs, opts ...InvokeOption) GetEmrCvmQuotaResultOutput> 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)
}public static CompletableFuture<GetEmrCvmQuotaResult> getEmrCvmQuota(GetEmrCvmQuotaArgs args, InvokeOptions options)
public static Output<GetEmrCvmQuotaResult> getEmrCvmQuota(GetEmrCvmQuotaArgs args, InvokeOptions options)
fn::invoke:
  function: tencentcloud:index/getEmrCvmQuota:getEmrCvmQuota
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ClusterId string
- EMR cluster ID.
- Id string
- ResultOutput stringFile 
- Used to save results.
- ZoneId double
- Zone ID.
- ClusterId string
- EMR cluster ID.
- Id string
- ResultOutput stringFile 
- Used to save results.
- ZoneId float64
- Zone ID.
- clusterId String
- EMR cluster ID.
- id String
- resultOutput StringFile 
- Used to save results.
- zoneId Double
- Zone ID.
- clusterId string
- EMR cluster ID.
- id string
- resultOutput stringFile 
- Used to save results.
- zoneId number
- Zone ID.
- cluster_id str
- EMR cluster ID.
- id str
- result_output_ strfile 
- Used to save results.
- zone_id float
- Zone ID.
- clusterId String
- EMR cluster ID.
- id String
- resultOutput StringFile 
- Used to save results.
- zoneId Number
- Zone ID.
getEmrCvmQuota Result
The following output properties are available:
- ClusterId string
- EksQuota List<GetSets Emr Cvm Quota Eks Quota Set> 
- Eks quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Id string
- PostPaid List<GetQuota Sets Emr Cvm Quota Post Paid Quota Set> 
- Postpaid quota list Note: This field may return null, indicating that no valid value can be obtained.
- SpotPaid List<GetQuota Sets Emr Cvm Quota Spot Paid Quota Set> 
- Biding instance quota list Note: This field may return null, indicating that a valid value cannot be obtained.
- ResultOutput stringFile 
- ZoneId double
- ClusterId string
- EksQuota []GetSets Emr Cvm Quota Eks Quota Set 
- Eks quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Id string
- PostPaid []GetQuota Sets Emr Cvm Quota Post Paid Quota Set 
- Postpaid quota list Note: This field may return null, indicating that no valid value can be obtained.
- SpotPaid []GetQuota Sets Emr Cvm Quota Spot Paid Quota Set 
- Biding instance quota list Note: This field may return null, indicating that a valid value cannot be obtained.
- ResultOutput stringFile 
- ZoneId float64
- clusterId String
- eksQuota List<GetSets Emr Cvm Quota Eks Quota Set> 
- Eks quota Note: This field may return null, indicating that a valid value cannot be obtained.
- id String
- postPaid List<GetQuota Sets Emr Cvm Quota Post Paid Quota Set> 
- Postpaid quota list Note: This field may return null, indicating that no valid value can be obtained.
- spotPaid List<GetQuota Sets Emr Cvm Quota Spot Paid Quota Set> 
- Biding instance quota list Note: This field may return null, indicating that a valid value cannot be obtained.
- resultOutput StringFile 
- zoneId Double
- clusterId string
- eksQuota GetSets Emr Cvm Quota Eks Quota Set[] 
- Eks quota Note: This field may return null, indicating that a valid value cannot be obtained.
- id string
- postPaid GetQuota Sets Emr Cvm Quota Post Paid Quota Set[] 
- Postpaid quota list Note: This field may return null, indicating that no valid value can be obtained.
- spotPaid GetQuota Sets Emr Cvm Quota Spot Paid Quota Set[] 
- Biding instance quota list Note: This field may return null, indicating that a valid value cannot be obtained.
- resultOutput stringFile 
- zoneId number
- cluster_id str
- eks_quota_ Sequence[Getsets Emr Cvm Quota Eks Quota Set] 
- Eks quota Note: This field may return null, indicating that a valid value cannot be obtained.
- id str
- post_paid_ Sequence[Getquota_ sets Emr Cvm Quota Post Paid Quota Set] 
- Postpaid quota list Note: This field may return null, indicating that no valid value can be obtained.
- spot_paid_ Sequence[Getquota_ sets Emr Cvm Quota Spot Paid Quota Set] 
- Biding instance quota list Note: This field may return null, indicating that a valid value cannot be obtained.
- result_output_ strfile 
- zone_id float
- clusterId String
- eksQuota List<Property Map>Sets 
- Eks quota Note: This field may return null, indicating that a valid value cannot be obtained.
- id String
- postPaid List<Property Map>Quota Sets 
- Postpaid quota list Note: This field may return null, indicating that no valid value can be obtained.
- spotPaid List<Property Map>Quota Sets 
- Biding instance quota list Note: This field may return null, indicating that a valid value cannot be obtained.
- resultOutput StringFile 
- zoneId Number
Supporting Types
GetEmrCvmQuotaEksQuotaSet      
GetEmrCvmQuotaPostPaidQuotaSet       
- RemainingQuota double
- Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- TotalQuota double
- Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- UsedQuota double
- Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Zone string
- Available area Note: This field may return null, indicating that a valid value cannot be obtained.
- RemainingQuota float64
- Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- TotalQuota float64
- Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- UsedQuota float64
- Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Zone string
- Available area Note: This field may return null, indicating that a valid value cannot be obtained.
- remainingQuota Double
- Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- totalQuota Double
- Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- usedQuota Double
- Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
- zone String
- Available area Note: This field may return null, indicating that a valid value cannot be obtained.
- remainingQuota number
- Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- totalQuota number
- Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- usedQuota number
- Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
- zone string
- Available area Note: This field may return null, indicating that a valid value cannot be obtained.
- remaining_quota float
- Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- total_quota float
- Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- used_quota float
- Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
- zone str
- Available area Note: This field may return null, indicating that a valid value cannot be obtained.
- remainingQuota Number
- Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- totalQuota Number
- Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- usedQuota Number
- Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
- zone String
- Available area Note: This field may return null, indicating that a valid value cannot be obtained.
GetEmrCvmQuotaSpotPaidQuotaSet       
- RemainingQuota double
- Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- TotalQuota double
- Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- UsedQuota double
- Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Zone string
- Available area Note: This field may return null, indicating that a valid value cannot be obtained.
- RemainingQuota float64
- Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- TotalQuota float64
- Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- UsedQuota float64
- Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Zone string
- Available area Note: This field may return null, indicating that a valid value cannot be obtained.
- remainingQuota Double
- Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- totalQuota Double
- Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- usedQuota Double
- Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
- zone String
- Available area Note: This field may return null, indicating that a valid value cannot be obtained.
- remainingQuota number
- Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- totalQuota number
- Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- usedQuota number
- Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
- zone string
- Available area Note: This field may return null, indicating that a valid value cannot be obtained.
- remaining_quota float
- Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- total_quota float
- Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- used_quota float
- Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
- zone str
- Available area Note: This field may return null, indicating that a valid value cannot be obtained.
- remainingQuota Number
- Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- totalQuota Number
- Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- usedQuota Number
- Used quota Note: This field may return null, indicating that a valid value cannot be obtained.
- zone 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 tencentcloudTerraform Provider.
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack