Skip to content

Commit 61b3397

Browse files
authored
Merge pull request #108887 from DCtheGeek/dmc-policy-apis
Adding and syncing API to both Hubs and TOC
2 parents 5ff52e5 + 37f6a47 commit 61b3397

File tree

3 files changed

+42
-11
lines changed

3 files changed

+42
-11
lines changed

articles/governance/index.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,6 @@ additionalContent:
128128
- text: Azure PowerShell
129129
url: https://www.powershellgallery.com/packages/Az.GuestConfiguration
130130
note: (Guest Configuration)
131-
- text: Azure SDK for .NET
132-
url: /dotnet/api/microsoft.azure.management.resourcemanager.models.policyassignment
133-
note: (Assignments)
134-
- text: Azure SDK for .NET
135-
url: /dotnet/api/microsoft.azure.management.resourcemanager.models.policydefinition
136-
note: (Policy Definitions)
137131
- text: REST
138132
url: /rest/api/policy-insights/
139133
note: (Policy Insights)
@@ -151,6 +145,22 @@ additionalContent:
151145
note: (Guest Configuration)
152146
- text: Resource Manager templates
153147
url: /azure/templates/microsoft.authorization/allversions
148+
- title: Azure Policy (more)
149+
links:
150+
- text: Azure SDK for .NET
151+
url: /dotnet/api/microsoft.azure.management.resourcemanager.models.policyassignment
152+
note: (Assignments)
153+
- text: Azure SDK for .NET
154+
url: /dotnet/api/microsoft.azure.management.resourcemanager.models.policydefinition
155+
note: (Policy Definitions)
156+
- text: Azure SDK for Node
157+
url: /javascript/api/@azure/arm-policy
158+
note: (Policy)
159+
- text: Azure SDK for Node
160+
url: /javascript/api/@azure/arm-policyinsights
161+
note: (Policy Insights)
162+
- text: Azure SDK for Python
163+
url: /python/api/azure-mgmt-policyinsights/azure.mgmt.policyinsights
154164
- title: Azure Blueprints
155165
links:
156166
- text: Blueprint functions

articles/governance/policy/index.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,6 @@ landingContent:
111111
url: /powershell/module/az.resources/#policies
112112
- text: Azure PowerShell (Policy Insights)
113113
url: /powershell/module/az.policyinsights#policy_insights
114-
- text: Azure SDK for .NET (Assignments)
115-
url: /dotnet/api/microsoft.azure.management.resourcemanager.models.policyassignment
116-
- text: Azure SDK for .NET (Policy Definitions)
117-
url: /dotnet/api/microsoft.azure.management.resourcemanager.models.policydefinition
118114
- text: REST (Policy Insights)
119115
url: /rest/api/policy-insights/
120116
- text: REST (Assignments)
@@ -124,4 +120,23 @@ landingContent:
124120
- text: REST (Initiatives)
125121
url: /rest/api/resources/policysetdefinitions
126122
- text: Resource Manager templates
127-
url: /azure/templates/microsoft.authorization/allversions
123+
url: /azure/templates/microsoft.authorization/allversions
124+
125+
- title: Reference (more)
126+
linkLists:
127+
- linkListType: reference
128+
links:
129+
- text: Azure SDK for .NET (Assignments)
130+
url: /dotnet/api/microsoft.azure.management.resourcemanager.models.policyassignment
131+
- text: Azure SDK for .NET (Policy Definitions)
132+
url: /dotnet/api/microsoft.azure.management.resourcemanager.models.policydefinition
133+
- text: Azure SDK for Node (Policy)
134+
url: /javascript/api/@azure/arm-policy
135+
- text: Azure SDK for Node (Policy Insights)
136+
url: /javascript/api/@azure/arm-policyinsights
137+
- text: Azure SDK for Python (Policy)
138+
url: /python/api/azure-mgmt-resource/azure.mgmt.resource.policy
139+
- text: Azure SDK for Python (Policy client)
140+
url: /python/api/azure-mgmt-resource/azure.mgmt.resource.policyclient
141+
- text: Azure SDK for Python (Policy Insights)
142+
url: /python/api/azure-mgmt-policyinsights/azure.mgmt.policyinsights

articles/governance/policy/toc.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,12 @@
151151
href: /dotnet/api/microsoft.azure.management.resourcemanager.models.policyassignment
152152
- name: Policy Definitions
153153
href: /dotnet/api/microsoft.azure.management.resourcemanager.models.policydefinition
154+
- name: Azure SDK for Node
155+
items:
156+
- name: Policy
157+
href: /javascript/api/@azure/arm-policy
158+
- name: Policy Insights
159+
href: /javascript/api/@azure/arm-policyinsights
154160
- name: Azure SDK for Python
155161
items:
156162
- name: Policy

0 commit comments

Comments
 (0)