DefenderForAISettings interface

Interface representing a DefenderForAISettings.

Methods

createOrUpdate(string, string, string, DefenderForAISetting, DefenderForAISettingsCreateOrUpdateOptionalParams)

Creates or Updates the specified Defender for AI setting.

get(string, string, string, DefenderForAISettingsGetOptionalParams)

Gets the specified Defender for AI setting by name.

list(string, string, DefenderForAISettingsListOptionalParams)

Lists the Defender for AI settings.

update(string, string, string, DefenderForAISetting, DefenderForAISettingsUpdateOptionalParams)

Updates the specified Defender for AI setting.

Method Details

createOrUpdate(string, string, string, DefenderForAISetting, DefenderForAISettingsCreateOrUpdateOptionalParams)

Creates or Updates the specified Defender for AI setting.

function createOrUpdate(resourceGroupName: string, accountName: string, defenderForAISettingName: string, defenderForAISettings: DefenderForAISetting, options?: DefenderForAISettingsCreateOrUpdateOptionalParams): Promise<DefenderForAISetting>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The name of Cognitive Services account.

defenderForAISettingName

string

The name of the defender for AI setting.

defenderForAISettings
DefenderForAISetting

Properties describing the Defender for AI setting.

options
DefenderForAISettingsCreateOrUpdateOptionalParams

The options parameters.

Returns

get(string, string, string, DefenderForAISettingsGetOptionalParams)

Gets the specified Defender for AI setting by name.

function get(resourceGroupName: string, accountName: string, defenderForAISettingName: string, options?: DefenderForAISettingsGetOptionalParams): Promise<DefenderForAISetting>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The name of Cognitive Services account.

defenderForAISettingName

string

The name of the defender for AI setting.

options
DefenderForAISettingsGetOptionalParams

The options parameters.

Returns

list(string, string, DefenderForAISettingsListOptionalParams)

Lists the Defender for AI settings.

function list(resourceGroupName: string, accountName: string, options?: DefenderForAISettingsListOptionalParams): PagedAsyncIterableIterator<DefenderForAISetting, DefenderForAISetting[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The name of Cognitive Services account.

options
DefenderForAISettingsListOptionalParams

The options parameters.

Returns

update(string, string, string, DefenderForAISetting, DefenderForAISettingsUpdateOptionalParams)

Updates the specified Defender for AI setting.

function update(resourceGroupName: string, accountName: string, defenderForAISettingName: string, defenderForAISettings: DefenderForAISetting, options?: DefenderForAISettingsUpdateOptionalParams): Promise<DefenderForAISetting>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The name of Cognitive Services account.

defenderForAISettingName

string

The name of the defender for AI setting.

defenderForAISettings
DefenderForAISetting

Properties describing the Defender for AI setting.

options
DefenderForAISettingsUpdateOptionalParams

The options parameters.

Returns