Class GetService
Inheritance
System.Object
GetService
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 GetService
Methods
View SourceInvokeAsync(GetServiceArgs, InvokeOptions)
Retrieve information about a Service Quotas Service.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Aws.ServiceQuotas.GetService.InvokeAsync(new Aws.ServiceQuotas.GetServiceArgs
{
ServiceName = "Amazon Virtual Private Cloud (Amazon VPC)",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetServiceArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetServiceResult> |