共用方式為


ArmCognitiveServicesModelFactory.RaiPolicyData Method

Definition

Initializes a new instance of RaiPolicyData.

public static Azure.ResourceManager.CognitiveServices.RaiPolicyData RaiPolicyData (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.RaiPolicyProperties properties = default);
static member RaiPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ETag> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.CognitiveServices.Models.RaiPolicyProperties -> Azure.ResourceManager.CognitiveServices.RaiPolicyData
Public Shared Function RaiPolicyData (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 properties As RaiPolicyProperties = Nothing) As RaiPolicyData

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.

properties
RaiPolicyProperties

Properties of Cognitive Services RaiPolicy.

Returns

A new RaiPolicyData instance for mocking.

Applies to