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,
});
}
}
Inherited Members
Namespace: Pulumi.Aws.ServiceQuotas
Assembly: Pulumi.Aws.dll
Syntax
public class ServiceQuota : CustomResource
Constructors
View SourceServiceQuota(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 SourceAdjustable
Whether the service quota can be increased.
Declaration
public Output<bool> Adjustable { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
Arn
Amazon Resource Name (ARN) of the service quota.
Declaration
public Output<string> Arn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DefaultValue
Default value of the service quota.
Declaration
public Output<double> DefaultValue { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Double> |
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> |
QuotaName
Name of the quota.
Declaration
public Output<string> QuotaName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RequestId
Declaration
public Output<string> RequestId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RequestStatus
Declaration
public Output<string> RequestStatus { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
ServiceName
Name of the service.
Declaration
public Output<string> ServiceName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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 SourceGet(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 |