AzureApiManagementResource.AddProduct

Method
📦 Aspire.Hosting.Azure.ApiManagement v17.0.0-preview.1.26567.5
type AzureApiManagementResource interface {
// ... omitted for brevity
AddProduct(
name string,
displayName string,
options ...*AddProductOptions,
) AzureApiManagementProductResource
}

Signature

methodAddProductbuilder
Adds a product to the API Management service.
AddProduct(
name string,
displayName string,
options ...*AddProductOptions,
) AzureApiManagementProductResource
namestringThe globally unique Aspire resource name and default physical product name.
displayNamestringThe product display name.
options...*AddProductOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*AddProductOptions argument.

Options*AzureApiManagementProductOptionsThe product options.
ProductName*stringThe physical product identifier in API Management. The resource name is used when omitted.
AzureApiManagementProductResource

A builder for the product resource.

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

Defined on

This method is defined on the following type: