共用方式為


ArmCognitiveServicesModelFactory.DefenderForAISettingData Method

Definition

Initializes a new instance of DefenderForAISettingData.

public static Azure.ResourceManager.CognitiveServices.DefenderForAISettingData DefenderForAISettingData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ETag? etag = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.CognitiveServices.Models.DefenderForAISettingState? state = default);
static member DefenderForAISettingData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ETag> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ResourceManager.CognitiveServices.Models.DefenderForAISettingState> -> Azure.ResourceManager.CognitiveServices.DefenderForAISettingData
Public Shared Function DefenderForAISettingData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional state As Nullable(Of DefenderForAISettingState) = Nothing) As DefenderForAISettingData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

etag
Nullable<ETag>

Resource Etag.

tags
IDictionary<String,String>

Resource tags.

state
Nullable<DefenderForAISettingState>

Defender for AI state on the AI resource.

Returns

A new DefenderForAISettingData instance for mocking.

Applies to