The Set-AzDtlAllowedVMSizesPolicy cmdlet sets the allowed virtual machine sizes policy, which specifies a list of virtual machine sizes allowed in a lab.
The cmdlet uses the specified resource group and name of the lab to set the policy.
Name : AllowedVmSizesInLab
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/allowedvmsizesinlab
Location :
Fact Name : LabVmSize
Threshold : ["Basic_A0"]
Evaluator Type : AllowedValuesPolicy
Description :
Status : Enabled
Provisioning State :
Sets the allowed virtual machine sizes 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.
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.