cloudquota

package
v7.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetSQuotaInfoArgs

type GetSQuotaInfoArgs struct {
	// The parent of the quota info. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number].
	Parent string `pulumi:"parent"`
	// The id of the quota, which is unique within the service.
	QuotaId string `pulumi:"quotaId"`
	// The name of the service in which the quota is defined.
	Service string `pulumi:"service"`
}

A collection of arguments for invoking getSQuotaInfo.

type GetSQuotaInfoDimensionsInfo

type GetSQuotaInfoDimensionsInfo struct {
	// The applicable regions or zones of this dimensions info. The field will be set to `['global']` for quotas that are not per region or per zone. Otherwise, it will be set to the list of locations this dimension info is applicable to.
	ApplicableLocations []string `pulumi:"applicableLocations"`
	// The quota details for a map of dimensions.
	Details []GetSQuotaInfoDimensionsInfoDetail `pulumi:"details"`
	// The map of dimensions for this dimensions info. The key of a map entry is "region", "zone" or the name of a service specific dimension, and the value of a map entry is the value of the dimension. If a dimension does not appear in the map of dimensions, the dimensions info applies to all the dimension values except for those that have another DimenisonInfo instance configured for the specific value. Example: {"provider" : "Foo Inc"} where "provider" is a service specific dimension of a quota.
	Dimensions map[string]interface{} `pulumi:"dimensions"`
}

type GetSQuotaInfoDimensionsInfoArgs

type GetSQuotaInfoDimensionsInfoArgs struct {
	// The applicable regions or zones of this dimensions info. The field will be set to `['global']` for quotas that are not per region or per zone. Otherwise, it will be set to the list of locations this dimension info is applicable to.
	ApplicableLocations pulumi.StringArrayInput `pulumi:"applicableLocations"`
	// The quota details for a map of dimensions.
	Details GetSQuotaInfoDimensionsInfoDetailArrayInput `pulumi:"details"`
	// The map of dimensions for this dimensions info. The key of a map entry is "region", "zone" or the name of a service specific dimension, and the value of a map entry is the value of the dimension. If a dimension does not appear in the map of dimensions, the dimensions info applies to all the dimension values except for those that have another DimenisonInfo instance configured for the specific value. Example: {"provider" : "Foo Inc"} where "provider" is a service specific dimension of a quota.
	Dimensions pulumi.MapInput `pulumi:"dimensions"`
}

func (GetSQuotaInfoDimensionsInfoArgs) ElementType

func (GetSQuotaInfoDimensionsInfoArgs) ToGetSQuotaInfoDimensionsInfoOutput

func (i GetSQuotaInfoDimensionsInfoArgs) ToGetSQuotaInfoDimensionsInfoOutput() GetSQuotaInfoDimensionsInfoOutput

func (GetSQuotaInfoDimensionsInfoArgs) ToGetSQuotaInfoDimensionsInfoOutputWithContext

func (i GetSQuotaInfoDimensionsInfoArgs) ToGetSQuotaInfoDimensionsInfoOutputWithContext(ctx context.Context) GetSQuotaInfoDimensionsInfoOutput

type GetSQuotaInfoDimensionsInfoArray

type GetSQuotaInfoDimensionsInfoArray []GetSQuotaInfoDimensionsInfoInput

func (GetSQuotaInfoDimensionsInfoArray) ElementType

func (GetSQuotaInfoDimensionsInfoArray) ToGetSQuotaInfoDimensionsInfoArrayOutput

func (i GetSQuotaInfoDimensionsInfoArray) ToGetSQuotaInfoDimensionsInfoArrayOutput() GetSQuotaInfoDimensionsInfoArrayOutput

func (GetSQuotaInfoDimensionsInfoArray) ToGetSQuotaInfoDimensionsInfoArrayOutputWithContext

func (i GetSQuotaInfoDimensionsInfoArray) ToGetSQuotaInfoDimensionsInfoArrayOutputWithContext(ctx context.Context) GetSQuotaInfoDimensionsInfoArrayOutput

type GetSQuotaInfoDimensionsInfoArrayInput

