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

tencentcloud.getEmrCvmQuota

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 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 dictionary

    The following arguments are supported:

    ClusterId string
    EMR cluster ID.
    Id string
    ResultOutputFile string
    Used to save results.
    ZoneId double
    Zone ID.
    ClusterId string
    EMR cluster ID.
    Id string
    ResultOutputFile string
    Used to save results.
    ZoneId float64
    Zone ID.
    clusterId String
    EMR cluster ID.
    id String
    resultOutputFile String
    Used to save results.
    zoneId Double
    Zone ID.
    clusterId string
    EMR cluster ID.
    id string
    resultOutputFile string
    Used to save results.
    zoneId number
    Zone ID.
    cluster_id str
    EMR cluster ID.
    id str
    result_output_file str
    Used to save results.
    zone_id float
    Zone ID.
    clusterId 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 double
    Cpu cores.
    Memory double
    Memory quantity (unit: GB).
    NodeType string
    The specifications of the marketable resource are as follows: TASK, CORE, MASTER, ROUTER.
    Number double
    Specifies the maximum number of resources that can be applied for.
    Cpu float64
    Cpu cores.
    Memory float64
    Memory quantity (unit: GB).
    NodeType string
    The specifications of the marketable resource are as follows: TASK, CORE, MASTER, ROUTER.
    Number float64
    Specifies the maximum number of resources that can be applied for.
    cpu Double
    Cpu cores.
    memory Double
    Memory quantity (unit: GB).
    nodeType String
    The specifications of the marketable resource are as follows: TASK, CORE, MASTER, ROUTER.
    number Double
    Specifies the maximum number of resources that can be applied for.
    cpu number
    Cpu cores.
    memory number
    Memory quantity (unit: GB).
    nodeType string
    The specifications of the marketable resource are as follows: TASK, CORE, MASTER, ROUTER.
    number number
    Specifies the maximum number of resources that can be applied for.
    cpu float
    Cpu cores.
    memory float
    Memory quantity (unit: GB).
    node_type str
    The specifications of the marketable resource are as follows: TASK, CORE, MASTER, ROUTER.
    number float
    Specifies the maximum number of resources that can be applied for.
    cpu Number
    Cpu cores.
    memory Number
    Memory quantity (unit: GB).
    nodeType String
    The specifications of the marketable resource are as follows: TASK, CORE, MASTER, ROUTER.
    number Number
    Specifies the maximum number of resources that can be applied for.

    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 tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack