We recommend using Azure Native.
azure.iot.SecuritySolution
Explore with Pulumi AI
Manages an iot security solution.
Example Usage
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 pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example-resources",
location="West Europe")
example_io_t_hub = azure.iot.IoTHub("example",
name="example-IoTHub",
resource_group_name=example.name,
location=example.location,
sku={
"name": "S1",
"capacity": 1,
})
example_security_solution = azure.iot.SecuritySolution("example",
name="example-Iot-Security-Solution",
resource_group_name=example.name,
location=example.location,
display_name="Iot Security Solution",
iothub_ids=[example_io_t_hub.id])
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/iot"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example-resources"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleIoTHub, err := iot.NewIoTHub(ctx, "example", &iot.IoTHubArgs{
Name: pulumi.String("example-IoTHub"),
ResourceGroupName: example.Name,
Location: example.Location,
Sku: &iot.IoTHubSkuArgs{
Name: pulumi.String("S1"),
Capacity: pulumi.Int(1),
},
})
if err != nil {
return err
}
_, err = iot.NewSecuritySolution(ctx, "example", &iot.SecuritySolutionArgs{
Name: pulumi.String("example-Iot-Security-Solution"),
ResourceGroupName: example.Name,
Location: example.Location,
DisplayName: pulumi.String("Iot Security Solution"),
IothubIds: pulumi.StringArray{
exampleIoTHub.ID(),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-resources",
Location = "West Europe",
});
var exampleIoTHub = new Azure.Iot.IoTHub("example", new()
{
Name = "example-IoTHub",
ResourceGroupName = example.Name,
Location = example.Location,
Sku = new Azure.Iot.Inputs.IoTHubSkuArgs
{
Name = "S1",
Capacity = 1,
},
});
var exampleSecuritySolution = new Azure.Iot.SecuritySolution("example", new()
{
Name = "example-Iot-Security-Solution",
ResourceGroupName = example.Name,
Location = example.Location,
DisplayName = "Iot Security Solution",
IothubIds = new[]
{
exampleIoTHub.Id,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.iot.IoTHub;
import com.pulumi.azure.iot.IoTHubArgs;
import com.pulumi.azure.iot.inputs.IoTHubSkuArgs;
import com.pulumi.azure.iot.SecuritySolution;
import com.pulumi.azure.iot.SecuritySolutionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example-resources")
.location("West Europe")
.build());
var exampleIoTHub = new IoTHub("exampleIoTHub", IoTHubArgs.builder()
.name("example-IoTHub")
.resourceGroupName(example.name())
.location(example.location())
.sku(IoTHubSkuArgs.builder()
.name("S1")
.capacity("1")
.build())
.build());
var exampleSecuritySolution = new SecuritySolution("exampleSecuritySolution", SecuritySolutionArgs.builder()
.name("example-Iot-Security-Solution")
.resourceGroupName(example.name())
.location(example.location())
.displayName("Iot Security Solution")
.iothubIds(exampleIoTHub.id())
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleIoTHub:
type: azure:iot:IoTHub
name: example
properties:
name: example-IoTHub
resourceGroupName: ${example.name}
location: ${example.location}
sku:
name: S1
capacity: '1'
exampleSecuritySolution:
type: azure:iot:SecuritySolution
name: example
properties:
name: example-Iot-Security-Solution
resourceGroupName: ${example.name}
location: ${example.location}
displayName: Iot Security Solution
iothubIds:
- ${exampleIoTHub.id}
Create SecuritySolution Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecuritySolution(name: string, args: SecuritySolutionArgs, opts?: CustomResourceOptions);
@overload
def SecuritySolution(resource_name: str,
args: SecuritySolutionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SecuritySolution(resource_name: str,
opts: Optional[ResourceOptions] = None,
iothub_ids: Optional[Sequence[str]] = None,
resource_group_name: Optional[str] = None,
display_name: Optional[str] = None,
location: Optional[str] = None,
events_to_exports: Optional[Sequence[str]] = None,
enabled: Optional[bool] = None,
additional_workspaces: Optional[Sequence[SecuritySolutionAdditionalWorkspaceArgs]] = None,
log_analytics_workspace_id: Optional[str] = None,
log_unmasked_ips_enabled: Optional[bool] = None,
name: Optional[str] = None,
query_for_resources: Optional[str] = None,
query_subscription_ids: Optional[Sequence[str]] = None,
recommendations_enabled: Optional[SecuritySolutionRecommendationsEnabledArgs] = None,
disabled_data_sources: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None)
func NewSecuritySolution(ctx *Context, name string, args SecuritySolutionArgs, opts ...ResourceOption) (*SecuritySolution, error)
public SecuritySolution(string name, SecuritySolutionArgs args, CustomResourceOptions? opts = null)
public SecuritySolution(String name, SecuritySolutionArgs args)
public SecuritySolution(String name, SecuritySolutionArgs args, CustomResourceOptions options)
type: azure:iot:SecuritySolution
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SecuritySolutionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SecuritySolutionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SecuritySolutionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecuritySolutionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecuritySolutionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var securitySolutionResource = new Azure.Iot.SecuritySolution("securitySolutionResource", new()
{
IothubIds = new[]
{
"string",
},
ResourceGroupName = "string",
DisplayName = "string",
Location = "string",
EventsToExports = new[]
{
"string",
},
Enabled = false,
AdditionalWorkspaces = new[]
{
new Azure.Iot.Inputs.SecuritySolutionAdditionalWorkspaceArgs
{
DataTypes = new[]
{
"string",
},
WorkspaceId = "string",
},
},
LogAnalyticsWorkspaceId = "string",
LogUnmaskedIpsEnabled = false,
Name = "string",
QueryForResources = "string",
QuerySubscriptionIds = new[]
{
"string",
},
RecommendationsEnabled = new Azure.Iot.Inputs.SecuritySolutionRecommendationsEnabledArgs
{
AcrAuthentication = false,
AgentSendUnutilizedMsg = false,
Baseline = false,
EdgeHubMemOptimize = false,
EdgeLoggingOption = false,
InconsistentModuleSettings = false,
InstallAgent = false,
IpFilterDenyAll = false,
IpFilterPermissiveRule = false,
OpenPorts = false,
PermissiveFirewallPolicy = false,
PermissiveInputFirewallRules = false,
PermissiveOutputFirewallRules = false,
PrivilegedDockerOptions = false,
SharedCredentials = false,
VulnerableTlsCipherSuite = false,
},
DisabledDataSources = new[]
{
"string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := iot.NewSecuritySolution(ctx, "securitySolutionResource", &iot.SecuritySolutionArgs{
IothubIds: pulumi.StringArray{
pulumi.String("string"),
},
ResourceGroupName: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Location: pulumi.String("string"),
EventsToExports: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
AdditionalWorkspaces: iot.SecuritySolutionAdditionalWorkspaceArray{
&iot.SecuritySolutionAdditionalWorkspaceArgs{
DataTypes: pulumi.StringArray{
pulumi.String("string"),
},
WorkspaceId: pulumi.String("string"),
},
},
LogAnalyticsWorkspaceId: pulumi.String("string"),
LogUnmaskedIpsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
QueryForResources: pulumi.String("string"),
QuerySubscriptionIds: pulumi.StringArray{
pulumi.String("string"),
},
RecommendationsEnabled: &iot.SecuritySolutionRecommendationsEnabledArgs{
AcrAuthentication: pulumi.Bool(false),
AgentSendUnutilizedMsg: pulumi.Bool(false),
Baseline: pulumi.Bool(false),
EdgeHubMemOptimize: pulumi.Bool(false),
EdgeLoggingOption: pulumi.Bool(false),
InconsistentModuleSettings: pulumi.Bool(false),
InstallAgent: pulumi.Bool(false),
IpFilterDenyAll: pulumi.Bool(false),
IpFilterPermissiveRule: pulumi.Bool(false),
OpenPorts: pulumi.Bool(false),
PermissiveFirewallPolicy: pulumi.Bool(false),
PermissiveInputFirewallRules: pulumi.Bool(false),
PermissiveOutputFirewallRules: pulumi.Bool(false),
PrivilegedDockerOptions: pulumi.Bool(false),
SharedCredentials: pulumi.Bool(false),
VulnerableTlsCipherSuite: pulumi.Bool(false),
},
DisabledDataSources: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var securitySolutionResource = new SecuritySolution("securitySolutionResource", SecuritySolutionArgs.builder()
.iothubIds("string")
.resourceGroupName("string")
.displayName("string")
.location("string")
.eventsToExports("string")
.enabled(false)
.additionalWorkspaces(SecuritySolutionAdditionalWorkspaceArgs.builder()
.dataTypes("string")
.workspaceId("string")
.build())
.logAnalyticsWorkspaceId("string")
.logUnmaskedIpsEnabled(false)
.name("string")
.queryForResources("string")
.querySubscriptionIds("string")
.recommendationsEnabled(SecuritySolutionRecommendationsEnabledArgs.builder()
.acrAuthentication(false)
.agentSendUnutilizedMsg(false)
.baseline(false)
.edgeHubMemOptimize(false)
.edgeLoggingOption(false)
.inconsistentModuleSettings(false)
.installAgent(false)
.ipFilterDenyAll(false)
.ipFilterPermissiveRule(false)
.openPorts(false)
.permissiveFirewallPolicy(false)
.permissiveInputFirewallRules(false)
.permissiveOutputFirewallRules(false)
.privilegedDockerOptions(false)
.sharedCredentials(false)
.vulnerableTlsCipherSuite(false)
.build())
.disabledDataSources("string")
.tags(Map.of("string", "string"))
.build());
security_solution_resource = azure.iot.SecuritySolution("securitySolutionResource",
iothub_ids=["string"],
resource_group_name="string",
display_name="string",
location="string",
events_to_exports=["string"],
enabled=False,
additional_workspaces=[{
"data_types": ["string"],
"workspace_id": "string",
}],
log_analytics_workspace_id="string",
log_unmasked_ips_enabled=False,
name="string",
query_for_resources="string",
query_subscription_ids=["string"],
recommendations_enabled={
"acr_authentication": False,
"agent_send_unutilized_msg": False,
"baseline": False,
"edge_hub_mem_optimize": False,
"edge_logging_option": False,
"inconsistent_module_settings": False,
"install_agent": False,
"ip_filter_deny_all": False,
"ip_filter_permissive_rule": False,
"open_ports": False,
"permissive_firewall_policy": False,
"permissive_input_firewall_rules": False,
"permissive_output_firewall_rules": False,
"privileged_docker_options": False,
"shared_credentials": False,
"vulnerable_tls_cipher_suite": False,
},
disabled_data_sources=["string"],
tags={
"string": "string",
})
const securitySolutionResource = new azure.iot.SecuritySolution("securitySolutionResource", {
iothubIds: ["string"],
resourceGroupName: "string",
displayName: "string",
location: "string",
eventsToExports: ["string"],
enabled: false,
additionalWorkspaces: [{
dataTypes: ["string"],
workspaceId: "string",
}],
logAnalyticsWorkspaceId: "string",
logUnmaskedIpsEnabled: false,
name: "string",
queryForResources: "string",
querySubscriptionIds: ["string"],
recommendationsEnabled: {
acrAuthentication: false,
agentSendUnutilizedMsg: false,
baseline: false,
edgeHubMemOptimize: false,
edgeLoggingOption: false,
inconsistentModuleSettings: false,
installAgent: false,
ipFilterDenyAll: false,
ipFilterPermissiveRule: false,
openPorts: false,
permissiveFirewallPolicy: false,
permissiveInputFirewallRules: false,
permissiveOutputFirewallRules: false,
privilegedDockerOptions: false,
sharedCredentials: false,
vulnerableTlsCipherSuite: false,
},
disabledDataSources: ["string"],
tags: {
string: "string",
},
});
type: azure:iot:SecuritySolution
properties:
additionalWorkspaces:
- dataTypes:
- string
workspaceId: string
disabledDataSources:
- string
displayName: string
enabled: false
eventsToExports:
- string
iothubIds:
- string
location: string
logAnalyticsWorkspaceId: string
logUnmaskedIpsEnabled: false
name: string
queryForResources: string
querySubscriptionIds:
- string
recommendationsEnabled:
acrAuthentication: false
agentSendUnutilizedMsg: false
baseline: false
edgeHubMemOptimize: false
edgeLoggingOption: false
inconsistentModuleSettings: false
installAgent: false
ipFilterDenyAll: false
ipFilterPermissiveRule: false
openPorts: false
permissiveFirewallPolicy: false
permissiveInputFirewallRules: false
permissiveOutputFirewallRules: false
privilegedDockerOptions: false
sharedCredentials: false
vulnerableTlsCipherSuite: false
resourceGroupName: string
tags:
string: string
SecuritySolution Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SecuritySolution resource accepts the following input properties:
- Display
Name string - Specifies the Display Name for this Iot Security Solution.
- Iothub
Ids List<string> - Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied.
- Resource
Group stringName - Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created.
- Additional
Workspaces List<SecuritySolution Additional Workspace> - A
additional_workspace
block as defined below. - Disabled
Data List<string>Sources - A list of disabled data sources for the Iot Security Solution. Possible value is
TwinData
. - Enabled bool
- Is the Iot Security Solution enabled? Defaults to
true
. - Events
To List<string>Exports - A list of data which is to exported to analytic workspace. Valid values include
RawEvents
. - Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Log
Analytics stringWorkspace Id - Specifies the Log Analytics Workspace ID to which the security data will be sent.
- Log
Unmasked boolIps Enabled - Should IP addressed be unmasked in the log? Defaults to
false
. - Name string
- Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created.
- Query
For stringResources - An Azure Resource Graph query used to set the resources monitored.
- Query
Subscription List<string>Ids - A list of subscription Ids on which the user defined resources query should be executed.
- Recommendations
Enabled SecuritySolution Recommendations Enabled - A
recommendations_enabled
block of options to enable or disable as defined below. - Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Display
Name string - Specifies the Display Name for this Iot Security Solution.
- Iothub
Ids []string - Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied.
- Resource
Group stringName - Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created.
- Additional
Workspaces []SecuritySolution Additional Workspace Args - A
additional_workspace
block as defined below. - Disabled
Data []stringSources - A list of disabled data sources for the Iot Security Solution. Possible value is
TwinData
. - Enabled bool
- Is the Iot Security Solution enabled? Defaults to
true
. - Events
To []stringExports - A list of data which is to exported to analytic workspace. Valid values include
RawEvents
. - Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Log
Analytics stringWorkspace Id - Specifies the Log Analytics Workspace ID to which the security data will be sent.
- Log
Unmasked boolIps Enabled - Should IP addressed be unmasked in the log? Defaults to
false
. - Name string
- Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created.
- Query
For stringResources - An Azure Resource Graph query used to set the resources monitored.
- Query
Subscription []stringIds - A list of subscription Ids on which the user defined resources query should be executed.
- Recommendations
Enabled SecuritySolution Recommendations Enabled Args - A
recommendations_enabled
block of options to enable or disable as defined below. - map[string]string
- A mapping of tags to assign to the resource.
- display
Name String - Specifies the Display Name for this Iot Security Solution.
- iothub
Ids List<String> - Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied.
- resource
Group StringName - Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created.
- additional
Workspaces List<SecuritySolution Additional Workspace> - A
additional_workspace
block as defined below. - disabled
Data List<String>Sources - A list of disabled data sources for the Iot Security Solution. Possible value is
TwinData
. - enabled Boolean
- Is the Iot Security Solution enabled? Defaults to
true
. - events
To List<String>Exports - A list of data which is to exported to analytic workspace. Valid values include
RawEvents
. - location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- log
Analytics StringWorkspace Id - Specifies the Log Analytics Workspace ID to which the security data will be sent.
- log
Unmasked BooleanIps Enabled - Should IP addressed be unmasked in the log? Defaults to
false
. - name String
- Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created.
- query
For StringResources - An Azure Resource Graph query used to set the resources monitored.
- query
Subscription List<String>Ids - A list of subscription Ids on which the user defined resources query should be executed.
- recommendations
Enabled SecuritySolution Recommendations Enabled - A
recommendations_enabled
block of options to enable or disable as defined below. - Map<String,String>
- A mapping of tags to assign to the resource.
- display
Name string - Specifies the Display Name for this Iot Security Solution.
- iothub
Ids string[] - Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied.
- resource
Group stringName - Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created.
- additional
Workspaces SecuritySolution Additional Workspace[] - A
additional_workspace
block as defined below. - disabled
Data string[]Sources - A list of disabled data sources for the Iot Security Solution. Possible value is
TwinData
. - enabled boolean
- Is the Iot Security Solution enabled? Defaults to
true
. - events
To string[]Exports - A list of data which is to exported to analytic workspace. Valid values include
RawEvents
. - location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- log
Analytics stringWorkspace Id - Specifies the Log Analytics Workspace ID to which the security data will be sent.
- log
Unmasked booleanIps Enabled - Should IP addressed be unmasked in the log? Defaults to
false
. - name string
- Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created.
- query
For stringResources - An Azure Resource Graph query used to set the resources monitored.
- query
Subscription string[]Ids - A list of subscription Ids on which the user defined resources query should be executed.
- recommendations
Enabled SecuritySolution Recommendations Enabled - A
recommendations_enabled
block of options to enable or disable as defined below. - {[key: string]: string}
- A mapping of tags to assign to the resource.
- display_
name str - Specifies the Display Name for this Iot Security Solution.
- iothub_
ids Sequence[str] - Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied.
- resource_
group_ strname - Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created.
- additional_
workspaces Sequence[SecuritySolution Additional Workspace Args] - A
additional_workspace
block as defined below. - disabled_
data_ Sequence[str]sources - A list of disabled data sources for the Iot Security Solution. Possible value is
TwinData
. - enabled bool
- Is the Iot Security Solution enabled? Defaults to
true
. - events_
to_ Sequence[str]exports - A list of data which is to exported to analytic workspace. Valid values include
RawEvents
. - location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- log_
analytics_ strworkspace_ id - Specifies the Log Analytics Workspace ID to which the security data will be sent.
- log_
unmasked_ boolips_ enabled - Should IP addressed be unmasked in the log? Defaults to
false
. - name str
- Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created.
- query_
for_ strresources - An Azure Resource Graph query used to set the resources monitored.
- query_
subscription_ Sequence[str]ids - A list of subscription Ids on which the user defined resources query should be executed.
- recommendations_
enabled SecuritySolution Recommendations Enabled Args - A
recommendations_enabled
block of options to enable or disable as defined below. - Mapping[str, str]
- A mapping of tags to assign to the resource.
- display
Name String - Specifies the Display Name for this Iot Security Solution.
- iothub
Ids List<String> - Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied.
- resource
Group StringName - Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created.
- additional
Workspaces List<Property Map> - A
additional_workspace
block as defined below. - disabled
Data List<String>Sources - A list of disabled data sources for the Iot Security Solution. Possible value is
TwinData
. - enabled Boolean
- Is the Iot Security Solution enabled? Defaults to
true
. - events
To List<String>Exports - A list of data which is to exported to analytic workspace. Valid values include
RawEvents
. - location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- log
Analytics StringWorkspace Id - Specifies the Log Analytics Workspace ID to which the security data will be sent.
- log
Unmasked BooleanIps Enabled - Should IP addressed be unmasked in the log? Defaults to
false
. - name String
- Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created.
- query
For StringResources - An Azure Resource Graph query used to set the resources monitored.
- query
Subscription List<String>Ids - A list of subscription Ids on which the user defined resources query should be executed.
- recommendations
Enabled Property Map - A
recommendations_enabled
block of options to enable or disable as defined below. - Map<String>
- A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the SecuritySolution resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing SecuritySolution Resource
Get an existing SecuritySolution resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SecuritySolutionState, opts?: CustomResourceOptions): SecuritySolution
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
additional_workspaces: Optional[Sequence[SecuritySolutionAdditionalWorkspaceArgs]] = None,
disabled_data_sources: Optional[Sequence[str]] = None,
display_name: Optional[str] = None,
enabled: Optional[bool] = None,
events_to_exports: Optional[Sequence[str]] = None,
iothub_ids: Optional[Sequence[str]] = None,
location: Optional[str] = None,
log_analytics_workspace_id: Optional[str] = None,
log_unmasked_ips_enabled: Optional[bool] = None,
name: Optional[str] = None,
query_for_resources: Optional[str] = None,
query_subscription_ids: Optional[Sequence[str]] = None,
recommendations_enabled: Optional[SecuritySolutionRecommendationsEnabledArgs] = None,
resource_group_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None) -> SecuritySolution
func GetSecuritySolution(ctx *Context, name string, id IDInput, state *SecuritySolutionState, opts ...ResourceOption) (*SecuritySolution, error)
public static SecuritySolution Get(string name, Input<string> id, SecuritySolutionState? state, CustomResourceOptions? opts = null)
public static SecuritySolution get(String name, Output<String> id, SecuritySolutionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Additional
Workspaces List<SecuritySolution Additional Workspace> - A
additional_workspace
block as defined below. - Disabled
Data List<string>Sources - A list of disabled data sources for the Iot Security Solution. Possible value is
TwinData
. - Display
Name string - Specifies the Display Name for this Iot Security Solution.
- Enabled bool
- Is the Iot Security Solution enabled? Defaults to
true
. - Events
To List<string>Exports - A list of data which is to exported to analytic workspace. Valid values include
RawEvents
. - Iothub
Ids List<string> - Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Log
Analytics stringWorkspace Id - Specifies the Log Analytics Workspace ID to which the security data will be sent.
- Log
Unmasked boolIps Enabled - Should IP addressed be unmasked in the log? Defaults to
false
. - Name string
- Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created.
- Query
For stringResources - An Azure Resource Graph query used to set the resources monitored.
- Query
Subscription List<string>Ids - A list of subscription Ids on which the user defined resources query should be executed.
- Recommendations
Enabled SecuritySolution Recommendations Enabled - A
recommendations_enabled
block of options to enable or disable as defined below. - Resource
Group stringName - Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Additional
Workspaces []SecuritySolution Additional Workspace Args - A
additional_workspace
block as defined below. - Disabled
Data []stringSources - A list of disabled data sources for the Iot Security Solution. Possible value is
TwinData
. - Display
Name string - Specifies the Display Name for this Iot Security Solution.
- Enabled bool
- Is the Iot Security Solution enabled? Defaults to
true
. - Events
To []stringExports - A list of data which is to exported to analytic workspace. Valid values include
RawEvents
. - Iothub
Ids []string - Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Log
Analytics stringWorkspace Id - Specifies the Log Analytics Workspace ID to which the security data will be sent.
- Log
Unmasked boolIps Enabled - Should IP addressed be unmasked in the log? Defaults to
false
. - Name string
- Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created.
- Query
For stringResources - An Azure Resource Graph query used to set the resources monitored.
- Query
Subscription []stringIds - A list of subscription Ids on which the user defined resources query should be executed.
- Recommendations
Enabled SecuritySolution Recommendations Enabled Args - A
recommendations_enabled
block of options to enable or disable as defined below. - Resource
Group stringName - Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created.
- map[string]string
- A mapping of tags to assign to the resource.
- additional
Workspaces List<SecuritySolution Additional Workspace> - A
additional_workspace
block as defined below. - disabled
Data List<String>Sources - A list of disabled data sources for the Iot Security Solution. Possible value is
TwinData
. - display
Name String - Specifies the Display Name for this Iot Security Solution.
- enabled Boolean
- Is the Iot Security Solution enabled? Defaults to
true
. - events
To List<String>Exports - A list of data which is to exported to analytic workspace. Valid values include
RawEvents
. - iothub
Ids List<String> - Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- log
Analytics StringWorkspace Id - Specifies the Log Analytics Workspace ID to which the security data will be sent.
- log
Unmasked BooleanIps Enabled - Should IP addressed be unmasked in the log? Defaults to
false
. - name String
- Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created.
- query
For StringResources - An Azure Resource Graph query used to set the resources monitored.
- query
Subscription List<String>Ids - A list of subscription Ids on which the user defined resources query should be executed.
- recommendations
Enabled SecuritySolution Recommendations Enabled - A
recommendations_enabled
block of options to enable or disable as defined below. - resource
Group StringName - Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created.
- Map<String,String>
- A mapping of tags to assign to the resource.
- additional
Workspaces SecuritySolution Additional Workspace[] - A
additional_workspace
block as defined below. - disabled
Data string[]Sources - A list of disabled data sources for the Iot Security Solution. Possible value is
TwinData
. - display
Name string - Specifies the Display Name for this Iot Security Solution.
- enabled boolean
- Is the Iot Security Solution enabled? Defaults to
true
. - events
To string[]Exports - A list of data which is to exported to analytic workspace. Valid values include
RawEvents
. - iothub
Ids string[] - Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied.
- location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- log
Analytics stringWorkspace Id - Specifies the Log Analytics Workspace ID to which the security data will be sent.
- log
Unmasked booleanIps Enabled - Should IP addressed be unmasked in the log? Defaults to
false
. - name string
- Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created.
- query
For stringResources - An Azure Resource Graph query used to set the resources monitored.
- query
Subscription string[]Ids - A list of subscription Ids on which the user defined resources query should be executed.
- recommendations
Enabled SecuritySolution Recommendations Enabled - A
recommendations_enabled
block of options to enable or disable as defined below. - resource
Group stringName - Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- additional_
workspaces Sequence[SecuritySolution Additional Workspace Args] - A
additional_workspace
block as defined below. - disabled_
data_ Sequence[str]sources - A list of disabled data sources for the Iot Security Solution. Possible value is
TwinData
. - display_
name str - Specifies the Display Name for this Iot Security Solution.
- enabled bool
- Is the Iot Security Solution enabled? Defaults to
true
. - events_
to_ Sequence[str]exports - A list of data which is to exported to analytic workspace. Valid values include
RawEvents
. - iothub_
ids Sequence[str] - Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied.
- location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- log_
analytics_ strworkspace_ id - Specifies the Log Analytics Workspace ID to which the security data will be sent.
- log_
unmasked_ boolips_ enabled - Should IP addressed be unmasked in the log? Defaults to
false
. - name str
- Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created.
- query_
for_ strresources - An Azure Resource Graph query used to set the resources monitored.
- query_
subscription_ Sequence[str]ids - A list of subscription Ids on which the user defined resources query should be executed.
- recommendations_
enabled SecuritySolution Recommendations Enabled Args - A
recommendations_enabled
block of options to enable or disable as defined below. - resource_
group_ strname - Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- additional
Workspaces List<Property Map> - A
additional_workspace
block as defined below. - disabled
Data List<String>Sources - A list of disabled data sources for the Iot Security Solution. Possible value is
TwinData
. - display
Name String - Specifies the Display Name for this Iot Security Solution.
- enabled Boolean
- Is the Iot Security Solution enabled? Defaults to
true
. - events
To List<String>Exports - A list of data which is to exported to analytic workspace. Valid values include
RawEvents
. - iothub
Ids List<String> - Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- log
Analytics StringWorkspace Id - Specifies the Log Analytics Workspace ID to which the security data will be sent.
- log
Unmasked BooleanIps Enabled - Should IP addressed be unmasked in the log? Defaults to
false
. - name String
- Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created.
- query
For StringResources - An Azure Resource Graph query used to set the resources monitored.
- query
Subscription List<String>Ids - A list of subscription Ids on which the user defined resources query should be executed.
- recommendations
Enabled Property Map - A
recommendations_enabled
block of options to enable or disable as defined below. - resource
Group StringName - Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created.
- Map<String>
- A mapping of tags to assign to the resource.
Supporting Types
SecuritySolutionAdditionalWorkspace, SecuritySolutionAdditionalWorkspaceArgs
- Data
Types List<string> - A list of data types which sent to workspace. Possible values are
Alerts
andRawEvents
. - Workspace
Id string - The resource ID of the Log Analytics Workspace.
- Data
Types []string - A list of data types which sent to workspace. Possible values are
Alerts
andRawEvents
. - Workspace
Id string - The resource ID of the Log Analytics Workspace.
- data
Types List<String> - A list of data types which sent to workspace. Possible values are
Alerts
andRawEvents
. - workspace
Id String - The resource ID of the Log Analytics Workspace.
- data
Types string[] - A list of data types which sent to workspace. Possible values are
Alerts
andRawEvents
. - workspace
Id string - The resource ID of the Log Analytics Workspace.
- data_
types Sequence[str] - A list of data types which sent to workspace. Possible values are
Alerts
andRawEvents
. - workspace_
id str - The resource ID of the Log Analytics Workspace.
- data
Types List<String> - A list of data types which sent to workspace. Possible values are
Alerts
andRawEvents
. - workspace
Id String - The resource ID of the Log Analytics Workspace.
SecuritySolutionRecommendationsEnabled, SecuritySolutionRecommendationsEnabledArgs
- Acr
Authentication bool - Is Principal Authentication enabled for the ACR repository? Defaults to
true
. - Agent
Send boolUnutilized Msg - Is Agent send underutilized messages enabled? Defaults to
true
. - Baseline bool
- Is Security related system configuration issues identified? Defaults to
true
. - Edge
Hub boolMem Optimize - Is IoT Edge Hub memory optimized? Defaults to
true
. - Edge
Logging boolOption - Is logging configured for IoT Edge module? Defaults to
true
. - Inconsistent
Module boolSettings - Is inconsistent module settings enabled for SecurityGroup? Defaults to
true
. - Install
Agent bool - is Azure IoT Security agent installed? Defaults to
true
. - Ip
Filter boolDeny All - Is Default IP filter policy denied? Defaults to
true
. - Ip
Filter boolPermissive Rule - Is IP filter rule source allowable IP range too large? Defaults to
true
. - Open
Ports bool - Is any ports open on the device? Defaults to
true
. - Permissive
Firewall boolPolicy - Does firewall policy exist which allow necessary communication to/from the device? Defaults to
true
. - Permissive
Input boolFirewall Rules - Is only necessary addresses or ports are permitted in? Defaults to
true
. - Permissive
Output boolFirewall Rules - Is only necessary addresses or ports are permitted out? Defaults to
true
. - Privileged
Docker boolOptions - Is high level permissions are needed for the module? Defaults to
true
. - bool
- Is any credentials shared among devices? Defaults to
true
. - Vulnerable
Tls boolCipher Suite - Does TLS cipher suite need to be updated? Defaults to
true
.
- Acr
Authentication bool - Is Principal Authentication enabled for the ACR repository? Defaults to
true
. - Agent
Send boolUnutilized Msg - Is Agent send underutilized messages enabled? Defaults to
true
. - Baseline bool
- Is Security related system configuration issues identified? Defaults to
true
. - Edge
Hub boolMem Optimize - Is IoT Edge Hub memory optimized? Defaults to
true
. - Edge
Logging boolOption - Is logging configured for IoT Edge module? Defaults to
true
. - Inconsistent
Module boolSettings - Is inconsistent module settings enabled for SecurityGroup? Defaults to
true
. - Install
Agent bool - is Azure IoT Security agent installed? Defaults to
true
. - Ip
Filter boolDeny All - Is Default IP filter policy denied? Defaults to
true
. - Ip
Filter boolPermissive Rule - Is IP filter rule source allowable IP range too large? Defaults to
true
. - Open
Ports bool - Is any ports open on the device? Defaults to
true
. - Permissive
Firewall boolPolicy - Does firewall policy exist which allow necessary communication to/from the device? Defaults to
true
. - Permissive
Input boolFirewall Rules - Is only necessary addresses or ports are permitted in? Defaults to
true
. - Permissive
Output boolFirewall Rules - Is only necessary addresses or ports are permitted out? Defaults to
true
. - Privileged
Docker boolOptions - Is high level permissions are needed for the module? Defaults to
true
. - bool
- Is any credentials shared among devices? Defaults to
true
. - Vulnerable
Tls boolCipher Suite - Does TLS cipher suite need to be updated? Defaults to
true
.
- acr
Authentication Boolean - Is Principal Authentication enabled for the ACR repository? Defaults to
true
. - agent
Send BooleanUnutilized Msg - Is Agent send underutilized messages enabled? Defaults to
true
. - baseline Boolean
- Is Security related system configuration issues identified? Defaults to
true
. - edge
Hub BooleanMem Optimize - Is IoT Edge Hub memory optimized? Defaults to
true
. - edge
Logging BooleanOption - Is logging configured for IoT Edge module? Defaults to
true
. - inconsistent
Module BooleanSettings - Is inconsistent module settings enabled for SecurityGroup? Defaults to
true
. - install
Agent Boolean - is Azure IoT Security agent installed? Defaults to
true
. - ip
Filter BooleanDeny All - Is Default IP filter policy denied? Defaults to
true
. - ip
Filter BooleanPermissive Rule - Is IP filter rule source allowable IP range too large? Defaults to
true
. - open
Ports Boolean - Is any ports open on the device? Defaults to
true
. - permissive
Firewall BooleanPolicy - Does firewall policy exist which allow necessary communication to/from the device? Defaults to
true
. - permissive
Input BooleanFirewall Rules - Is only necessary addresses or ports are permitted in? Defaults to
true
. - permissive
Output BooleanFirewall Rules - Is only necessary addresses or ports are permitted out? Defaults to
true
. - privileged
Docker BooleanOptions - Is high level permissions are needed for the module? Defaults to
true
. - Boolean
- Is any credentials shared among devices? Defaults to
true
. - vulnerable
Tls BooleanCipher Suite - Does TLS cipher suite need to be updated? Defaults to
true
.
- acr
Authentication boolean - Is Principal Authentication enabled for the ACR repository? Defaults to
true
. - agent
Send booleanUnutilized Msg - Is Agent send underutilized messages enabled? Defaults to
true
. - baseline boolean
- Is Security related system configuration issues identified? Defaults to
true
. - edge
Hub booleanMem Optimize - Is IoT Edge Hub memory optimized? Defaults to
true
. - edge
Logging booleanOption - Is logging configured for IoT Edge module? Defaults to
true
. - inconsistent
Module booleanSettings - Is inconsistent module settings enabled for SecurityGroup? Defaults to
true
. - install
Agent boolean - is Azure IoT Security agent installed? Defaults to
true
. - ip
Filter booleanDeny All - Is Default IP filter policy denied? Defaults to
true
. - ip
Filter booleanPermissive Rule - Is IP filter rule source allowable IP range too large? Defaults to
true
. - open
Ports boolean - Is any ports open on the device? Defaults to
true
. - permissive
Firewall booleanPolicy - Does firewall policy exist which allow necessary communication to/from the device? Defaults to
true
. - permissive
Input booleanFirewall Rules - Is only necessary addresses or ports are permitted in? Defaults to
true
. - permissive
Output booleanFirewall Rules - Is only necessary addresses or ports are permitted out? Defaults to
true
. - privileged
Docker booleanOptions - Is high level permissions are needed for the module? Defaults to
true
. - boolean
- Is any credentials shared among devices? Defaults to
true
. - vulnerable
Tls booleanCipher Suite - Does TLS cipher suite need to be updated? Defaults to
true
.
- acr_
authentication bool - Is Principal Authentication enabled for the ACR repository? Defaults to
true
. - agent_
send_ boolunutilized_ msg - Is Agent send underutilized messages enabled? Defaults to
true
. - baseline bool
- Is Security related system configuration issues identified? Defaults to
true
. - edge_
hub_ boolmem_ optimize - Is IoT Edge Hub memory optimized? Defaults to
true
. - edge_
logging_ booloption - Is logging configured for IoT Edge module? Defaults to
true
. - inconsistent_
module_ boolsettings - Is inconsistent module settings enabled for SecurityGroup? Defaults to
true
. - install_
agent bool - is Azure IoT Security agent installed? Defaults to
true
. - ip_
filter_ booldeny_ all - Is Default IP filter policy denied? Defaults to
true
. - ip_
filter_ boolpermissive_ rule - Is IP filter rule source allowable IP range too large? Defaults to
true
. - open_
ports bool - Is any ports open on the device? Defaults to
true
. - permissive_
firewall_ boolpolicy - Does firewall policy exist which allow necessary communication to/from the device? Defaults to
true
. - permissive_
input_ boolfirewall_ rules - Is only necessary addresses or ports are permitted in? Defaults to
true
. - permissive_
output_ boolfirewall_ rules - Is only necessary addresses or ports are permitted out? Defaults to
true
. - privileged_
docker_ booloptions - Is high level permissions are needed for the module? Defaults to
true
. - bool
- Is any credentials shared among devices? Defaults to
true
. - vulnerable_
tls_ boolcipher_ suite - Does TLS cipher suite need to be updated? Defaults to
true
.
- acr
Authentication Boolean - Is Principal Authentication enabled for the ACR repository? Defaults to
true
. - agent
Send BooleanUnutilized Msg - Is Agent send underutilized messages enabled? Defaults to
true
. - baseline Boolean
- Is Security related system configuration issues identified? Defaults to
true
. - edge
Hub BooleanMem Optimize - Is IoT Edge Hub memory optimized? Defaults to
true
. - edge
Logging BooleanOption - Is logging configured for IoT Edge module? Defaults to
true
. - inconsistent
Module BooleanSettings - Is inconsistent module settings enabled for SecurityGroup? Defaults to
true
. - install
Agent Boolean - is Azure IoT Security agent installed? Defaults to
true
. - ip
Filter BooleanDeny All - Is Default IP filter policy denied? Defaults to
true
. - ip
Filter BooleanPermissive Rule - Is IP filter rule source allowable IP range too large? Defaults to
true
. - open
Ports Boolean - Is any ports open on the device? Defaults to
true
. - permissive
Firewall BooleanPolicy - Does firewall policy exist which allow necessary communication to/from the device? Defaults to
true
. - permissive
Input BooleanFirewall Rules - Is only necessary addresses or ports are permitted in? Defaults to
true
. - permissive
Output BooleanFirewall Rules - Is only necessary addresses or ports are permitted out? Defaults to
true
. - privileged
Docker BooleanOptions - Is high level permissions are needed for the module? Defaults to
true
. - Boolean
- Is any credentials shared among devices? Defaults to
true
. - vulnerable
Tls BooleanCipher Suite - Does TLS cipher suite need to be updated? Defaults to
true
.
Import
Iot Security Solution can be imported using the resource id
, e.g.
$ pulumi import azure:iot/securitySolution:SecuritySolution example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Security/iotSecuritySolutions/solution1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.