< Back
Get-vRAReservationComputeResource
Post
NAME Get-vRAReservationComputeResource
SYNOPSIS
Get a compute resource for a reservation type
SYNTAX
Get-vRAReservationComputeResource -Type <String> [<CommonParameters>]
Get-vRAReservationComputeResource -Type <String> -Id <String[]> [<CommonParameters>]
Get-vRAReservationComputeResource -Type <String> -Name <String[]> [<CommonParameters>]
DESCRIPTION
Get a compute resource for a reservation type
PARAMETERS
-Type <String>
The resource type
Valid types vRA 7.1 and earlier: Amazon, Hyper-V, KVM, OpenStack, SCVMM, vCloud Air, vCloud Director,
vSphere,XenServer
Valid types vRA 7.2 and later: Amazon EC2, Azure, Hyper-V (SCVMM), Hyper-V (Standalone), KVM (RHEV),
OpenStack, vCloud Air, vCloud Director, vSphere (vCenter), XenServer
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Id <String[]>
The id of the compute resource
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String[]>
The name of the compute resource
Required? true
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:\\># Retrieve a list of compatible reservation types
Get-vRAReservationType | Select Name
# Retrieve associated compute resources for the desired reservation type in vRA 7.1
Get-vRAReservationComputeResource -Type 'vSphere'
-------------------------- EXAMPLE 2 --------------------------
PS C:\\># Retrieve a list of compatible reservation types
Get-vRAReservationType | Select Name
# Retrieve associated compute resources for the desired reservation type in vRA 7.2 and later
Get-vRAReservationComputeResource -Type 'vSphere (vCenter)'
-------------------------- EXAMPLE 3 --------------------------
PS C:\\># Retrieve associated compute resources for the vSphere reservation type in vRA 7.1
Get-vRAReservationComputeResource -Type 'vSphere' -Id 75ae3400-beb5-4b0b-895a-0484413c93b1
-------------------------- EXAMPLE 4 --------------------------
PS C:\\># Retrieve associated compute resources for the vSphere reservation type in vRA 7.2 and later
Get-vRAReservationComputeResource -Type 'vSphere (vCenter)' -Id 75ae3400-beb5-4b0b-895a-0484413c93b1
-------------------------- EXAMPLE 5 --------------------------
PS C:\\># Retrieve associated compute resources for the desired reservation type in vRA 7.1
Get-vRAReservationComputeResource -Type 'vSphere' -Name "Cluster01 (vCenter)"
-------------------------- EXAMPLE 6 --------------------------
PS C:\\># Retrieve associated compute resources for the desired reservation type in vRA 7.2 and later
Get-vRAReservationComputeResource -Type 'vSphere (vCenter)' -Name "Cluster01 (vCenter)"
RELATED LINKS
SYNOPSIS
Get a compute resource for a reservation type
SYNTAX
Get-vRAReservationComputeResource -Type <String> [<CommonParameters>]
Get-vRAReservationComputeResource -Type <String> -Id <String[]> [<CommonParameters>]
Get-vRAReservationComputeResource -Type <String> -Name <String[]> [<CommonParameters>]
DESCRIPTION
Get a compute resource for a reservation type
PARAMETERS
-Type <String>
The resource type
Valid types vRA 7.1 and earlier: Amazon, Hyper-V, KVM, OpenStack, SCVMM, vCloud Air, vCloud Director,
vSphere,XenServer
Valid types vRA 7.2 and later: Amazon EC2, Azure, Hyper-V (SCVMM), Hyper-V (Standalone), KVM (RHEV),
OpenStack, vCloud Air, vCloud Director, vSphere (vCenter), XenServer
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Id <String[]>
The id of the compute resource
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String[]>
The name of the compute resource
Required? true
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:\\># Retrieve a list of compatible reservation types
Get-vRAReservationType | Select Name
# Retrieve associated compute resources for the desired reservation type in vRA 7.1
Get-vRAReservationComputeResource -Type 'vSphere'
-------------------------- EXAMPLE 2 --------------------------
PS C:\\># Retrieve a list of compatible reservation types
Get-vRAReservationType | Select Name
# Retrieve associated compute resources for the desired reservation type in vRA 7.2 and later
Get-vRAReservationComputeResource -Type 'vSphere (vCenter)'
-------------------------- EXAMPLE 3 --------------------------
PS C:\\># Retrieve associated compute resources for the vSphere reservation type in vRA 7.1
Get-vRAReservationComputeResource -Type 'vSphere' -Id 75ae3400-beb5-4b0b-895a-0484413c93b1
-------------------------- EXAMPLE 4 --------------------------
PS C:\\># Retrieve associated compute resources for the vSphere reservation type in vRA 7.2 and later
Get-vRAReservationComputeResource -Type 'vSphere (vCenter)' -Id 75ae3400-beb5-4b0b-895a-0484413c93b1
-------------------------- EXAMPLE 5 --------------------------
PS C:\\># Retrieve associated compute resources for the desired reservation type in vRA 7.1
Get-vRAReservationComputeResource -Type 'vSphere' -Name "Cluster01 (vCenter)"
-------------------------- EXAMPLE 6 --------------------------
PS C:\\># Retrieve associated compute resources for the desired reservation type in vRA 7.2 and later
Get-vRAReservationComputeResource -Type 'vSphere (vCenter)' -Name "Cluster01 (vCenter)"
RELATED LINKS