page_type | languages | products | extensions | ||||||
---|---|---|---|---|---|---|---|---|---|
sample |
|
|
|
Azure PolicyAssignment sample for managing policy assignments -
- Create a policy assignment
- Create another policy assignment
- List policy assignments
- Delete policy assignments.
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-assignment.git
cd resources-dotnet-manage-policy-assignment
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 [email protected] with any additional questions or comments.