From 433046fceaca464a83a1d7709ed7c38e2e91daf4 Mon Sep 17 00:00:00 2001 From: Azure PowerShell <65331932+azure-powershell-bot@users.noreply.github.com> Date: Wed, 4 Dec 2024 10:01:33 +0800 Subject: [PATCH] Migrate CostManagement from generation to main (#26820) * Move CostManagement to main * Update ChangeLog.md --------- Co-authored-by: Yabo Hu --- .../CostManagement.Autorest/README.md | 2 +- .../CostManagement.Autorest/build-module.ps1 | 7 ++++--- .../generate-portal-ux.ps1 | 9 ++++++++ .../api/Models/Api20211001/QueryFilter.cs | 2 +- .../Models/Api20211001/QueryFilter.json.cs | 4 ++-- .../CostManagement/Az.CostManagement.psd1 | 12 +++++------ .../CostManagement/ChangeLog.md | 1 + .../help/Get-AzCostManagementExport.md | 21 ++++++++++++++++--- ...-AzCostManagementExportExecutionHistory.md | 19 +++++++++++++++-- .../Invoke-AzCostManagementExecuteExport.md | 19 +++++++++++++++-- .../help/Invoke-AzCostManagementQuery.md | 19 +++++++++++++++-- ...AzCostManagementReservationDetailReport.md | 19 +++++++++++++++-- .../help/New-AzCostManagementDetailReport.md | 17 ++++++++++++++- .../help/New-AzCostManagementExport.md | 17 ++++++++++++++- ...nagementQueryComparisonExpressionObject.md | 17 ++++++++++++++- .../New-AzCostManagementQueryFilterObject.md | 17 ++++++++++++++- .../help/Remove-AzCostManagementExport.md | 19 +++++++++++++++-- .../help/Update-AzCostManagementExport.md | 19 +++++++++++++++-- 18 files changed, 208 insertions(+), 32 deletions(-) diff --git a/src/CostManagement/CostManagement.Autorest/README.md b/src/CostManagement/CostManagement.Autorest/README.md index a69418ac9b05..99e3c15a1c20 100644 --- a/src/CostManagement/CostManagement.Autorest/README.md +++ b/src/CostManagement/CostManagement.Autorest/README.md @@ -197,7 +197,7 @@ directive: "description": "Has comparison expression for a dimension", "$ref": "#/definitions/QueryComparisonExpression" }, - "tag": { + "tags": { "description": "Has comparison expression for a tag", "$ref": "#/definitions/QueryComparisonExpression" } diff --git a/src/CostManagement/CostManagement.Autorest/build-module.ps1 b/src/CostManagement/CostManagement.Autorest/build-module.ps1 index 6bd4ce87b40b..4de837f73ea5 100644 --- a/src/CostManagement/CostManagement.Autorest/build-module.ps1 +++ b/src/CostManagement/CostManagement.Autorest/build-module.ps1 @@ -67,6 +67,8 @@ if(-not $Isolated -and -not $Debugger) { $binFolder = Join-Path $PSScriptRoot 'bin' $objFolder = Join-Path $PSScriptRoot 'obj' +$isAzure = [System.Convert]::ToBoolean('true') + if(-not $Debugger) { Write-Host -ForegroundColor Green 'Cleaning build folders...' $null = Remove-Item -Recurse -ErrorAction SilentlyContinue -Path $binFolder, $objFolder @@ -143,7 +145,7 @@ if($NoDocs) { $null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue } $null = New-Item -ItemType Directory -Force -Path $docsFolder - $addComplexInterfaceInfo = ![System.Convert]::ToBoolean('true') + $addComplexInterfaceInfo = !$isAzure Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ModuleDescription $moduleDescription -DocsFolder $docsFolder -ExamplesFolder $examplesFolder -ModuleGuid $guid -AddComplexInterfaceInfo:$addComplexInterfaceInfo } @@ -178,5 +180,4 @@ if (-not $DisableAfterBuildTasks){ } } - -Write-Host -ForegroundColor Green '-------------Done-------------' +Write-Host -ForegroundColor Green '-------------Done-------------' \ No newline at end of file diff --git a/src/CostManagement/CostManagement.Autorest/generate-portal-ux.ps1 b/src/CostManagement/CostManagement.Autorest/generate-portal-ux.ps1 index aaf065d34db9..d3bbd0f9a1f9 100644 --- a/src/CostManagement/CostManagement.Autorest/generate-portal-ux.ps1 +++ b/src/CostManagement/CostManagement.Autorest/generate-portal-ux.ps1 @@ -248,7 +248,16 @@ function New-MetadataForParameterSet() $cmdletName = Get-MappedCmdletFromFunctionName $ParameterSetInfo.Name $description = (Get-CmdletAttribute -CmdletInfo $ParameterSetInfo -AttributeName "DescriptionAttribute").Description [object[]]$example = New-ExampleForParameterSet $ParameterSetInfo + if ($Null -eq $example) + { + $example = @() + } + [string[]]$signature = New-ParameterArrayInParameterSet $ParameterSetInfo + if ($Null -eq $signature) + { + $signature = @() + } return @{ Path = $httpPath diff --git a/src/CostManagement/CostManagement.Autorest/generated/api/Models/Api20211001/QueryFilter.cs b/src/CostManagement/CostManagement.Autorest/generated/api/Models/Api20211001/QueryFilter.cs index 7a43f0f54099..dc59e06dc65e 100644 --- a/src/CostManagement/CostManagement.Autorest/generated/api/Models/Api20211001/QueryFilter.cs +++ b/src/CostManagement/CostManagement.Autorest/generated/api/Models/Api20211001/QueryFilter.cs @@ -95,7 +95,7 @@ public partial interface IQueryFilter : Required = false, ReadOnly = false, Description = @"Has comparison expression for a tag", - SerializedName = @"tag", + SerializedName = @"tags", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IQueryComparisonExpression) })] Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IQueryComparisonExpression Tag { get; set; } diff --git a/src/CostManagement/CostManagement.Autorest/generated/api/Models/Api20211001/QueryFilter.json.cs b/src/CostManagement/CostManagement.Autorest/generated/api/Models/Api20211001/QueryFilter.json.cs index 732d28fe52b5..51e05cf8589d 100644 --- a/src/CostManagement/CostManagement.Autorest/generated/api/Models/Api20211001/QueryFilter.json.cs +++ b/src/CostManagement/CostManagement.Autorest/generated/api/Models/Api20211001/QueryFilter.json.cs @@ -81,7 +81,7 @@ internal QueryFilter(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.J {_or = If( json?.PropertyT("or"), out var __jsonOr) ? If( __jsonOr as Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IQueryFilter) (Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.QueryFilter.FromJson(__p) )) ))() : null : Or;} {_not = If( json?.PropertyT("not"), out var __jsonNot) ? Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.QueryFilter.FromJson(__jsonNot) : Not;} {_dimensions = If( json?.PropertyT("dimensions"), out var __jsonDimensions) ? Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.QueryComparisonExpression.FromJson(__jsonDimensions) : Dimensions;} - {_tag = If( json?.PropertyT("tag"), out var __jsonTag) ? Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.QueryComparisonExpression.FromJson(__jsonTag) : Tag;} + {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.QueryComparisonExpression.FromJson(__jsonTags) : Tag;} AfterFromJson(json); } @@ -124,7 +124,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.Json.JsonNode T } AddIf( null != this._not ? (Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.Json.JsonNode) this._not.ToJson(null,serializationMode) : null, "not" ,container.Add ); AddIf( null != this._dimensions ? (Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.Json.JsonNode) this._dimensions.ToJson(null,serializationMode) : null, "dimensions" ,container.Add ); - AddIf( null != this._tag ? (Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.Json.JsonNode) this._tag.ToJson(null,serializationMode) : null, "tag" ,container.Add ); + AddIf( null != this._tag ? (Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.Json.JsonNode) this._tag.ToJson(null,serializationMode) : null, "tags" ,container.Add ); AfterToJson(ref container); return container; } diff --git a/src/CostManagement/CostManagement/Az.CostManagement.psd1 b/src/CostManagement/CostManagement/Az.CostManagement.psd1 index 5e74ac0b1681..834d2e6e9524 100644 --- a/src/CostManagement/CostManagement/Az.CostManagement.psd1 +++ b/src/CostManagement/CostManagement/Az.CostManagement.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 9/25/2024 +# Generated on: 12/3/2024 # @{ @@ -51,16 +51,16 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '3.0.4'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.0.0'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'CostManagement.Autorest/bin/Az.CostManagement.private.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() +ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() +TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module FormatsToProcess = 'CostManagement.Autorest/Az.CostManagement.format.ps1xml' @@ -103,7 +103,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','Cost' + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'Cost' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -128,7 +128,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/CostManagement/CostManagement/ChangeLog.md b/src/CostManagement/CostManagement/ChangeLog.md index edd42c777225..bb0cec6c56e5 100644 --- a/src/CostManagement/CostManagement/ChangeLog.md +++ b/src/CostManagement/CostManagement/ChangeLog.md @@ -19,6 +19,7 @@ --> ## Upcoming Release +* Fixed bug tags in query filter cannot be properly serialized [#22326] ## Version 0.3.3 * Fixed an error that values in row could be null when grouping by the value of TagKey in Invoke-AzCostManagementQuery cmdlet. Fix in 0.3.1 accidentally removed from 0.3.2, added it back. [#25948] diff --git a/src/CostManagement/CostManagement/help/Get-AzCostManagementExport.md b/src/CostManagement/CostManagement/help/Get-AzCostManagementExport.md index 793368f6708a..f4bec0bcfd18 100644 --- a/src/CostManagement/CostManagement/help/Get-AzCostManagementExport.md +++ b/src/CostManagement/CostManagement/help/Get-AzCostManagementExport.md @@ -15,19 +15,19 @@ The operation to get the export for the defined scope by export name. ### List (Default) ``` Get-AzCostManagementExport -Scope [-Expand ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### Get ``` Get-AzCostManagementExport -Name -Scope [-Expand ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzCostManagementExport -InputObject [-Expand ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -128,6 +128,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Scope This parameter defines the scope of costmanagement from different perspectives 'Subscription','ResourceGroup' and 'Provide Service'. diff --git a/src/CostManagement/CostManagement/help/Get-AzCostManagementExportExecutionHistory.md b/src/CostManagement/CostManagement/help/Get-AzCostManagementExportExecutionHistory.md index aae5a3870034..0a5574fd2057 100644 --- a/src/CostManagement/CostManagement/help/Get-AzCostManagementExportExecutionHistory.md +++ b/src/CostManagement/CostManagement/help/Get-AzCostManagementExportExecutionHistory.md @@ -15,13 +15,13 @@ The operation to get the execution history of an export for the defined scope an ### Get (Default) ``` Get-AzCostManagementExportExecutionHistory -ExportName -Scope [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzCostManagementExportExecutionHistory -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -107,6 +107,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Scope This parameter defines the scope of costmanagement from different perspectives 'Subscription','ResourceGroup' and 'Provide Service'. diff --git a/src/CostManagement/CostManagement/help/Invoke-AzCostManagementExecuteExport.md b/src/CostManagement/CostManagement/help/Invoke-AzCostManagementExecuteExport.md index 17349b94827f..b31a075b1325 100644 --- a/src/CostManagement/CostManagement/help/Invoke-AzCostManagementExecuteExport.md +++ b/src/CostManagement/CostManagement/help/Invoke-AzCostManagementExecuteExport.md @@ -15,13 +15,13 @@ The operation to execute an export. ### Execute (Default) ``` Invoke-AzCostManagementExecuteExport -ExportName -Scope [-DefaultProfile ] - [-PassThru] [-WhatIf] [-Confirm] [] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### ExecuteViaIdentity ``` Invoke-AzCostManagementExecuteExport -InputObject [-DefaultProfile ] - [-PassThru] [-WhatIf] [-Confirm] [] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -108,6 +108,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Scope This parameter defines the scope of costmanagement from different perspectives 'Subscription','ResourceGroup' and 'Provide Service'. diff --git a/src/CostManagement/CostManagement/help/Invoke-AzCostManagementQuery.md b/src/CostManagement/CostManagement/help/Invoke-AzCostManagementQuery.md index 35e913606231..25458dc5303d 100644 --- a/src/CostManagement/CostManagement/help/Invoke-AzCostManagementQuery.md +++ b/src/CostManagement/CostManagement/help/Invoke-AzCostManagementQuery.md @@ -17,7 +17,7 @@ Query the usage data for scope defined. Invoke-AzCostManagementQuery -Scope -Timeframe -Type [-ConfigurationColumn ] [-DatasetAggregation ] [-DatasetFilter ] [-DatasetGranularity ] [-DatasetGrouping ] [-TimePeriodFrom ] - [-TimePeriodTo ] [-DefaultProfile ] [-WhatIf] + [-TimePeriodTo ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -27,7 +27,7 @@ Invoke-AzCostManagementQuery -ExternalCloudProviderId -ExternalCloudProviderType -Timeframe -Type [-ConfigurationColumn ] [-DatasetAggregation ] [-DatasetFilter ] [-DatasetGranularity ] [-DatasetGrouping ] [-TimePeriodFrom ] - [-TimePeriodTo ] [-DefaultProfile ] [-WhatIf] + [-TimePeriodTo ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -188,6 +188,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Scope This includes 'subscriptions/{subscriptionId}/' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope and 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId} for Management Group scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners. diff --git a/src/CostManagement/CostManagement/help/Invoke-AzCostManagementReservationDetailReport.md b/src/CostManagement/CostManagement/help/Invoke-AzCostManagementReservationDetailReport.md index 2609ca220ee7..ae5bcba1ce6a 100644 --- a/src/CostManagement/CostManagement/help/Invoke-AzCostManagementReservationDetailReport.md +++ b/src/CostManagement/CostManagement/help/Invoke-AzCostManagementReservationDetailReport.md @@ -17,7 +17,7 @@ For more details on the roles see, https://docs.microsoft.com/en-us/azure/cost-m ### By (Default) ``` Invoke-AzCostManagementReservationDetailReport -BillingAccountId -EndDate -StartDate - [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -25,7 +25,7 @@ Invoke-AzCostManagementReservationDetailReport -BillingAccountId -EndDa ``` Invoke-AzCostManagementReservationDetailReport -BillingAccountId -BillingProfileId -EndDate -StartDate [-DefaultProfile ] [-AsJob] [-NoWait] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -135,6 +135,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -StartDate Start Date diff --git a/src/CostManagement/CostManagement/help/New-AzCostManagementDetailReport.md b/src/CostManagement/CostManagement/help/New-AzCostManagementDetailReport.md index d04522cc75c4..44432c7e83eb 100644 --- a/src/CostManagement/CostManagement/help/New-AzCostManagementDetailReport.md +++ b/src/CostManagement/CostManagement/help/New-AzCostManagementDetailReport.md @@ -22,7 +22,7 @@ The details on the file(s) available for download will be available in the polli ``` New-AzCostManagementDetailReport -Scope [-BillingPeriod ] [-InvoiceId ] [-Metric ] [-TimePeriodEnd ] [-TimePeriodStart ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -146,6 +146,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Scope The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope. diff --git a/src/CostManagement/CostManagement/help/New-AzCostManagementExport.md b/src/CostManagement/CostManagement/help/New-AzCostManagementExport.md index 248593f1a761..77e9dce5237f 100644 --- a/src/CostManagement/CostManagement/help/New-AzCostManagementExport.md +++ b/src/CostManagement/CostManagement/help/New-AzCostManagementExport.md @@ -21,7 +21,7 @@ New-AzCostManagementExport -Name -Scope [-ConfigurationColumn [-DestinationContainer ] [-DestinationResourceId ] [-DestinationRootFolderPath ] [-Format ] [-RecurrencePeriodFrom ] [-RecurrencePeriodTo ] [-ScheduleRecurrence ] [-ScheduleStatus ] [-TimePeriodFrom ] - [-TimePeriodTo ] [-DefaultProfile ] [-WhatIf] + [-TimePeriodTo ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -204,6 +204,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RecurrencePeriodFrom The start date of recurrence. diff --git a/src/CostManagement/CostManagement/help/New-AzCostManagementQueryComparisonExpressionObject.md b/src/CostManagement/CostManagement/help/New-AzCostManagementQueryComparisonExpressionObject.md index 33cee127aa2a..a6814b99b7b0 100644 --- a/src/CostManagement/CostManagement/help/New-AzCostManagementQueryComparisonExpressionObject.md +++ b/src/CostManagement/CostManagement/help/New-AzCostManagementQueryComparisonExpressionObject.md @@ -14,7 +14,7 @@ Create a in-memory object for QueryComparisonExpression ``` New-AzCostManagementQueryComparisonExpressionObject -Name -Operator -Value - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -67,6 +67,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Value Array of values to use for comparison. diff --git a/src/CostManagement/CostManagement/help/New-AzCostManagementQueryFilterObject.md b/src/CostManagement/CostManagement/help/New-AzCostManagementQueryFilterObject.md index bc5fbe822dfa..aeec6eaaff58 100644 --- a/src/CostManagement/CostManagement/help/New-AzCostManagementQueryFilterObject.md +++ b/src/CostManagement/CostManagement/help/New-AzCostManagementQueryFilterObject.md @@ -15,7 +15,7 @@ Create a in-memory object for QueryFilter ``` New-AzCostManagementQueryFilterObject [-And ] [-Dimensions ] [-Not ] [-Or ] [-Tag ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -108,6 +108,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Tag Has comparison expression for a tag. To construct, see NOTES section for TAG properties and create a hash table. diff --git a/src/CostManagement/CostManagement/help/Remove-AzCostManagementExport.md b/src/CostManagement/CostManagement/help/Remove-AzCostManagementExport.md index b952a080037b..62bcecaf40ad 100644 --- a/src/CostManagement/CostManagement/help/Remove-AzCostManagementExport.md +++ b/src/CostManagement/CostManagement/help/Remove-AzCostManagementExport.md @@ -15,13 +15,13 @@ The operation to delete a export. ### Delete (Default) ``` Remove-AzCostManagementExport -Name -Scope [-DefaultProfile ] [-PassThru] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzCostManagementExport -InputObject [-DefaultProfile ] [-PassThru] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -108,6 +108,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Scope This parameter defines the scope of costmanagement from different perspectives 'Subscription','ResourceGroup' and 'Provide Service'. diff --git a/src/CostManagement/CostManagement/help/Update-AzCostManagementExport.md b/src/CostManagement/CostManagement/help/Update-AzCostManagementExport.md index 4d76b344b948..622213b2b15a 100644 --- a/src/CostManagement/CostManagement/help/Update-AzCostManagementExport.md +++ b/src/CostManagement/CostManagement/help/Update-AzCostManagementExport.md @@ -22,7 +22,7 @@ Update-AzCostManagementExport -Name -Scope [-ConfigurationColu [-DestinationContainer ] [-DestinationResourceId ] [-DestinationRootFolderPath ] [-ETag ] [-Format ] [-RecurrencePeriodFrom ] [-RecurrencePeriodTo ] [-ScheduleRecurrence ] [-ScheduleStatus ] [-TimePeriodFrom ] - [-TimePeriodTo ] [-DefaultProfile ] [-WhatIf] + [-TimePeriodTo ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -33,7 +33,7 @@ Update-AzCostManagementExport -InputObject [-Configura [-DestinationContainer ] [-DestinationResourceId ] [-DestinationRootFolderPath ] [-ETag ] [-Format ] [-RecurrencePeriodFrom ] [-RecurrencePeriodTo ] [-ScheduleRecurrence ] [-ScheduleStatus ] [-TimePeriodFrom ] - [-TimePeriodTo ] [-DefaultProfile ] [-WhatIf] + [-TimePeriodTo ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -262,6 +262,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RecurrencePeriodFrom The start date of recurrence.