Skip to content

Commit a121472

Browse files
Update articles/governance/machine-configuration/how-to/assign-configuration/rest-api.md
Co-authored-by: Mikey Lombardi (He/Him) <[email protected]>
1 parent e087fe1 commit a121472

File tree

1 file changed

+11
-6
lines changed
  • articles/governance/machine-configuration/how-to/assign-configuration

1 file changed

+11
-6
lines changed

articles/governance/machine-configuration/how-to/assign-configuration/rest-api.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,18 @@ To modify the example for other resource types such as [Arc-enabled servers][02]
2020
type to the name of the resource provider. For Arc-enabled servers, the resource provider is
2121
`Microsoft.HybridCompute/machines`.
2222

23-
Replace the following "<>" fields with values specific to your environment:
23+
Replace the following `<>` fields with values specific to your environment:
24+
25+
- `<base_url>` - The same for all requests, but be certain to update the provider to specify
26+
between `Microsoft.Compute/virtualMachines` or `Microsoft.HybridCompute/machines` as appropriate:
27+
28+
```text
29+
https://management.azure.com/subscriptions/<vm_Subscription>/resourceGroups/<vm_ResourceGroup>/providers/<providerType>
30+
```
31+
- `<vm_name>` - Specify the name of the Machine Resource for this assignment
32+
- `<configuration_name>` - Specify the name of the configuration to apply.
33+
- `<api_version>` - Select the appropriate API-version. The latest version is `2022-01-25`.
2434

25-
- `<base_url>` : The same for all requests, but be certain to update the provider to specify between `Microsoft.Compute/virtualMachines` or `Microsoft.HybridCompute/machines` as appropriate:
26-
```https://management.azure.com/subscriptions/<vm_Subscription>/resourceGroups/<vm_ResourceGroup>/providers/<providerType>```
27-
- `<vm_name>`: Specify the name of the Machine Resource for this assignment
28-
- `<configuration_name>`: Specify the name of the configuration to apply.
29-
- `<api_version>` : Select the appropriate API-version, the newest version is `2022-01-25`
3035
## Assign a built-in configuration
3136

3237
The following example assigns the `AuditSecureServer` built-in configuration.

0 commit comments

Comments
 (0)