AzureApiManagementProductResource.WithApi

Method
📦 Aspire.Hosting.Azure.ApiManagement v17.0.0-preview.1.26567.5
type AzureApiManagementProductResource interface {
// ... omitted for brevity
WithApi(api AzureApiManagementApiResource) AzureApiManagementProductResource
}

Signature

methodWithApibuilder
Adds an API to an API Management product.
WithApi(api AzureApiManagementApiResource) AzureApiManagementProductResource
apiAzureApiManagementApiResourceThe API to add to the product.
AzureApiManagementProductResource

The product resource builder.

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

Defined on

This method is defined on the following type: