Show / Hide Table of Contents

Class NamedCredentialFieldDefinition

A named credential field metadata definition

Inheritance
object
NamedCredentialFieldDefinition
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ManagementagentService.Models
Assembly: OCI.DotNetSDK.Managementagent.dll
Syntax
public class NamedCredentialFieldDefinition

Properties

AllowedValues

Declaration
[JsonProperty(PropertyName = "allowedValues")]
public List<string> AllowedValues { get; set; }
Property Value
Type Description
List<string>

List of values which can be applied to the value when valueCategory is ALLOWED_VALUES

DefaultValue

Declaration
[JsonProperty(PropertyName = "defaultValue")]
public string DefaultValue { get; set; }
Property Value
Type Description
string

The default value which will be used if no value is set. If defaultValue is empty, then no default will be set.

DisplayName

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

The field display name

Remarks

Required

IsRequired

Declaration
[JsonProperty(PropertyName = "isRequired")]
public bool? IsRequired { get; set; }
Property Value
Type Description
bool?

Set to true if the field must be defined

Name

Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

The field name

Remarks

Required

Regex

Declaration
[JsonProperty(PropertyName = "regex")]
public string Regex { get; set; }
Property Value
Type Description
string

Optional regular expression definition which will be applied to the value when valueCategory is CLEAR_TEXT

ValueCategory

Declaration
[Required(ErrorMessage = "ValueCategory is required.")]
[JsonProperty(PropertyName = "valueCategory", ItemConverterType = typeof(ResponseEnumConverter))]
public List<ValueCategoryType> ValueCategory { get; set; }
Property Value
Type Description
List<ValueCategoryType>

List of value categories of field allowed for this property

Remarks

Required

In this article
Back to top