UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

38 lines 3.21 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getDeviceSecurityGroupOutput = exports.getDeviceSecurityGroup = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * 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. */ function getDeviceSecurityGroup(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("azure-native:security:getDeviceSecurityGroup", { "deviceSecurityGroupName": args.deviceSecurityGroupName, "resourceId": args.resourceId, }, opts); } exports.getDeviceSecurityGroup = getDeviceSecurityGroup; /** * 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. */ function getDeviceSecurityGroupOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("azure-native:security:getDeviceSecurityGroup", { "deviceSecurityGroupName": args.deviceSecurityGroupName, "resourceId": args.resourceId, }, opts); } exports.getDeviceSecurityGroupOutput = getDeviceSecurityGroupOutput; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0RGV2aWNlU2VjdXJ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