type GetSQuotaInfoDimensionsInfoArrayInput interface {
	pulumi.Input

	ToGetSQuotaInfoDimensionsInfoArrayOutput() GetSQuotaInfoDimensionsInfoArrayOutput
	ToGetSQuotaInfoDimensionsInfoArrayOutputWithContext(context.Context) GetSQuotaInfoDimensionsInfoArrayOutput
}

GetSQuotaInfoDimensionsInfoArrayInput is an input type that accepts GetSQuotaInfoDimensionsInfoArray and GetSQuotaInfoDimensionsInfoArrayOutput values. You can construct a concrete instance of `GetSQuotaInfoDimensionsInfoArrayInput` via:

GetSQuotaInfoDimensionsInfoArray{ GetSQuotaInfoDimensionsInfoArgs{...} }

type GetSQuotaInfoDimensionsInfoArrayOutput

type GetSQuotaInfoDimensionsInfoArrayOutput struct{ *pulumi.OutputState }

func (GetSQuotaInfoDimensionsInfoArrayOutput) ElementType

func (GetSQuotaInfoDimensionsInfoArrayOutput) Index

func (GetSQuotaInfoDimensionsInfoArrayOutput) ToGetSQuotaInfoDimensionsInfoArrayOutput

func (o GetSQuotaInfoDimensionsInfoArrayOutput) ToGetSQuotaInfoDimensionsInfoArrayOutput() GetSQuotaInfoDimensionsInfoArrayOutput

func (GetSQuotaInfoDimensionsInfoArrayOutput) ToGetSQuotaInfoDimensionsInfoArrayOutputWithContext

func (o GetSQuotaInfoDimensionsInfoArrayOutput) ToGetSQuotaInfoDimensionsInfoArrayOutputWithContext(ctx context.Context) GetSQuotaInfoDimensionsInfoArrayOutput

type GetSQuotaInfoDimensionsInfoDetail

type GetSQuotaInfoDimensionsInfoDetail struct {
	// The value currently in effect and being enforced.
	Value string `pulumi:"value"`
}

type GetSQuotaInfoDimensionsInfoDetailArgs

