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
stringThe Azure resource identifier of the Azure Event Grid namespace.
topicName
stringThe name of the topic for which the subscription should be created.
topicSubscriptionName
stringThe 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
CancellationTokenThe CancellationToken signaling the request to cancel the operation.
Returns
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
stringThe Azure resource identifier of the Azure Event Grid namespace.
topicName
stringThe name of the topic for which the subscription should be deleted.
topicSubscriptionName
stringThe name of the subscription to be deleted.
cancellationToken
CancellationTokenThe CancellationToken signaling the request to cancel the operation.
Returns
GetOpenAIAccountProperties(string)
Retrieves the properties of an Azure OpenAI account.
Task<AzureOpenAIAccount> GetOpenAIAccountProperties(string openAIAccountResourceId)
Parameters
openAIAccountResourceId
stringThe Azure resource identifier of the Azure OpenAI account.
Returns
- Task<AzureOpenAIAccount>
An AzureOpenAIAccount object with the properties of the account, including model deployments.