File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1616)
1717class Create (AAZCommand ):
1818 """Create an identity in the specified subscription and resource group.
19+
20+ :example: Create an identity with a name and a resource group.
21+ az identity create --name myIdentityName --resource-group myResourceGroup
22+
23+ :example: Create an identity using the resource restrictions and isolation scope parameter.
24+ az identity create --name myIdentityName --resource-group myResourceGroup --resource-restriction {"providers":["Microsoft.Compute"]} --isolation-scope Regional
1925 """
2026
2127 _aaz_info = {
Original file line number Diff line number Diff line change 1616)
1717class Update (AAZCommand ):
1818 """Update an identity in the specified subscription and resource group.
19+
20+ :example: Update an identity's isolation scope with a name and resource group.
21+ az identity update --name myIdentityName --resource-group myResourceGroup --isolation-scope None
22+
23+ :example: Update an identity using the resource restrictions and isolation scope parameter.
24+ az identity update --name myIdentityName --resource-group myResourceGroup --resource-restriction {"providers":["Microsoft.Storage"]} --isolation-scope Regional
1925 """
2026
2127 _aaz_info = {
You can’t perform that action at this time.
0 commit comments