ArmDevTestLabsModelFactory.DevTestLabPolicyViolation(String, String) 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 DevTestLabPolicyViolation.
public static Azure.ResourceManager.DevTestLabs.Models.DevTestLabPolicyViolation DevTestLabPolicyViolation (string code = default, string message = default);
static member DevTestLabPolicyViolation : string * string -> Azure.ResourceManager.DevTestLabs.Models.DevTestLabPolicyViolation
Public Shared Function DevTestLabPolicyViolation (Optional code As String = Nothing, Optional message As String = Nothing) As DevTestLabPolicyViolation
Parameters
- code
- String
The code of the policy violation.
- message
- String
The message of the policy violation.
Returns
A new DevTestLabPolicyViolation instance for mocking.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET