Skip to content

Commit

Permalink
Fixed pipeline handling for Update-OciAnnotation
Browse files Browse the repository at this point in the history
  • Loading branch information
ffeldhaus committed May 3, 2018
1 parent b53acec commit b0ebe8a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/OnCommand-Insight.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -5010,27 +5010,22 @@ function Global:Update-OciAnnotation {
HelpMessage="OnCommand Insight Server.")]$Server=$CurrentOciServer,
[parameter(Mandatory=$True,
Position=1,
ValueFromPipeline=$True,
ValueFromPipelineByPropertyName=$True,
HelpMessage="Annotation name")][String]$Id,
[parameter(Mandatory=$False,
Position=2,
ValueFromPipeline=$True,
ValueFromPipelineByPropertyName=$True,
HelpMessage="Annotation name")][String]$Name,
[parameter(Mandatory=$False,
Position=3,
ValueFromPipeline=$True,
ValueFromPipelineByPropertyName=$True,
HelpMessage="Annotation type. Must be either DATE, TEXT, FIXED_ENUM, FLEXIBLE_ENUM, BOOLEAN or NUMBER")][ValidateSet("DATE","TEXT","FIXED_ENUM","FLEXIBLE_ENUM","BOOLEAN","NUMBER")][String]$Type,
[parameter(Mandatory=$False,
Position=4,
ValueFromPipeline=$True,
ValueFromPipelineByPropertyName=$True,
HelpMessage="Annotation description.")][String]$Description,
[parameter(Mandatory=$False,
Position=5,
ValueFromPipeline=$True,
ValueFromPipelineByPropertyName=$True,
HelpMessage="List of name, label pairs for enum types (e.g. @(@{name='name',label='label'}) )")][PSCustomObject[]]$enumValues
)
Expand Down

0 comments on commit b0ebe8a

Please sign in to comment.