I have question on how can we restrict WAP Tenant users not to have an option to delete their VMs from WAP Tenant portal?
I have question on how can we restrict WAP Tenant users not to have an option to delete their VMs from WAP Tenant portal?
@AbishekDhavala-6216 there are few ways like from RBAC, Azure Resource Locks , Azure Resource Manager Policies
ARM Policy Sample
$policy = New-AzureRmPolicyDefinition -Name regionPolicyDefinition -Description "Policy to allow resource creation only in certain regions" -Policy '{
"if" : {
"not" : {
"field" : "Location",
"in" : ["northeurope" , "westeurope"]
}
},
"then" : {
"effect" : "deny";
}
}'
JSON :
$policy = New-AzureRmPolicyDefinition -Name regionPolicyDefinition -Description "Policy to allow resource creation only in y in certain regions"-Policy <path-to-policy-json-on-disk>
Is this solution for Azure right? Will the same solution applicable in Windows Azure pack
3 people are following this question.