AzureApiManagementResource.AddBackend

Method
📦 Aspire.Hosting.Azure.ApiManagement v17.0.0-preview.1.26567.5
type AzureApiManagementResource interface {
// ... omitted for brevity
AddBackend(
name string,
uri *ReferenceExpression,
options ...*AddBackendOptions,
) AzureApiManagementBackendResource
}

Signature

methodAddBackendbuilder
Adds a configurable backend to the API Management service.
AddBackend(
name string,
uri *ReferenceExpression,
options ...*AddBackendOptions,
) AzureApiManagementBackendResource
namestringThe globally unique Aspire resource name and default physical backend name.
uri*ReferenceExpressionThe deferred URI of the backend service.
options...*AddBackendOptionsOptional settings, described under Options.

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

Options*AzureApiManagementBackendOptionsThe backend options.
BackendName*stringThe physical backend identifier in API Management. The Aspire resource name is used when omitted.
AzureApiManagementBackendResource

A builder for the backend resource.

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

Defined on

This method is defined on the following type: