RaiTopicsOperations interface

Interface representing a RaiTopics operations.

Properties

beginDelete
beginDeleteAndWait
createOrUpdate

Create the rai topic associated with the Azure OpenAI account.

delete

Deletes the specified custom topic associated with the Azure OpenAI account.

get

Gets the specified custom topic associated with the Azure OpenAI account.

list

Gets the custom topics associated with the Azure OpenAI account.

Property Details

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, accountName: string, raiTopicName: string, options?: RaiTopicsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, accountName: string, raiTopicName: string, options?: RaiTopicsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, accountName: string, raiTopicName: string, options?: RaiTopicsDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, accountName: string, raiTopicName: string, options?: RaiTopicsDeleteOptionalParams) => Promise<void>

createOrUpdate

Create the rai topic associated with the Azure OpenAI account.

createOrUpdate: (resourceGroupName: string, accountName: string, raiTopicName: string, raiTopic: RaiTopic, options?: RaiTopicsCreateOrUpdateOptionalParams) => Promise<RaiTopic>

Property Value

(resourceGroupName: string, accountName: string, raiTopicName: string, raiTopic: RaiTopic, options?: RaiTopicsCreateOrUpdateOptionalParams) => Promise<RaiTopic>

delete

Deletes the specified custom topic associated with the Azure OpenAI account.

delete: (resourceGroupName: string, accountName: string, raiTopicName: string, options?: RaiTopicsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, accountName: string, raiTopicName: string, options?: RaiTopicsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets the specified custom topic associated with the Azure OpenAI account.

get: (resourceGroupName: string, accountName: string, raiTopicName: string, options?: RaiTopicsGetOptionalParams) => Promise<RaiTopic>

Property Value

(resourceGroupName: string, accountName: string, raiTopicName: string, options?: RaiTopicsGetOptionalParams) => Promise<RaiTopic>

list

Gets the custom topics associated with the Azure OpenAI account.

list: (resourceGroupName: string, accountName: string, options?: RaiTopicsListOptionalParams) => PagedAsyncIterableIterator<RaiTopic, RaiTopic[], PageSettings>

Property Value

(resourceGroupName: string, accountName: string, options?: RaiTopicsListOptionalParams) => PagedAsyncIterableIterator<RaiTopic, RaiTopic[], PageSettings>