import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an iot security solution. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleIoTHub = new azure.iot.IoTHub("example", { * name: "example-IoTHub", * resourceGroupName: example.name, * location: example.location, * sku: { * name: "S1", * capacity: 1, * }, * }); * const exampleSecuritySolution = new azure.iot.SecuritySolution("example", { * name: "example-Iot-Security-Solution", * resourceGroupName: example.name, * location: example.location, * displayName: "Iot Security Solution", * iothubIds: [exampleIoTHub.id], * }); * ``` * * ## Import * * Iot Security Solution can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:iot/securitySolution:SecuritySolution example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Security/iotSecuritySolutions/solution1 * ``` */ export declare class SecuritySolution extends pulumi.CustomResource { /** * Get an existing SecuritySolution 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?: SecuritySolutionState, opts?: pulumi.CustomResourceOptions): SecuritySolution; /** * Returns true if the given object is an instance of SecuritySolution. 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 SecuritySolution; /** * A `additionalWorkspace` block as defined below. */ readonly additionalWorkspaces: pulumi.Output; /** * A list of disabled data sources for the Iot Security Solution. Possible value is `TwinData`. */ readonly disabledDataSources: pulumi.Output; /** * Specifies the Display Name for this Iot Security Solution. */ readonly displayName: pulumi.Output; /** * Is the Iot Security Solution enabled? Defaults to `true`. */ readonly enabled: pulumi.Output; /** * A list of data which is to exported to analytic workspace. Valid values include `RawEvents`. */ readonly eventsToExports: pulumi.Output; /** * Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied. */ readonly iothubIds: pulumi.Output; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * Specifies the Log Analytics Workspace ID to which the security data will be sent. */ readonly logAnalyticsWorkspaceId: pulumi.Output; /** * Should IP addressed be unmasked in the log? Defaults to `false`. */ readonly logUnmaskedIpsEnabled: pulumi.Output; /** * Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * An Azure Resource Graph query used to set the resources monitored. */ readonly queryForResources: pulumi.Output; /** * A list of subscription Ids on which the user defined resources query should be executed. */ readonly querySubscriptionIds: pulumi.Output; /** * A `recommendationsEnabled` block of options to enable or disable as defined below. */ readonly recommendationsEnabled: pulumi.Output; /** * Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * A mapping of tags to assign to the resource. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a SecuritySolution 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: SecuritySolutionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SecuritySolution resources. */ export interface SecuritySolutionState { /** * A `additionalWorkspace` block as defined below. */ additionalWorkspaces?: pulumi.Input[]>; /** * A list of disabled data sources for the Iot Security Solution. Possible value is `TwinData`. */ disabledDataSources?: pulumi.Input[]>; /** * Specifies the Display Name for this Iot Security Solution. */ displayName?: pulumi.Input; /** * Is the Iot Security Solution enabled? Defaults to `true`. */ enabled?: pulumi.Input; /** * A list of data which is to exported to analytic workspace. Valid values include `RawEvents`. */ eventsToExports?: pulumi.Input[]>; /** * Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied. */ iothubIds?: pulumi.Input[]>; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Specifies the Log Analytics Workspace ID to which the security data will be sent. */ logAnalyticsWorkspaceId?: pulumi.Input; /** * Should IP addressed be unmasked in the log? Defaults to `false`. */ logUnmaskedIpsEnabled?: pulumi.Input; /** * Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * An Azure Resource Graph query used to set the resources monitored. */ queryForResources?: pulumi.Input; /** * A list of subscription Ids on which the user defined resources query should be executed. */ querySubscriptionIds?: pulumi.Input[]>; /** * A `recommendationsEnabled` block of options to enable or disable as defined below. */ recommendationsEnabled?: pulumi.Input; /** * Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a SecuritySolution resource. */ export interface SecuritySolutionArgs { /** * A `additionalWorkspace` block as defined below. */ additionalWorkspaces?: pulumi.Input[]>; /** * A list of disabled data sources for the Iot Security Solution. Possible value is `TwinData`. */ disabledDataSources?: pulumi.Input[]>; /** * Specifies the Display Name for this Iot Security Solution. */ displayName: pulumi.Input; /** * Is the Iot Security Solution enabled? Defaults to `true`. */ enabled?: pulumi.Input; /** * A list of data which is to exported to analytic workspace. Valid values include `RawEvents`. */ eventsToExports?: pulumi.Input[]>; /** * Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied. */ iothubIds: pulumi.Input[]>; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Specifies the Log Analytics Workspace ID to which the security data will be sent. */ logAnalyticsWorkspaceId?: pulumi.Input; /** * Should IP addressed be unmasked in the log? Defaults to `false`. */ logUnmaskedIpsEnabled?: pulumi.Input; /** * Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * An Azure Resource Graph query used to set the resources monitored. */ queryForResources?: pulumi.Input; /** * A list of subscription Ids on which the user defined resources query should be executed. */ querySubscriptionIds?: pulumi.Input[]>; /** * A `recommendationsEnabled` block of options to enable or disable as defined below. */ recommendationsEnabled?: pulumi.Input; /** * Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }