Skip to content

Commit b008e5d

Browse files
committed
Add next steps section and fix heading convention issues
1 parent 4d37163 commit b008e5d

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

articles/automanage/tutorial-create-assignment-python.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ In this tutorial, you'll create a resource group and a virtual machine. You'll t
1818
- [Python](https://www.python.org/downloads/)
1919
- [Azure CLI](https://docs.microsoft.com/cli/azure/install-azure-cli-windows?tabs=azure-cli) or [Azure PowerShell](https://docs.microsoft.com/powershell/azure/install-az-ps)
2020

21-
## Create Resources
21+
## Create resources
2222

2323
### Sign in to Azure
2424

@@ -34,7 +34,7 @@ Connect-AzAccount
3434
```
3535
---
3636

37-
### Create Resource Group
37+
### Create resource group
3838

3939
Create a resource group:
4040

@@ -48,7 +48,7 @@ new-azResourceGroup -Name "test-rg" -Location "eastus"
4848
```
4949

5050
---
51-
### Create Virtual Machine
51+
### Create virtual machine
5252

5353
Create a Windows virtual machine:
5454

@@ -75,11 +75,11 @@ New-AzVm `
7575
```
7676

7777
---
78-
## Assign Best Practices Profile to Virtual Machine
78+
## Assign best practices profile to virtual machine
7979

8080
Now that we've successfully created a resource group and a virtual machine, it's time to set up a Python project and assign an Automanage Best Practices configuration profile to the newly created virtual machine.
8181

82-
### Install Python Packages
82+
### Install Python packages
8383

8484
Install the Azure Identity and Azure Automanage packages using `pip`:
8585

@@ -88,7 +88,7 @@ pip install azure-mgmt-automanage
8888
pip install azure-identity
8989
```
9090

91-
### Import Packages
91+
### Import packages
9292

9393
Create an `app.py` file and import the installed packages within it:
9494

@@ -105,7 +105,7 @@ rg = "test-rg"
105105
vm = "testvm"
106106
```
107107

108-
### Authenticate to Azure & Create an Automanage Client
108+
### Authenticate to Azure and create an Automanage client
109109

110110
Use the **DefaultAzureCredential** within the `azure-identity` package to **authenticate** to Azure. Then, use the credential to create an **Automanage Client**.
111111

@@ -114,7 +114,7 @@ credential = DefaultAzureCredential()
114114
client = AutomanageClient(credential, sub)
115115
```
116116

117-
### Create a Best Practices Profile Assignment
117+
### Create a best practices profile assignment
118118

119119
Now we'll create an assignment between our new virtual machine and a Best Practices profile:
120120

@@ -135,11 +135,14 @@ Run the python file:
135135
`python app.py`
136136

137137
---
138-
## View Assignment in the Portal
138+
## View Assignment in the portal
139139

140140
Navigate to the virtual machine and select the **Automanage** blade:
141141
![automanage blade](media/automanage-virtual-machines/automanage-blade.png)
142142

143143
View the Automanage Profile now enabled on the virtual machine:
144144
![automanage vm](media/automanage-virtual-machines/automanage-vm.png)
145145

146+
## Next steps
147+
148+
For more information on the Automanage Python SDK, please visit the [azure-samples-python-management repo](https://github.com/Azure-Samples/azure-samples-python-management/tree/main/samples/automanage).

0 commit comments

Comments
 (0)