FieldRestrictions Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FieldRestrictions() |
Initializes a new instance of the FieldRestrictions class. |
FieldRestrictions(String, IList<FieldRestriction>) |
Initializes a new instance of the FieldRestrictions class. |
FieldRestrictions()
Initializes a new instance of the FieldRestrictions class.
public FieldRestrictions ();
Public Sub New ()
Applies to
FieldRestrictions(String, IList<FieldRestriction>)
Initializes a new instance of the FieldRestrictions class.
public FieldRestrictions (string field = default, System.Collections.Generic.IList<Microsoft.Azure.Management.PolicyInsights.Models.FieldRestriction> restrictions = default);
new Microsoft.Azure.Management.PolicyInsights.Models.FieldRestrictions : string * System.Collections.Generic.IList<Microsoft.Azure.Management.PolicyInsights.Models.FieldRestriction> -> Microsoft.Azure.Management.PolicyInsights.Models.FieldRestrictions
Public Sub New (Optional field As String = Nothing, Optional restrictions As IList(Of FieldRestriction) = Nothing)
Parameters
- field
- String
The name of the field. This can be a top-level property like 'name' or 'type' or an Azure Policy field alias.
- restrictions
- IList<FieldRestriction>
The restrictions placed on that field by policy.
Applies to
Azure SDK for .NET