FieldRestriction interface

The restrictions on a field imposed by a specific policy.

Properties

defaultValue

The value that policy will set for the field if the user does not provide a value. NOTE: This property will not be serialized. It can only be populated by the server.

policy

The details of the policy that is causing the field restriction. NOTE: This property will not be serialized. It can only be populated by the server.

result

The type of restriction that is imposed on the field. NOTE: This property will not be serialized. It can only be populated by the server.

values

The values that policy either requires or denies for the field. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

defaultValue

The value that policy will set for the field if the user does not provide a value. NOTE: This property will not be serialized. It can only be populated by the server.

defaultValue?: string

Property Value

string

policy

The details of the policy that is causing the field restriction. NOTE: This property will not be serialized. It can only be populated by the server.

policy?: PolicyReference

Property Value

result

The type of restriction that is imposed on the field. NOTE: This property will not be serialized. It can only be populated by the server.

result?: string

Property Value

string

values

The values that policy either requires or denies for the field. NOTE: This property will not be serialized. It can only be populated by the server.

values?: string[]

Property Value

string[]