< Back

Get-vRAResourceOperation

Sat Jan 18, 2020 9:59 pm

NAME Get-vRAResourceOperation



SYNOPSIS

Get a resource operation





SYNTAX

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



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



Get-vRAResourceOperation -ExternalId <String[]> [<CommonParameters>]





DESCRIPTION

A resource operation represents a Day-2 operation that can be performed on a resource.

Resource operations are registered in the Service Catalog and target a specific resource type.

These operations can be invoked / accessed by consumers through the self-service interface on the resources they

own.





PARAMETERS

-Id <String[]>

The id of the resource operation



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-ExternalId <String[]>

The external id of the resource operation



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-vRAResourceOperation













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



PS C:\\>Get-vRAResourceOperation -Id "a4d57b16-9706-471b-9960-d0855fe544bb"













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



PS C:\\>Get-vRAResourceOperation -Name "Power On"













-------------------------- EXAMPLE 4 --------------------------



PS C:\\>Get-vRAResourceOperation -ExternalId "Infrastructure.Machine.Action.PowerOn"















RELATED LINKS