ArmSelfHelpModelFactory.ResponseValidationProperties Method
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.
Initializes a new instance of ResponseValidationProperties.
public static Azure.ResourceManager.SelfHelp.Models.ResponseValidationProperties ResponseValidationProperties(string regex = default, Azure.ResourceManager.SelfHelp.Models.TroubleshooterValidationScope? validationScope = default, bool? isRequired = default, string validationErrorMessage = default, long? maxLength = default);
static member ResponseValidationProperties : string * Nullable<Azure.ResourceManager.SelfHelp.Models.TroubleshooterValidationScope> * Nullable<bool> * string * Nullable<int64> -> Azure.ResourceManager.SelfHelp.Models.ResponseValidationProperties
Public Shared Function ResponseValidationProperties (Optional regex As String = Nothing, Optional validationScope As Nullable(Of TroubleshooterValidationScope) = Nothing, Optional isRequired As Nullable(Of Boolean) = Nothing, Optional validationErrorMessage As String = Nothing, Optional maxLength As Nullable(Of Long) = Nothing) As ResponseValidationProperties
Parameters
- regex
- String
Regex used for the input validation.
- validationScope
- Nullable<TroubleshooterValidationScope>
Validation scope.
- validationErrorMessage
- String
Validation Error Message.
Returns
A new ResponseValidationProperties instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET