Class GetServiceQuota
Inheritance
System.Object
GetServiceQuota
Inherited Members
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 static class GetServiceQuota
Methods
View SourceInvokeAsync(GetServiceQuotaArgs, InvokeOptions)
Retrieve information about a Service Quota.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var byQuotaCode = Output.Create(Aws.ServiceQuotas.GetServiceQuota.InvokeAsync(new Aws.ServiceQuotas.GetServiceQuotaArgs
{
QuotaCode = "L-F678F1CE",
ServiceCode = "vpc",
}));
var byQuotaName = Output.Create(Aws.ServiceQuotas.GetServiceQuota.InvokeAsync(new Aws.ServiceQuotas.GetServiceQuotaArgs
{
QuotaName = "VPCs per Region",
ServiceCode = "vpc",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetServiceQuotaResult> InvokeAsync(GetServiceQuotaArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetServiceQuotaArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetServiceQuotaResult> |