Jaa


Get-FinOpsPricingUnit command

The Get-FinOpsPricingUnit command returns a pricing unit (also known as unit of measure) with the singular, distinct unit based on applicable block pricing rules, and the pricing block size.

Note

Block pricing is when a service is measured in groups of units. For example, 100 hours.


Syntax

Get-FinOpsPricingUnit `
    [[-UnitOfMeasure] <string>] `
    [-DistinctUnits <string>] `
    [-BlockSize <string>]

Parameters

Name Description
UnitOfMeasure Optional. Unit of measure (also known as pricing unit) value from a Cost Management cost/usage details or price sheet dataset. Accepts wildcards. Default = * (all).
DistinctUnits Optional. The distinct unit for the pricing unit without block pricing. Accepts wildcards. Default = * (all).
BlockSize Optional. The number of units for block pricing (for example, 100 for "100 Hours"). Default = null (all).

Examples

The following examples demonstrate how to use the Get-FinOpsPricingUnit command to retrieve pricing units based on different criteria.

Get based on unit of measure

Get-FinOpsPricingUnit -UnitOfMeasure "*hours*"

Returns all pricing units with "hours" in the name.

Get based on distinct units

Get-FinOpsPricingUnit -DistinctUnits "GB"

Returns all pricing units measured in gigabytes.


Related products:

Related solutions: