addProduct

Method
📦 Aspire.Hosting.Azure.ApiManagement v17.0.0-preview.1.26567.5
interface AzureApiManagementResource {
// ... omitted for brevity
addProduct(
name: string,
displayName: string,
options?: AzureApiManagementProductOptions,
productName?: string): AzureApiManagementProductResource;
}

Signature

methodaddProductbuilder
Adds a product to the API Management service.
addProduct(
name: string,
displayName: string,
options?: AzureApiManagementProductOptions,
productName?: string): AzureApiManagementProductResource
namestringThe globally unique Aspire resource name and default physical product name.
displayNamestringThe product display name.
optionsAzureApiManagementProductOptionsoptionalThe product options.
productNamestringoptionalThe physical product identifier in API Management. The resource name is used when omitted.
AzureApiManagementProductResource

Applies to

This method applies to the following types: