你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FieldRestriction Class

The restrictions on a field imposed by a specific policy.

Variables are only populated by the server, and will be ignored when sending a request.

Constructor

FieldRestriction(**kwargs)

Variables

Name Description
result

The type of restriction that is imposed on the field. Possible values include: "Required", "Removed", "Deny".

default_value
str

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

values

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

policy

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