Share via


FieldRestrictions Class

Definition

The restrictions that will be placed on a field in the resource by policy.

public class FieldRestrictions
type FieldRestrictions = class
Public Class FieldRestrictions
Inheritance
FieldRestrictions

Constructors

FieldRestrictions()

Initializes a new instance of the FieldRestrictions class.

FieldRestrictions(String, IList<FieldRestriction>)

Initializes a new instance of the FieldRestrictions class.

Properties

Field

Gets the name of the field. This can be a top-level property like 'name' or 'type' or an Azure Policy field alias.

Restrictions

Gets or sets the restrictions placed on that field by policy.

Applies to