external help file | Module Name | online version | schema |
---|---|---|---|
Az.Avd-help.xml |
Az.Avd |
2.0.0 |
Creates a new RBAC role for AVD autoscaling
New-AvdAutoScaleRole -RoleName <String> -RoleDescription <String> -ResourceGroupName <String> [-Assign]
[<CommonParameters>]
The function will create a new RBAC role and assign it at subscription or resourcegroup level.
New-AvdAutoScaleRole RoleName avd-autoscale RoleDescription "Plan for autoscale session hosts"
New-AvdAutoScaleRole RoleName avd-autoscale RoleDescription "Plan for autoscale session hosts" -resourcegroup rg-avd-001 -Assign
Enter the role name
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Enter the role description
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
If you like to scope at resourcegroup level, provide the resourcegroup name. (Default subscription scope)
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
If you like to assign directly, use this switch parameter
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.