1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getHssQuotasV5
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.getHssQuotasV5

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for EIP status you can get at documentation portal

    Use this data source to get the list of HSS quotas within OpenTelekomCloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const resourceId = config.requireObject("resourceId");
    const qt = opentelekomcloud.getHssQuotasV5({
        resourceId: resourceId,
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    resource_id = config.require_object("resourceId")
    qt = opentelekomcloud.get_hss_quotas_v5(resource_id=resource_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		resourceId := cfg.RequireObject("resourceId")
    		_, err := opentelekomcloud.GetHssQuotasV5(ctx, &opentelekomcloud.GetHssQuotasV5Args{
    			ResourceId: pulumi.StringRef(resourceId),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var resourceId = config.RequireObject<dynamic>("resourceId");
        var qt = Opentelekomcloud.GetHssQuotasV5.Invoke(new()
        {
            ResourceId = resourceId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
    import com.pulumi.opentelekomcloud.inputs.GetHssQuotasV5Args;
    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 config = ctx.config();
            final var resourceId = config.get("resourceId");
            final var qt = OpentelekomcloudFunctions.getHssQuotasV5(GetHssQuotasV5Args.builder()
                .resourceId(resourceId)
                .build());
    
        }
    }
    
    configuration:
      resourceId:
        type: dynamic
    variables:
      qt:
        fn::invoke:
          function: opentelekomcloud:getHssQuotasV5
          arguments:
            resourceId: ${resourceId}
    

    Using getHssQuotasV5

    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 getHssQuotasV5(args: GetHssQuotasV5Args, opts?: InvokeOptions): Promise<GetHssQuotasV5Result>
    function getHssQuotasV5Output(args: GetHssQuotasV5OutputArgs, opts?: InvokeOptions): Output<GetHssQuotasV5Result>
    def get_hss_quotas_v5(category: Optional[str] = None,
                          charging_mode: Optional[str] = None,
                          host_name: Optional[str] = None,
                          id: Optional[str] = None,
                          resource_id: Optional[str] = None,
                          status: Optional[str] = None,
                          used_status: Optional[str] = None,
                          version: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetHssQuotasV5Result
    def get_hss_quotas_v5_output(category: Optional[pulumi.Input[str]] = None,
                          charging_mode: Optional[pulumi.Input[str]] = None,
                          host_name: Optional[pulumi.Input[str]] = None,
                          id: Optional[pulumi.Input[str]] = None,
                          resource_id: Optional[pulumi.Input[str]] = None,
                          status: Optional[pulumi.Input[str]] = None,
                          used_status: Optional[pulumi.Input[str]] = None,
                          version: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetHssQuotasV5Result]
    func GetHssQuotasV5(ctx *Context, args *GetHssQuotasV5Args, opts ...InvokeOption) (*GetHssQuotasV5Result, error)
    func GetHssQuotasV5Output(ctx *Context, args *GetHssQuotasV5OutputArgs, opts ...InvokeOption) GetHssQuotasV5ResultOutput

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

    public static class GetHssQuotasV5 
    {
        public static Task<GetHssQuotasV5Result> InvokeAsync(GetHssQuotasV5Args args, InvokeOptions? opts = null)
        public static Output<GetHssQuotasV5Result> Invoke(GetHssQuotasV5InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetHssQuotasV5Result> getHssQuotasV5(GetHssQuotasV5Args args, InvokeOptions options)
    public static Output<GetHssQuotasV5Result> getHssQuotasV5(GetHssQuotasV5Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getHssQuotasV5:getHssQuotasV5
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Category string
    Specifies the category of the quotas to be queried. The valid values are as follows:
    ChargingMode string
    Specifies the charging mode of the quotas to be queried. The valid values are as follows:
    HostName string
    Specifies the host name for the quota binding to be queried.
    Id string
    The ID of quota.
    ResourceId string
    Specifies the resource ID of the HSS quota.
    Status string
    Specifies the status of the quotas to be queried. The value can be normal, expired, or freeze.
    UsedStatus string
    Specifies the usage status of the quotas to be queried. The value can be idle or used.
    Version string
    Specifies the version of the quotas to be queried. The valid values are as follows:

    • hss.version.enterprise: Enterprise version.
    • hss.version.premium: Ultimate version.
    Category string
    Specifies the category of the quotas to be queried. The valid values are as follows:
    ChargingMode string
    Specifies the charging mode of the quotas to be queried. The valid values are as follows:
    HostName string
    Specifies the host name for the quota binding to be queried.
    Id string
    The ID of quota.
    ResourceId string
    Specifies the resource ID of the HSS quota.
    Status string
    Specifies the status of the quotas to be queried. The value can be normal, expired, or freeze.
    UsedStatus string
    Specifies the usage status of the quotas to be queried. The value can be idle or used.
    Version string
    Specifies the version of the quotas to be queried. The valid values are as follows:

    • hss.version.enterprise: Enterprise version.
    • hss.version.premium: Ultimate version.
    category String
    Specifies the category of the quotas to be queried. The valid values are as follows:
    chargingMode String
    Specifies the charging mode of the quotas to be queried. The valid values are as follows:
    hostName String
    Specifies the host name for the quota binding to be queried.
    id String
    The ID of quota.
    resourceId String
    Specifies the resource ID of the HSS quota.
    status String
    Specifies the status of the quotas to be queried. The value can be normal, expired, or freeze.
    usedStatus String
    Specifies the usage status of the quotas to be queried. The value can be idle or used.
    version String
    Specifies the version of the quotas to be queried. The valid values are as follows:

    • hss.version.enterprise: Enterprise version.
    • hss.version.premium: Ultimate version.
    category string
    Specifies the category of the quotas to be queried. The valid values are as follows:
    chargingMode string
    Specifies the charging mode of the quotas to be queried. The valid values are as follows:
    hostName string
    Specifies the host name for the quota binding to be queried.
    id string
    The ID of quota.
    resourceId string
    Specifies the resource ID of the HSS quota.
    status string
    Specifies the status of the quotas to be queried. The value can be normal, expired, or freeze.
    usedStatus string
    Specifies the usage status of the quotas to be queried. The value can be idle or used.
    version string
    Specifies the version of the quotas to be queried. The valid values are as follows:

    • hss.version.enterprise: Enterprise version.
    • hss.version.premium: Ultimate version.
    category str
    Specifies the category of the quotas to be queried. The valid values are as follows:
    charging_mode str
    Specifies the charging mode of the quotas to be queried. The valid values are as follows:
    host_name str
    Specifies the host name for the quota binding to be queried.
    id str
    The ID of quota.
    resource_id str
    Specifies the resource ID of the HSS quota.
    status str
    Specifies the status of the quotas to be queried. The value can be normal, expired, or freeze.
    used_status str
    Specifies the usage status of the quotas to be queried. The value can be idle or used.
    version str
    Specifies the version of the quotas to be queried. The valid values are as follows:

    • hss.version.enterprise: Enterprise version.
    • hss.version.premium: Ultimate version.
    category String
    Specifies the category of the quotas to be queried. The valid values are as follows:
    chargingMode String
    Specifies the charging mode of the quotas to be queried. The valid values are as follows:
    hostName String
    Specifies the host name for the quota binding to be queried.
    id String
    The ID of quota.
    resourceId String
    Specifies the resource ID of the HSS quota.
    status String
    Specifies the status of the quotas to be queried. The value can be normal, expired, or freeze.
    usedStatus String
    Specifies the usage status of the quotas to be queried. The value can be idle or used.
    version String
    Specifies the version of the quotas to be queried. The valid values are as follows:

    • hss.version.enterprise: Enterprise version.
    • hss.version.premium: Ultimate version.

    getHssQuotasV5 Result

    The following output properties are available:

    Id string
    The ID of quota.
    Quotas List<GetHssQuotasV5Quota>
    All quotas that match the filter parameters. The quotas structure is documented below.
    Region string
    The region in which to query the HSS quotas.
    Category string
    ChargingMode string
    The charging mode of quota.
    HostName string
    The host name for quota binding.
    ResourceId string
    Status string
    The status of quota.
    UsedStatus string
    The usage status of quota.
    Version string
    The version of quota.
    Id string
    The ID of quota.
    Quotas []GetHssQuotasV5Quota
    All quotas that match the filter parameters. The quotas structure is documented below.
    Region string
    The region in which to query the HSS quotas.
    Category string
    ChargingMode string
    The charging mode of quota.
    HostName string
    The host name for quota binding.
    ResourceId string
    Status string
    The status of quota.
    UsedStatus string
    The usage status of quota.
    Version string
    The version of quota.
    id String
    The ID of quota.
    quotas List<GetHssQuotasV5Quota>
    All quotas that match the filter parameters. The quotas structure is documented below.
    region String
    The region in which to query the HSS quotas.
    category String
    chargingMode String
    The charging mode of quota.
    hostName String
    The host name for quota binding.
    resourceId String
    status String
    The status of quota.
    usedStatus String
    The usage status of quota.
    version String
    The version of quota.
    id string
    The ID of quota.
    quotas GetHssQuotasV5Quota[]
    All quotas that match the filter parameters. The quotas structure is documented below.
    region string
    The region in which to query the HSS quotas.
    category string
    chargingMode string
    The charging mode of quota.
    hostName string
    The host name for quota binding.
    resourceId string
    status string
    The status of quota.
    usedStatus string
    The usage status of quota.
    version string
    The version of quota.
    id str
    The ID of quota.
    quotas Sequence[GetHssQuotasV5Quota]
    All quotas that match the filter parameters. The quotas structure is documented below.
    region str
    The region in which to query the HSS quotas.
    category str
    charging_mode str
    The charging mode of quota.
    host_name str
    The host name for quota binding.
    resource_id str
    status str
    The status of quota.
    used_status str
    The usage status of quota.
    version str
    The version of quota.
    id String
    The ID of quota.
    quotas List<Property Map>
    All quotas that match the filter parameters. The quotas structure is documented below.
    region String
    The region in which to query the HSS quotas.
    category String
    chargingMode String
    The charging mode of quota.
    hostName String
    The host name for quota binding.
    resourceId String
    status String
    The status of quota.
    usedStatus String
    The usage status of quota.
    version String
    The version of quota.

    Supporting Types

    GetHssQuotasV5Quota

    ChargingMode string
    Specifies the charging mode of the quotas to be queried. The valid values are as follows:
    ExpireTime string
    The expiration time of quota, in RFC3339 format. This field is valid when the quota is a trial quota.
    HostId string
    The host ID for quota binding.
    HostName string
    Specifies the host name for the quota binding to be queried.
    Id string
    The ID of quota.
    SharedQuota string
    Is it a shared quota. The value can be shared or unshared.
    Status string
    Specifies the status of the quotas to be queried. The value can be normal, expired, or freeze.
    Tags Dictionary<string, string>
    The key/value pairs to associate with the HSS quota.
    UsedStatus string
    Specifies the usage status of the quotas to be queried. The value can be idle or used.
    Version string
    Specifies the version of the quotas to be queried. The valid values are as follows:

    • hss.version.enterprise: Enterprise version.
    • hss.version.premium: Ultimate version.
    ChargingMode string
    Specifies the charging mode of the quotas to be queried. The valid values are as follows:
    ExpireTime string
    The expiration time of quota, in RFC3339 format. This field is valid when the quota is a trial quota.
    HostId string
    The host ID for quota binding.
    HostName string
    Specifies the host name for the quota binding to be queried.
    Id string
    The ID of quota.
    SharedQuota string
    Is it a shared quota. The value can be shared or unshared.
    Status string
    Specifies the status of the quotas to be queried. The value can be normal, expired, or freeze.
    Tags map[string]string
    The key/value pairs to associate with the HSS quota.
    UsedStatus string
    Specifies the usage status of the quotas to be queried. The value can be idle or used.
    Version string
    Specifies the version of the quotas to be queried. The valid values are as follows:

    • hss.version.enterprise: Enterprise version.
    • hss.version.premium: Ultimate version.
    chargingMode String
    Specifies the charging mode of the quotas to be queried. The valid values are as follows:
    expireTime String
    The expiration time of quota, in RFC3339 format. This field is valid when the quota is a trial quota.
    hostId String
    The host ID for quota binding.
    hostName String
    Specifies the host name for the quota binding to be queried.
    id String
    The ID of quota.
    sharedQuota String
    Is it a shared quota. The value can be shared or unshared.
    status String
    Specifies the status of the quotas to be queried. The value can be normal, expired, or freeze.
    tags Map<String,String>
    The key/value pairs to associate with the HSS quota.
    usedStatus String
    Specifies the usage status of the quotas to be queried. The value can be idle or used.
    version String
    Specifies the version of the quotas to be queried. The valid values are as follows:

    • hss.version.enterprise: Enterprise version.
    • hss.version.premium: Ultimate version.
    chargingMode string
    Specifies the charging mode of the quotas to be queried. The valid values are as follows:
    expireTime string
    The expiration time of quota, in RFC3339 format. This field is valid when the quota is a trial quota.
    hostId string
    The host ID for quota binding.
    hostName string
    Specifies the host name for the quota binding to be queried.
    id string
    The ID of quota.
    sharedQuota string
    Is it a shared quota. The value can be shared or unshared.
    status string
    Specifies the status of the quotas to be queried. The value can be normal, expired, or freeze.
    tags {[key: string]: string}
    The key/value pairs to associate with the HSS quota.
    usedStatus string
    Specifies the usage status of the quotas to be queried. The value can be idle or used.
    version string
    Specifies the version of the quotas to be queried. The valid values are as follows:

    • hss.version.enterprise: Enterprise version.
    • hss.version.premium: Ultimate version.
    charging_mode str
    Specifies the charging mode of the quotas to be queried. The valid values are as follows:
    expire_time str
    The expiration time of quota, in RFC3339 format. This field is valid when the quota is a trial quota.
    host_id str
    The host ID for quota binding.
    host_name str
    Specifies the host name for the quota binding to be queried.
    id str
    The ID of quota.
    shared_quota str
    Is it a shared quota. The value can be shared or unshared.
    status str
    Specifies the status of the quotas to be queried. The value can be normal, expired, or freeze.
    tags Mapping[str, str]
    The key/value pairs to associate with the HSS quota.
    used_status str
    Specifies the usage status of the quotas to be queried. The value can be idle or used.
    version str
    Specifies the version of the quotas to be queried. The valid values are as follows:

    • hss.version.enterprise: Enterprise version.
    • hss.version.premium: Ultimate version.
    chargingMode String
    Specifies the charging mode of the quotas to be queried. The valid values are as follows:
    expireTime String
    The expiration time of quota, in RFC3339 format. This field is valid when the quota is a trial quota.
    hostId String
    The host ID for quota binding.
    hostName String
    Specifies the host name for the quota binding to be queried.
    id String
    The ID of quota.
    sharedQuota String
    Is it a shared quota. The value can be shared or unshared.
    status String
    Specifies the status of the quotas to be queried. The value can be normal, expired, or freeze.
    tags Map<String>
    The key/value pairs to associate with the HSS quota.
    usedStatus String
    Specifies the usage status of the quotas to be queried. The value can be idle or used.
    version String
    Specifies the version of the quotas to be queried. The valid values are as follows:

    • hss.version.enterprise: Enterprise version.
    • hss.version.premium: Ultimate version.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud