tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getEmrCvmQuota
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 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 string - EMR cluster ID.
- Id string
- Result
Output stringFile - Used to save results.
- Zone
Id double - Zone ID.
- Cluster
Id string - EMR cluster ID.
- Id string
- Result
Output stringFile - Used to save results.
- Zone
Id float64 - Zone ID.
- cluster
Id String - EMR cluster ID.
- id String
- result
Output StringFile - Used to save results.
- zone
Id Double - Zone ID.
- cluster
Id string - EMR cluster ID.
- id string
- result
Output stringFile - Used to save results.
- zone
Id number - Zone ID.
- cluster_
id str - EMR cluster ID.
- id str
- result_
output_ strfile - Used to save results.
- zone_
id float - Zone ID.
- cluster
Id 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
GetEmrCvmQuotaPostPaidQuotaSet
- Remaining
Quota double - Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Total
Quota double - Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Used
Quota 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.
- Remaining
Quota float64 - Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Total
Quota float64 - Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Used
Quota 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.
- remaining
Quota Double - Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- total
Quota Double - Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- used
Quota 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.
- remaining
Quota number - Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- total
Quota number - Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- used
Quota 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.
- remaining
Quota Number - Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- total
Quota Number - Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- used
Quota 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
- Remaining
Quota double - Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Total
Quota double - Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Used
Quota 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.
- Remaining
Quota float64 - Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Total
Quota float64 - Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- Used
Quota 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.
- remaining
Quota Double - Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- total
Quota Double - Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- used
Quota 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.
- remaining
Quota number - Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- total
Quota number - Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- used
Quota 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.
- remaining
Quota Number - Residual quota Note: This field may return null, indicating that a valid value cannot be obtained.
- total
Quota Number - Total quota Note: This field may return null, indicating that a valid value cannot be obtained.
- used
Quota 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 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack