ArmSecurityInsightsModelFactory.CcpResponseConfig Method

Definition

public static Azure.ResourceManager.SecurityInsights.Models.CcpResponseConfig CcpResponseConfig(System.Collections.Generic.IEnumerable<string> eventsJsonPaths = default, string successStatusJsonPath = default, string successStatusValue = default, bool? isGzipCompressed = default, string compressionAlgo = default, string format = default, string csvDelimiter = default, bool? hasCsvBoundary = default, bool? hasCsvHeader = default, bool? isConvertChildPropertiesToArray = default, string csvEscape = default);
static member CcpResponseConfig : seq<string> * string * string * Nullable<bool> * string * string * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * string -> Azure.ResourceManager.SecurityInsights.Models.CcpResponseConfig
Public Shared Function CcpResponseConfig (Optional eventsJsonPaths As IEnumerable(Of String) = Nothing, Optional successStatusJsonPath As String = Nothing, Optional successStatusValue As String = Nothing, Optional isGzipCompressed As Nullable(Of Boolean) = Nothing, Optional compressionAlgo As String = Nothing, Optional format As String = Nothing, Optional csvDelimiter As String = Nothing, Optional hasCsvBoundary As Nullable(Of Boolean) = Nothing, Optional hasCsvHeader As Nullable(Of Boolean) = Nothing, Optional isConvertChildPropertiesToArray As Nullable(Of Boolean) = Nothing, Optional csvEscape As String = Nothing) As CcpResponseConfig

Parameters

eventsJsonPaths
IEnumerable<String>

The json paths, '$' char is the json root.

successStatusJsonPath
String

The value where the status message/code should appear in the response.

successStatusValue
String

The status value.

isGzipCompressed
Nullable<Boolean>

The value indicating whether the remote server support Gzip and we should expect Gzip response.

compressionAlgo
String

The compression algorithm. For Example: 'gzip', 'multi-gzip', 'deflate'.

format
String

The response format. possible values are json,csv,xml.

csvDelimiter
String

The csv delimiter, in case the response format is CSV.

hasCsvBoundary
Nullable<Boolean>

The value indicating whether the response has CSV boundary in case the response in CSV format.

hasCsvHeader
Nullable<Boolean>

The value indicating whether the response has headers in case the response in CSV format.

isConvertChildPropertiesToArray
Nullable<Boolean>

The value indicating whether the response isn't an array of events / logs. By setting this flag to true it means the remote server will response with an object which each property has as a value an array of events / logs.

csvEscape
String

The character used to escape characters in CSV.

Returns

A new CcpResponseConfig instance for mocking.

Applies to