Interface IManagementProviderService
- Namespace
- FoundationaLLM.Common.Interfaces
- Assembly
- FoundationaLLM.Common.dll
Provides core services required by the Management API.
public interface IManagementProviderService
- Extension Methods
Methods
HandleDeleteAsync(string, UnifiedUserIdentity, Func<HttpMethod, ResourcePath, bool>?)
Handles a HTTP DELETE request for a specified resource path.
Task HandleDeleteAsync(string resourcePath, UnifiedUserIdentity userIdentity, Func<HttpMethod, ResourcePath, bool>? resourcePathAvailabilityChecker = null)
Parameters
resourcePath
stringThe resource path.
userIdentity
UnifiedUserIdentityThe UnifiedUserIdentity with details about the identity of the user.
resourcePathAvailabilityChecker
Func<HttpMethod, ResourcePath, bool>An optional resource path availability checker used to block certain resource providers and resource types.
Returns
HandleGetAsync(string, UnifiedUserIdentity, ResourceProviderGetOptions?, Func<HttpMethod, ResourcePath, bool>?)
Handles a HTTP GET request for a specified resource path.
Task<object> HandleGetAsync(string resourcePath, UnifiedUserIdentity userIdentity, ResourceProviderGetOptions? options = null, Func<HttpMethod, ResourcePath, bool>? resourcePathAvailabilityChecker = null)
Parameters
resourcePath
stringThe resource path.
userIdentity
UnifiedUserIdentityThe UnifiedUserIdentity with details about the identity of the user.
options
ResourceProviderGetOptionsThe ResourceProviderGetOptions which provides operation parameters.
resourcePathAvailabilityChecker
Func<HttpMethod, ResourcePath, bool>An optional resource path availability checker used to block certain resource providers and resource types.
Returns
HandlePostAsync(string, string?, ResourceProviderFormFile?, UnifiedUserIdentity, Func<HttpMethod, ResourcePath, bool>?)
Handles a HTTP POST request for a specified resource path.
Task<object> HandlePostAsync(string resourcePath, string? requestPayload, ResourceProviderFormFile? formFile, UnifiedUserIdentity userIdentity, Func<HttpMethod, ResourcePath, bool>? resourcePathAvailabilityChecker = null)
Parameters
resourcePath
stringThe resource path.
requestPayload
stringThe optional request payload.
formFile
ResourceProviderFormFileThe optional file attached to the request.
userIdentity
UnifiedUserIdentityThe UnifiedUserIdentity with details about the identity of the user.
resourcePathAvailabilityChecker
Func<HttpMethod, ResourcePath, bool>An optional resource path availability checker used to block certain resource providers and resource types.