Repository navigation
Get ResourcePoolMetric
Returns Resource Pool metrics as a metric object which can then be transmitted to Influx.
Get-ResourcePoolMetric [[-Measure] <String>] [[-Tags] <String[]>] [[-ResourcePool] <String[]>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
By default this cmdlet returns metrics for all Resource Pools returned by Get-ResourcePool.
Get-ResourcePoolMetric -Measure 'TestResources' -Tags Name,NumCpuShares -ResourcePool Test*
This command will return the specified tags and resource pool metrics for a measure called 'TestResources' for all resource pools starting with 'Test'
The name of the measure to be (ultimately) updated or created when this metric object is transmitted to Influx.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: ResourcePool
Accept pipeline input: False
Accept wildcard characters: FalseAn array of Resource Pool tags to be included. Default: 'Name','Parent'
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: ('Name', 'Parent')
Accept pipeline input: False
Accept wildcard characters: FalseOne or more Resource Pools to be queried.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: *
Accept pipeline input: False
Accept wildcard characters: False{{Fill ProgressAction Description}}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).