DefenderForAISettings interface
Interface representing a DefenderForAISettings.
Methods
create |
Creates or Updates the specified Defender for AI setting. |
get(string, string, string, Defender |
Gets the specified Defender for AI setting by name. |
list(string, string, Defender |
Lists the Defender for AI settings. |
update(string, string, string, Defender |
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.
The options parameters.
Returns
Promise<DefenderForAISetting>
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.
The options parameters.
Returns
Promise<DefenderForAISetting>
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.
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.
The options parameters.
Returns
Promise<DefenderForAISetting>