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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure PowerShell