Skip to content

Commit 4133232

Browse files
Merge pull request #267972 from davidsmatlak/ds-edits-20240304
Removes reference to Postman
2 parents bb86d60 + be63983 commit 4133232

File tree

2 files changed

+11
-19
lines changed

2 files changed

+11
-19
lines changed

articles/governance/policy/assign-policy-rest-api.md

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The first step in understanding compliance in Azure is to identify the status of
1010
This quickstart steps you through the process of creating a policy assignment to identify virtual
1111
machines that aren't using managed disks.
1212

13-
At the end of this process, you'll successfully identify virtual machines that aren't using managed
13+
At the end of this process, you identify virtual machines that aren't using managed
1414
disks. They're _non-compliant_ with the policy assignment.
1515

1616
REST API is used to create and manage Azure resources. This guide uses REST API to create a policy
@@ -22,12 +22,8 @@ assignment and to identify non-compliant resources in your Azure environment.
2222
account before you begin.
2323

2424
- If you haven't already, install [ARMClient](https://github.com/projectkudu/ARMClient). It's a tool
25-
that sends HTTP requests to Azure Resource Manager-based REST APIs. You can also use the "Try It"
26-
feature in REST documentation or tooling like PowerShell's
27-
[Invoke-RestMethod](/powershell/module/microsoft.powershell.utility/invoke-restmethod) or
28-
[Postman](https://www.postman.com).
29-
30-
[!INCLUDE [cloud-shell-try-it.md](../../../includes/cloud-shell-try-it.md)]
25+
that sends HTTP requests to Azure Resource Manager-based REST APIs. You can also use tooling like PowerShell's
26+
[Invoke-RestMethod](/powershell/module/microsoft.powershell.utility/invoke-restmethod).
3127

3228
## Create a policy assignment
3329

@@ -63,29 +59,29 @@ Run the following command to create a policy assignment:
6359
The preceding endpoint and request body uses the following information:
6460
6561
REST API URI:
66-
- **Scope** - A scope determines what resources or grouping of resources the policy assignment gets
62+
- **Scope** - A scope determines which resources or group of resources the policy assignment gets
6763
enforced on. It could range from a management group to an individual resource. Be sure to replace
6864
`{scope}` with one of the following patterns:
6965
- Management group: `/providers/Microsoft.Management/managementGroups/{managementGroup}`
7066
- Subscription: `/subscriptions/{subscriptionId}`
7167
- Resource group: `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}`
7268
- Resource: `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}`
73-
- **Name** - The actual name of the assignment. For this example, _audit-vm-manageddisks_ was used.
69+
- **Name** - The name of the assignment. For this example, _audit-vm-manageddisks_ was used.
7470
7571
Request Body:
7672
- **DisplayName** - Display name for the policy assignment. In this case, you're using _Audit VMs
7773
without managed disks Assignment_.
7874
- **Description** - A deeper explanation of what the policy does or why it's assigned to this scope.
7975
- **policyDefinitionId** - The policy definition ID, based on which you're using to create the
80-
assignment. In this case, it's the ID of policy definition _Audit VMs that do not use managed
76+
assignment. In this case, it's the ID of policy definition _Audit VMs that don't use managed
8177
disks_.
8278
- **nonComplianceMessages** - Set the message seen when a resource is denied due to non-compliance
8379
or evaluated to be non-compliant. For more information, see
8480
[assignment non-compliance messages](./concepts/assignment-structure.md#non-compliance-messages).
8581
8682
## Identify non-compliant resources
8783
88-
To view the resources that aren't compliant under this new assignment, run the following command to
84+
To view the non-compliant resources that aren't compliant under this new assignment, run the following command to
8985
get the resource IDs of the non-compliant resources that are output into a JSON file:
9086
9187
```http
@@ -118,8 +114,7 @@ Your results resemble the following example:
118114
}
119115
```
120116

121-
The results are comparable to what you'd typically see listed under **Non-compliant resources** in
122-
the Azure portal view.
117+
The results are comparable to what you'd typically see listed under **Non-compliant resources** in the Azure portal view.
123118

124119
## Clean up resources
125120

@@ -133,11 +128,9 @@ Replace `{scope}` with the scope you used when you first created the policy assi
133128

134129
## Next steps
135130

136-
In this quickstart, you assigned a policy definition to identify non-compliant resources in your
137-
Azure environment.
131+
In this quickstart, you assigned a policy definition to identify non-compliant resources in your Azure environment.
138132

139-
To learn more about assigning policies to validate that new resources are compliant, continue to the
140-
tutorial for:
133+
To learn more about assigning policies to validate that new resources are compliant, continue to the tutorial for:
141134

142135
> [!div class="nextstepaction"]
143136
> [Creating and managing policies](./tutorials/create-and-manage.md)

articles/governance/resource-graph/first-query-rest-api.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,7 @@ For more examples of REST API calls for Azure Resource Graph, see the
153153
154154
## Clean up resources
155155
156-
REST API has no libraries or modules to uninstall. If you installed a tool such as _ARMClient_ or
157-
_Postman_ to make the calls and no longer need it, you may uninstall the tool now.
156+
REST API has no libraries or modules to uninstall. If you installed a tool like _ARMClient_ to make the calls and no longer need it, you may uninstall the tool now.
158157
159158
## Next steps
160159

0 commit comments

Comments
 (0)