Table of Contents

Interface IManagementCapabilitiesService

Namespace
FoundationaLLM.Common.Interfaces
Assembly
FoundationaLLM.Common.dll

Defines a mechanism to restrict access to resource providers and resource types.

public interface IManagementCapabilitiesService
Extension Methods

Remarks

Implementations of this interface should provide logic to determine whether a given resource path is available for use, such as limiting the exposed resource provider capabilities in certain APIs.

Methods

IsResourcePathAvailable(HttpMethod, ResourcePath)

Determines whether the specified resource path is available for the given HTTP method.

bool IsResourcePathAvailable(HttpMethod method, ResourcePath resourcePath)

Parameters

method HttpMethod

The HTTP method to check, such as Get or Post.

resourcePath ResourcePath

The resource path to evaluate for availability.

Returns

bool

true if the resource path is available for the specified HTTP method; otherwise, false.

IsValidRequestPayload(object)

Determines whether the provided request payload is valid.

bool IsValidRequestPayload(object requestPayload)

Parameters

requestPayload object

Returns

bool