AzureApiManagementResource.addBackend

Method
📦 Aspire.Hosting.Azure.ApiManagement v17.0.0-preview.1.26567.5
interface AzureApiManagementResource {
// ... omitted for brevity
addBackend(
name: string,
uri: ReferenceExpression,
options?: AzureApiManagementBackendOptions,
backendName?: string): AzureApiManagementBackendResource;
}

Signature

methodaddBackendbuilder
Adds a configurable backend to the API Management service.
addBackend(
name: string,
uri: ReferenceExpression,
options?: AzureApiManagementBackendOptions,
backendName?: string): AzureApiManagementBackendResource
namestringThe globally unique Aspire resource name and default physical backend name.
uriReferenceExpressionThe deferred URI of the backend service.
optionsAzureApiManagementBackendOptionsoptionalThe backend options.
backendNamestringoptionalThe physical backend identifier in API Management. The Aspire resource name is used when omitted.
AzureApiManagementBackendResource

Defined on

This method is defined on the following type: