1. Packages
  2. Azure Native
  3. API Docs
  4. security
  5. DeviceSecurityGroup
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.security.DeviceSecurityGroup

Explore with Pulumi AI

The device security group resource

Uses Azure REST API version 2019-08-01. In version 2.x of the Azure Native provider, it used API version 2019-08-01.

Other available API versions: 2017-08-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native security [ApiVersion]. See the version guide for details.

Example Usage

Create or update a device security group for the specified IoT hub resource

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var deviceSecurityGroup = new AzureNative.Security.DeviceSecurityGroup("deviceSecurityGroup", new()
    {
        DeviceSecurityGroupName = "samplesecuritygroup",
        ResourceId = "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Devices/iotHubs/sampleiothub",
        TimeWindowRules = new[]
        {
            null,
        },
    });

});
Copy
package main

import (
	security "github.com/pulumi/pulumi-azure-native-sdk/security/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := security.NewDeviceSecurityGroup(ctx, "deviceSecurityGroup", &security.DeviceSecurityGroupArgs{
			DeviceSecurityGroupName: pulumi.String("samplesecuritygroup"),
			ResourceId:              pulumi.String("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Devices/iotHubs/sampleiothub"),
			TimeWindowRules: security.TimeWindowCustomAlertRuleArray{
				&security.TimeWindowCustomAlertRuleArgs{},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.security.DeviceSecurityGroup;
import com.pulumi.azurenative.security.DeviceSecurityGroupArgs;
import com.pulumi.azurenative.security.inputs.TimeWindowCustomAlertRuleArgs;
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 deviceSecurityGroup = new DeviceSecurityGroup("deviceSecurityGroup", DeviceSecurityGroupArgs.builder()
            .deviceSecurityGroupName("samplesecuritygroup")
            .resourceId("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Devices/iotHubs/sampleiothub")
            .timeWindowRules(TimeWindowCustomAlertRuleArgs.builder()
                .build())
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const deviceSecurityGroup = new azure_native.security.DeviceSecurityGroup("deviceSecurityGroup", {
    deviceSecurityGroupName: "samplesecuritygroup",
    resourceId: "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Devices/iotHubs/sampleiothub",
    timeWindowRules: [{}],
});
Copy
import pulumi
import pulumi_azure_native as azure_native

device_security_group = azure_native.security.DeviceSecurityGroup("deviceSecurityGroup",
    device_security_group_name="samplesecuritygroup",
    resource_id="subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Devices/iotHubs/sampleiothub",
    time_window_rules=[{}])
Copy
resources:
  deviceSecurityGroup:
    type: azure-native:security:DeviceSecurityGroup
    properties:
      deviceSecurityGroupName: samplesecuritygroup
      resourceId: subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Devices/iotHubs/sampleiothub
      timeWindowRules:
        - {}
Copy

Create DeviceSecurityGroup Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DeviceSecurityGroup(name: string, args: DeviceSecurityGroupArgs, opts?: CustomResourceOptions);
@overload
def DeviceSecurityGroup(resource_name: str,
                        args: DeviceSecurityGroupArgs,
                        opts: Optional[ResourceOptions] = None)

@overload
def DeviceSecurityGroup(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        resource_id: Optional[str] = None,
                        allowlist_rules: Optional[Sequence[AllowlistCustomAlertRuleArgs]] = None,
                        denylist_rules: Optional[Sequence[DenylistCustomAlertRuleArgs]] = None,
                        device_security_group_name: Optional[str] = None,
                        threshold_rules: Optional[Sequence[ThresholdCustomAlertRuleArgs]] = None,
                        time_window_rules: Optional[Sequence[TimeWindowCustomAlertRuleArgs]] = None)
func NewDeviceSecurityGroup(ctx *Context, name string, args DeviceSecurityGroupArgs, opts ...ResourceOption) (*DeviceSecurityGroup, error)
public DeviceSecurityGroup(string name, DeviceSecurityGroupArgs args, CustomResourceOptions? opts = null)
public DeviceSecurityGroup(String name, DeviceSecurityGroupArgs args)
public DeviceSecurityGroup(String name, DeviceSecurityGroupArgs args, CustomResourceOptions options)
type: azure-native:security:DeviceSecurityGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DeviceSecurityGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DeviceSecurityGroupArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DeviceSecurityGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DeviceSecurityGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DeviceSecurityGroupArgs
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 deviceSecurityGroupResource = new AzureNative.Security.DeviceSecurityGroup("deviceSecurityGroupResource", new()
{
    ResourceId = "string",
    AllowlistRules = new[]
    {
        new AzureNative.Security.Inputs.AllowlistCustomAlertRuleArgs
        {
            AllowlistValues = new[]
            {
                "string",
            },
            IsEnabled = false,
            RuleType = "AllowlistCustomAlertRule",
        },
    },
    DenylistRules = new[]
    {
        new AzureNative.Security.Inputs.DenylistCustomAlertRuleArgs
        {
            DenylistValues = new[]
            {
                "string",
            },
            IsEnabled = false,
            RuleType = "DenylistCustomAlertRule",
        },
    },
    DeviceSecurityGroupName = "string",
    ThresholdRules = new[]
    {
        new AzureNative.Security.Inputs.ThresholdCustomAlertRuleArgs
        {
            IsEnabled = false,
            MaxThreshold = 0,
            MinThreshold = 0,
            RuleType = "ThresholdCustomAlertRule",
        },
    },
    TimeWindowRules = new[]
    {
        new AzureNative.Security.Inputs.TimeWindowCustomAlertRuleArgs
        {
            IsEnabled = false,
            MaxThreshold = 0,
            MinThreshold = 0,
            RuleType = "TimeWindowCustomAlertRule",
            TimeWindowSize = "string",
        },
    },
});
Copy
example, err := security.NewDeviceSecurityGroup(ctx, "deviceSecurityGroupResource", &security.DeviceSecurityGroupArgs{
	ResourceId: pulumi.String("string"),
	AllowlistRules: security.AllowlistCustomAlertRuleArray{
		&security.AllowlistCustomAlertRuleArgs{
			AllowlistValues: pulumi.StringArray{
				pulumi.String("string"),
			},
			IsEnabled: pulumi.Bool(false),
			RuleType:  pulumi.String("AllowlistCustomAlertRule"),
		},
	},
	DenylistRules: security.DenylistCustomAlertRuleArray{
		&security.DenylistCustomAlertRuleArgs{
			DenylistValues: pulumi.StringArray{
				pulumi.String("string"),
			},
			IsEnabled: pulumi.Bool(false),
			RuleType:  pulumi.String("DenylistCustomAlertRule"),
		},
	},
	DeviceSecurityGroupName: pulumi.String("string"),
	ThresholdRules: security.ThresholdCustomAlertRuleArray{
		&security.ThresholdCustomAlertRuleArgs{
			IsEnabled:    pulumi.Bool(false),
			MaxThreshold: pulumi.Int(0),
			MinThreshold: pulumi.Int(0),
			RuleType:     pulumi.String("ThresholdCustomAlertRule"),
		},
	},
	TimeWindowRules: security.TimeWindowCustomAlertRuleArray{
		&security.TimeWindowCustomAlertRuleArgs{
			IsEnabled:      pulumi.Bool(false),
			MaxThreshold:   pulumi.Int(0),
			MinThreshold:   pulumi.Int(0),
			RuleType:       pulumi.String("TimeWindowCustomAlertRule"),
			TimeWindowSize: pulumi.String("string"),
		},
	},
})
Copy
var deviceSecurityGroupResource = new DeviceSecurityGroup("deviceSecurityGroupResource", DeviceSecurityGroupArgs.builder()
    .resourceId("string")
    .allowlistRules(AllowlistCustomAlertRuleArgs.builder()
        .allowlistValues("string")
        .isEnabled(false)
        .ruleType("AllowlistCustomAlertRule")
        .build())
    .denylistRules(DenylistCustomAlertRuleArgs.builder()
        .denylistValues("string")
        .isEnabled(false)
        .ruleType("DenylistCustomAlertRule")
        .build())
    .deviceSecurityGroupName("string")
    .thresholdRules(ThresholdCustomAlertRuleArgs.builder()
        .isEnabled(false)
        .maxThreshold(0)
        .minThreshold(0)
        .ruleType("ThresholdCustomAlertRule")
        .build())
    .timeWindowRules(TimeWindowCustomAlertRuleArgs.builder()
        .isEnabled(false)
        .maxThreshold(0)
        .minThreshold(0)
        .ruleType("TimeWindowCustomAlertRule")
        .timeWindowSize("string")
        .build())
    .build());
Copy
device_security_group_resource = azure_native.security.DeviceSecurityGroup("deviceSecurityGroupResource",
    resource_id="string",
    allowlist_rules=[{
        "allowlist_values": ["string"],
        "is_enabled": False,
        "rule_type": "AllowlistCustomAlertRule",
    }],
    denylist_rules=[{
        "denylist_values": ["string"],
        "is_enabled": False,
        "rule_type": "DenylistCustomAlertRule",
    }],
    device_security_group_name="string",
    threshold_rules=[{
        "is_enabled": False,
        "max_threshold": 0,
        "min_threshold": 0,
        "rule_type": "ThresholdCustomAlertRule",
    }],
    time_window_rules=[{
        "is_enabled": False,
        "max_threshold": 0,
        "min_threshold": 0,
        "rule_type": "TimeWindowCustomAlertRule",
        "time_window_size": "string",
    }])
Copy
const deviceSecurityGroupResource = new azure_native.security.DeviceSecurityGroup("deviceSecurityGroupResource", {
    resourceId: "string",
    allowlistRules: [{
        allowlistValues: ["string"],
        isEnabled: false,
        ruleType: "AllowlistCustomAlertRule",
    }],
    denylistRules: [{
        denylistValues: ["string"],
        isEnabled: false,
        ruleType: "DenylistCustomAlertRule",
    }],
    deviceSecurityGroupName: "string",
    thresholdRules: [{
        isEnabled: false,
        maxThreshold: 0,
        minThreshold: 0,
        ruleType: "ThresholdCustomAlertRule",
    }],
    timeWindowRules: [{
        isEnabled: false,
        maxThreshold: 0,
        minThreshold: 0,
        ruleType: "TimeWindowCustomAlertRule",
        timeWindowSize: "string",
    }],
});
Copy
type: azure-native:security:DeviceSecurityGroup
properties:
    allowlistRules:
        - allowlistValues:
            - string
          isEnabled: false
          ruleType: AllowlistCustomAlertRule
    denylistRules:
        - denylistValues:
            - string
          isEnabled: false
          ruleType: DenylistCustomAlertRule
    deviceSecurityGroupName: string
    resourceId: string
    thresholdRules:
        - isEnabled: false
          maxThreshold: 0
          minThreshold: 0
          ruleType: ThresholdCustomAlertRule
    timeWindowRules:
        - isEnabled: false
          maxThreshold: 0
          minThreshold: 0
          ruleType: TimeWindowCustomAlertRule
          timeWindowSize: string
Copy

DeviceSecurityGroup 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 DeviceSecurityGroup resource accepts the following input properties:

ResourceId
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
AllowlistRules List<Pulumi.AzureNative.Security.Inputs.AllowlistCustomAlertRule>
The allow-list custom alert rules.
DenylistRules List<Pulumi.AzureNative.Security.Inputs.DenylistCustomAlertRule>
The deny-list custom alert rules.
DeviceSecurityGroupName Changes to this property will trigger replacement. string
The name of the device security group. Note that the name of the device security group is case insensitive.
ThresholdRules List<Pulumi.AzureNative.Security.Inputs.ThresholdCustomAlertRule>
The list of custom alert threshold rules.
TimeWindowRules List<Pulumi.AzureNative.Security.Inputs.TimeWindowCustomAlertRule>
The list of custom alert time-window rules.
ResourceId
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
AllowlistRules []AllowlistCustomAlertRuleArgs
The allow-list custom alert rules.
DenylistRules []DenylistCustomAlertRuleArgs
The deny-list custom alert rules.
DeviceSecurityGroupName Changes to this property will trigger replacement. string
The name of the device security group. Note that the name of the device security group is case insensitive.
ThresholdRules []ThresholdCustomAlertRuleArgs
The list of custom alert threshold rules.
TimeWindowRules []TimeWindowCustomAlertRuleArgs
The list of custom alert time-window rules.
resourceId
This property is required.
Changes to this property will trigger replacement.
String
The identifier of the resource.
allowlistRules List<AllowlistCustomAlertRule>
The allow-list custom alert rules.
denylistRules List<DenylistCustomAlertRule>
The deny-list custom alert rules.
deviceSecurityGroupName Changes to this property will trigger replacement. String
The name of the device security group. Note that the name of the device security group is case insensitive.
thresholdRules List<ThresholdCustomAlertRule>
The list of custom alert threshold rules.
timeWindowRules List<TimeWindowCustomAlertRule>
The list of custom alert time-window rules.
resourceId
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
allowlistRules AllowlistCustomAlertRule[]
The allow-list custom alert rules.
denylistRules DenylistCustomAlertRule[]
The deny-list custom alert rules.
deviceSecurityGroupName Changes to this property will trigger replacement. string
The name of the device security group. Note that the name of the device security group is case insensitive.
thresholdRules ThresholdCustomAlertRule[]
The list of custom alert threshold rules.
timeWindowRules TimeWindowCustomAlertRule[]
The list of custom alert time-window rules.
resource_id
This property is required.
Changes to this property will trigger replacement.
str
The identifier of the resource.
allowlist_rules Sequence[AllowlistCustomAlertRuleArgs]
The allow-list custom alert rules.
denylist_rules Sequence[DenylistCustomAlertRuleArgs]
The deny-list custom alert rules.
device_security_group_name Changes to this property will trigger replacement. str
The name of the device security group. Note that the name of the device security group is case insensitive.
threshold_rules Sequence[ThresholdCustomAlertRuleArgs]
The list of custom alert threshold rules.
time_window_rules Sequence[TimeWindowCustomAlertRuleArgs]
The list of custom alert time-window rules.
resourceId
This property is required.
Changes to this property will trigger replacement.
String
The identifier of the resource.
allowlistRules List<Property Map>
The allow-list custom alert rules.
denylistRules List<Property Map>
The deny-list custom alert rules.
deviceSecurityGroupName Changes to this property will trigger replacement. String
The name of the device security group. Note that the name of the device security group is case insensitive.
thresholdRules List<Property Map>
The list of custom alert threshold rules.
timeWindowRules List<Property Map>
The list of custom alert time-window rules.

Outputs

All input properties are implicitly available as output properties. Additionally, the DeviceSecurityGroup resource produces the following output properties:

AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name
Type string
Resource type
AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name
Type string
Resource type
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name
type String
Resource type
azureApiVersion string
The Azure API version of the resource.
id string
The provider-assigned unique ID for this managed resource.
name string
Resource name
type string
Resource type
azure_api_version str
The Azure API version of the resource.
id str
The provider-assigned unique ID for this managed resource.
name str
Resource name
type str
Resource type
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name
type String
Resource type

Supporting Types

AllowlistCustomAlertRule
, AllowlistCustomAlertRuleArgs

AllowlistValues This property is required. List<string>
The values to allow. The format of the values depends on the rule type.
IsEnabled This property is required. bool
Status of the custom alert.
AllowlistValues This property is required. []string
The values to allow. The format of the values depends on the rule type.
IsEnabled This property is required. bool
Status of the custom alert.
allowlistValues This property is required. List<String>
The values to allow. The format of the values depends on the rule type.
isEnabled This property is required. Boolean
Status of the custom alert.
allowlistValues This property is required. string[]
The values to allow. The format of the values depends on the rule type.
isEnabled This property is required. boolean
Status of the custom alert.
allowlist_values This property is required. Sequence[str]
The values to allow. The format of the values depends on the rule type.
is_enabled This property is required. bool
Status of the custom alert.
allowlistValues This property is required. List<String>
The values to allow. The format of the values depends on the rule type.
isEnabled This property is required. Boolean
Status of the custom alert.

AllowlistCustomAlertRuleResponse
, AllowlistCustomAlertRuleResponseArgs

AllowlistValues This property is required. List<string>
The values to allow. The format of the values depends on the rule type.
Description This property is required. string
The description of the custom alert.
DisplayName This property is required. string
The display name of the custom alert.
IsEnabled This property is required. bool
Status of the custom alert.
ValueType This property is required. string
The value type of the items in the list.
AllowlistValues This property is required. []string
The values to allow. The format of the values depends on the rule type.
Description This property is required. string
The description of the custom alert.
DisplayName This property is required. string
The display name of the custom alert.
IsEnabled This property is required. bool
Status of the custom alert.
ValueType This property is required. string
The value type of the items in the list.
allowlistValues This property is required. List<String>
The values to allow. The format of the values depends on the rule type.
description This property is required. String
The description of the custom alert.
displayName This property is required. String
The display name of the custom alert.
isEnabled This property is required. Boolean
Status of the custom alert.
valueType This property is required. String
The value type of the items in the list.
allowlistValues This property is required. string[]
The values to allow. The format of the values depends on the rule type.
description This property is required. string
The description of the custom alert.
displayName This property is required. string
The display name of the custom alert.
isEnabled This property is required. boolean
Status of the custom alert.
valueType This property is required. string
The value type of the items in the list.
allowlist_values This property is required. Sequence[str]
The values to allow. The format of the values depends on the rule type.
description This property is required. str
The description of the custom alert.
display_name This property is required. str
The display name of the custom alert.
is_enabled This property is required. bool
Status of the custom alert.
value_type This property is required. str
The value type of the items in the list.
allowlistValues This property is required. List<String>
The values to allow. The format of the values depends on the rule type.
description This property is required. String
The description of the custom alert.
displayName This property is required. String
The display name of the custom alert.
isEnabled This property is required. Boolean
Status of the custom alert.
valueType This property is required. String
The value type of the items in the list.

DenylistCustomAlertRule
, DenylistCustomAlertRuleArgs

DenylistValues This property is required. List<string>
The values to deny. The format of the values depends on the rule type.
IsEnabled This property is required. bool
Status of the custom alert.
DenylistValues This property is required. []string
The values to deny. The format of the values depends on the rule type.
IsEnabled This property is required. bool
Status of the custom alert.
denylistValues This property is required. List<String>
The values to deny. The format of the values depends on the rule type.
isEnabled This property is required. Boolean
Status of the custom alert.
denylistValues This property is required. string[]
The values to deny. The format of the values depends on the rule type.
isEnabled This property is required. boolean
Status of the custom alert.
denylist_values This property is required. Sequence[str]
The values to deny. The format of the values depends on the rule type.
is_enabled This property is required. bool
Status of the custom alert.
denylistValues This property is required. List<String>
The values to deny. The format of the values depends on the rule type.
isEnabled This property is required. Boolean
Status of the custom alert.

DenylistCustomAlertRuleResponse
, DenylistCustomAlertRuleResponseArgs

DenylistValues This property is required. List<string>
The values to deny. The format of the values depends on the rule type.
Description This property is required. string
The description of the custom alert.
DisplayName This property is required. string
The display name of the custom alert.
IsEnabled This property is required. bool
Status of the custom alert.
ValueType This property is required. string
The value type of the items in the list.
DenylistValues This property is required. []string
The values to deny. The format of the values depends on the rule type.
Description This property is required. string
The description of the custom alert.
DisplayName This property is required. string
The display name of the custom alert.
IsEnabled This property is required. bool
Status of the custom alert.
ValueType This property is required. string
The value type of the items in the list.
denylistValues This property is required. List<String>
The values to deny. The format of the values depends on the rule type.
description This property is required. String
The description of the custom alert.
displayName This property is required. String
The display name of the custom alert.
isEnabled This property is required. Boolean
Status of the custom alert.
valueType This property is required. String
The value type of the items in the list.
denylistValues This property is required. string[]
The values to deny. The format of the values depends on the rule type.
description This property is required. string
The description of the custom alert.
displayName This property is required. string
The display name of the custom alert.
isEnabled This property is required. boolean
Status of the custom alert.
valueType This property is required. string
The value type of the items in the list.
denylist_values This property is required. Sequence[str]
The values to deny. The format of the values depends on the rule type.
description This property is required. str
The description of the custom alert.
display_name This property is required. str
The display name of the custom alert.
is_enabled This property is required. bool
Status of the custom alert.
value_type This property is required. str
The value type of the items in the list.
denylistValues This property is required. List<String>
The values to deny. The format of the values depends on the rule type.
description This property is required. String
The description of the custom alert.
displayName This property is required. String
The display name of the custom alert.
isEnabled This property is required. Boolean
Status of the custom alert.
valueType This property is required. String
The value type of the items in the list.

ThresholdCustomAlertRule
, ThresholdCustomAlertRuleArgs

IsEnabled This property is required. bool
Status of the custom alert.
MaxThreshold This property is required. int
The maximum threshold.
MinThreshold This property is required. int
The minimum threshold.
IsEnabled This property is required. bool
Status of the custom alert.
MaxThreshold This property is required. int
The maximum threshold.
MinThreshold This property is required. int
The minimum threshold.
isEnabled This property is required. Boolean
Status of the custom alert.
maxThreshold This property is required. Integer
The maximum threshold.
minThreshold This property is required. Integer
The minimum threshold.
isEnabled This property is required. boolean
Status of the custom alert.
maxThreshold This property is required. number
The maximum threshold.
minThreshold This property is required. number
The minimum threshold.
is_enabled This property is required. bool
Status of the custom alert.
max_threshold This property is required. int
The maximum threshold.
min_threshold This property is required. int
The minimum threshold.
isEnabled This property is required. Boolean
Status of the custom alert.
maxThreshold This property is required. Number
The maximum threshold.
minThreshold This property is required. Number
The minimum threshold.

ThresholdCustomAlertRuleResponse
, ThresholdCustomAlertRuleResponseArgs

Description This property is required. string
The description of the custom alert.
DisplayName This property is required. string
The display name of the custom alert.
IsEnabled This property is required. bool
Status of the custom alert.
MaxThreshold This property is required. int
The maximum threshold.
MinThreshold This property is required. int
The minimum threshold.
Description This property is required. string
The description of the custom alert.
DisplayName This property is required. string
The display name of the custom alert.
IsEnabled This property is required. bool
Status of the custom alert.
MaxThreshold This property is required. int
The maximum threshold.
MinThreshold This property is required. int
The minimum threshold.
description This property is required. String
The description of the custom alert.
displayName This property is required. String
The display name of the custom alert.
isEnabled This property is required. Boolean
Status of the custom alert.
maxThreshold This property is required. Integer
The maximum threshold.
minThreshold This property is required. Integer
The minimum threshold.
description This property is required. string
The description of the custom alert.
displayName This property is required. string
The display name of the custom alert.
isEnabled This property is required. boolean
Status of the custom alert.
maxThreshold This property is required. number
The maximum threshold.
minThreshold This property is required. number
The minimum threshold.
description This property is required. str
The description of the custom alert.
display_name This property is required. str
The display name of the custom alert.
is_enabled This property is required. bool
Status of the custom alert.
max_threshold This property is required. int
The maximum threshold.
min_threshold This property is required. int
The minimum threshold.
description This property is required. String
The description of the custom alert.
displayName This property is required. String
The display name of the custom alert.
isEnabled This property is required. Boolean
Status of the custom alert.
maxThreshold This property is required. Number
The maximum threshold.
minThreshold This property is required. Number
The minimum threshold.

TimeWindowCustomAlertRule
, TimeWindowCustomAlertRuleArgs

IsEnabled This property is required. bool
Status of the custom alert.
MaxThreshold This property is required. int
The maximum threshold.
MinThreshold This property is required. int
The minimum threshold.
TimeWindowSize This property is required. string
The time window size in iso8601 format.
IsEnabled This property is required. bool
Status of the custom alert.
MaxThreshold This property is required. int
The maximum threshold.
MinThreshold This property is required. int
The minimum threshold.
TimeWindowSize This property is required. string
The time window size in iso8601 format.
isEnabled This property is required. Boolean
Status of the custom alert.
maxThreshold This property is required. Integer
The maximum threshold.
minThreshold This property is required. Integer
The minimum threshold.
timeWindowSize This property is required. String
The time window size in iso8601 format.
isEnabled This property is required. boolean
Status of the custom alert.
maxThreshold This property is required. number
The maximum threshold.
minThreshold This property is required. number
The minimum threshold.
timeWindowSize This property is required. string
The time window size in iso8601 format.
is_enabled This property is required. bool
Status of the custom alert.
max_threshold This property is required. int
The maximum threshold.
min_threshold This property is required. int
The minimum threshold.
time_window_size This property is required. str
The time window size in iso8601 format.
isEnabled This property is required. Boolean
Status of the custom alert.
maxThreshold This property is required. Number
The maximum threshold.
minThreshold This property is required. Number
The minimum threshold.
timeWindowSize This property is required. String
The time window size in iso8601 format.

TimeWindowCustomAlertRuleResponse
, TimeWindowCustomAlertRuleResponseArgs

Description This property is required. string
The description of the custom alert.
DisplayName This property is required. string
The display name of the custom alert.
IsEnabled This property is required. bool
Status of the custom alert.
MaxThreshold This property is required. int
The maximum threshold.
MinThreshold This property is required. int
The minimum threshold.
TimeWindowSize This property is required. string
The time window size in iso8601 format.
Description This property is required. string
The description of the custom alert.
DisplayName This property is required. string
The display name of the custom alert.
IsEnabled This property is required. bool
Status of the custom alert.
MaxThreshold This property is required. int
The maximum threshold.
MinThreshold This property is required. int
The minimum threshold.
TimeWindowSize This property is required. string
The time window size in iso8601 format.
description This property is required. String
The description of the custom alert.
displayName This property is required. String
The display name of the custom alert.
isEnabled This property is required. Boolean
Status of the custom alert.
maxThreshold This property is required. Integer
The maximum threshold.
minThreshold This property is required. Integer
The minimum threshold.
timeWindowSize This property is required. String
The time window size in iso8601 format.
description This property is required. string
The description of the custom alert.
displayName This property is required. string
The display name of the custom alert.
isEnabled This property is required. boolean
Status of the custom alert.
maxThreshold This property is required. number
The maximum threshold.
minThreshold This property is required. number
The minimum threshold.
timeWindowSize This property is required. string
The time window size in iso8601 format.
description This property is required. str
The description of the custom alert.
display_name This property is required. str
The display name of the custom alert.
is_enabled This property is required. bool
Status of the custom alert.
max_threshold This property is required. int
The maximum threshold.
min_threshold This property is required. int
The minimum threshold.
time_window_size This property is required. str
The time window size in iso8601 format.
description This property is required. String
The description of the custom alert.
displayName This property is required. String
The display name of the custom alert.
isEnabled This property is required. Boolean
Status of the custom alert.
maxThreshold This property is required. Number
The maximum threshold.
minThreshold This property is required. Number
The minimum threshold.
timeWindowSize This property is required. String
The time window size in iso8601 format.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:security:DeviceSecurityGroup samplesecuritygroup /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0