< Back

Get-vRAResourceType

Sat Jan 18, 2020 9:59 pm

NAME Get-vRAResourceType



SYNOPSIS

Get a resource type





SYNTAX

Get-vRAResourceType [-Page <Int32>] [-Limit <Int32>] [<CommonParameters>]



Get-vRAResourceType -Id <String[]> [<CommonParameters>]



Get-vRAResourceType -Name <String[]> [<CommonParameters>]





DESCRIPTION

A Resource type is a type assigned to resources. The types are defined by the provider types.

It allows similar resources to be grouped together.





PARAMETERS

-Id <String[]>

The id of the resource type



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-Name <String[]>

The Name of the resource type



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Page <Int32>

The index of the page to display.



Required? false

Position? named

Default value 1

Accept pipeline input? false

Accept wildcard characters? false



-Limit <Int32>

The number of entries returned per page from the API. This has a default value of 100.



Required? false

Position? named

Default value 100

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

System.Int





OUTPUTS

System.Management.Automation.PSObject.





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-vRAResourceType













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



PS C:\\>Get-vRAResourceType -Id "Infrastructure.Machine"













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



PS C:\\>Get-vRAResourceType -Name "Machine"















RELATED LINKS