-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ApiManagementNamedValueCreateOrUpdateContent.cs
53 lines (47 loc) · 3.16 KB
/
ApiManagementNamedValueCreateOrUpdateContent.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.ApiManagement.Models
{
/// <summary> NamedValue details. </summary>
public partial class ApiManagementNamedValueCreateOrUpdateContent : ResourceData
{
/// <summary> Initializes a new instance of ApiManagementNamedValueCreateOrUpdateContent. </summary>
public ApiManagementNamedValueCreateOrUpdateContent()
{
Tags = new ChangeTrackingList<string>();
}
/// <summary> Initializes a new instance of ApiManagementNamedValueCreateOrUpdateContent. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="tags"> Optional tags that when provided can be used to filter the NamedValue list. </param>
/// <param name="isSecret"> Determines whether the value is a secret and should be encrypted or not. Default value is false. </param>
/// <param name="displayName"> Unique name of NamedValue. It may contain only letters, digits, period, dash, and underscore characters. </param>
/// <param name="value"> Value of the NamedValue. Can contain policy expressions. It may not be empty or consist only of whitespace. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value. </param>
/// <param name="keyVault"> KeyVault location details of the namedValue. </param>
internal ApiManagementNamedValueCreateOrUpdateContent(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IList<string> tags, bool? isSecret, string displayName, string value, KeyVaultContractCreateProperties keyVault) : base(id, name, resourceType, systemData)
{
Tags = tags;
IsSecret = isSecret;
DisplayName = displayName;
Value = value;
KeyVault = keyVault;
}
/// <summary> Optional tags that when provided can be used to filter the NamedValue list. </summary>
public IList<string> Tags { get; }
/// <summary> Determines whether the value is a secret and should be encrypted or not. Default value is false. </summary>
public bool? IsSecret { get; set; }
/// <summary> Unique name of NamedValue. It may contain only letters, digits, period, dash, and underscore characters. </summary>
public string DisplayName { get; set; }
/// <summary> Value of the NamedValue. Can contain policy expressions. It may not be empty or consist only of whitespace. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value. </summary>
public string Value { get; set; }
/// <summary> KeyVault location details of the namedValue. </summary>
public KeyVaultContractCreateProperties KeyVault { get; set; }
}
}