< Back

Get-vRAReservationComputeResourceNetwork

Sat Jan 18, 2020 9:58 pm

NAME Get-vRAReservationComputeResourceNetwork



SYNOPSIS

Get available networks for a compute resource





SYNTAX

Get-vRAReservationComputeResourceNetwork -Type <String> -ComputeResourceId <String> [<CommonParameters>]



Get-vRAReservationComputeResourceNetwork -Type <String> -ComputeResourceId <String> -Name <String[]>

[<CommonParameters>]





DESCRIPTION

Get available network for a compute resource





PARAMETERS

-Type <String>

The reservation 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



-ComputeResourceId <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 network



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 associated compute resources for the desired reservation type in vRA 7.1



Get-vRAReservationComputeResource -Type 'vSphere' -Name 'Cluster01 (vCenter)' | Select-Object -ExpandProperty Id



# Retrieve all associated compute resource networks for the desired reservation type in vRA 7.1

Get-vRAReservationComputeResourceNetwork -Type 'vSphere' -ComputeResourceId 0c0a6d46-4c37-4b82-b427-c47d026bf71d









-------------------------- EXAMPLE 2 --------------------------



PS C:\\># Retrieve associated compute resources for the desired reservation type in vRA 7.1



Get-vRAReservationComputeResource -Type 'vSphere' -Name 'Cluster01 (vCenter)' | Select-Object -ExpandProperty Id



# Retrieve associated compute resource network for the desired reservation type in vRA 7.1

Get-vRAReservationComputeResourceNetwork -Type 'vSphere' -ComputeResourceId 0c0a6d46-4c37-4b82-b427-c47d026bf71d

-Name VMNetwork









-------------------------- EXAMPLE 3 --------------------------



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)' | Select-Object

-ExpandProperty Id



# Retrieve associated compute resource network for the desired reservation type in vRA 7.2 and later

Get-vRAReservationComputeResourceNetwork -Type 'vSphere (vCenter)' -ComputeResourceId

0c0a6d46-4c37-4b82-b427-c47d026bf71d -Name VMNetwork











RELATED LINKS