page_type | languages | products | extensions | ||||||
---|---|---|---|---|---|---|---|---|---|
sample |
|
|
|
Azure PolicyDefinition sample for managing policy definitions -
- Create a policy definition
- Create another policy definition
- List policy definitions
- Delete policy definitions.
To run this sample, first you need to set up a way to authenticate to Azure with Azure Identity.
Some options are:
- Through the Azure CLI Login.
- Via Visual Studio.
- Setting Environment Variables.
git clone https://github.com/Azure-Samples/resources-dotnet-manage-policy-definition.git
cd resources-dotnet-manage-policy-definition
dotnet run
Azure Management Libraries for C# Azure .Net Developer Center If you don't have a Microsoft Azure subscription you can get a FREE trial account here
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.