azure-native.security.DeviceSecurityGroup
Explore with Pulumi AI
The device security group resource API Version: 2019-08-01.
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,
},
});
});
package main
import (
security "github.com/pulumi/pulumi-azure-native-sdk/security"
"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.TimeWindowCustomAlertRuleArgs{
nil,
},
})
if err != nil {
return err
}
return nil
})
}
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 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()
.build());
}
}
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=[azure_native.security.TimeWindowCustomAlertRuleArgs()])
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: [{}],
});
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:
- {}
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 string
- The unique name of the resource.
- args DeviceSecurityGroupArgs
- 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 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 string
- The unique name of the resource.
- args DeviceSecurityGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeviceSecurityGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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[]
{
{
{ "allowlistValues", new[]
{
"string",
} },
{ "isEnabled", false },
{ "ruleType", "AllowlistCustomAlertRule" },
},
},
DenylistRules = new[]
{
{
{ "denylistValues", new[]
{
"string",
} },
{ "isEnabled", false },
{ "ruleType", "DenylistCustomAlertRule" },
},
},
DeviceSecurityGroupName = "string",
ThresholdRules = new[]
{
{
{ "isEnabled", false },
{ "maxThreshold", 0 },
{ "minThreshold", 0 },
{ "ruleType", "ThresholdCustomAlertRule" },
},
},
TimeWindowRules = new[]
{
{
{ "isEnabled", false },
{ "maxThreshold", 0 },
{ "minThreshold", 0 },
{ "ruleType", "TimeWindowCustomAlertRule" },
{ "timeWindowSize", "string" },
},
},
});
example, err := security.NewDeviceSecurityGroup(ctx, "deviceSecurityGroupResource", &security.DeviceSecurityGroupArgs{
ResourceId: "string",
AllowlistRules: []map[string]interface{}{
map[string]interface{}{
"allowlistValues": []string{
"string",
},
"isEnabled": false,
"ruleType": "AllowlistCustomAlertRule",
},
},
DenylistRules: []map[string]interface{}{
map[string]interface{}{
"denylistValues": []string{
"string",
},
"isEnabled": false,
"ruleType": "DenylistCustomAlertRule",
},
},
DeviceSecurityGroupName: "string",
ThresholdRules: []map[string]interface{}{
map[string]interface{}{
"isEnabled": false,
"maxThreshold": 0,
"minThreshold": 0,
"ruleType": "ThresholdCustomAlertRule",
},
},
TimeWindowRules: []map[string]interface{}{
map[string]interface{}{
"isEnabled": false,
"maxThreshold": 0,
"minThreshold": 0,
"ruleType": "TimeWindowCustomAlertRule",
"timeWindowSize": "string",
},
},
})
var deviceSecurityGroupResource = new DeviceSecurityGroup("deviceSecurityGroupResource", DeviceSecurityGroupArgs.builder()
.resourceId("string")
.allowlistRules(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.denylistRules(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.deviceSecurityGroupName("string")
.thresholdRules(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.timeWindowRules(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
device_security_group_resource = azure_native.security.DeviceSecurityGroup("deviceSecurityGroupResource",
resource_id=string,
allowlist_rules=[{
allowlistValues: [string],
isEnabled: False,
ruleType: AllowlistCustomAlertRule,
}],
denylist_rules=[{
denylistValues: [string],
isEnabled: False,
ruleType: DenylistCustomAlertRule,
}],
device_security_group_name=string,
threshold_rules=[{
isEnabled: False,
maxThreshold: 0,
minThreshold: 0,
ruleType: ThresholdCustomAlertRule,
}],
time_window_rules=[{
isEnabled: False,
maxThreshold: 0,
minThreshold: 0,
ruleType: TimeWindowCustomAlertRule,
timeWindowSize: string,
}])
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",
}],
});
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
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:
- Resource
Id string - The identifier of the resource.
- Allowlist
Rules List<Pulumi.Azure Native. Security. Inputs. Allowlist Custom Alert Rule> - The allow-list custom alert rules.
- Denylist
Rules List<Pulumi.Azure Native. Security. Inputs. Denylist Custom Alert Rule> - The deny-list custom alert rules.
- Device
Security stringGroup Name - The name of the device security group. Note that the name of the device security group is case insensitive.
- Threshold
Rules List<Pulumi.Azure Native. Security. Inputs. Threshold Custom Alert Rule> - The list of custom alert threshold rules.
- Time
Window List<Pulumi.Rules Azure Native. Security. Inputs. Time Window Custom Alert Rule> - The list of custom alert time-window rules.
- Resource
Id string - The identifier of the resource.
- Allowlist
Rules []AllowlistCustom Alert Rule Args - The allow-list custom alert rules.
- Denylist
Rules []DenylistCustom Alert Rule Args - The deny-list custom alert rules.
- Device
Security stringGroup Name - The name of the device security group. Note that the name of the device security group is case insensitive.
- Threshold
Rules []ThresholdCustom Alert Rule Args - The list of custom alert threshold rules.
- Time
Window []TimeRules Window Custom Alert Rule Args - The list of custom alert time-window rules.
- resource
Id String - The identifier of the resource.
- allowlist
Rules List<AllowlistCustom Alert Rule> - The allow-list custom alert rules.
- denylist
Rules List<DenylistCustom Alert Rule> - The deny-list custom alert rules.
- device
Security StringGroup Name - The name of the device security group. Note that the name of the device security group is case insensitive.
- threshold
Rules List<ThresholdCustom Alert Rule> - The list of custom alert threshold rules.
- time
Window List<TimeRules Window Custom Alert Rule> - The list of custom alert time-window rules.
- resource
Id string - The identifier of the resource.
- allowlist
Rules AllowlistCustom Alert Rule[] - The allow-list custom alert rules.
- denylist
Rules DenylistCustom Alert Rule[] - The deny-list custom alert rules.
- device
Security stringGroup Name - The name of the device security group. Note that the name of the device security group is case insensitive.
- threshold
Rules ThresholdCustom Alert Rule[] - The list of custom alert threshold rules.
- time
Window TimeRules Window Custom Alert Rule[] - The list of custom alert time-window rules.
- resource_
id str - The identifier of the resource.
- allowlist_
rules Sequence[AllowlistCustom Alert Rule Args] - The allow-list custom alert rules.
- denylist_
rules Sequence[DenylistCustom Alert Rule Args] - The deny-list custom alert rules.
- device_
security_ strgroup_ name - The name of the device security group. Note that the name of the device security group is case insensitive.
- threshold_
rules Sequence[ThresholdCustom Alert Rule Args] - The list of custom alert threshold rules.
- time_
window_ Sequence[Timerules Window Custom Alert Rule Args] - The list of custom alert time-window rules.
- resource
Id String - The identifier of the resource.
- allowlist
Rules List<Property Map> - The allow-list custom alert rules.
- denylist
Rules List<Property Map> - The deny-list custom alert rules.
- device
Security StringGroup Name - The name of the device security group. Note that the name of the device security group is case insensitive.
- threshold
Rules List<Property Map> - The list of custom alert threshold rules.
- time
Window List<Property Map>Rules - 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:
Supporting Types
AllowlistCustomAlertRule, AllowlistCustomAlertRuleArgs
- Allowlist
Values List<string> - The values to allow. The format of the values depends on the rule type.
- Is
Enabled bool - Status of the custom alert.
- Allowlist
Values []string - The values to allow. The format of the values depends on the rule type.
- Is
Enabled bool - Status of the custom alert.
- allowlist
Values List<String> - The values to allow. The format of the values depends on the rule type.
- is
Enabled Boolean - Status of the custom alert.
- allowlist
Values string[] - The values to allow. The format of the values depends on the rule type.
- is
Enabled boolean - Status of the custom alert.
- allowlist_
values Sequence[str] - The values to allow. The format of the values depends on the rule type.
- is_
enabled bool - Status of the custom alert.
- allowlist
Values List<String> - The values to allow. The format of the values depends on the rule type.
- is
Enabled Boolean - Status of the custom alert.
AllowlistCustomAlertRuleResponse, AllowlistCustomAlertRuleResponseArgs
- Allowlist
Values List<string> - The values to allow. The format of the values depends on the rule type.
- Description string
- The description of the custom alert.
- Display
Name string - The display name of the custom alert.
- Is
Enabled bool - Status of the custom alert.
- Value
Type string - The value type of the items in the list.
- Allowlist
Values []string - The values to allow. The format of the values depends on the rule type.
- Description string
- The description of the custom alert.
- Display
Name string - The display name of the custom alert.
- Is
Enabled bool - Status of the custom alert.
- Value
Type string - The value type of the items in the list.
- allowlist
Values List<String> - The values to allow. The format of the values depends on the rule type.
- description String
- The description of the custom alert.
- display
Name String - The display name of the custom alert.
- is
Enabled Boolean - Status of the custom alert.
- value
Type String - The value type of the items in the list.
- allowlist
Values string[] - The values to allow. The format of the values depends on the rule type.
- description string
- The description of the custom alert.
- display
Name string - The display name of the custom alert.
- is
Enabled boolean - Status of the custom alert.
- value
Type string - The value type of the items in the list.
- allowlist_
values Sequence[str] - The values to allow. The format of the values depends on the rule type.
- description str
- The description of the custom alert.
- display_
name str - The display name of the custom alert.
- is_
enabled bool - Status of the custom alert.
- value_
type str - The value type of the items in the list.
- allowlist
Values List<String> - The values to allow. The format of the values depends on the rule type.
- description String
- The description of the custom alert.
- display
Name String - The display name of the custom alert.
- is
Enabled Boolean - Status of the custom alert.
- value
Type String - The value type of the items in the list.
DenylistCustomAlertRule, DenylistCustomAlertRuleArgs
- Denylist
Values List<string> - The values to deny. The format of the values depends on the rule type.
- Is
Enabled bool - Status of the custom alert.
- Denylist
Values []string - The values to deny. The format of the values depends on the rule type.
- Is
Enabled bool - Status of the custom alert.
- denylist
Values List<String> - The values to deny. The format of the values depends on the rule type.
- is
Enabled Boolean - Status of the custom alert.
- denylist
Values string[] - The values to deny. The format of the values depends on the rule type.
- is
Enabled boolean - Status of the custom alert.
- denylist_
values Sequence[str] - The values to deny. The format of the values depends on the rule type.
- is_
enabled bool - Status of the custom alert.
- denylist
Values List<String> - The values to deny. The format of the values depends on the rule type.
- is
Enabled Boolean - Status of the custom alert.
DenylistCustomAlertRuleResponse, DenylistCustomAlertRuleResponseArgs
- Denylist
Values List<string> - The values to deny. The format of the values depends on the rule type.
- Description string
- The description of the custom alert.
- Display
Name string - The display name of the custom alert.
- Is
Enabled bool - Status of the custom alert.
- Value
Type string - The value type of the items in the list.
- Denylist
Values []string - The values to deny. The format of the values depends on the rule type.
- Description string
- The description of the custom alert.
- Display
Name string - The display name of the custom alert.
- Is
Enabled bool - Status of the custom alert.
- Value
Type string - The value type of the items in the list.
- denylist
Values List<String> - The values to deny. The format of the values depends on the rule type.
- description String
- The description of the custom alert.
- display
Name String - The display name of the custom alert.
- is
Enabled Boolean - Status of the custom alert.
- value
Type String - The value type of the items in the list.
- denylist
Values string[] - The values to deny. The format of the values depends on the rule type.
- description string
- The description of the custom alert.
- display
Name string - The display name of the custom alert.
- is
Enabled boolean - Status of the custom alert.
- value
Type string - The value type of the items in the list.
- denylist_
values Sequence[str] - The values to deny. The format of the values depends on the rule type.
- description str
- The description of the custom alert.
- display_
name str - The display name of the custom alert.
- is_
enabled bool - Status of the custom alert.
- value_
type str - The value type of the items in the list.
- denylist
Values List<String> - The values to deny. The format of the values depends on the rule type.
- description String
- The description of the custom alert.
- display
Name String - The display name of the custom alert.
- is
Enabled Boolean - Status of the custom alert.
- value
Type String - The value type of the items in the list.
ThresholdCustomAlertRule, ThresholdCustomAlertRuleArgs
- Is
Enabled bool - Status of the custom alert.
- Max
Threshold int - The maximum threshold.
- Min
Threshold int - The minimum threshold.
- Is
Enabled bool - Status of the custom alert.
- Max
Threshold int - The maximum threshold.
- Min
Threshold int - The minimum threshold.
- is
Enabled Boolean - Status of the custom alert.
- max
Threshold Integer - The maximum threshold.
- min
Threshold Integer - The minimum threshold.
- is
Enabled boolean - Status of the custom alert.
- max
Threshold number - The maximum threshold.
- min
Threshold number - The minimum threshold.
- is_
enabled bool - Status of the custom alert.
- max_
threshold int - The maximum threshold.
- min_
threshold int - The minimum threshold.
- is
Enabled Boolean - Status of the custom alert.
- max
Threshold Number - The maximum threshold.
- min
Threshold Number - The minimum threshold.
ThresholdCustomAlertRuleResponse, ThresholdCustomAlertRuleResponseArgs
- Description string
- The description of the custom alert.
- Display
Name string - The display name of the custom alert.
- Is
Enabled bool - Status of the custom alert.
- Max
Threshold int - The maximum threshold.
- Min
Threshold int - The minimum threshold.
- Description string
- The description of the custom alert.
- Display
Name string - The display name of the custom alert.
- Is
Enabled bool - Status of the custom alert.
- Max
Threshold int - The maximum threshold.
- Min
Threshold int - The minimum threshold.
- description String
- The description of the custom alert.
- display
Name String - The display name of the custom alert.
- is
Enabled Boolean - Status of the custom alert.
- max
Threshold Integer - The maximum threshold.
- min
Threshold Integer - The minimum threshold.
- description string
- The description of the custom alert.
- display
Name string - The display name of the custom alert.
- is
Enabled boolean - Status of the custom alert.
- max
Threshold number - The maximum threshold.
- min
Threshold number - The minimum threshold.
- description str
- The description of the custom alert.
- display_
name str - The display name of the custom alert.
- is_
enabled bool - Status of the custom alert.
- max_
threshold int - The maximum threshold.
- min_
threshold int - The minimum threshold.
- description String
- The description of the custom alert.
- display
Name String - The display name of the custom alert.
- is
Enabled Boolean - Status of the custom alert.
- max
Threshold Number - The maximum threshold.
- min
Threshold Number - The minimum threshold.
TimeWindowCustomAlertRule, TimeWindowCustomAlertRuleArgs
- Is
Enabled bool - Status of the custom alert.
- Max
Threshold int - The maximum threshold.
- Min
Threshold int - The minimum threshold.
- Time
Window stringSize - The time window size in iso8601 format.
- Is
Enabled bool - Status of the custom alert.
- Max
Threshold int - The maximum threshold.
- Min
Threshold int - The minimum threshold.
- Time
Window stringSize - The time window size in iso8601 format.
- is
Enabled Boolean - Status of the custom alert.
- max
Threshold Integer - The maximum threshold.
- min
Threshold Integer - The minimum threshold.
- time
Window StringSize - The time window size in iso8601 format.
- is
Enabled boolean - Status of the custom alert.
- max
Threshold number - The maximum threshold.
- min
Threshold number - The minimum threshold.
- time
Window stringSize - The time window size in iso8601 format.
- is_
enabled bool - Status of the custom alert.
- max_
threshold int - The maximum threshold.
- min_
threshold int - The minimum threshold.
- time_
window_ strsize - The time window size in iso8601 format.
- is
Enabled Boolean - Status of the custom alert.
- max
Threshold Number - The maximum threshold.
- min
Threshold Number - The minimum threshold.
- time
Window StringSize - The time window size in iso8601 format.
TimeWindowCustomAlertRuleResponse, TimeWindowCustomAlertRuleResponseArgs
- Description string
- The description of the custom alert.
- Display
Name string - The display name of the custom alert.
- Is
Enabled bool - Status of the custom alert.
- Max
Threshold int - The maximum threshold.
- Min
Threshold int - The minimum threshold.
- Time
Window stringSize - The time window size in iso8601 format.
- Description string
- The description of the custom alert.
- Display
Name string - The display name of the custom alert.
- Is
Enabled bool - Status of the custom alert.
- Max
Threshold int - The maximum threshold.
- Min
Threshold int - The minimum threshold.
- Time
Window stringSize - The time window size in iso8601 format.
- description String
- The description of the custom alert.
- display
Name String - The display name of the custom alert.
- is
Enabled Boolean - Status of the custom alert.
- max
Threshold Integer - The maximum threshold.
- min
Threshold Integer - The minimum threshold.
- time
Window StringSize - The time window size in iso8601 format.
- description string
- The description of the custom alert.
- display
Name string - The display name of the custom alert.
- is
Enabled boolean - Status of the custom alert.
- max
Threshold number - The maximum threshold.
- min
Threshold number - The minimum threshold.
- time
Window stringSize - The time window size in iso8601 format.
- description str
- The description of the custom alert.
- display_
name str - The display name of the custom alert.
- is_
enabled bool - Status of the custom alert.
- max_
threshold int - The maximum threshold.
- min_
threshold int - The minimum threshold.
- time_
window_ strsize - The time window size in iso8601 format.
- description String
- The description of the custom alert.
- display
Name String - The display name of the custom alert.
- is
Enabled Boolean - Status of the custom alert.
- max
Threshold Number - The maximum threshold.
- min
Threshold Number - The minimum threshold.
- time
Window StringSize - 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 /subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Devices/iotHubs/sampleiothub/providers/Microsoft.Security/deviceSecurityGroups/samplesecuritygroup
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0