Skip to content

Commit a6e5f34

Browse files
authored
Merge pull request #115102 from dominicbetts/hub-policy-samples
Add Azure Policy samples - IoT
2 parents 67066fd + aa44bc0 commit a6e5f34

File tree

3 files changed

+38
-2
lines changed

3 files changed

+38
-2
lines changed

articles/iot-fundamentals/toc.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,4 @@
2121
- name: Security architecture
2222
href: iot-security-architecture.md
2323
- name: Secure deployment
24-
href: iot-security-deployment.md
25-
24+
href: iot-security-deployment.md

articles/iot-hub/TOC.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@
8181
href: tutorial-firmware-update.md
8282
- name: Test device connectivity
8383
href: tutorial-connectivity.md
84+
- name: Samples
85+
items:
86+
- name: Azure Policy built-ins
87+
displayName: samples, policies, definitions
88+
href: ./policy-samples.md
8489
- name: Concepts
8590
items:
8691
- name: TLS support

articles/iot-hub/policy-samples.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: Built-in policy definitions for Azure IoT Hub
3+
description: Lists Azure Policy built-in policy definitions for Azure IoT Hub. These built-in policy definitions provide common approaches to managing your Azure resources.
4+
ms.date: 05/05/2020
5+
ms.topic: sample
6+
author: robinsh
7+
ms.author: robinsh
8+
ms.service: iot-hub
9+
ms.custom: subject-policy-samples
10+
---
11+
12+
# Azure Policy built-in policy definitions for Azure IoT Hub
13+
14+
For IoT Hub sample code that shows how to implement common IoT scenarios, see the [IoT Hub quickstarts](https://docs.microsoft.com/azure/iot-hub/quickstart-send-telemetry-cli). There are quickstarts for multiple programming languages including C, Node.js, and Python.
15+
16+
This page is an index of [Azure Policy](../governance/policy/overview.md) built-in policy
17+
definitions for Azure IoT Hub. For additional Azure Policy built-ins for other services,
18+
see [Azure Policy built-in definitions](../governance/policy/samples/built-in-policies.md).
19+
20+
The name of each built-in policy definition links to the policy definition in the Azure portal. Use
21+
the link in the **GitHub** column to view the source on the
22+
[Azure Policy GitHub repo](https://github.com/Azure/azure-policy).
23+
24+
## Azure IoT Hub
25+
26+
[!INCLUDE [azure-policy-samples-rp-iot](../../includes/policy/samples/byrp/microsoft.devices.md)]
27+
28+
## Next steps
29+
30+
- See the built-ins on the [Azure Policy GitHub repo](https://github.com/Azure/azure-policy).
31+
- Review the [Azure Policy definition structure](../governance/policy/concepts/definition-structure.md).
32+
- Review [Understanding policy effects](../governance/policy/concepts/effects.md).

0 commit comments

Comments
 (0)