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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure PowerShell