ArmSecurityInsightsModelFactory.RestApiPollerRequestConfig 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.
public static Azure.ResourceManager.SecurityInsights.Models.RestApiPollerRequestConfig RestApiPollerRequestConfig(string apiEndpoint = default, int? rateLimitQPS = default, int? queryWindowInMin = default, Azure.ResourceManager.SecurityInsights.Models.ConnectorHttpMethodVerb? httpMethod = default, string queryTimeFormat = default, int? retryCount = default, int? timeoutInSeconds = default, bool? isPostPayloadJson = default, System.Collections.Generic.IDictionary<string,string> headers = default, System.Collections.Generic.IDictionary<string,BinaryData> queryParameters = default, string queryParametersTemplate = default, string startTimeAttributeName = default, string endTimeAttributeName = default, string queryTimeIntervalAttributeName = default, string queryTimeIntervalPrepend = default, string queryTimeIntervalDelimiter = default);
static member RestApiPollerRequestConfig : string * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.SecurityInsights.Models.ConnectorHttpMethodVerb> * string * Nullable<int> * Nullable<int> * Nullable<bool> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, BinaryData> * string * string * string * string * string * string -> Azure.ResourceManager.SecurityInsights.Models.RestApiPollerRequestConfig
Public Shared Function RestApiPollerRequestConfig (Optional apiEndpoint As String = Nothing, Optional rateLimitQPS As Nullable(Of Integer) = Nothing, Optional queryWindowInMin As Nullable(Of Integer) = Nothing, Optional httpMethod As Nullable(Of ConnectorHttpMethodVerb) = Nothing, Optional queryTimeFormat As String = Nothing, Optional retryCount As Nullable(Of Integer) = Nothing, Optional timeoutInSeconds As Nullable(Of Integer) = Nothing, Optional isPostPayloadJson As Nullable(Of Boolean) = Nothing, Optional headers As IDictionary(Of String, String) = Nothing, Optional queryParameters As IDictionary(Of String, BinaryData) = Nothing, Optional queryParametersTemplate As String = Nothing, Optional startTimeAttributeName As String = Nothing, Optional endTimeAttributeName As String = Nothing, Optional queryTimeIntervalAttributeName As String = Nothing, Optional queryTimeIntervalPrepend As String = Nothing, Optional queryTimeIntervalDelimiter As String = Nothing) As RestApiPollerRequestConfig
Parameters
- apiEndpoint
- String
The API endpoint.
- httpMethod
- Nullable<ConnectorHttpMethodVerb>
The HTTP method, default value GET.
- queryTimeFormat
- String
The query time format. A remote server can have a query to pull data from range 'start' to 'end'. This property indicate what is the expected time format the remote server know to parse.
Flag to indicate if HTTP POST payload is in JSON format (vs form-urlencoded).
- headers
- IDictionary<String,String>
The header for the request for the remote server.
- queryParameters
- IDictionary<String,BinaryData>
The HTTP query parameters to RESTful API.
- queryParametersTemplate
- String
the query parameters template. Defines the query parameters template to use when passing query parameters in advanced scenarios.
- startTimeAttributeName
- String
The query parameter name which the remote server expect to start query. This property goes hand to hand with endTimeAttributeName.
- endTimeAttributeName
- String
The query parameter name which the remote server expect to end query. This property goes hand to hand with startTimeAttributeName.
- queryTimeIntervalAttributeName
- String
The query parameter name which we need to send the server for query logs in time interval. Should be defined with queryTimeIntervalPrepend and queryTimeIntervalDelimiter.
- queryTimeIntervalPrepend
- String
The string prepend to the value of the query parameter in queryTimeIntervalAttributeName.
- queryTimeIntervalDelimiter
- String
The delimiter string between 2 QueryTimeFormat in the query parameter queryTimeIntervalAttributeName.
Returns
A new RestApiPollerRequestConfig instance for mocking.