@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 6.65 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Represents Rest Api Poller data connector.
*
* Uses Azure REST API version 2024-09-01. In version 2.x of the Azure Native provider, it used API version 2023-02-01.
*/
export declare class RestApiPollerDataConnector extends pulumi.CustomResource {
/**
* Get an existing RestApiPollerDataConnector resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): RestApiPollerDataConnector;
/**
* Returns true if the given object is an instance of RestApiPollerDataConnector. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is RestApiPollerDataConnector;
/**
* The add on attributes. The key name will become attribute name (a column) and the value will become the attribute value in the payload.
*/
readonly addOnAttributes: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* The a authentication model.
*/
readonly auth: pulumi.Output<outputs.securityinsights.AWSAuthModelResponse | outputs.securityinsights.ApiKeyAuthModelResponse | outputs.securityinsights.BasicAuthModelResponse | outputs.securityinsights.GCPAuthModelResponse | outputs.securityinsights.GenericBlobSbsAuthModelResponse | outputs.securityinsights.GitHubAuthModelResponse | outputs.securityinsights.JwtAuthModelResponse | outputs.securityinsights.NoneAuthModelResponse | outputs.securityinsights.OAuthModelResponse | outputs.securityinsights.OracleAuthModelResponse | outputs.securityinsights.SessionAuthModelResponse>;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* The connector definition name (the dataConnectorDefinition resource id).
*/
readonly connectorDefinitionName: pulumi.Output<string>;
/**
* The Log Analytics table destination.
*/
readonly dataType: pulumi.Output<string | undefined>;
/**
* The DCR related properties.
*/
readonly dcrConfig: pulumi.Output<outputs.securityinsights.DCRConfigurationResponse | undefined>;
/**
* Etag of the azure resource
*/
readonly etag: pulumi.Output<string | undefined>;
/**
* Indicates whether the connector is active or not.
*/
readonly isActive: pulumi.Output<boolean | undefined>;
/**
* The kind of the data connector
* Expected value is 'RestApiPoller'.
*/
readonly kind: pulumi.Output<"RestApiPoller">;
/**
* The name of the resource
*/
readonly name: pulumi.Output<string>;
/**
* The paging configuration.
*/
readonly paging: pulumi.Output<outputs.securityinsights.RestApiPollerRequestPagingConfigResponse | undefined>;
/**
* The request configuration.
*/
readonly request: pulumi.Output<outputs.securityinsights.RestApiPollerRequestConfigResponse>;
/**
* The response configuration.
*/
readonly response: pulumi.Output<outputs.securityinsights.CcpResponseConfigResponse | undefined>;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: pulumi.Output<outputs.securityinsights.SystemDataResponse>;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: pulumi.Output<string>;
/**
* Create a RestApiPollerDataConnector resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: RestApiPollerDataConnectorArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a RestApiPollerDataConnector resource.
*/
export interface RestApiPollerDataConnectorArgs {
/**
* The add on attributes. The key name will become attribute name (a column) and the value will become the attribute value in the payload.
*/
addOnAttributes?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* The a authentication model.
*/
auth: pulumi.Input<inputs.securityinsights.AWSAuthModelArgs | inputs.securityinsights.ApiKeyAuthModelArgs | inputs.securityinsights.BasicAuthModelArgs | inputs.securityinsights.GCPAuthModelArgs | inputs.securityinsights.GenericBlobSbsAuthModelArgs | inputs.securityinsights.GitHubAuthModelArgs | inputs.securityinsights.JwtAuthModelArgs | inputs.securityinsights.NoneAuthModelArgs | inputs.securityinsights.OAuthModelArgs | inputs.securityinsights.OracleAuthModelArgs | inputs.securityinsights.SessionAuthModelArgs>;
/**
* The connector definition name (the dataConnectorDefinition resource id).
*/
connectorDefinitionName: pulumi.Input<string>;
/**
* Connector ID
*/
dataConnectorId?: pulumi.Input<string>;
/**
* The Log Analytics table destination.
*/
dataType?: pulumi.Input<string>;
/**
* The DCR related properties.
*/
dcrConfig?: pulumi.Input<inputs.securityinsights.DCRConfigurationArgs>;
/**
* Indicates whether the connector is active or not.
*/
isActive?: pulumi.Input<boolean>;
/**
* The kind of the data connector
* Expected value is 'RestApiPoller'.
*/
kind: pulumi.Input<"RestApiPoller">;
/**
* The paging configuration.
*/
paging?: pulumi.Input<inputs.securityinsights.RestApiPollerRequestPagingConfigArgs>;
/**
* The request configuration.
*/
request: pulumi.Input<inputs.securityinsights.RestApiPollerRequestConfigArgs>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The response configuration.
*/
response?: pulumi.Input<inputs.securityinsights.CcpResponseConfigArgs>;
/**
* The name of the workspace.
*/
workspaceName: pulumi.Input<string>;
}