< Back
New-vRAReservationPolicy
Post
NAME New-vRAReservationPolicy
SYNOPSIS
Create a vRA Reservation Policy
SYNTAX
New-vRAReservationPolicy -Name <String> [-Description <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
New-vRAReservationPolicy -JSON <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Create a vRA Reservation Policy
PARAMETERS
-Name <String>
Reservation Policy Name
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Description <String>
Reservation Policy Description
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-JSON <String>
Body text to send in JSON format
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String.
OUTPUTS
System.Management.Automation.PSObject
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>New-vRAReservationPolicy -Name ReservationPolicy01 -Description "This is Reservation Policy 01"
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>$JSON = @"
{
"name": "ReservationPolicy01",
"description": "This is Reservation Policy 01",
"reservationPolicyTypeId": "Infrastructure.Reservation.Policy.ComputeResource"
}
"@
$JSON | New-vRAReservationPolicy
RELATED LINKS
SYNOPSIS
Create a vRA Reservation Policy
SYNTAX
New-vRAReservationPolicy -Name <String> [-Description <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
New-vRAReservationPolicy -JSON <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Create a vRA Reservation Policy
PARAMETERS
-Name <String>
Reservation Policy Name
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Description <String>
Reservation Policy Description
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-JSON <String>
Body text to send in JSON format
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String.
OUTPUTS
System.Management.Automation.PSObject
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>New-vRAReservationPolicy -Name ReservationPolicy01 -Description "This is Reservation Policy 01"
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>$JSON = @"
{
"name": "ReservationPolicy01",
"description": "This is Reservation Policy 01",
"reservationPolicyTypeId": "Infrastructure.Reservation.Policy.ComputeResource"
}
"@
$JSON | New-vRAReservationPolicy
RELATED LINKS