Class ManagementRESTClient
- Namespace
- FoundationaLLM.Client.Management
- Assembly
- FoundationaLLM.Client.Management.dll
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
public class ManagementRESTClient : IManagementRESTClient
- Inheritance
-
ManagementRESTClient
- Implements
- Inherited Members
- Extension Methods
Constructors
ManagementRESTClient()
Constructor for mocking. This does not initialize the clients.
public ManagementRESTClient()
ManagementRESTClient(string, TokenCredential, string)
Initializes a new instance of the ManagementRESTClient class and configures IHttpClientFactory with a named instance for the CoreAPI (CoreAPI) based on the passed in URL.
public ManagementRESTClient(string managementUri, TokenCredential credential, string instanceId)
Parameters
managementUri
stringThe base URI of the Core API.
credential
TokenCredentialA TokenCredential of an authenticated user or service principle from which the client library can generate auth tokens.
instanceId
stringThe unique (GUID) ID for the FoundationaLLM deployment. Locate this value in the FoundationaLLM Management Portal or in Azure App Config (FoundationaLLM:Instance:Id key)
ManagementRESTClient(string, TokenCredential, string, APIClientSettings)
Initializes a new instance of the ManagementRESTClient class and configures IHttpClientFactory with a named instance for the CoreAPI (CoreAPI) based on the passed in URL and optional client settings.
public ManagementRESTClient(string managementUri, TokenCredential credential, string instanceId, APIClientSettings options)
Parameters
managementUri
stringThe base URI of the Core API.
credential
TokenCredentialA TokenCredential of an authenticated user or service principle from which the client library can generate auth tokens.
instanceId
stringThe unique (GUID) ID for the FoundationaLLM deployment. Locate this value in the FoundationaLLM Management Portal or in Azure App Config (FoundationaLLM:Instance:Id key)
options
APIClientSettingsAdditional options to configure the HTTP Client.
Properties
Identity
Contains methods to interact with the Identity endpoints.
public IIdentityRESTClient Identity { get; }
Property Value
Resources
Contains methods to interact with the Resources endpoints.
public IResourceRESTClient Resources { get; }
Property Value
Status
Contains methods to interact with the Status endpoints.
public IStatusRESTClient Status { get; }