AzureApiManagementApiResource.addOperation
Method
interface AzureApiManagementApiResource { // ... omitted for brevity addOperation( name: string, method: string, urlTemplate: string, displayName?: string, operationName?: string): AzureApiManagementOperationResource;}Signature
method
addOperation builderAdds an explicitly modeled operation to an API.
addOperation( name: string, method: string, urlTemplate: string, displayName?: string, operationName?: string): AzureApiManagementOperationResourceParameters
namestringThe globally unique Aspire resource name and default physical operation name.methodstringThe HTTP method.urlTemplate stringThe URL template relative to the API path.displayName stringoptionalThe operation display name. The resource name is used when omitted.operationName stringoptionalThe physical operation identifier in API Management. The Aspire resource name is used when omitted.Returns
AzureApiManagementOperationResource Defined on
This method is defined on the following type: