Show / Hide Table of Contents

Namespace Pulumi.Gcp.ServiceUsage

Classes

ConsumerQuotaOverride

A consumer override is applied to the consumer on its own authority to limit its own quota usage. Consumer overrides cannot be used to grant more quota than would be allowed by admin overrides, producer overrides, or the default limit of the service.

To get more information about ConsumerQuotaOverride, see:

  • How-to Guides
  • Getting Started
  • REST API documentation

Example Usage - Consumer Quota Override

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
public MyStack()
{
    var myProject = new Gcp.Organizations.Project("myProject", new Gcp.Organizations.ProjectArgs
    {
        ProjectId = "quota",
        OrgId = "123456789",
    });
    var @override = new Gcp.ServiceUsage.ConsumerQuotaOverride("override", new Gcp.ServiceUsage.ConsumerQuotaOverrideArgs
    {
        Project = myProject.ProjectId,
        Service = "servicemanagement.googleapis.com",
        Metric = "servicemanagement.googleapis.com%2Fdefault_requests",
        Limit = "%2Fmin%2Fproject",
        OverrideValue = "95",
        Force = true,
    });
}

}

ConsumerQuotaOverrideArgs

ConsumerQuotaOverrideState

Back to top Copyright 2016-2020, Pulumi Corporation.