-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathRaiPolicyPropertiesResponse.cs
66 lines (57 loc) · 2.1 KB
/
RaiPolicyPropertiesResponse.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// *** WARNING: this file was generated by pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.AzureNative.CognitiveServices.Outputs
{
/// <summary>
/// Azure OpenAI Content Filters properties.
/// </summary>
[OutputType]
public sealed class RaiPolicyPropertiesResponse
{
/// <summary>
/// Name of the base Content Filters.
/// </summary>
public readonly string? BasePolicyName;
/// <summary>
/// The list of blocklists for completion.
/// </summary>
public readonly ImmutableArray<Outputs.RaiBlocklistConfigResponse> CompletionBlocklists;
/// <summary>
/// The list of Content Filters.
/// </summary>
public readonly ImmutableArray<Outputs.RaiPolicyContentFilterResponse> ContentFilters;
/// <summary>
/// Content Filters mode.
/// </summary>
public readonly string? Mode;
/// <summary>
/// Content Filters policy type.
/// </summary>
public readonly string PolicyType;
/// <summary>
/// The list of blocklists for prompt.
/// </summary>
public readonly ImmutableArray<Outputs.RaiBlocklistConfigResponse> PromptBlocklists;
[OutputConstructor]
private RaiPolicyPropertiesResponse(
string? basePolicyName,
ImmutableArray<Outputs.RaiBlocklistConfigResponse> completionBlocklists,
ImmutableArray<Outputs.RaiPolicyContentFilterResponse> contentFilters,
string? mode,
string policyType,
ImmutableArray<Outputs.RaiBlocklistConfigResponse> promptBlocklists)
{
BasePolicyName = basePolicyName;
CompletionBlocklists = completionBlocklists;
ContentFilters = contentFilters;
Mode = mode;
PolicyType = policyType;
PromptBlocklists = promptBlocklists;
}
}
}