AzureApiManagementResource.AddApiWithoutTarget
Method
type AzureApiManagementResource interface { // ... omitted for brevity AddApiWithoutTarget( name string, path string, options ...*AddApiWithoutTargetOptions, ) AzureApiManagementApiResource}Signature
method
AddApiWithoutTarget builderAdds an API whose backend is configured separately.
AddApiWithoutTarget( name string, path string, options ...*AddApiWithoutTargetOptions,) AzureApiManagementApiResourceParameters
namestringThe globally unique Aspire resource name and default physical API name.pathstringThe public path beneath the API Management gateway hostname.options...*AddApiWithoutTargetOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddApiWithoutTargetOptions argument.
DisplayName *stringThe API display name. The resource name is used when omitted.SubscriptionRequired *boolWhether callers must provide an API Management subscription key. The default is true.ApiName *stringThe physical API identifier in API Management. The Aspire resource name is used when omitted.Returns
AzureApiManagementApiResource A builder for the API resource.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: