New-AzCostManagementQueryComparisonExpressionObject
Create a in-memory object for QueryComparisonExpression
Syntax
New-AzCostManagementQueryComparisonExpressionObject
-Name <String>
-Operator <OperatorType>
-Value <String[]>
[<CommonParameters>]
Description
Create a in-memory object for QueryComparisonExpression
Examples
Example 1: Create a comparison expression object of query for cost management export
New-AzCostManagementQueryComparisonExpressionObject -Name 'ResourceLocation' -Value @('East US', 'West Europe')
Name Operator Value
---- -------- -----
ResourceLocation In {East US, West Europe}
This command creates a comparison expression object of query for cost management export.
Parameters
-Name
The name of the column to use in comparison.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Operator
The operator to use for comparison.
Type: | OperatorType |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Value
Array of values to use for comparison.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.