ConnectionRaiBlocklistOperations interface

Interface representing a ConnectionRaiBlocklist operations.

Properties

beginCreate
beginCreateAndWait
beginDelete
beginDeleteAndWait
create

Update the state of specified blocklist associated with the Azure OpenAI connection.

delete

Deletes the specified custom blocklist associated with the Azure OpenAI connection.

get

Gets the specified custom blocklist associated with the Azure OpenAI connection.

Property Details

beginCreate

Warning

This API is now deprecated.

use create instead

beginCreate: (resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, body: RaiBlocklistPropertiesBasicResource, options?: ConnectionRaiBlocklistCreateOptionalParams) => Promise<SimplePollerLike<OperationState<RaiBlocklistPropertiesBasicResource>, RaiBlocklistPropertiesBasicResource>>

Property Value

(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, body: RaiBlocklistPropertiesBasicResource, options?: ConnectionRaiBlocklistCreateOptionalParams) => Promise<SimplePollerLike<OperationState<RaiBlocklistPropertiesBasicResource>, RaiBlocklistPropertiesBasicResource>>

beginCreateAndWait

Warning

This API is now deprecated.

use create instead

beginCreateAndWait: (resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, body: RaiBlocklistPropertiesBasicResource, options?: ConnectionRaiBlocklistCreateOptionalParams) => Promise<RaiBlocklistPropertiesBasicResource>

Property Value

(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, body: RaiBlocklistPropertiesBasicResource, options?: ConnectionRaiBlocklistCreateOptionalParams) => Promise<RaiBlocklistPropertiesBasicResource>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, options?: ConnectionRaiBlocklistDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, options?: ConnectionRaiBlocklistDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, options?: ConnectionRaiBlocklistDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, options?: ConnectionRaiBlocklistDeleteOptionalParams) => Promise<void>

create

Update the state of specified blocklist associated with the Azure OpenAI connection.

create: (resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, body: RaiBlocklistPropertiesBasicResource, options?: ConnectionRaiBlocklistCreateOptionalParams) => PollerLike<OperationState<RaiBlocklistPropertiesBasicResource>, RaiBlocklistPropertiesBasicResource>

Property Value

(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, body: RaiBlocklistPropertiesBasicResource, options?: ConnectionRaiBlocklistCreateOptionalParams) => PollerLike<OperationState<RaiBlocklistPropertiesBasicResource>, RaiBlocklistPropertiesBasicResource>

delete

Deletes the specified custom blocklist associated with the Azure OpenAI connection.

delete: (resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, options?: ConnectionRaiBlocklistDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, options?: ConnectionRaiBlocklistDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets the specified custom blocklist associated with the Azure OpenAI connection.

get: (resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, options?: ConnectionRaiBlocklistGetOptionalParams) => Promise<RaiBlocklistPropertiesBasicResource>

Property Value

(resourceGroupName: string, workspaceName: string, connectionName: string, raiBlocklistName: string, options?: ConnectionRaiBlocklistGetOptionalParams) => Promise<RaiBlocklistPropertiesBasicResource>