Skip to content
This repository was archived by the owner on Jun 17, 2024. It is now read-only.

Commit 4e6298a

Browse files
authored
Merge pull request #2 from v-iam/master
Grammar and syntax fixes
2 parents 682e086 + 7bbec18 commit 4e6298a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,17 @@ network interface belonging to the subnet. The virtual machine is a `Standard_D1
4040
### To run this sample, do the following:
4141

4242
You will need to create an Azure service principal either through Azure CLI, PowerShell or the portal. You should gather
43-
each the Tenant Id, Client Id and Client Secret from creating the Service Principal for use below.
43+
the Tenant Id, Client Id and Client Secret from creating the Service Principal for use below.
4444

45-
We recommend to use a [virtual environnement](https://docs.python.org/3/tutorial/venv.html) to run this example, but it's not mandatory.
45+
We recommend using a [virtual environment](https://docs.python.org/3/tutorial/venv.html) to run this example, but it's not mandatory.
4646
To initialize a virtual environment:
4747

4848
- `pip install virtualenv`
4949
- `virtualenv mytestenv`
5050
- `cd mytestenv`
5151
- `source bin/activate`
5252

53-
Once in your virtual environement:
53+
Once in your virtual environment:
5454
- [Create a Service Principal](https://azure.microsoft.com/en-us/documentation/articles/resource-group-authenticate-service-principal/#authenticate-with-password---azure-cli)
5555
- `git clone https://github.com/Azure-Samples/resource-manager-python-template-deployment.git`
5656
- `cd resource-manager-python-template-deployment`
@@ -181,7 +181,7 @@ class Deployer(object):
181181

182182
The `__init__` method initializes the class with subscription, resource group and public key. The method also fetches
183183
the Azure Active Directory bearer token, which will be used in each HTTP request to the Azure Management API. The class
184-
will raise excewptions under two conditions, if the public key path does not exist or if there are empty
184+
will raise exceptions under two conditions: if the public key path does not exist, or if there are empty
185185
values for Tenant Id, Client Id or Client Secret environment variables.
186186

187187
The `deploy` method does the heavy lifting of creating or updating the resource group, preparing the template,
@@ -190,7 +190,7 @@ parameters and deploying the template.
190190
The `destroy` method simply deletes the resource group thus deleting all of the resources within that group.
191191

192192
Each of the above methods use the `azure.mgmt.resource.ResourceManagementClient` class, which resides within the
193-
[azure-mgmt-resource](https://pypi.python.org/pypi/azure-mgmt-resource/) package ([see the docs docs here](http://azure-sdk-for-python.readthedocs.io/en/latest/resourcemanagement.html)).
193+
[azure-mgmt-resource](https://pypi.python.org/pypi/azure-mgmt-resource/) package ([see the docs here](http://azure-sdk-for-python.readthedocs.io/en/latest/resourcemanagement.html)).
194194

195195
After the script runs, you should see something like the following in your output:
196196

0 commit comments

Comments
 (0)