Table of Contents

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 string

The base URI of the Core API.

credential TokenCredential

A TokenCredential of an authenticated user or service principle from which the client library can generate auth tokens.

instanceId string

The 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 string

The base URI of the Core API.

credential TokenCredential

A TokenCredential of an authenticated user or service principle from which the client library can generate auth tokens.

instanceId string

The 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 APIClientSettings

Additional options to configure the HTTP Client.

Properties

Identity

Contains methods to interact with the Identity endpoints.

public IIdentityRESTClient Identity { get; }

Property Value

IIdentityRESTClient

Resources

Contains methods to interact with the Resources endpoints.

public IResourceRESTClient Resources { get; }

Property Value

IResourceRESTClient

Status

Contains methods to interact with the Status endpoints.

public IStatusRESTClient Status { get; }

Property Value

IStatusRESTClient