Table of Contents

Interface IAzureResourceManagerService

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

Provides services to interact with the Azure Resource Manager (ARM) infrastructure.

public interface IAzureResourceManagerService
Extension Methods

Methods

CreateEventGridNamespaceTopicSubscription(string, string, string, List<string>, CancellationToken)

Creates a new Azure Event Grid namespace topic subscription.

Task<bool> CreateEventGridNamespaceTopicSubscription(string namespaceResourceId, string topicName, string topicSubscriptionName, List<string> includedEventTypes, CancellationToken cancellationToken)

Parameters

namespaceResourceId string

The Azure resource identifier of the Azure Event Grid namespace.

topicName string

The name of the topic for which the subscription should be created.

topicSubscriptionName string

The name of the subscription to be created.

includedEventTypes List<string>

The list of event types to include in the subscription as part of the filters configuration.

cancellationToken CancellationToken

The CancellationToken signaling the request to cancel the operation.

Returns

Task<bool>

True if the subscription was successfully created, false otherwise.

DeleteEventGridNamespaceTopicSubscription(string, string, string, CancellationToken)

Deletes an Azure Event Grid namespace topic subscription.

Task DeleteEventGridNamespaceTopicSubscription(string namespaceResourceId, string topicName, string topicSubscriptionName, CancellationToken cancellationToken)

Parameters

namespaceResourceId string

The Azure resource identifier of the Azure Event Grid namespace.

topicName string

The name of the topic for which the subscription should be deleted.

topicSubscriptionName string

The name of the subscription to be deleted.

cancellationToken CancellationToken

The CancellationToken signaling the request to cancel the operation.

Returns

Task

GetOpenAIAccountProperties(string)

Retrieves the properties of an Azure OpenAI account.

Task<AzureOpenAIAccount> GetOpenAIAccountProperties(string openAIAccountResourceId)

Parameters

openAIAccountResourceId string

The Azure resource identifier of the Azure OpenAI account.

Returns

Task<AzureOpenAIAccount>

An AzureOpenAIAccount object with the properties of the account, including model deployments.