PolicySettings 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
PolicySettings() |
Initializes a new instance of the PolicySettings class. |
PolicySettings(String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>) |
Initializes a new instance of the PolicySettings class. |
PolicySettings()
Initializes a new instance of the PolicySettings class.
public PolicySettings ();
Public Sub New ()
Applies to
PolicySettings(String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>)
Initializes a new instance of the PolicySettings class.
public PolicySettings (string state = default, string mode = default, bool? requestBodyCheck = default, int? maxRequestBodySizeInKb = default, int? fileUploadLimitInMb = default);
new Microsoft.Azure.Management.Network.Models.PolicySettings : string * string * Nullable<bool> * Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.Network.Models.PolicySettings
Public Sub New (Optional state As String = Nothing, Optional mode As String = Nothing, Optional requestBodyCheck As Nullable(Of Boolean) = Nothing, Optional maxRequestBodySizeInKb As Nullable(Of Integer) = Nothing, Optional fileUploadLimitInMb As Nullable(Of Integer) = Nothing)
Parameters
- state
- String
The state of the policy. Possible values include: 'Disabled', 'Enabled'
- mode
- String
The mode of the policy. Possible values include: 'Prevention', 'Detection'
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for