@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.87 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare class DeviceSecurityGroup extends pulumi.CustomResource {
/**
* Get an existing DeviceSecurityGroup resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): DeviceSecurityGroup;
/**
* Returns true if the given object is an instance of DeviceSecurityGroup. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is DeviceSecurityGroup;
/**
* The allow-list custom alert rules.
*/
readonly allowlistRules: pulumi.Output<outputs.security.AllowlistCustomAlertRuleResponse[] | undefined>;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* The deny-list custom alert rules.
*/
readonly denylistRules: pulumi.Output<outputs.security.DenylistCustomAlertRuleResponse[] | undefined>;
/**
* Resource name
*/
readonly name: pulumi.Output<string>;
/**
* The list of custom alert threshold rules.
*/
readonly thresholdRules: pulumi.Output<outputs.security.ThresholdCustomAlertRuleResponse[] | undefined>;
/**
* The list of custom alert time-window rules.
*/
readonly timeWindowRules: pulumi.Output<outputs.security.TimeWindowCustomAlertRuleResponse[] | undefined>;
/**
* Resource type
*/
readonly type: pulumi.Output<string>;
/**
* Create a DeviceSecurityGroup resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: DeviceSecurityGroupArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a DeviceSecurityGroup resource.
*/
export interface DeviceSecurityGroupArgs {
/**
* The allow-list custom alert rules.
*/
allowlistRules?: pulumi.Input<pulumi.Input<inputs.security.AllowlistCustomAlertRuleArgs>[]>;
/**
* The deny-list custom alert rules.
*/
denylistRules?: pulumi.Input<pulumi.Input<inputs.security.DenylistCustomAlertRuleArgs>[]>;
/**
* The name of the device security group. Note that the name of the device security group is case insensitive.
*/
deviceSecurityGroupName?: pulumi.Input<string>;
/**
* The identifier of the resource.
*/
resourceId: pulumi.Input<string>;
/**
* The list of custom alert threshold rules.
*/
thresholdRules?: pulumi.Input<pulumi.Input<inputs.security.ThresholdCustomAlertRuleArgs>[]>;
/**
* The list of custom alert time-window rules.
*/
timeWindowRules?: pulumi.Input<pulumi.Input<inputs.security.TimeWindowCustomAlertRuleArgs>[]>;
}