opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
opentelekomcloud.getHssQuotasV5
Explore with Pulumi AI
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:
- Charging
Mode string - Specifies the charging mode of the quotas to be queried. The valid values are as follows:
- Host
Name string - Specifies the host name for the quota binding to be queried.
- Id string
- The ID of quota.
- Resource
Id 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
, orfreeze
. - Used
Status string - Specifies the usage status of the quotas to be queried.
The value can be
idle
orused
. - 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:
- Charging
Mode string - Specifies the charging mode of the quotas to be queried. The valid values are as follows:
- Host
Name string - Specifies the host name for the quota binding to be queried.
- Id string
- The ID of quota.
- Resource
Id 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
, orfreeze
. - Used
Status string - Specifies the usage status of the quotas to be queried.
The value can be
idle
orused
. - 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:
- charging
Mode String - Specifies the charging mode of the quotas to be queried. The valid values are as follows:
- host
Name String - Specifies the host name for the quota binding to be queried.
- id String
- The ID of quota.
- resource
Id 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
, orfreeze
. - used
Status String - Specifies the usage status of the quotas to be queried.
The value can be
idle
orused
. - 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:
- charging
Mode string - Specifies the charging mode of the quotas to be queried. The valid values are as follows:
- host
Name string - Specifies the host name for the quota binding to be queried.
- id string
- The ID of quota.
- resource
Id 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
, orfreeze
. - used
Status string - Specifies the usage status of the quotas to be queried.
The value can be
idle
orused
. - 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
, orfreeze
. - used_
status str - Specifies the usage status of the quotas to be queried.
The value can be
idle
orused
. - 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:
- charging
Mode String - Specifies the charging mode of the quotas to be queried. The valid values are as follows:
- host
Name String - Specifies the host name for the quota binding to be queried.
- id String
- The ID of quota.
- resource
Id 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
, orfreeze
. - used
Status String - Specifies the usage status of the quotas to be queried.
The value can be
idle
orused
. - 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<Get
Hss Quotas V5Quota> - 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
- Charging
Mode string - The charging mode of quota.
- Host
Name string - The host name for quota binding.
- Resource
Id string - Status string
- The status of quota.
- Used
Status string - The usage status of quota.
- Version string
- The version of quota.
- Id string
- The ID of quota.
- Quotas
[]Get
Hss Quotas V5Quota - 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
- Charging
Mode string - The charging mode of quota.
- Host
Name string - The host name for quota binding.
- Resource
Id string - Status string
- The status of quota.
- Used
Status string - The usage status of quota.
- Version string
- The version of quota.
- id String
- The ID of quota.
- quotas
List<Get
Hss Quotas V5Quota> - 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
- charging
Mode String - The charging mode of quota.
- host
Name String - The host name for quota binding.
- resource
Id String - status String
- The status of quota.
- used
Status String - The usage status of quota.
- version String
- The version of quota.
- id string
- The ID of quota.
- quotas
Get
Hss Quotas V5Quota[] - 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
- charging
Mode string - The charging mode of quota.
- host
Name string - The host name for quota binding.
- resource
Id string - status string
- The status of quota.
- used
Status string - The usage status of quota.
- version string
- The version of quota.
- id str
- The ID of quota.
- quotas
Sequence[Get
Hss Quotas V5Quota] - 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
- charging
Mode String - The charging mode of quota.
- host
Name String - The host name for quota binding.
- resource
Id String - status String
- The status of quota.
- used
Status String - The usage status of quota.
- version String
- The version of quota.
Supporting Types
GetHssQuotasV5Quota
- Charging
Mode string - Specifies the charging mode of the quotas to be queried. The valid values are as follows:
- Expire
Time string - The expiration time of quota, in RFC3339 format. This field is valid when the quota is a trial quota.
- Host
Id string - The host ID for quota binding.
- Host
Name string - Specifies the host name for the quota binding to be queried.
- Id string
- The ID of quota.
- string
- Is it a shared quota. The value can be
shared
orunshared
. - Status string
- Specifies the status of the quotas to be queried.
The value can be
normal
,expired
, orfreeze
. - Dictionary<string, string>
- The key/value pairs to associate with the HSS quota.
- Used
Status string - Specifies the usage status of the quotas to be queried.
The value can be
idle
orused
. - 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 string - Specifies the charging mode of the quotas to be queried. The valid values are as follows:
- Expire
Time string - The expiration time of quota, in RFC3339 format. This field is valid when the quota is a trial quota.
- Host
Id string - The host ID for quota binding.
- Host
Name string - Specifies the host name for the quota binding to be queried.
- Id string
- The ID of quota.
- string
- Is it a shared quota. The value can be
shared
orunshared
. - Status string
- Specifies the status of the quotas to be queried.
The value can be
normal
,expired
, orfreeze
. - map[string]string
- The key/value pairs to associate with the HSS quota.
- Used
Status string - Specifies the usage status of the quotas to be queried.
The value can be
idle
orused
. - 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 String - Specifies the charging mode of the quotas to be queried. The valid values are as follows:
- expire
Time String - The expiration time of quota, in RFC3339 format. This field is valid when the quota is a trial quota.
- host
Id String - The host ID for quota binding.
- host
Name String - Specifies the host name for the quota binding to be queried.
- id String
- The ID of quota.
- String
- Is it a shared quota. The value can be
shared
orunshared
. - status String
- Specifies the status of the quotas to be queried.
The value can be
normal
,expired
, orfreeze
. - Map<String,String>
- The key/value pairs to associate with the HSS quota.
- used
Status String - Specifies the usage status of the quotas to be queried.
The value can be
idle
orused
. - 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 string - Specifies the charging mode of the quotas to be queried. The valid values are as follows:
- expire
Time string - The expiration time of quota, in RFC3339 format. This field is valid when the quota is a trial quota.
- host
Id string - The host ID for quota binding.
- host
Name string - Specifies the host name for the quota binding to be queried.
- id string
- The ID of quota.
- string
- Is it a shared quota. The value can be
shared
orunshared
. - status string
- Specifies the status of the quotas to be queried.
The value can be
normal
,expired
, orfreeze
. - {[key: string]: string}
- The key/value pairs to associate with the HSS quota.
- used
Status string - Specifies the usage status of the quotas to be queried.
The value can be
idle
orused
. - 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.
- str
- Is it a shared quota. The value can be
shared
orunshared
. - status str
- Specifies the status of the quotas to be queried.
The value can be
normal
,expired
, orfreeze
. - 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
orused
. - 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.
- charging
Mode String - Specifies the charging mode of the quotas to be queried. The valid values are as follows:
- expire
Time String - The expiration time of quota, in RFC3339 format. This field is valid when the quota is a trial quota.
- host
Id String - The host ID for quota binding.
- host
Name String - Specifies the host name for the quota binding to be queried.
- id String
- The ID of quota.
- String
- Is it a shared quota. The value can be
shared
orunshared
. - status String
- Specifies the status of the quotas to be queried.
The value can be
normal
,expired
, orfreeze
. - Map<String>
- The key/value pairs to associate with the HSS quota.
- used
Status String - Specifies the usage status of the quotas to be queried.
The value can be
idle
orused
. - 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 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud