Skip to content

Latest commit

 

History

History
107 lines (81 loc) · 2.16 KB

New-AvdAutoScaleRole.md

File metadata and controls

107 lines (81 loc) · 2.16 KB
external help file Module Name online version schema
Az.Avd-help.xml
Az.Avd
2.0.0

New-AvdAutoScaleRole

SYNOPSIS

Creates a new RBAC role for AVD autoscaling

SYNTAX

New-AvdAutoScaleRole -RoleName <String> -RoleDescription <String> -ResourceGroupName <String> [-Assign]
 [<CommonParameters>]

DESCRIPTION

The function will create a new RBAC role and assign it at subscription or resourcegroup level.

EXAMPLES

EXAMPLE 1

New-AvdAutoScaleRole RoleName avd-autoscale RoleDescription "Plan for autoscale session hosts"

EXAMPLE 2

New-AvdAutoScaleRole RoleName avd-autoscale RoleDescription "Plan for autoscale session hosts" -resourcegroup rg-avd-001 -Assign

PARAMETERS

-RoleName

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

-RoleDescription

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

-ResourceGroupName

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

-Assign

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS