AddAzureApiManagement

Method
📦 Aspire.Hosting.Azure.ApiManagement v17.0.0-preview.1.26567.5
func (DistributedApplicationBuilder) AddAzureApiManagement(
name string,
options *AzureApiManagementOptions,
) AzureApiManagementResource

Signature

methodAddAzureApiManagementbuilder
Adds an Azure API Management service.
AddAzureApiManagement(
name string,
options *AzureApiManagementOptions,
) AzureApiManagementResource
namestringThe name of the Aspire resource.
options*AzureApiManagementOptionsThe API Management service options.
AzureApiManagementResource

A builder for the Azure API Management resource.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder