@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.88 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this method to get the device security group for the specified IoT Hub resource.
*
* Uses Azure REST 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 function getDeviceSecurityGroup(args: GetDeviceSecurityGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetDeviceSecurityGroupResult>;
export interface GetDeviceSecurityGroupArgs {
/**
* The name of the device security group. Note that the name of the device security group is case insensitive.
*/
deviceSecurityGroupName: string;
/**
* The identifier of the resource.
*/
resourceId: string;
}
/**
* The device security group resource
*/
export interface GetDeviceSecurityGroupResult {
/**
* The allow-list custom alert rules.
*/
readonly allowlistRules?: outputs.security.AllowlistCustomAlertRuleResponse[];
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The deny-list custom alert rules.
*/
readonly denylistRules?: outputs.security.DenylistCustomAlertRuleResponse[];
/**
* Resource Id
*/
readonly id: string;
/**
* Resource name
*/
readonly name: string;
/**
* The list of custom alert threshold rules.
*/
readonly thresholdRules?: outputs.security.ThresholdCustomAlertRuleResponse[];
/**
* The list of custom alert time-window rules.
*/
readonly timeWindowRules?: outputs.security.TimeWindowCustomAlertRuleResponse[];
/**
* Resource type
*/
readonly type: string;
}
/**
* Use this method to get the device security group for the specified IoT Hub resource.
*
* Uses Azure REST 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 function getDeviceSecurityGroupOutput(args: GetDeviceSecurityGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDeviceSecurityGroupResult>;
export interface GetDeviceSecurityGroupOutputArgs {
/**
* 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>;
}