ArmSecurityInsightsModelFactory.SourceControlOperationWarningBody Method

Definition

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

code
Nullable<SourceControlOperationWarningCode>

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