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.

policy

The details of the policy that is causing the field restriction.

policyEffect

The effect of the policy that is causing the field restriction. http://aka.ms/policyeffects

reason

The reason for the restriction.

result

The type of restriction that is imposed on the field.

values

The values that policy either requires or denies for the field.

Property Details

defaultValue

The value that policy will set for the field if the user does not provide a value.

defaultValue?: string

Property Value

string

policy

The details of the policy that is causing the field restriction.

policy?: PolicyReference

Property Value

policyEffect

The effect of the policy that is causing the field restriction. http://aka.ms/policyeffects

policyEffect?: string

Property Value

string

reason

The reason for the restriction.

reason?: string

Property Value

string

result

The type of restriction that is imposed on the field.

result?: string

Property Value

string

values

The values that policy either requires or denies for the field.

values?: string[]

Property Value

string[]