Show / Hide Table of Contents

Class ServiceQuota

Manages an individual Service Quota.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = new Aws.ServiceQuotas.ServiceQuota("example", new Aws.ServiceQuotas.ServiceQuotaArgs
    {
        QuotaCode = "L-F678F1CE",
        ServiceCode = "vpc",
        Value = 75,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
ServiceQuota
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.ServiceQuotas
Assembly: Pulumi.Aws.dll
Syntax
public class ServiceQuota : CustomResource

Constructors

View Source

ServiceQuota(String, ServiceQuotaArgs, CustomResourceOptions)

Create a ServiceQuota resource with the given unique name, arguments, and options.

Declaration
public ServiceQuota(string name, ServiceQuotaArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ServiceQuotaArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Adjustable

Whether the service quota can be increased.

Declaration
public Output<bool> Adjustable { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

Arn

Amazon Resource Name (ARN) of the service quota.

Declaration
public Output<string> Arn { get; }
Property Value
Type Description
Output<System.String>
View Source

DefaultValue

Default value of the service quota.

Declaration
public Output<double> DefaultValue { get; }
Property Value
Type Description
Output<System.Double>
View Source

QuotaCode

Code of the service quota to track. For example: L-F678F1CE. Available values can be found with the AWS CLI service-quotas list-service-quotas command.

Declaration
public Output<string> QuotaCode { get; }
Property Value
Type Description
Output<System.String>
View Source

QuotaName

Name of the quota.

Declaration
public Output<string> QuotaName { get; }
Property Value
Type Description
Output<System.String>
View Source

RequestId

Declaration
public Output<string> RequestId { get; }
Property Value
Type Description
Output<System.String>
View Source

RequestStatus

Declaration
public Output<string> RequestStatus { get; }
Property Value
Type Description
Output<System.String>
View Source

ServiceCode

Code of the service to track. For example: vpc. Available values can be found with the AWS CLI service-quotas list-services command.

Declaration
public Output<string> ServiceCode { get; }
Property Value
Type Description
Output<System.String>
View Source

ServiceName

Name of the service.

Declaration
public Output<string> ServiceName { get; }
Property Value
Type Description
Output<System.String>
View Source

Value

Float specifying the desired value for the service quota. If the desired value is higher than the current value, a quota increase request is submitted. When a known request is submitted and pending, the value reflects the desired value of the pending request.

Declaration
public Output<double> Value { get; }
Property Value
Type Description
Output<System.Double>

Methods

View Source

Get(String, Input<String>, ServiceQuotaState, CustomResourceOptions)

Get an existing ServiceQuota resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static ServiceQuota Get(string name, Input<string> id, ServiceQuotaState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

ServiceQuotaState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
ServiceQuota
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.