FieldRestriction 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
FieldRestriction() |
Initializes a new instance of the FieldRestriction class. |
FieldRestriction(String, String, IList<String>, PolicyReference) |
Initializes a new instance of the FieldRestriction class. |
FieldRestriction()
Initializes a new instance of the FieldRestriction class.
public FieldRestriction ();
Public Sub New ()
Applies to
FieldRestriction(String, String, IList<String>, PolicyReference)
Initializes a new instance of the FieldRestriction class.
public FieldRestriction (string result = default, string defaultValue = default, System.Collections.Generic.IList<string> values = default, Microsoft.Azure.Management.PolicyInsights.Models.PolicyReference policy = default);
new Microsoft.Azure.Management.PolicyInsights.Models.FieldRestriction : string * string * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.PolicyInsights.Models.PolicyReference -> Microsoft.Azure.Management.PolicyInsights.Models.FieldRestriction
Public Sub New (Optional result As String = Nothing, Optional defaultValue As String = Nothing, Optional values As IList(Of String) = Nothing, Optional policy As PolicyReference = Nothing)
Parameters
- result
- String
The type of restriction that is imposed on the field. Possible values include: 'Required', 'Removed', 'Deny'
- defaultValue
- String
The value that policy will set for the field if the user does not provide a value.
- policy
- PolicyReference
The details of the policy that is causing the field restriction.