ArmSecurityInsightsModelFactory.RestApiPollerDataConnector 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 RestApiPollerDataConnector.
public static Azure.ResourceManager.SecurityInsights.Models.RestApiPollerDataConnector RestApiPollerDataConnector (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ETag? etag = default, string connectorDefinitionName = default, Azure.ResourceManager.SecurityInsights.Models.CcpAuthConfig auth = default, Azure.ResourceManager.SecurityInsights.Models.RestApiPollerRequestConfig request = default, Azure.ResourceManager.SecurityInsights.Models.DcrConfiguration dcrConfig = default, bool? isActive = default, string dataType = default, Azure.ResourceManager.SecurityInsights.Models.CcpResponseConfig response = default, Azure.ResourceManager.SecurityInsights.Models.RestApiPollerRequestPagingConfig paging = default, System.Collections.Generic.IDictionary<string,string> addOnAttributes = default);
static member RestApiPollerDataConnector : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ETag> * string * Azure.ResourceManager.SecurityInsights.Models.CcpAuthConfig * Azure.ResourceManager.SecurityInsights.Models.RestApiPollerRequestConfig * Azure.ResourceManager.SecurityInsights.Models.DcrConfiguration * Nullable<bool> * string * Azure.ResourceManager.SecurityInsights.Models.CcpResponseConfig * Azure.ResourceManager.SecurityInsights.Models.RestApiPollerRequestPagingConfig * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.SecurityInsights.Models.RestApiPollerDataConnector
Public Shared Function RestApiPollerDataConnector (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional connectorDefinitionName As String = Nothing, Optional auth As CcpAuthConfig = Nothing, Optional request As RestApiPollerRequestConfig = Nothing, Optional dcrConfig As DcrConfiguration = Nothing, Optional isActive As Nullable(Of Boolean) = Nothing, Optional dataType As String = Nothing, Optional response As CcpResponseConfig = Nothing, Optional paging As RestApiPollerRequestPagingConfig = Nothing, Optional addOnAttributes As IDictionary(Of String, String) = Nothing) As RestApiPollerDataConnector
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- connectorDefinitionName
- String
The connector definition name (the dataConnectorDefinition resource id).
- auth
- CcpAuthConfig
The a authentication model. Please note CcpAuthConfig is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include SecurityInsightsApiKeyAuthModel, AwsAuthModel, BasicAuthModel, GcpAuthModel, GitHubAuthModel, JwtAuthModel, NoneAuthModel, OAuthModel, OracleAuthModel, GenericBlobSbsAuthModel and SessionAuthModel.
- request
- RestApiPollerRequestConfig
The request configuration.
- dcrConfig
- DcrConfiguration
The DCR related properties.
- dataType
- String
The Log Analytics table destination.
- response
- CcpResponseConfig
The response configuration.
The paging configuration.
- addOnAttributes
- IDictionary<String,String>
The add on attributes. The key name will become attribute name (a column) and the value will become the attribute value in the payload.
Returns
A new RestApiPollerDataConnector instance for mocking.
Applies to
Azure SDK for .NET