The Set-AzDtlVMsPerUserPolicy cmdlet sets the virtual machines per user policy of a lab, which sets the maximum number of virtual machines allowed per user.
The cmdlet uses the specified resource group and name of the lab to set the policy.
Name : MaxVmsAllowedPerUser
Type : Microsoft.DevTestLab/labs/policySets/policies
Tags :
Id : /subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourcegroups/yuzhi-rg/providers/microsoft.devtestlab/labs/debte
stlab/policysets/default/policies/maxvmsallowedperuser
Location :
Fact Name : UserOwnedLabVmCount
Threshold : 1
Evaluator Type : MaxValuePolicy
Description :
Status : Enabled
Provisioning State :
Sets the virtual machines per user policy of a lab in DevTest Labs.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters.
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.