type GetSQuotaInfoDimensionsInfoDetailArgs struct {
	// The value currently in effect and being enforced.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetSQuotaInfoDimensionsInfoDetailArgs) ElementType

func (GetSQuotaInfoDimensionsInfoDetailArgs) ToGetSQuotaInfoDimensionsInfoDetailOutput

func (i GetSQuotaInfoDimensionsInfoDetailArgs) ToGetSQuotaInfoDimensionsInfoDetailOutput() GetSQuotaInfoDimensionsInfoDetailOutput

func (GetSQuotaInfoDimensionsInfoDetailArgs) ToGetSQuotaInfoDimensionsInfoDetailOutputWithContext

func (i GetSQuotaInfoDimensionsInfoDetailArgs) ToGetSQuotaInfoDimensionsInfoDetailOutputWithContext(ctx context.Context) GetSQuotaInfoDimensionsInfoDetailOutput

type GetSQuotaInfoDimensionsInfoDetailArray

type GetSQuotaInfoDimensionsInfoDetailArray []GetSQuotaInfoDimensionsInfoDetailInput

func (GetSQuotaInfoDimensionsInfoDetailArray) ElementType

func (GetSQuotaInfoDimensionsInfoDetailArray) ToGetSQuotaInfoDimensionsInfoDetailArrayOutput

func (i GetSQuotaInfoDimensionsInfoDetailArray) ToGetSQuotaInfoDimensionsInfoDetailArrayOutput() GetSQuotaInfoDimensionsInfoDetailArrayOutput

func (GetSQuotaInfoDimensionsInfoDetailArray) ToGetSQuotaInfoDimensionsInfoDetailArrayOutputWithContext

func (i GetSQuotaInfoDimensionsInfoDetailArray) ToGetSQuotaInfoDimensionsInfoDetailArrayOutputWithContext(ctx context.Context) GetSQuotaInfoDimensionsInfoDetailArrayOutput

type GetSQuotaInfoDimensionsInfoDetailArrayInput

type GetSQuotaInfoDimensionsInfoDetailArrayInput interface {
	pulumi.Input

	ToGetSQuotaInfoDimensionsInfoDetailArrayOutput() GetSQuotaInfoDimensionsInfoDetailArrayOutput
	ToGetSQuotaInfoDimensionsInfoDetailArrayOutputWithContext(context.Context) GetSQuotaInfoDimensionsInfoDetailArrayOutput
}

GetSQuotaInfoDimensionsInfoDetailArrayInput is an input type that accepts GetSQuotaInfoDimensionsInfoDetailArray and GetSQuotaInfoDimensionsInfoDetailArrayOutput values. You can construct a concrete instance of `GetSQuotaInfoDimensionsInfoDetailArrayInput` via:

GetSQuotaInfoDimensionsInfoDetailArray{ GetSQuotaInfoDimensionsInfoDetailArgs{...} }

type GetSQuotaInfoDimensionsInfoDetailArrayOutput

type GetSQuotaInfoDimensionsInfoDetailArrayOutput struct{ *pulumi.OutputState }

func (GetSQuotaInfoDimensionsInfoDetailArrayOutput) ElementType

func (GetSQuotaInfoDimensionsInfoDetailArrayOutput) Index

func (GetSQuotaInfoDimensionsInfoDetailArrayOutput) ToGetSQuotaInfoDimensionsInfoDetailArrayOutput

func (o GetSQuotaInfoDimensionsInfoDetailArrayOutput) ToGetSQuotaInfoDimensionsInfoDetailArrayOutput() GetSQuotaInfoDimensionsInfoDetailArrayOutput

func (GetSQuotaInfoDimensionsInfoDetailArrayOutput) ToGetSQuotaInfoDimensionsInfoDetailArrayOutputWithContext

func (o GetSQuotaInfoDimensionsInfoDetailArrayOutput) ToGetSQuotaInfoDimensionsInfoDetailArrayOutputWithContext(ctx context.Context) GetSQuotaInfoDimensionsInfoDetailArrayOutput

type GetSQuotaInfoDimensionsInfoDetailInput

type GetSQuotaInfoDimensionsInfoDetailInput interface {
	pulumi.Input

	ToGetSQuotaInfoDimensionsInfoDetailOutput() GetSQuotaInfoDimensionsInfoDetailOutput
	ToGetSQuotaInfoDimensionsInfoDetailOutputWithContext(context.Context) GetSQuotaInfoDimensionsInfoDetailOutput
}

GetSQuotaInfoDimensionsInfoDetailInput is an input type that accepts GetSQuotaInfoDimensionsInfoDetailArgs and GetSQuotaInfoDimensionsInfoDetailOutput values. You can construct a concrete instance of `GetSQuotaInfoDimensionsInfoDetailInput` via:

GetSQuotaInfoDimensionsInfoDetailArgs{...}

type GetSQuotaInfoDimensionsInfoDetailOutput

type GetSQuotaInfoDimensionsInfoDetailOutput struct{ *pulumi.OutputState }

func (GetSQuotaInfoDimensionsInfoDetailOutput) ElementType

func (GetSQuotaInfoDimensionsInfoDetailOutput) ToGetSQuotaInfoDimensionsInfoDetailOutput

func (o GetSQuotaInfoDimensionsInfoDetailOutput) ToGetSQuotaInfoDimensionsInfoDetailOutput() GetSQuotaInfoDimensionsInfoDetailOutput

func (GetSQuotaInfoDimensionsInfoDetailOutput) ToGetSQuotaInfoDimensionsInfoDetailOutputWithContext

func (o GetSQuotaInfoDimensionsInfoDetailOutput) ToGetSQuotaInfoDimensionsInfoDetailOutputWithContext(ctx context.Context) GetSQuotaInfoDimensionsInfoDetailOutput

func (GetSQuotaInfoDimensionsInfoDetailOutput) Value

The value currently in effect and being enforced.

type GetSQuotaInfoDimensionsInfoInput

type GetSQuotaInfoDimensionsInfoInput interface {
	pulumi.Input

	ToGetSQuotaInfoDimensionsInfoOutput() GetSQuotaInfoDimensionsInfoOutput
	ToGetSQuotaInfoDimensionsInfoOutputWithContext(context.Context) GetSQuotaInfoDimensionsInfoOutput
}

GetSQuotaInfoDimensionsInfoInput is an input type that accepts GetSQuotaInfoDimensionsInfoArgs and GetSQuotaInfoDimensionsInfoOutput values. You can construct a concrete instance of `GetSQuotaInfoDimensionsInfoInput` via:

GetSQuotaInfoDimensionsInfoArgs{...}

type GetSQuotaInfoDimensionsInfoOutput

type GetSQuotaInfoDimensionsInfoOutput struct{ *pulumi.OutputState }

func (GetSQuotaInfoDimensionsInfoOutput) ApplicableLocations

The applicable regions or zones of this dimensions info. The field will be set to `['global']` for quotas that are not per region or per zone. Otherwise, it will be set to the list of locations this dimension info is applicable to.

func (GetSQuotaInfoDimensionsInfoOutput) Details

The quota details for a map of dimensions.

func (GetSQuotaInfoDimensionsInfoOutput) Dimensions

The map of dimensions for this dimensions info. The key of a map entry is "region", "zone" or the name of a service specific dimension, and the value of a map entry is the value of the dimension. If a dimension does not appear in the map of dimensions, the dimensions info applies to all the dimension values except for those that have another DimenisonInfo instance configured for the specific value. Example: {"provider" : "Foo Inc"} where "provider" is a service specific dimension of a quota.

func (GetSQuotaInfoDimensionsInfoOutput) ElementType

func (GetSQuotaInfoDimensionsInfoOutput) ToGetSQuotaInfoDimensionsInfoOutput

func (o GetSQuotaInfoDimensionsInfoOutput) ToGetSQuotaInfoDimensionsInfoOutput() GetSQuotaInfoDimensionsInfoOutput

func (GetSQuotaInfoDimensionsInfoOutput) ToGetSQuotaInfoDimensionsInfoOutputWithContext

func (o GetSQuotaInfoDimensionsInfoOutput) ToGetSQuotaInfoDimensionsInfoOutputWithContext(ctx context.Context) GetSQuotaInfoDimensionsInfoOutput

type GetSQuotaInfoOutputArgs

type GetSQuotaInfoOutputArgs struct {
	// The parent of the quota info. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number].
	Parent pulumi.StringInput `pulumi:"parent"`
	// The id of the quota, which is unique within the service.
	QuotaId pulumi.StringInput `pulumi:"quotaId"`
	// The name of the service in which the quota is defined.
	Service pulumi.StringInput `pulumi:"service"`
}

A collection of arguments for invoking getSQuotaInfo.

func (GetSQuotaInfoOutputArgs) ElementType

func (GetSQuotaInfoOutputArgs) ElementType() reflect.Type

type GetSQuotaInfoQuotaIncreaseEligibility

type GetSQuotaInfoQuotaIncreaseEligibility struct {
	// The enumeration of reasons when it is ineligible to request increase adjustment.
	IneligibilityReason string `pulumi:"ineligibilityReason"`
	// Whether a higher quota value can be requested for the quota.
	IsEligible bool `pulumi:"isEligible"`
}

type GetSQuotaInfoQuotaIncreaseEligibilityArgs

type GetSQuotaInfoQuotaIncreaseEligibilityArgs struct {
	// The enumeration of reasons when it is ineligible to request increase adjustment.
	IneligibilityReason pulumi.StringInput `pulumi:"ineligibilityReason"`
	// Whether a higher quota value can be requested for the quota.
	IsEligible pulumi.BoolInput `pulumi:"isEligible"`
}

func (GetSQuotaInfoQuotaIncreaseEligibilityArgs) ElementType

func (GetSQuotaInfoQuotaIncreaseEligibilityArgs) ToGetSQuotaInfoQuotaIncreaseEligibilityOutput

func (i GetSQuotaInfoQuotaIncreaseEligibilityArgs) ToGetSQuotaInfoQuotaIncreaseEligibilityOutput() GetSQuotaInfoQuotaIncreaseEligibilityOutput

func (GetSQuotaInfoQuotaIncreaseEligibilityArgs) ToGetSQuotaInfoQuotaIncreaseEligibilityOutputWithContext

func (i GetSQuotaInfoQuotaIncreaseEligibilityArgs) ToGetSQuotaInfoQuotaIncreaseEligibilityOutputWithContext(ctx context.Context) GetSQuotaInfoQuotaIncreaseEligibilityOutput

type GetSQuotaInfoQuotaIncreaseEligibilityArray

type GetSQuotaInfoQuotaIncreaseEligibilityArray []GetSQuotaInfoQuotaIncreaseEligibilityInput

func (GetSQuotaInfoQuotaIncreaseEligibilityArray) ElementType

func (GetSQuotaInfoQuotaIncreaseEligibilityArray) ToGetSQuotaInfoQuotaIncreaseEligibilityArrayOutput

func (i GetSQuotaInfoQuotaIncreaseEligibilityArray) ToGetSQuotaInfoQuotaIncreaseEligibilityArrayOutput() GetSQuotaInfoQuotaIncreaseEligibilityArrayOutput

func (GetSQuotaInfoQuotaIncreaseEligibilityArray) ToGetSQuotaInfoQuotaIncreaseEligibilityArrayOutputWithContext

func (i GetSQuotaInfoQuotaIncreaseEligibilityArray) ToGetSQuotaInfoQuotaIncreaseEligibilityArrayOutputWithContext(ctx context.Context) GetSQuotaInfoQuotaIncreaseEligibilityArrayOutput

type GetSQuotaInfoQuotaIncreaseEligibilityArrayInput

type GetSQuotaInfoQuotaIncreaseEligibilityArrayInput interface {
	pulumi.Input

	ToGetSQuotaInfoQuotaIncreaseEligibilityArrayOutput() GetSQuotaInfoQuotaIncreaseEligibilityArrayOutput
	ToGetSQuotaInfoQuotaIncreaseEligibilityArrayOutputWithContext(context.Context) GetSQuotaInfoQuotaIncreaseEligibilityArrayOutput
}

GetSQuotaInfoQuotaIncreaseEligibilityArrayInput is an input type that accepts GetSQuotaInfoQuotaIncreaseEligibilityArray and GetSQuotaInfoQuotaIncreaseEligibilityArrayOutput values. You can construct a concrete instance of `GetSQuotaInfoQuotaIncreaseEligibilityArrayInput` via:

GetSQuotaInfoQuotaIncreaseEligibilityArray{ GetSQuotaInfoQuotaIncreaseEligibilityArgs{...} }

type GetSQuotaInfoQuotaIncreaseEligibilityArrayOutput

type GetSQuotaInfoQuotaIncreaseEligibilityArrayOutput struct{ *pulumi.OutputState }

func (GetSQuotaInfoQuotaIncreaseEligibilityArrayOutput) ElementType

func (GetSQuotaInfoQuotaIncreaseEligibilityArrayOutput) Index

func (GetSQuotaInfoQuotaIncreaseEligibilityArrayOutput) ToGetSQuotaInfoQuotaIncreaseEligibilityArrayOutput

func (o GetSQuotaInfoQuotaIncreaseEligibilityArrayOutput) ToGetSQuotaInfoQuotaIncreaseEligibilityArrayOutput() GetSQuotaInfoQuotaIncreaseEligibilityArrayOutput

func (GetSQuotaInfoQuotaIncreaseEligibilityArrayOutput) ToGetSQuotaInfoQuotaIncreaseEligibilityArrayOutputWithContext

func (o GetSQuotaInfoQuotaIncreaseEligibilityArrayOutput) ToGetSQuotaInfoQuotaIncreaseEligibilityArrayOutputWithContext(ctx context.Context) GetSQuotaInfoQuotaIncreaseEligibilityArrayOutput

type GetSQuotaInfoQuotaIncreaseEligibilityInput

type GetSQuotaInfoQuotaIncreaseEligibilityInput interface {
	pulumi.Input

	ToGetSQuotaInfoQuotaIncreaseEligibilityOutput() GetSQuotaInfoQuotaIncreaseEligibilityOutput
	ToGetSQuotaInfoQuotaIncreaseEligibilityOutputWithContext(context.Context) GetSQuotaInfoQuotaIncreaseEligibilityOutput
}

GetSQuotaInfoQuotaIncreaseEligibilityInput is an input type that accepts GetSQuotaInfoQuotaIncreaseEligibilityArgs and GetSQuotaInfoQuotaIncreaseEligibilityOutput values. You can construct a concrete instance of `GetSQuotaInfoQuotaIncreaseEligibilityInput` via:

GetSQuotaInfoQuotaIncreaseEligibilityArgs{...}

type GetSQuotaInfoQuotaIncreaseEligibilityOutput

type GetSQuotaInfoQuotaIncreaseEligibilityOutput struct{ *pulumi.OutputState }

func (GetSQuotaInfoQuotaIncreaseEligibilityOutput) ElementType

func (GetSQuotaInfoQuotaIncreaseEligibilityOutput) IneligibilityReason

The enumeration of reasons when it is ineligible to request increase adjustment.

func (GetSQuotaInfoQuotaIncreaseEligibilityOutput) IsEligible

Whether a higher quota value can be requested for the quota.

func (GetSQuotaInfoQuotaIncreaseEligibilityOutput) ToGetSQuotaInfoQuotaIncreaseEligibilityOutput

func (o GetSQuotaInfoQuotaIncreaseEligibilityOutput) ToGetSQuotaInfoQuotaIncreaseEligibilityOutput() GetSQuotaInfoQuotaIncreaseEligibilityOutput

func (GetSQuotaInfoQuotaIncreaseEligibilityOutput) ToGetSQuotaInfoQuotaIncreaseEligibilityOutputWithContext

func (o GetSQuotaInfoQuotaIncreaseEligibilityOutput) ToGetSQuotaInfoQuotaIncreaseEligibilityOutputWithContext(ctx context.Context) GetSQuotaInfoQuotaIncreaseEligibilityOutput

type GetSQuotaInfoResult

type GetSQuotaInfoResult struct {
	// (Output) The container type of the QuotaInfo.
	ContainerType string `pulumi:"containerType"`
	// The map of dimensions for this dimensions info. The key of a map entry is "region", "zone" or the name of a service specific dimension, and the value of a map entry is the value of the dimension. If a dimension does not appear in the map of dimensions, the dimensions info applies to all the dimension values except for those that have another DimenisonInfo instance configured for the specific value. Example: {"provider" : "Foo Inc"} where "provider" is a service specific dimension of a quota.
	Dimensions []string `pulumi:"dimensions"`
	// (Output) The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
	DimensionsInfos []GetSQuotaInfoDimensionsInfo `pulumi:"dimensionsInfos"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// (Output) Whether the quota is a concurrent quota. Concurrent quotas are enforced on the total number of concurrent operations in flight at any given time.
	IsConcurrent bool `pulumi:"isConcurrent"`
	// (Output) Whether the quota value is fixed or adjustable.
	IsFixed bool `pulumi:"isFixed"`
	// (Output) Whether this is a precise quota. A precise quota is tracked with absolute precision. In contrast, an imprecise quota is not tracked with precision.
	IsPrecise bool `pulumi:"isPrecise"`
	// (Output) The metric of the quota. It specifies the resources consumption the quota is defined for, for example: `compute.googleapis.com/cpus`.
	Metric string `pulumi:"metric"`
	// (Output) The display name of the quota metric.
	MetricDisplayName string `pulumi:"metricDisplayName"`
	// (Output) The unit in which the metric value is reported, e.g., `MByte`.
	MetricUnit string `pulumi:"metricUnit"`
	// (Output) Resource name of this QuotaInfo, for example: `projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion`.
	Name   string `pulumi:"name"`
	Parent string `pulumi:"parent"`
	// (Output) The display name of the quota.
	QuotaDisplayName string `pulumi:"quotaDisplayName"`
	QuotaId          string `pulumi:"quotaId"`
	// (Output) Whether it is eligible to request a higher quota value for this quota.
	QuotaIncreaseEligibilities []GetSQuotaInfoQuotaIncreaseEligibility `pulumi:"quotaIncreaseEligibilities"`
	// (Output) The reset time interval for the quota. Refresh interval applies to rate quota only. Example: "minute" for per minute, "day" for per day, or "10 seconds" for every 10 seconds.
	RefreshInterval string `pulumi:"refreshInterval"`
	Service         string `pulumi:"service"`
	// (Output) URI to the page where users can request more quota for the cloud service, for example: `https://console.cloud.google.com/iam-admin/quotas`.
	ServiceRequestQuotaUri string `pulumi:"serviceRequestQuotaUri"`
}

A collection of values returned by getSQuotaInfo.

func GetSQuotaInfo

func GetSQuotaInfo(ctx *pulumi.Context, args *GetSQuotaInfoArgs, opts ...pulumi.InvokeOption) (*GetSQuotaInfoResult, error)

Provides information about a particular quota for a given project, folder or organization.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/cloudquota"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudquota.GetSQuotaInfo(ctx, &cloudquota.GetSQuotaInfoArgs{
			Parent:  "projects/my-project",
			Service: "compute.googleapis.com",
			QuotaId: "CPUS-per-project-region",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetSQuotaInfoResultOutput

type GetSQuotaInfoResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSQuotaInfo.

func (GetSQuotaInfoResultOutput) ContainerType

func (o GetSQuotaInfoResultOutput) ContainerType() pulumi.StringOutput

(Output) The container type of the QuotaInfo.

func (GetSQuotaInfoResultOutput) Dimensions

The map of dimensions for this dimensions info. The key of a map entry is "region", "zone" or the name of a service specific dimension, and the value of a map entry is the value of the dimension. If a dimension does not appear in the map of dimensions, the dimensions info applies to all the dimension values except for those that have another DimenisonInfo instance configured for the specific value. Example: {"provider" : "Foo Inc"} where "provider" is a service specific dimension of a quota.

func (GetSQuotaInfoResultOutput) DimensionsInfos

(Output) The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.

func (GetSQuotaInfoResultOutput) ElementType

func (GetSQuotaInfoResultOutput) ElementType() reflect.Type

func (GetSQuotaInfoResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSQuotaInfoResultOutput) IsConcurrent

func (o GetSQuotaInfoResultOutput) IsConcurrent() pulumi.BoolOutput

(Output) Whether the quota is a concurrent quota. Concurrent quotas are enforced on the total number of concurrent operations in flight at any given time.

func (GetSQuotaInfoResultOutput) IsFixed

(Output) Whether the quota value is fixed or adjustable.

func (GetSQuotaInfoResultOutput) IsPrecise

(Output) Whether this is a precise quota. A precise quota is tracked with absolute precision. In contrast, an imprecise quota is not tracked with precision.

func (GetSQuotaInfoResultOutput) Metric

(Output) The metric of the quota. It specifies the resources consumption the quota is defined for, for example: `compute.googleapis.com/cpus`.

func (GetSQuotaInfoResultOutput) MetricDisplayName

func (o GetSQuotaInfoResultOutput) MetricDisplayName() pulumi.StringOutput

(Output) The display name of the quota metric.

func (GetSQuotaInfoResultOutput) MetricUnit

(Output) The unit in which the metric value is reported, e.g., `MByte`.

func (GetSQuotaInfoResultOutput) Name

(Output) Resource name of this QuotaInfo, for example: `projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion`.

func (GetSQuotaInfoResultOutput) Parent

func (GetSQuotaInfoResultOutput) QuotaDisplayName

func (o GetSQuotaInfoResultOutput) QuotaDisplayName() pulumi.StringOutput

(Output) The display name of the quota.

func (GetSQuotaInfoResultOutput) QuotaId

func (GetSQuotaInfoResultOutput) QuotaIncreaseEligibilities

(Output) Whether it is eligible to request a higher quota value for this quota.

func (GetSQuotaInfoResultOutput) RefreshInterval

func (o GetSQuotaInfoResultOutput) RefreshInterval() pulumi.StringOutput

(Output) The reset time interval for the quota. Refresh interval applies to rate quota only. Example: "minute" for per minute, "day" for per day, or "10 seconds" for every 10 seconds.

func (GetSQuotaInfoResultOutput) Service

func (GetSQuotaInfoResultOutput) ServiceRequestQuotaUri

func (o GetSQuotaInfoResultOutput) ServiceRequestQuotaUri() pulumi.StringOutput

(Output) URI to the page where users can request more quota for the cloud service, for example: `https://console.cloud.google.com/iam-admin/quotas`.

func (GetSQuotaInfoResultOutput) ToGetSQuotaInfoResultOutput

func (o GetSQuotaInfoResultOutput) ToGetSQuotaInfoResultOutput() GetSQuotaInfoResultOutput

func (GetSQuotaInfoResultOutput) ToGetSQuotaInfoResultOutputWithContext

func (o GetSQuotaInfoResultOutput) ToGetSQuotaInfoResultOutputWithContext(ctx context.Context) GetSQuotaInfoResultOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL