WithApi

Method
📦 Aspire.Hosting.Azure.ApiManagement v17.0.0-preview.1.26567.5
func (AzureApiManagementProductResource) 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().

Applies to

This method applies to the following types: