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,
});
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:
- Cluster
Id This property is required. string - EMR cluster ID.
- Id string
- Result
Output stringFile - Used to save results.
- Zone
Id double - Zone ID.
- Cluster
Id This property is required. string - EMR cluster ID.
- Id string
- Result
Output stringFile - Used to save results.
- Zone
Id float64 - Zone ID.
- cluster
Id This property is required. String - EMR cluster ID.
- id String
- result
Output StringFile - Used to save results.
- zone
Id Double - Zone ID.
- cluster
Id This property is required. string - EMR cluster ID.
- id string
- result
Output stringFile - Used to save results.
- zone
Id number - Zone ID.
- cluster_
id This property is required. str - EMR cluster ID.
- id str
- result_
output_ strfile - Used to save results.
- zone_
id float - Zone ID.
- cluster
Id This property is required. String - EMR cluster ID.
- id String
- result
Output StringFile - Used to save results.
- zone
Id Number - Zone ID.
getEmrCvmQuota Result
The following output properties are available:
- Cluster
Id string - Eks
Quota 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
- Post
Paid 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.
- Spot
Paid 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.
- Result
Output stringFile - Zone
Id double
- Cluster
Id string - Eks
Quota []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
- Post
Paid []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 []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 stringFile - Zone
Id float64
- cluster
Id String - eks
Quota 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
- post
Paid 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.
- spot
Paid 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.
- result
Output StringFile - zone
Id Double
- cluster
Id string - eks
Quota 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
- post
Paid 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 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 stringFile - zone
Id 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
- cluster
Id String - eks
Quota List<Property Map>Sets - Eks quota Note: This field may return null, indicating that a valid value cannot be obtained.
- id String
- post
Paid List<Property Map>Quota Sets - Postpaid quota list Note: This field may return null, indicating that no valid value can be obtained.
- spot
Paid List<Property Map>Quota Sets - Biding instance quota list Note: This field may return null, indicating that a valid value cannot be obtained.
- result
Output StringFile - zone
Id Number
Supporting Types
GetEmrCvmQuotaEksQuotaSet
- Cpu
This property is required. double - Cpu cores.
- Memory
This property is required. double - Memory quantity (unit: GB).
- Node
Type 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).
- Node
Type 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).
- node
Type 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).
- node
Type 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).
- node
Type 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
- Remaining
Quota This property is required. double - Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Total
Quota This property is required. double - Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Used
Quota 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.
- Remaining
Quota This property is required. float64 - Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Total
Quota This property is required. float64 - Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Used
Quota 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.
- remaining
Quota This property is required. Double - Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- total
Quota This property is required. Double - Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- used
Quota 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.
- remaining
Quota This property is required. number - Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- total
Quota This property is required. number - Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- used
Quota 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.
- remaining
Quota This property is required. Number - Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- total
Quota This property is required. Number - Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- used
Quota 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
- Remaining
Quota This property is required. double - Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Total
Quota This property is required. double - Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Used
Quota 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.
- Remaining
Quota This property is required. float64 - Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Total
Quota This property is required. float64 - Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Used
Quota 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.
- remaining
Quota This property is required. Double - Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- total
Quota This property is required. Double - Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- used
Quota 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.
- remaining
Quota This property is required. number - Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- total
Quota This property is required. number - Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- used
Quota 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.
- remaining
Quota This property is required. Number - Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- total
Quota This property is required. Number - Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- used
Quota 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