This repository has been archived by the owner on Dec 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec14e60
commit 6d2bd35
Showing
1 changed file
with
22 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,40 +7,42 @@ products: | |
extensions: | ||
- services: Locks | ||
- platforms: dotnet | ||
description: "This sample shows examples of management locks usage on various resources." | ||
--- | ||
|
||
# Getting started with managing resource locks in .NET # | ||
|
||
Azure sample for applying locks to resources | ||
Summary ... | ||
This sample shows examples of management locks usage on various resources. | ||
Details ... | ||
1. Create a number of various resources to apply locks to... | ||
2. Apply various locks to the resources | ||
3. Retrieve and show lock information | ||
4. Remove the locks and clean up | ||
Azure sample for applying locks to resources. | ||
|
||
## Summary | ||
|
||
## Running this Sample ## | ||
This sample shows examples of management locks usage on various resources. | ||
|
||
To run this sample: | ||
## Details | ||
|
||
Set the environment variable `AZURE_AUTH_LOCATION` with the full path for an auth file. See [how to create an auth file](https://github.com/Azure/azure-libraries-for-net/blob/master/AUTH.md). | ||
1. Create a number of various resources to apply locks to... | ||
2. Apply various locks to the resources | ||
3. Retrieve and show lock information | ||
4. Remove the locks and clean up | ||
|
||
git clone https://github.com/Azure-Samples/locks-dotnet-manage-locks.git | ||
|
||
cd locks-dotnet-manage-locks | ||
## Running this sample | ||
|
||
dotnet build | ||
To run this sample: | ||
|
||
bin\Debug\net452\ManageLocks.exe | ||
Set the environment variable `AZURE_AUTH_LOCATION` with the full path for an auth file. See [how to create an auth file](https://github.com/Azure/azure-libraries-for-net/blob/master/AUTH.md). | ||
|
||
## More information ## | ||
```bash | ||
git clone https://github.com/Azure-Samples/locks-dotnet-manage-locks.git | ||
cd locks-dotnet-manage-locks | ||
dotnet build | ||
bin\Debug\net452\ManageLocks.exe | ||
``` | ||
|
||
## More information | ||
|
||
[Azure Management Libraries for C#](https://github.com/Azure/azure-sdk-for-net/tree/Fluent) | ||
[Azure .Net Developer Center](https://azure.microsoft.com/en-us/develop/net/) | ||
If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212) | ||
|
||
--- | ||
If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212). | ||
|
||
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments. | ||
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments. |