Skip to content
DocsTry Aspire
DocsTry

APIGatewayExtensions Methods

ClassMethods2 members
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
AddAWSAPIGatewayEmulator(IDistributedApplicationBuilder, string, APIGatewayType, APIGatewayEmulatorOptions?)Section titled AddAWSAPIGatewayEmulator(IDistributedApplicationBuilder, string, APIGatewayType, APIGatewayEmulatorOptions?)extensionIResourceBuilder<APIGatewayEmulatorResource>
public static class APIGatewayExtensions
{
public static IResourceBuilder<APIGatewayEmulatorResource> AddAWSAPIGatewayEmulator(
this IDistributedApplicationBuilder builder,
string name,
APIGatewayType apiGatewayType,
APIGatewayEmulatorOptions? options = null)
{
// ...
}
}
builderIDistributedApplicationBuilder
namestring
apiGatewayTypeAPIGatewayType
WithReference(IResourceBuilder<APIGatewayEmulatorResource>, IResourceBuilder<LambdaProjectResource>, Method, string)Section titled WithReference(IResourceBuilder<APIGatewayEmulatorResource>, IResourceBuilder<LambdaProjectResource>, Method, string)extensionIResourceBuilder<APIGatewayEmulatorResource>
public static class APIGatewayExtensions
{
public static IResourceBuilder<APIGatewayEmulatorResource> WithReference(
this IResourceBuilder<APIGatewayEmulatorResource> builder,
IResourceBuilder<LambdaProjectResource> lambda,
Method httpMethod,
string path)
{
// ...
}
}
builderIResourceBuilder<APIGatewayEmulatorResource>
lambdaIResourceBuilder<LambdaProjectResource>
httpMethodMethod
pathstring