import * as pulumi from "@pulumi/pulumi"; /** * Manages an Iot Data Connector. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-rg", * location: "West Europe", * }); * const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("example", { * name: "example-workspace", * location: example.location, * resourceGroupName: example.name, * sku: "PerGB2018", * }); * const exampleLogAnalyticsWorkspaceOnboarding = new azure.sentinel.LogAnalyticsWorkspaceOnboarding("example", {workspaceId: exampleAnalyticsWorkspace.id}); * const exampleDataConnectorIot = new azure.sentinel.DataConnectorIot("example", { * name: "example", * logAnalyticsWorkspaceId: exampleLogAnalyticsWorkspaceOnboarding.workspaceId, * }); * ``` * * ## Import * * Iot Data Connectors can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:sentinel/dataConnectorIot:DataConnectorIot example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.OperationalInsights/workspaces/workspace1/providers/Microsoft.SecurityInsights/dataConnectors/dc1 * ``` */ export declare class DataConnectorIot extends pulumi.CustomResource { /** * Get an existing DataConnectorIot 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DataConnectorIotState, opts?: pulumi.CustomResourceOptions): DataConnectorIot; /** * Returns true if the given object is an instance of DataConnectorIot. 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 DataConnectorIot; /** * The ID of the Log Analytics Workspace that this Iot Data Connector resides in. Changing this forces a new Iot Data Connector to be created. */ readonly logAnalyticsWorkspaceId: pulumi.Output; /** * The name which should be used for this Iot Data Connector. Changing this forces a new Iot Data Connector to be created. */ readonly name: pulumi.Output; /** * The ID of the subscription that this Iot Data Connector connects to. Changing this forces a new Iot Data Connector to be created. */ readonly subscriptionId: pulumi.Output; /** * Create a DataConnectorIot 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: DataConnectorIotArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DataConnectorIot resources. */ export interface DataConnectorIotState { /** * The ID of the Log Analytics Workspace that this Iot Data Connector resides in. Changing this forces a new Iot Data Connector to be created. */ logAnalyticsWorkspaceId?: pulumi.Input; /** * The name which should be used for this Iot Data Connector. Changing this forces a new Iot Data Connector to be created. */ name?: pulumi.Input; /** * The ID of the subscription that this Iot Data Connector connects to. Changing this forces a new Iot Data Connector to be created. */ subscriptionId?: pulumi.Input; } /** * The set of arguments for constructing a DataConnectorIot resource. */ export interface DataConnectorIotArgs { /** * The ID of the Log Analytics Workspace that this Iot Data Connector resides in. Changing this forces a new Iot Data Connector to be created. */ logAnalyticsWorkspaceId: pulumi.Input; /** * The name which should be used for this Iot Data Connector. Changing this forces a new Iot Data Connector to be created. */ name?: pulumi.Input; /** * The ID of the subscription that this Iot Data Connector connects to. Changing this forces a new Iot Data Connector to be created. */ subscriptionId?: pulumi.Input; }