ArmSecurityInsightsModelFactory.SourceControlOperationWarningBody 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 SourceControlOperationWarningBody.
public static Azure.ResourceManager.SecurityInsights.Models.SourceControlOperationWarningBody SourceControlOperationWarningBody (Azure.ResourceManager.SecurityInsights.Models.SourceControlOperationWarningCode? code = default, string message = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityInsights.Models.SourceControlOperationWarningBody> details = default);
static member SourceControlOperationWarningBody : Nullable<Azure.ResourceManager.SecurityInsights.Models.SourceControlOperationWarningCode> * string * seq<Azure.ResourceManager.SecurityInsights.Models.SourceControlOperationWarningBody> -> Azure.ResourceManager.SecurityInsights.Models.SourceControlOperationWarningBody
Public Shared Function SourceControlOperationWarningBody (Optional code As Nullable(Of SourceControlOperationWarningCode) = Nothing, Optional message As String = Nothing, Optional details As IEnumerable(Of SourceControlOperationWarningBody) = Nothing) As SourceControlOperationWarningBody
Parameters
An identifier for the warning. Codes are invariant and are intended to be consumed programmatically.
- message
- String
A message describing the warning, intended to be suitable for display in a user interface.
Returns
A new SourceControlOperationWarningBody 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