From 95c0a367c03284d2bef833a008e5e15bddd61b79 Mon Sep 17 00:00:00 2001
From: Azure PowerShell
<65331932+azure-powershell-bot@users.noreply.github.com>
Date: Tue, 23 Apr 2024 13:36:32 +0800
Subject: [PATCH] Refresh autorest-selected modules from generation to main
(#24711)
---
.../Az.BillingBenefits.format.ps1xml | 22 -
.../Az.BillingBenefits.psd1 | 160 +-
.../Az.BillingBenefits.psm1 | 24 +-
.../BillingBenefits.Autorest/README.md | 9 +-
.../BillingBenefits.Autorest/build-module.ps1 | 13 +-
.../create-model-cmdlets.ps1 | 12 +-
...AzBillingBenefitsReservationOrderAlias.ps1 | 9 +-
.../Get-AzBillingBenefitsSavingsPlan.ps1 | 9 +-
.../Get-AzBillingBenefitsSavingsPlanList.ps1 | 9 +-
.../Get-AzBillingBenefitsSavingsPlanOrder.ps1 | 9 +-
...AzBillingBenefitsSavingsPlanOrderAlias.ps1 | 9 +-
...zBillingBenefitsElevateSavingPlanOrder.ps1 | 9 +-
...gBenefitsSavingsPlanPurchaseValidation.ps1 | 13 +-
...ingBenefitsSavingsPlanUpdateValidation.ps1 | 9 +-
...AzBillingBenefitsReservationOrderAlias.ps1 | 9 +-
...AzBillingBenefitsSavingsPlanOrderAlias.ps1 | 11 +-
.../exports/ProxyCmdletDefinitions.ps1 | 105 +-
.../Update-AzBillingBenefitsSavingsPlan.ps1 | 9 +-
.../generate-help.ps1 | 4 +-
.../generate-portal-ux.ps1 | 375 +++
.../generated/Module.cs | 8 +
.../generated/api/BillingBenefits.cs | 16 +-
...eservationOrderAliasResponse.PowerShell.cs | 16 -
.../ReservationOrderAliasResponse.cs | 50 +-
.../SavingsPlanOrderAliasModel.PowerShell.cs | 16 -
.../Api20221101/SavingsPlanOrderAliasModel.cs | 50 +-
...pdateAcceptedResponseHeaders.PowerShell.cs | 167 --
...teAcceptedResponseHeaders.TypeConverter.cs | 151 --
...avingsPlanUpdateAcceptedResponseHeaders.cs | 57 -
...sPlanUpdateAcceptedResponseHeaders.json.cs | 107 -
.../GetAzBillingBenefitsOperation_List.cs | 40 +-
...illingBenefitsReservationOrderAlias_Get.cs | 40 +-
...itsReservationOrderAlias_GetViaIdentity.cs | 40 +-
...etAzBillingBenefitsSavingsPlanList_List.cs | 40 +-
...illingBenefitsSavingsPlanOrderAlias_Get.cs | 40 +-
...itsSavingsPlanOrderAlias_GetViaIdentity.cs | 40 +-
...etAzBillingBenefitsSavingsPlanOrder_Get.cs | 40 +-
...BenefitsSavingsPlanOrder_GetViaIdentity.cs | 40 +-
...tAzBillingBenefitsSavingsPlanOrder_List.cs | 40 +-
.../GetAzBillingBenefitsSavingsPlan_Get.cs | 40 +-
...llingBenefitsSavingsPlan_GetViaIdentity.cs | 40 +-
.../GetAzBillingBenefitsSavingsPlan_List.cs | 40 +-
...gBenefitsElevateSavingPlanOrder_Elevate.cs | 40 +-
...evateSavingPlanOrder_ElevateViaIdentity.cs | 40 +-
...sSavingsPlanPurchaseValidation_Validate.cs | 40 +-
...PlanPurchaseValidation_ValidateExpanded.cs | 40 +-
...itsSavingsPlanUpdateValidation_Validate.cs | 40 +-
...gsPlanUpdateValidation_ValidateExpanded.cs | 40 +-
...lanUpdateValidation_ValidateViaIdentity.cs | 40 +-
...eValidation_ValidateViaIdentityExpanded.cs | 40 +-
...ingBenefitsReservationOrderAlias_Create.cs | 40 +-
...itsReservationOrderAlias_CreateExpanded.cs | 40 +-
...ReservationOrderAlias_CreateViaIdentity.cs | 40 +-
...ionOrderAlias_CreateViaIdentityExpanded.cs | 40 +-
...ingBenefitsSavingsPlanOrderAlias_Create.cs | 40 +-
...itsSavingsPlanOrderAlias_CreateExpanded.cs | 40 +-
...SavingsPlanOrderAlias_CreateViaIdentity.cs | 40 +-
...lanOrderAlias_CreateViaIdentityExpanded.cs | 40 +-
...dateAzBillingBenefitsSavingsPlan_Update.cs | 50 +-
...llingBenefitsSavingsPlan_UpdateExpanded.cs | 50 +-
...ngBenefitsSavingsPlan_UpdateViaIdentity.cs | 50 +-
...tsSavingsPlan_UpdateViaIdentityExpanded.cs | 50 +-
.../BuildTime/Cmdlets/ExportHelpMarkdown.cs | 5 +-
.../BuildTime/Cmdlets/ExportProxyCmdlet.cs | 5 +-
.../runtime/BuildTime/MarkdownRenderer.cs | 24 +-
.../BuildTime/Models/PsProxyOutputs.cs | 34 +-
.../runtime/BuildTime/PsAttributes.cs | 7 +
.../generated/runtime/MessageAttribute.cs | 100 +-
.../runtime/MessageAttributeHelper.cs | 37 +-
.../runtime/Properties/Resources.Designer.cs | 28 +-
.../runtime/Properties/Resources.resx | 10 +-
.../help/Az.BillingBenefits.md | 47 +
...-AzBillingBenefitsReservationOrderAlias.md | 124 +
.../help/Get-AzBillingBenefitsSavingsPlan.md | 156 ++
.../Get-AzBillingBenefitsSavingsPlanList.md | 184 ++
.../Get-AzBillingBenefitsSavingsPlanOrder.md | 144 +
...-AzBillingBenefitsSavingsPlanOrderAlias.md | 124 +
...AzBillingBenefitsElevateSavingPlanOrder.md | 156 ++
...ngBenefitsSavingsPlanPurchaseValidation.md | 166 ++
...lingBenefitsSavingsPlanUpdateValidation.md | 211 ++
...-AzBillingBenefitsReservationOrderAlias.md | 468 ++++
...-AzBillingBenefitsSavingsPlanOrderAlias.md | 439 ++++
.../BillingBenefits.Autorest/help/README.md | 11 +
.../Update-AzBillingBenefitsSavingsPlan.md | 342 +++
.../internal/Az.BillingBenefits.internal.psm1 | 4 +-
.../Get-AzBillingBenefitsOperation.ps1 | 3 +-
.../internal/ProxyCmdletDefinitions.ps1 | 3 +-
.../BillingBenefits.Autorest/test-module.ps1 | 8 +-
.../BillingBenefits.Autorest/test/loadEnv.ps1 | 2 +-
.../utils/Get-SubscriptionIdTestSafe.ps1 | 7 +
.../BillingBenefits/Az.BillingBenefits.psd1 | 6 +-
.../BillingBenefits/ChangeLog.md | 1 +
...-AzBillingBenefitsReservationOrderAlias.md | 42 +-
.../help/Get-AzBillingBenefitsSavingsPlan.md | 46 +-
.../Get-AzBillingBenefitsSavingsPlanList.md | 25 +-
.../Get-AzBillingBenefitsSavingsPlanOrder.md | 44 +-
...-AzBillingBenefitsSavingsPlanOrderAlias.md | 46 +-
...AzBillingBenefitsElevateSavingPlanOrder.md | 39 +-
...ngBenefitsSavingsPlanPurchaseValidation.md | 83 +-
...lingBenefitsSavingsPlanUpdateValidation.md | 116 +-
...-AzBillingBenefitsReservationOrderAlias.md | 91 +-
...-AzBillingBenefitsSavingsPlanOrderAlias.md | 84 +-
.../Update-AzBillingBenefitsSavingsPlan.md | 107 +-
src/Cdn/Cdn.Autorest/Az.Cdn.psm1 | 24 +-
src/Cdn/Cdn.Autorest/generated/Module.cs | 8 +
.../ClearAzCdnEndpointContent_Purge1.cs | 34 +-
...learAzCdnEndpointContent_PurgeExpanded1.cs | 34 +-
...rAzCdnEndpointContent_PurgeViaIdentity1.cs | 34 +-
...dpointContent_PurgeViaIdentityExpanded1.cs | 34 +-
...learAzFrontDoorCdnEndpointContent_Purge.cs | 34 +-
...ontDoorCdnEndpointContent_PurgeExpanded.cs | 34 +-
...DoorCdnEndpointContent_PurgeViaIdentity.cs | 34 +-
...ndpointContent_PurgeViaIdentityExpanded.cs | 34 +-
...bleAzCdnCustomDomainCustomHttps_Disable.cs | 34 +-
...tomDomainCustomHttps_DisableViaIdentity.cs | 34 +-
...ableAzCdnCustomDomainCustomHttps_Enable.cs | 34 +-
...stomDomainCustomHttps_EnableViaIdentity.cs | 34 +-
.../cmdlets/GetAzCdnCustomDomain_Get1.cs | 34 +-
.../GetAzCdnCustomDomain_GetViaIdentity1.cs | 34 +-
.../cmdlets/GetAzCdnCustomDomain_List1.cs | 34 +-
.../cmdlets/GetAzCdnEdgeNode_List.cs | 34 +-
.../GetAzCdnEndpointResourceUsage_List1.cs | 34 +-
.../cmdlets/GetAzCdnEndpoint_Get1.cs | 34 +-
.../GetAzCdnEndpoint_GetViaIdentity1.cs | 34 +-
.../cmdlets/GetAzCdnEndpoint_List1.cs | 34 +-
.../GetAzCdnLogAnalyticLocation_Get.cs | 34 +-
...AzCdnLogAnalyticLocation_GetViaIdentity.cs | 34 +-
.../cmdlets/GetAzCdnLogAnalyticMetric_Get.cs | 34 +-
...etAzCdnLogAnalyticMetric_GetViaIdentity.cs | 34 +-
.../cmdlets/GetAzCdnLogAnalyticRanking_Get.cs | 34 +-
...tAzCdnLogAnalyticRanking_GetViaIdentity.cs | 34 +-
.../GetAzCdnLogAnalyticResource_Get.cs | 34 +-
...AzCdnLogAnalyticResource_GetViaIdentity.cs | 34 +-
...zCdnLogAnalyticWafLogAnalyticMetric_Get.cs | 34 +-
...yticWafLogAnalyticMetric_GetViaIdentity.cs | 34 +-
...CdnLogAnalyticWafLogAnalyticRanking_Get.cs | 34 +-
...ticWafLogAnalyticRanking_GetViaIdentity.cs | 34 +-
.../cmdlets/GetAzCdnOperation_List.cs | 34 +-
.../cmdlets/GetAzCdnOriginGroup_Get1.cs | 34 +-
.../GetAzCdnOriginGroup_GetViaIdentity1.cs | 34 +-
.../cmdlets/GetAzCdnOriginGroup_List1.cs | 34 +-
.../generated/cmdlets/GetAzCdnOrigin_Get1.cs | 34 +-
.../cmdlets/GetAzCdnOrigin_GetViaIdentity1.cs | 34 +-
.../generated/cmdlets/GetAzCdnOrigin_List1.cs | 34 +-
.../GetAzCdnProfileResourceUsage_List1.cs | 34 +-
...dnProfileSupportedOptimizationType_List.cs | 34 +-
.../generated/cmdlets/GetAzCdnProfile_Get.cs | 34 +-
.../cmdlets/GetAzCdnProfile_GetViaIdentity.cs | 34 +-
.../generated/cmdlets/GetAzCdnProfile_List.cs | 34 +-
.../cmdlets/GetAzCdnProfile_List1.cs | 34 +-
.../GetAzCdnSubscriptionResourceUsage_List.cs | 34 +-
.../GetAzFrontDoorCdnCustomDomain_Get.cs | 34 +-
...FrontDoorCdnCustomDomain_GetViaIdentity.cs | 34 +-
.../GetAzFrontDoorCdnCustomDomain_List.cs | 34 +-
...zFrontDoorCdnEndpointResourceUsage_List.cs | 34 +-
.../cmdlets/GetAzFrontDoorCdnEndpoint_Get.cs | 34 +-
...etAzFrontDoorCdnEndpoint_GetViaIdentity.cs | 34 +-
.../cmdlets/GetAzFrontDoorCdnEndpoint_List.cs | 34 +-
...ontDoorCdnOriginGroupResourceUsage_List.cs | 34 +-
.../GetAzFrontDoorCdnOriginGroup_Get.cs | 34 +-
...zFrontDoorCdnOriginGroup_GetViaIdentity.cs | 34 +-
.../GetAzFrontDoorCdnOriginGroup_List.cs | 34 +-
.../cmdlets/GetAzFrontDoorCdnOrigin_Get.cs | 34 +-
.../GetAzFrontDoorCdnOrigin_GetViaIdentity.cs | 34 +-
.../cmdlets/GetAzFrontDoorCdnOrigin_List.cs | 34 +-
...AzFrontDoorCdnProfileResourceUsage_List.cs | 34 +-
.../cmdlets/GetAzFrontDoorCdnRoute_Get.cs | 34 +-
.../GetAzFrontDoorCdnRoute_GetViaIdentity.cs | 34 +-
.../cmdlets/GetAzFrontDoorCdnRoute_List.cs | 34 +-
...AzFrontDoorCdnRuleSetResourceUsage_List.cs | 34 +-
.../cmdlets/GetAzFrontDoorCdnRuleSet_Get.cs | 34 +-
...GetAzFrontDoorCdnRuleSet_GetViaIdentity.cs | 34 +-
.../cmdlets/GetAzFrontDoorCdnRuleSet_List.cs | 34 +-
.../cmdlets/GetAzFrontDoorCdnRule_Get.cs | 34 +-
.../GetAzFrontDoorCdnRule_GetViaIdentity.cs | 34 +-
.../cmdlets/GetAzFrontDoorCdnRule_List.cs | 34 +-
.../cmdlets/GetAzFrontDoorCdnSecret_Get.cs | 34 +-
.../GetAzFrontDoorCdnSecret_GetViaIdentity.cs | 34 +-
.../cmdlets/GetAzFrontDoorCdnSecret_List.cs | 34 +-
.../GetAzFrontDoorCdnSecurityPolicy_Get.cs | 34 +-
...ontDoorCdnSecurityPolicy_GetViaIdentity.cs | 34 +-
.../GetAzFrontDoorCdnSecurityPolicy_List.cs | 34 +-
.../ImportAzCdnEndpointContent_Load.cs | 34 +-
...ImportAzCdnEndpointContent_LoadExpanded.cs | 34 +-
...ortAzCdnEndpointContent_LoadViaIdentity.cs | 34 +-
...EndpointContent_LoadViaIdentityExpanded.cs | 34 +-
.../InvokeAzCdnCanProfileMigrate_Can.cs | 34 +-
...nvokeAzCdnCanProfileMigrate_CanExpanded.cs | 34 +-
...keAzCdnCanProfileMigrate_CanViaIdentity.cs | 34 +-
...anProfileMigrate_CanViaIdentityExpanded.cs | 34 +-
...nvokeAzCdnCommitProfileMigration_Commit.cs | 34 +-
...ommitProfileMigration_CommitViaIdentity.cs | 34 +-
.../cmdlets/MoveAzCdnProfile_Migrate.cs | 34 +-
.../MoveAzCdnProfile_MigrateExpanded.cs | 34 +-
.../MoveAzCdnProfile_MigrateViaIdentity.cs | 34 +-
...AzCdnProfile_MigrateViaIdentityExpanded.cs | 34 +-
.../NewAzCdnCustomDomain_CreateExpanded1.cs | 34 +-
.../NewAzCdnEndpoint_CreateExpanded1.cs | 34 +-
.../NewAzCdnOriginGroup_CreateExpanded1.cs | 34 +-
.../cmdlets/NewAzCdnOrigin_CreateExpanded1.cs | 34 +-
.../cmdlets/NewAzCdnProfileSsoUri_Generate.cs | 34 +-
...wAzCdnProfileSsoUri_GenerateViaIdentity.cs | 34 +-
.../cmdlets/NewAzCdnProfile_CreateExpanded.cs | 34 +-
...FrontDoorCdnCustomDomain_CreateExpanded.cs | 34 +-
...ewAzFrontDoorCdnEndpoint_CreateExpanded.cs | 34 +-
...zFrontDoorCdnOriginGroup_CreateExpanded.cs | 34 +-
.../NewAzFrontDoorCdnOrigin_CreateExpanded.cs | 34 +-
.../NewAzFrontDoorCdnRoute_CreateExpanded.cs | 34 +-
.../NewAzFrontDoorCdnRuleSet_Create.cs | 34 +-
.../NewAzFrontDoorCdnRule_CreateExpanded.cs | 34 +-
.../NewAzFrontDoorCdnSecret_CreateExpanded.cs | 34 +-
...ontDoorCdnSecurityPolicy_CreateExpanded.cs | 34 +-
.../RemoveAzCdnCustomDomain_Delete1.cs | 34 +-
...oveAzCdnCustomDomain_DeleteViaIdentity1.cs | 34 +-
.../cmdlets/RemoveAzCdnEndpoint_Delete1.cs | 34 +-
.../RemoveAzCdnEndpoint_DeleteViaIdentity1.cs | 34 +-
.../cmdlets/RemoveAzCdnOriginGroup_Delete1.cs | 34 +-
...moveAzCdnOriginGroup_DeleteViaIdentity1.cs | 34 +-
.../cmdlets/RemoveAzCdnOrigin_Delete1.cs | 34 +-
.../RemoveAzCdnOrigin_DeleteViaIdentity1.cs | 34 +-
.../cmdlets/RemoveAzCdnProfile_Delete.cs | 34 +-
.../RemoveAzCdnProfile_DeleteViaIdentity.cs | 34 +-
...RemoveAzFrontDoorCdnCustomDomain_Delete.cs | 34 +-
...ntDoorCdnCustomDomain_DeleteViaIdentity.cs | 34 +-
.../RemoveAzFrontDoorCdnEndpoint_Delete.cs | 34 +-
...zFrontDoorCdnEndpoint_DeleteViaIdentity.cs | 34 +-
.../RemoveAzFrontDoorCdnOriginGroup_Delete.cs | 34 +-
...ontDoorCdnOriginGroup_DeleteViaIdentity.cs | 34 +-
.../RemoveAzFrontDoorCdnOrigin_Delete.cs | 34 +-
...eAzFrontDoorCdnOrigin_DeleteViaIdentity.cs | 34 +-
.../RemoveAzFrontDoorCdnRoute_Delete.cs | 34 +-
...veAzFrontDoorCdnRoute_DeleteViaIdentity.cs | 34 +-
.../RemoveAzFrontDoorCdnRuleSet_Delete.cs | 34 +-
...AzFrontDoorCdnRuleSet_DeleteViaIdentity.cs | 34 +-
.../RemoveAzFrontDoorCdnRule_Delete.cs | 34 +-
...oveAzFrontDoorCdnRule_DeleteViaIdentity.cs | 34 +-
.../RemoveAzFrontDoorCdnSecret_Delete.cs | 34 +-
...eAzFrontDoorCdnSecret_DeleteViaIdentity.cs | 34 +-
...moveAzFrontDoorCdnSecurityPolicy_Delete.cs | 34 +-
...DoorCdnSecurityPolicy_DeleteViaIdentity.cs | 34 +-
.../cmdlets/StartAzCdnEndpoint_Start.cs | 34 +-
.../StartAzCdnEndpoint_StartViaIdentity.cs | 34 +-
.../cmdlets/StopAzCdnEndpoint_Stop.cs | 34 +-
.../StopAzCdnEndpoint_StopViaIdentity.cs | 34 +-
...nEndpointCustomDomain_ValidateExpanded1.cs | 34 +-
...stomDomain_ValidateViaIdentityExpanded1.cs | 34 +-
...TestAzCdnNameAvailability_CheckExpanded.cs | 34 +-
...estAzCdnNameAvailability_CheckExpanded1.cs | 34 +-
.../TestAzCdnProbe_ValidateExpanded.cs | 34 +-
...dnEndpointCustomDomain_ValidateExpanded.cs | 34 +-
...ustomDomain_ValidateViaIdentityExpanded.cs | 34 +-
...nEndpointNameAvailability_CheckExpanded.cs | 34 +-
...eEndpointNameAvailability_CheckExpanded.cs | 34 +-
...meAvailability_CheckViaIdentityExpanded.cs | 34 +-
...ofileHostNameAvailability_CheckExpanded.cs | 34 +-
...meAvailability_CheckViaIdentityExpanded.cs | 34 +-
...ntDoorCdnProfileSecret_ValidateExpanded.cs | 34 +-
...ofileSecret_ValidateViaIdentityExpanded.cs | 34 +-
.../UpdateAzCdnEndpoint_UpdateExpanded1.cs | 34 +-
...zCdnEndpoint_UpdateViaIdentityExpanded1.cs | 34 +-
.../UpdateAzCdnOriginGroup_UpdateExpanded1.cs | 34 +-
...nOriginGroup_UpdateViaIdentityExpanded1.cs | 34 +-
.../UpdateAzCdnOrigin_UpdateExpanded1.cs | 34 +-
...eAzCdnOrigin_UpdateViaIdentityExpanded1.cs | 34 +-
.../UpdateAzCdnProfile_UpdateExpanded.cs | 34 +-
...eAzCdnProfile_UpdateViaIdentityExpanded.cs | 34 +-
...rCdnCustomDomainValidationToken_Refresh.cs | 34 +-
...omainValidationToken_RefreshViaIdentity.cs | 34 +-
...FrontDoorCdnCustomDomain_UpdateExpanded.cs | 34 +-
...nCustomDomain_UpdateViaIdentityExpanded.cs | 34 +-
...teAzFrontDoorCdnEndpoint_UpdateExpanded.cs | 34 +-
...orCdnEndpoint_UpdateViaIdentityExpanded.cs | 34 +-
...zFrontDoorCdnOriginGroup_UpdateExpanded.cs | 34 +-
...dnOriginGroup_UpdateViaIdentityExpanded.cs | 34 +-
...dateAzFrontDoorCdnOrigin_UpdateExpanded.cs | 34 +-
...DoorCdnOrigin_UpdateViaIdentityExpanded.cs | 34 +-
.../UpdateAzFrontDoorCdnProfileSku_Upgrade.cs | 34 +-
...ontDoorCdnProfileSku_UpgradeViaIdentity.cs | 34 +-
...dnProfileSku_UpgradeViaIdentityExpanded.cs | 34 +-
...pdateAzFrontDoorCdnRoute_UpdateExpanded.cs | 34 +-
...tDoorCdnRoute_UpdateViaIdentityExpanded.cs | 34 +-
...UpdateAzFrontDoorCdnRule_UpdateExpanded.cs | 34 +-
...ntDoorCdnRule_UpdateViaIdentityExpanded.cs | 34 +-
...rontDoorCdnSecurityPolicy_PatchExpanded.cs | 34 +-
...SecurityPolicy_PatchViaIdentityExpanded.cs | 34 +-
.../internal/Az.Cdn.internal.psm1 | 4 +-
src/Cdn/Cdn/Az.Cdn.psd1 | 4 +-
src/Cdn/Cdn/ChangeLog.md | 1 +
.../Az.CloudService.psd1 | 170 +-
.../Az.CloudService.psm1 | 24 +-
.../CloudService.Autorest/README.md | 14 +-
.../CloudService.Autorest/build-module.ps1 | 9 +-
.../examples/Stop-AzCloudService.md | 2 +-
.../exports/Get-AzCloudService.ps1 | 8 +-
.../Get-AzCloudServiceInstanceView.ps1 | 8 +-
.../Get-AzCloudServiceNetworkInterface.ps1 | 8 +-
.../exports/Get-AzCloudServiceOSFamily.ps1 | 8 +-
.../exports/Get-AzCloudServiceOSVersion.ps1 | 8 +-
.../Get-AzCloudServicePublicIPAddress.ps1 | 8 +-
.../Get-AzCloudServiceRoleInstance.ps1 | 8 +-
...udServiceRoleInstanceRemoteDesktopFile.ps1 | 8 +-
.../Get-AzCloudServiceRoleInstanceView.ps1 | 8 +-
.../exports/Invoke-AzCloudServiceRebuild.ps1 | 8 +-
.../exports/Invoke-AzCloudServiceReimage.ps1 | 8 +-
...voke-AzCloudServiceRoleInstanceRebuild.ps1 | 8 +-
...voke-AzCloudServiceRoleInstanceReimage.ps1 | 8 +-
.../exports/New-AzCloudService.ps1 | 8 +-
.../exports/ProxyCmdletDefinitions.ps1 | 176 +-
.../exports/Remove-AzCloudService.ps1 | 8 +-
.../Remove-AzCloudServiceRoleInstance.ps1 | 8 +-
.../exports/Restart-AzCloudService.ps1 | 8 +-
.../Restart-AzCloudServiceRoleInstance.ps1 | 8 +-
.../Set-AzCloudServiceUpdateDomain.ps1 | 8 +-
.../exports/Start-AzCloudService.ps1 | 8 +-
.../exports/Stop-AzCloudService.ps1 | 8 +-
.../exports/Switch-AzCloudService.ps1 | 8 +-
.../CloudService.Autorest/generate-help.ps1 | 4 +-
.../generate-portal-ux.ps1 | 375 +++
.../CloudService.Autorest/generated/Module.cs | 8 +
.../GetAzCloudServiceInstanceView_Get.cs | 35 +-
.../GetAzCloudServiceNetworkInterface_Get.cs | 35 +-
...dServiceNetworkInterface_GetViaIdentity.cs | 35 +-
.../GetAzCloudServiceNetworkInterface_List.cs | 35 +-
...GetAzCloudServiceNetworkInterface_List1.cs | 35 +-
.../cmdlets/GetAzCloudServiceOSFamily_Get.cs | 35 +-
...etAzCloudServiceOSFamily_GetViaIdentity.cs | 35 +-
.../cmdlets/GetAzCloudServiceOSFamily_List.cs | 35 +-
.../cmdlets/GetAzCloudServiceOSVersion_Get.cs | 35 +-
...tAzCloudServiceOSVersion_GetViaIdentity.cs | 35 +-
.../GetAzCloudServiceOSVersion_List.cs | 35 +-
.../GetAzCloudServicePublicIPAddress_Get.cs | 35 +-
...udServicePublicIPAddress_GetViaIdentity.cs | 35 +-
.../GetAzCloudServicePublicIPAddress_List.cs | 35 +-
.../GetAzCloudServicePublicIPAddress_List1.cs | 35 +-
...erviceRoleInstanceRemoteDesktopFile_Get.cs | 35 +-
.../GetAzCloudServiceRoleInstanceView_Get.cs | 35 +-
.../GetAzCloudServiceRoleInstance_Get.cs | 35 +-
...CloudServiceRoleInstance_GetViaIdentity.cs | 35 +-
.../GetAzCloudServiceRoleInstance_List.cs | 35 +-
.../cmdlets/GetAzCloudService_Get.cs | 35 +-
.../GetAzCloudService_GetViaIdentity.cs | 35 +-
.../cmdlets/GetAzCloudService_List.cs | 35 +-
.../cmdlets/GetAzCloudService_List1.cs | 35 +-
...keAzCloudServiceRebuild_RebuildExpanded.cs | 35 +-
...rviceRebuild_RebuildViaIdentityExpanded.cs | 35 +-
...keAzCloudServiceReimage_ReimageExpanded.cs | 35 +-
...rviceReimage_ReimageViaIdentityExpanded.cs | 35 +-
...CloudServiceRoleInstanceRebuild_Rebuild.cs | 35 +-
...eRoleInstanceRebuild_RebuildViaIdentity.cs | 35 +-
...CloudServiceRoleInstanceReimage_Reimage.cs | 35 +-
...eRoleInstanceReimage_ReimageViaIdentity.cs | 35 +-
.../NewAzCloudService_CreateExpanded.cs | 35 +-
...CloudServiceRoleInstance_DeleteExpanded.cs | 35 +-
...eRoleInstance_DeleteViaIdentityExpanded.cs | 35 +-
.../cmdlets/RemoveAzCloudService_Delete.cs | 35 +-
.../RemoveAzCloudService_DeleteViaIdentity.cs | 35 +-
...startAzCloudServiceRoleInstance_Restart.cs | 35 +-
...dServiceRoleInstance_RestartViaIdentity.cs | 35 +-
.../RestartAzCloudService_RestartExpanded.cs | 35 +-
...CloudService_RestartViaIdentityExpanded.cs | 35 +-
...AzCloudServiceUpdateDomain_WalkExpanded.cs | 35 +-
.../cmdlets/StartAzCloudService_Start.cs | 35 +-
.../StartAzCloudService_StartViaIdentity.cs | 35 +-
.../cmdlets/StopAzCloudService_PowerOff.cs | 35 +-
.../StopAzCloudService_PowerOffViaIdentity.cs | 35 +-
.../UpdateAzCloudService_CreateViaIdentity.cs | 35 +-
.../BuildTime/Cmdlets/ExportHelpMarkdown.cs | 5 +-
.../BuildTime/Cmdlets/ExportProxyCmdlet.cs | 5 +-
.../runtime/BuildTime/MarkdownRenderer.cs | 24 +-
.../BuildTime/Models/PsProxyOutputs.cs | 28 +-
.../runtime/BuildTime/PsAttributes.cs | 7 +
.../help/Az.CloudService.md | 108 +
.../help/Get-AzCloudService.md | 180 ++
.../help/Get-AzCloudServiceInstanceView.md | 156 ++
.../Get-AzCloudServiceNetworkInterface.md | 199 ++
.../help/Get-AzCloudServiceOSFamily.md | 162 ++
.../help/Get-AzCloudServiceOSVersion.md | 162 ++
.../help/Get-AzCloudServicePublicIPAddress.md | 230 ++
.../help/Get-AzCloudServiceRoleInstance.md | 193 ++
...oudServiceRoleInstanceRemoteDesktopFile.md | 154 ++
.../Get-AzCloudServiceRoleInstanceView.md | 129 +
.../help/Invoke-AzCloudServiceRebuild.md | 236 ++
.../help/Invoke-AzCloudServiceReimage.md | 234 ++
...nvoke-AzCloudServiceRoleInstanceRebuild.md | 227 ++
...nvoke-AzCloudServiceRoleInstanceReimage.md | 225 ++
.../help/New-AzCloudService.md | 685 +++++
.../New-AzCloudServiceDiagnosticsExtension.md | 202 ++
.../help/New-AzCloudServiceExtensionObject.md | 168 ++
...dServiceLoadBalancerConfigurationObject.md | 80 +
...adBalancerFrontendIPConfigurationObject.md | 127 +
...loudServiceRemoteDesktopExtensionObject.md | 140 +
...CloudServiceRoleProfilePropertiesObject.md | 107 +
...ew-AzCloudServiceVaultSecretGroupObject.md | 78 +
.../CloudService.Autorest/help/README.md | 11 +
.../help/Remove-AzCloudService.md | 209 ++
.../help/Remove-AzCloudServiceRoleInstance.md | 226 ++
.../help/Restart-AzCloudService.md | 234 ++
.../Restart-AzCloudServiceRoleInstance.md | 225 ++
.../help/Set-AzCloudServiceUpdateDomain.md | 201 ++
.../help/Start-AzCloudService.md | 209 ++
.../help/Stop-AzCloudService.md | 211 ++
.../help/Switch-AzCloudService.md | 200 ++
.../help/Update-AzCloudService.md | 213 ++
.../internal/Az.CloudService.internal.psm1 | 4 +-
.../CloudService.Autorest/test-module.ps1 | 8 +-
.../CloudService.Autorest/test/loadEnv.ps1 | 2 +-
.../utils/Get-SubscriptionIdTestSafe.ps1 | 7 +
.../CloudService/Az.CloudService.psd1 | 6 +-
src/CloudService/CloudService/ChangeLog.md | 1 +
.../CloudService/help/Get-AzCloudService.md | 58 +-
.../help/Get-AzCloudServiceInstanceView.md | 23 +-
.../Get-AzCloudServiceNetworkInterface.md | 68 +-
.../help/Get-AzCloudServiceOSFamily.md | 50 +-
.../help/Get-AzCloudServiceOSVersion.md | 50 +-
.../help/Get-AzCloudServicePublicIPAddress.md | 75 +-
.../help/Get-AzCloudServiceRoleInstance.md | 53 +-
...oudServiceRoleInstanceRemoteDesktopFile.md | 24 +-
.../Get-AzCloudServiceRoleInstanceView.md | 23 +-
.../help/Invoke-AzCloudServiceRebuild.md | 49 +-
.../help/Invoke-AzCloudServiceReimage.md | 49 +-
...nvoke-AzCloudServiceRoleInstanceRebuild.md | 44 +-
...nvoke-AzCloudServiceRoleInstanceReimage.md | 44 +-
.../CloudService/help/New-AzCloudService.md | 106 +-
.../New-AzCloudServiceDiagnosticsExtension.md | 49 +-
.../help/New-AzCloudServiceExtensionObject.md | 22 +-
...dServiceLoadBalancerConfigurationObject.md | 34 +-
...adBalancerFrontendIPConfigurationObject.md | 25 +-
...loudServiceRemoteDesktopExtensionObject.md | 34 +-
...CloudServiceRoleProfilePropertiesObject.md | 22 +-
...ew-AzCloudServiceVaultSecretGroupObject.md | 23 +-
.../help/Remove-AzCloudService.md | 45 +-
.../help/Remove-AzCloudServiceRoleInstance.md | 47 +-
.../help/Restart-AzCloudService.md | 49 +-
.../Restart-AzCloudServiceRoleInstance.md | 44 +-
.../help/Set-AzCloudServiceUpdateDomain.md | 24 +-
.../CloudService/help/Start-AzCloudService.md | 47 +-
.../CloudService/help/Stop-AzCloudService.md | 45 +-
.../help/Switch-AzCloudService.md | 86 +-
.../help/Update-AzCloudService.md | 91 +-
.../Az.ConnectedNetwork.psd1 | 179 +-
.../Az.ConnectedNetwork.psm1 | 38 +-
.../ConnectedNetwork.Autorest/README.md | 11 +-
.../build-module.ps1 | 13 +-
.../check-dependencies.ps1 | 4 +-
.../create-model-cmdlets.ps1 | 16 +-
.../examples/Get-AzConnectedNetworkDevice.md | 6 +-
...AzConnectedNetworkDeviceRegistrationKey.md | 4 +
.../Get-AzConnectedNetworkFunction.md | 6 +-
.../Get-AzConnectedNetworkFunctionVendor.md | 4 +
.../examples/Get-AzConnectedNetworkVendor.md | 6 +-
.../Get-AzConnectedNetworkVendorFunction.md | 4 +
...nectedNetworkVendorFunctionRoleInstance.md | 6 +-
.../Get-AzConnectedNetworkVendorSku.md | 2 +
.../Get-AzConnectedNetworkVendorSkuPreview.md | 4 +
...-AzConnectedNetworkAzureStackEdgeObject.md | 2 +
.../examples/New-AzConnectedNetworkDevice.md | 4 +
.../New-AzConnectedNetworkFunction.md | 5 +
...dNetworkFunctionRoleConfigurationObject.md | 2 +
...edNetworkInterfaceIPConfigurationObject.md | 2 +
.../New-AzConnectedNetworkInterfaceObject.md | 2 +
.../examples/New-AzConnectedNetworkVendor.md | 6 +-
.../New-AzConnectedNetworkVendorSku.md | 1 -
.../New-AzConnectedNetworkVendorSkuPreview.md | 2 +
.../Remove-AzConnectedNetworkDevice.md | 2 -
.../Remove-AzConnectedNetworkFunction.md | 2 -
.../Remove-AzConnectedNetworkVendor.md | 2 -
.../Remove-AzConnectedNetworkVendorSku.md | 2 -
...move-AzConnectedNetworkVendorSkuPreview.md | 2 -
...nectedNetworkVendorFunctionRoleInstance.md | 2 -
...nectedNetworkVendorFunctionRoleInstance.md | 2 -
...nectedNetworkVendorFunctionRoleInstance.md | 2 -
.../Update-AzConnectedNetworkDeviceTag.md | 5 +-
.../Update-AzConnectedNetworkFunctionTag.md | 4 +
.../exports/Get-AzConnectedNetworkDevice.ps1 | 99 +-
...zConnectedNetworkDeviceRegistrationKey.ps1 | 63 +-
.../Get-AzConnectedNetworkFunction.ps1 | 115 +-
.../Get-AzConnectedNetworkFunctionVendor.ps1 | 70 +-
.../exports/Get-AzConnectedNetworkVendor.ps1 | 91 +-
.../Get-AzConnectedNetworkVendorFunction.ps1 | 97 +-
...ectedNetworkVendorFunctionRoleInstance.ps1 | 89 +-
.../Get-AzConnectedNetworkVendorSku.ps1 | 95 +-
...Get-AzConnectedNetworkVendorSkuPreview.ps1 | 87 +-
...AzConnectedNetworkAzureStackEdgeObject.ps1 | 50 +-
.../exports/New-AzConnectedNetworkDevice.ps1 | 99 +-
.../New-AzConnectedNetworkFunction.ps1 | 90 +-
...NetworkFunctionRoleConfigurationObject.ps1 | 65 +-
...NetworkFunctionUserConfigurationObject.ps1 | 56 +-
...tworkFunctionVendorConfigurationObject.ps1 | 62 +-
...dNetworkInterfaceIPConfigurationObject.ps1 | 50 +-
.../New-AzConnectedNetworkInterfaceObject.ps1 | 50 +-
.../exports/New-AzConnectedNetworkVendor.ps1 | 87 +-
.../New-AzConnectedNetworkVendorFunction.ps1 | 79 +-
.../New-AzConnectedNetworkVendorSku.ps1 | 66 +-
...New-AzConnectedNetworkVendorSkuPreview.ps1 | 70 +-
.../exports/ProxyCmdletDefinitions.ps1 | 2306 ++++++++++++-----
.../Remove-AzConnectedNetworkDevice.ps1 | 63 +-
.../Remove-AzConnectedNetworkFunction.ps1 | 63 +-
.../Remove-AzConnectedNetworkVendor.ps1 | 63 +-
.../Remove-AzConnectedNetworkVendorSku.ps1 | 61 +-
...ove-AzConnectedNetworkVendorSkuPreview.ps1 | 63 +-
...ectedNetworkVendorFunctionRoleInstance.ps1 | 63 +-
...ectedNetworkVendorFunctionRoleInstance.ps1 | 63 +-
...ectedNetworkVendorFunctionRoleInstance.ps1 | 63 +-
.../Update-AzConnectedNetworkDeviceTag.ps1 | 101 +-
.../Update-AzConnectedNetworkFunctionTag.ps1 | 73 +-
.../generate-help.ps1 | 4 +-
.../generate-portal-ux.ps1 | 375 +++
.../generated/Module.cs | 18 +-
.../generated/api/ConnectedNetwork.cs | 14 +
.../generated/api/Models/Any.PowerShell.cs | 8 +-
.../generated/api/Models/Any.TypeConverter.cs | 25 +-
.../generated/api/Models/Any.json.cs | 8 +-
.../Api20/ErrorAdditionalInfo.PowerShell.cs | 8 +-
.../ErrorAdditionalInfo.TypeConverter.cs | 26 +-
.../Models/Api20/ErrorAdditionalInfo.json.cs | 8 +-
.../Models/Api20/ErrorDetail.PowerShell.cs | 8 +-
.../Models/Api20/ErrorDetail.TypeConverter.cs | 26 +-
.../api/Models/Api20/ErrorDetail.json.cs | 8 +-
.../Models/Api20/ErrorResponse.PowerShell.cs | 8 +-
.../Api20/ErrorResponse.TypeConverter.cs | 26 +-
.../api/Models/Api20/ErrorResponse.json.cs | 8 +-
.../Models/Api20/ProxyResource.PowerShell.cs | 8 +-
.../Api20/ProxyResource.TypeConverter.cs | 26 +-
.../api/Models/Api20/ProxyResource.cs | 2 +-
.../api/Models/Api20/ProxyResource.json.cs | 8 +-
.../api/Models/Api20/Resource.PowerShell.cs | 8 +-
.../Models/Api20/Resource.TypeConverter.cs | 25 +-
.../api/Models/Api20/Resource.json.cs | 8 +-
.../api/Models/Api20/SystemData.PowerShell.cs | 8 +-
.../Models/Api20/SystemData.TypeConverter.cs | 25 +-
.../api/Models/Api20/SystemData.json.cs | 8 +-
.../Api20/TrackedResource.PowerShell.cs | 8 +-
.../Api20/TrackedResource.TypeConverter.cs | 26 +-
.../api/Models/Api20/TrackedResource.cs | 2 +-
.../api/Models/Api20/TrackedResource.json.cs | 8 +-
.../Api20/TrackedResourceTags.PowerShell.cs | 8 +-
.../TrackedResourceTags.TypeConverter.cs | 26 +-
.../Models/Api20/TrackedResourceTags.json.cs | 8 +-
.../AzureStackEdgeFormat.PowerShell.cs | 8 +-
.../AzureStackEdgeFormat.TypeConverter.cs | 26 +-
.../Api20210501/AzureStackEdgeFormat.cs | 2 +-
.../Api20210501/AzureStackEdgeFormat.json.cs | 8 +-
.../Api20210501/CustomProfile.PowerShell.cs | 8 +-
.../CustomProfile.TypeConverter.cs | 26 +-
.../Models/Api20210501/CustomProfile.json.cs | 8 +-
.../Models/Api20210501/DataDisk.PowerShell.cs | 12 +-
.../Api20210501/DataDisk.TypeConverter.cs | 25 +-
.../api/Models/Api20210501/DataDisk.cs | 6 +-
.../api/Models/Api20210501/DataDisk.json.cs | 10 +-
.../Models/Api20210501/Device.PowerShell.cs | 8 +-
.../Api20210501/Device.TypeConverter.cs | 25 +-
.../api/Models/Api20210501/Device.cs | 2 +-
.../api/Models/Api20210501/Device.json.cs | 8 +-
.../DeviceListResult.PowerShell.cs | 8 +-
.../DeviceListResult.TypeConverter.cs | 26 +-
.../Api20210501/DeviceListResult.json.cs | 8 +-
.../DevicePropertiesFormat.PowerShell.cs | 8 +-
.../DevicePropertiesFormat.TypeConverter.cs | 26 +-
.../DevicePropertiesFormat.json.cs | 8 +-
.../DeviceRegistrationKey.PowerShell.cs | 8 +-
.../DeviceRegistrationKey.TypeConverter.cs | 26 +-
.../Api20210501/DeviceRegistrationKey.json.cs | 8 +-
.../Api20210501/ImageReference.PowerShell.cs | 8 +-
.../ImageReference.TypeConverter.cs | 26 +-
.../Models/Api20210501/ImageReference.json.cs | 8 +-
.../LinuxConfiguration.PowerShell.cs | 8 +-
.../LinuxConfiguration.TypeConverter.cs | 26 +-
.../Api20210501/LinuxConfiguration.json.cs | 8 +-
.../Api20210501/NetworkFunction.PowerShell.cs | 8 +-
.../NetworkFunction.TypeConverter.cs | 26 +-
.../api/Models/Api20210501/NetworkFunction.cs | 2 +-
.../Api20210501/NetworkFunction.json.cs | 8 +-
.../NetworkFunctionListResult.PowerShell.cs | 8 +-
...NetworkFunctionListResult.TypeConverter.cs | 26 +-
.../NetworkFunctionListResult.json.cs | 8 +-
...workFunctionPropertiesFormat.PowerShell.cs | 8 +-
...kFunctionPropertiesFormat.TypeConverter.cs | 27 +-
.../NetworkFunctionPropertiesFormat.json.cs | 8 +-
...ManagedApplicationParameters.PowerShell.cs | 10 +-
...agedApplicationParameters.TypeConverter.cs | 27 +-
...FormatManagedApplicationParameters.json.cs | 8 +-
...ctionContainerConfigurations.PowerShell.cs | 10 +-
...onContainerConfigurations.TypeConverter.cs | 27 +-
...orkFunctionContainerConfigurations.json.cs | 8 +-
...orkFunctionRoleConfiguration.PowerShell.cs | 8 +-
...FunctionRoleConfiguration.TypeConverter.cs | 27 +-
.../NetworkFunctionRoleConfiguration.cs | 26 +-
.../NetworkFunctionRoleConfiguration.json.cs | 8 +-
...nctionRoleInstanceListResult.PowerShell.cs | 10 +-
...ionRoleInstanceListResult.TypeConverter.cs | 27 +-
...workFunctionRoleInstanceListResult.json.cs | 8 +-
.../NetworkFunctionSkuDetails.PowerShell.cs | 8 +-
...NetworkFunctionSkuDetails.TypeConverter.cs | 26 +-
.../NetworkFunctionSkuDetails.json.cs | 8 +-
...NetworkFunctionSkuListResult.PowerShell.cs | 8 +-
...workFunctionSkuListResult.TypeConverter.cs | 26 +-
.../NetworkFunctionSkuListResult.json.cs | 8 +-
...etworkFunctionSkuRoleDetails.PowerShell.cs | 8 +-
...orkFunctionSkuRoleDetails.TypeConverter.cs | 26 +-
.../NetworkFunctionSkuRoleDetails.json.cs | 8 +-
.../NetworkFunctionTemplate.PowerShell.cs | 8 +-
.../NetworkFunctionTemplate.TypeConverter.cs | 26 +-
.../NetworkFunctionTemplate.json.cs | 8 +-
...orkFunctionUserConfiguration.PowerShell.cs | 8 +-
...FunctionUserConfiguration.TypeConverter.cs | 27 +-
.../NetworkFunctionUserConfiguration.cs | 8 +-
.../NetworkFunctionUserConfiguration.json.cs | 8 +-
...onUserConfigurationOSProfile.PowerShell.cs | 10 +-
...serConfigurationOSProfile.TypeConverter.cs | 27 +-
...tworkFunctionUserConfigurationOSProfile.cs | 8 +-
...FunctionUserConfigurationOSProfile.json.cs | 8 +-
.../NetworkFunctionVendor.PowerShell.cs | 8 +-
.../NetworkFunctionVendor.TypeConverter.cs | 26 +-
.../Api20210501/NetworkFunctionVendor.json.cs | 8 +-
...kFunctionVendorConfiguration.PowerShell.cs | 10 +-
...nctionVendorConfiguration.TypeConverter.cs | 27 +-
.../NetworkFunctionVendorConfiguration.cs | 26 +-
...NetworkFunctionVendorConfiguration.json.cs | 8 +-
...workFunctionVendorListResult.PowerShell.cs | 8 +-
...kFunctionVendorListResult.TypeConverter.cs | 27 +-
.../NetworkFunctionVendorListResult.json.cs | 8 +-
.../NetworkInterface.PowerShell.cs | 8 +-
.../NetworkInterface.TypeConverter.cs | 26 +-
.../Api20210501/NetworkInterface.json.cs | 8 +-
...workInterfaceIPConfiguration.PowerShell.cs | 8 +-
...kInterfaceIPConfiguration.TypeConverter.cs | 27 +-
.../NetworkInterfaceIPConfiguration.json.cs | 8 +-
.../Models/Api20210501/OSDisk.PowerShell.cs | 12 +-
.../Api20210501/OSDisk.TypeConverter.cs | 25 +-
.../api/Models/Api20210501/OSDisk.cs | 6 +-
.../api/Models/Api20210501/OSDisk.json.cs | 10 +-
.../Api20210501/OSProfile.PowerShell.cs | 8 +-
.../Api20210501/OSProfile.TypeConverter.cs | 25 +-
.../api/Models/Api20210501/OSProfile.cs | 30 +-
.../api/Models/Api20210501/OSProfile.json.cs | 8 +-
.../PreviewSubscription.PowerShell.cs | 8 +-
.../PreviewSubscription.TypeConverter.cs | 26 +-
.../Api20210501/PreviewSubscription.json.cs | 8 +-
...reviewSubscriptionProperties.PowerShell.cs | 8 +-
...iewSubscriptionProperties.TypeConverter.cs | 26 +-
.../PreviewSubscriptionProperties.json.cs | 8 +-
.../PreviewSubscriptionsList.PowerShell.cs | 8 +-
.../PreviewSubscriptionsList.TypeConverter.cs | 26 +-
.../PreviewSubscriptionsList.json.cs | 8 +-
.../Api20210501/RoleInstance.PowerShell.cs | 8 +-
.../Api20210501/RoleInstance.TypeConverter.cs | 26 +-
.../Models/Api20210501/RoleInstance.json.cs | 8 +-
.../RoleInstanceProperties.PowerShell.cs | 8 +-
.../RoleInstanceProperties.TypeConverter.cs | 26 +-
.../RoleInstanceProperties.json.cs | 8 +-
.../Api20210501/SkuOverview.PowerShell.cs | 8 +-
.../Api20210501/SkuOverview.TypeConverter.cs | 26 +-
.../Models/Api20210501/SkuOverview.json.cs | 8 +-
.../SshConfiguration.PowerShell.cs | 8 +-
.../SshConfiguration.TypeConverter.cs | 26 +-
.../Api20210501/SshConfiguration.json.cs | 8 +-
.../Api20210501/SshPublicKey.PowerShell.cs | 8 +-
.../Api20210501/SshPublicKey.TypeConverter.cs | 26 +-
.../api/Models/Api20210501/SshPublicKey.cs | 8 +-
.../Models/Api20210501/SshPublicKey.json.cs | 8 +-
.../Api20210501/StorageProfile.PowerShell.cs | 8 +-
.../StorageProfile.TypeConverter.cs | 26 +-
.../Models/Api20210501/StorageProfile.json.cs | 8 +-
.../Api20210501/SubResource.PowerShell.cs | 8 +-
.../Api20210501/SubResource.TypeConverter.cs | 26 +-
.../Models/Api20210501/SubResource.json.cs | 8 +-
.../Api20210501/TagsObject.PowerShell.cs | 8 +-
.../Api20210501/TagsObject.TypeConverter.cs | 25 +-
.../api/Models/Api20210501/TagsObject.json.cs | 8 +-
.../Api20210501/TagsObjectTags.PowerShell.cs | 8 +-
.../TagsObjectTags.TypeConverter.cs | 26 +-
.../Models/Api20210501/TagsObjectTags.json.cs | 8 +-
.../Models/Api20210501/Vendor.PowerShell.cs | 8 +-
.../Api20210501/Vendor.TypeConverter.cs | 25 +-
.../api/Models/Api20210501/Vendor.cs | 2 +-
.../api/Models/Api20210501/Vendor.json.cs | 8 +-
.../Api20210501/VendorDetails.PowerShell.cs | 8 +-
.../VendorDetails.TypeConverter.cs | 26 +-
.../Models/Api20210501/VendorDetails.json.cs | 8 +-
.../VendorListResult.PowerShell.cs | 8 +-
.../VendorListResult.TypeConverter.cs | 26 +-
.../Api20210501/VendorListResult.json.cs | 8 +-
.../VendorNetworkFunction.PowerShell.cs | 8 +-
.../VendorNetworkFunction.TypeConverter.cs | 26 +-
.../Api20210501/VendorNetworkFunction.cs | 2 +-
.../Api20210501/VendorNetworkFunction.json.cs | 8 +-
...dorNetworkFunctionListResult.PowerShell.cs | 8 +-
...NetworkFunctionListResult.TypeConverter.cs | 27 +-
.../VendorNetworkFunctionListResult.json.cs | 8 +-
...workFunctionPropertiesFormat.PowerShell.cs | 10 +-
...kFunctionPropertiesFormat.TypeConverter.cs | 27 +-
...dorNetworkFunctionPropertiesFormat.json.cs | 8 +-
.../VendorPropertiesFormat.PowerShell.cs | 8 +-
.../VendorPropertiesFormat.TypeConverter.cs | 26 +-
.../VendorPropertiesFormat.json.cs | 8 +-
.../Api20210501/VendorSku.PowerShell.cs | 8 +-
.../Api20210501/VendorSku.TypeConverter.cs | 25 +-
.../api/Models/Api20210501/VendorSku.cs | 2 +-
.../api/Models/Api20210501/VendorSku.json.cs | 8 +-
.../VendorSkuListResult.PowerShell.cs | 8 +-
.../VendorSkuListResult.TypeConverter.cs | 26 +-
.../Api20210501/VendorSkuListResult.json.cs | 8 +-
.../VendorSkuPropertiesFormat.PowerShell.cs | 8 +-
...VendorSkuPropertiesFormat.TypeConverter.cs | 26 +-
.../VendorSkuPropertiesFormat.json.cs | 8 +-
...ManagedApplicationParameters.PowerShell.cs | 10 +-
...agedApplicationParameters.TypeConverter.cs | 27 +-
...FormatManagedApplicationParameters.json.cs | 8 +-
...atManagedApplicationTemplate.PowerShell.cs | 10 +-
...anagedApplicationTemplate.TypeConverter.cs | 27 +-
...esFormatManagedApplicationTemplate.json.cs | 8 +-
.../Api20210501/VirtualHardDisk.PowerShell.cs | 8 +-
.../VirtualHardDisk.TypeConverter.cs | 26 +-
.../Api20210501/VirtualHardDisk.json.cs | 8 +-
.../ConnectedNetworkIdentity.PowerShell.cs | 8 +-
.../ConnectedNetworkIdentity.TypeConverter.cs | 26 +-
.../Models/ConnectedNetworkIdentity.json.cs | 8 +-
.../Support/CreatedByType.TypeConverter.cs | 20 +-
.../generated/api/Support/CreatedByType.cs | 10 +-
.../api/Support/DeviceType.TypeConverter.cs | 20 +-
.../generated/api/Support/DeviceType.cs | 10 +-
.../DiskCreateOptionTypes.TypeConverter.cs | 20 +-
.../api/Support/DiskCreateOptionTypes.cs | 10 +-
.../IPAllocationMethod.TypeConverter.cs | 20 +-
.../api/Support/IPAllocationMethod.cs | 10 +-
.../api/Support/IPVersion.TypeConverter.cs | 20 +-
.../generated/api/Support/IPVersion.cs | 10 +-
...tionRoleConfigurationType.TypeConverter.cs | 20 +-
.../NetworkFunctionRoleConfigurationType.cs | 10 +-
.../NetworkFunctionType.TypeConverter.cs | 20 +-
.../api/Support/NetworkFunctionType.cs | 10 +-
.../OperatingSystemTypes.TypeConverter.cs | 20 +-
.../api/Support/OperatingSystemTypes.cs | 10 +-
.../Support/OperationalState.TypeConverter.cs | 20 +-
.../generated/api/Support/OperationalState.cs | 10 +-
.../ProvisioningState.TypeConverter.cs | 20 +-
.../api/Support/ProvisioningState.cs | 10 +-
.../SkuDeploymentMode.TypeConverter.cs | 20 +-
.../api/Support/SkuDeploymentMode.cs | 10 +-
.../api/Support/SkuType.TypeConverter.cs | 20 +-
.../generated/api/Support/SkuType.cs | 10 +-
.../api/Support/Status.TypeConverter.cs | 20 +-
.../generated/api/Support/Status.cs | 10 +-
.../api/Support/VMSwitchType.TypeConverter.cs | 20 +-
.../generated/api/Support/VMSwitchType.cs | 10 +-
.../VendorProvisioningState.TypeConverter.cs | 20 +-
.../api/Support/VendorProvisioningState.cs | 10 +-
.../VirtualMachineSizeTypes.TypeConverter.cs | 20 +-
.../api/Support/VirtualMachineSizeTypes.cs | 10 +-
...nectedNetworkDeviceRegistrationKey_List.cs | 66 +-
.../GetAzConnectedNetworkDevice_Get.cs | 66 +-
...AzConnectedNetworkDevice_GetViaIdentity.cs | 66 +-
.../GetAzConnectedNetworkDevice_List.cs | 66 +-
.../GetAzConnectedNetworkDevice_List1.cs | 66 +-
...zConnectedNetworkFunctionVendorSku_List.cs | 66 +-
...ConnectedNetworkFunctionVendorSku_List1.cs | 66 +-
...etAzConnectedNetworkFunctionVendor_List.cs | 66 +-
.../GetAzConnectedNetworkFunction_Get.cs | 66 +-
...ConnectedNetworkFunction_GetViaIdentity.cs | 66 +-
.../GetAzConnectedNetworkFunction_List.cs | 66 +-
.../GetAzConnectedNetworkFunction_List1.cs | 66 +-
...edNetworkVendorFunctionRoleInstance_Get.cs | 66 +-
...ndorFunctionRoleInstance_GetViaIdentity.cs | 66 +-
...dNetworkVendorFunctionRoleInstance_List.cs | 66 +-
...GetAzConnectedNetworkVendorFunction_Get.cs | 66 +-
...tedNetworkVendorFunction_GetViaIdentity.cs | 66 +-
...etAzConnectedNetworkVendorFunction_List.cs | 66 +-
...tAzConnectedNetworkVendorSkuPreview_Get.cs | 66 +-
...dNetworkVendorSkuPreview_GetViaIdentity.cs | 66 +-
...AzConnectedNetworkVendorSkuPreview_List.cs | 66 +-
.../GetAzConnectedNetworkVendorSku_Get.cs | 66 +-
...onnectedNetworkVendorSku_GetViaIdentity.cs | 66 +-
.../GetAzConnectedNetworkVendorSku_List.cs | 66 +-
.../GetAzConnectedNetworkVendor_Get.cs | 66 +-
...AzConnectedNetworkVendor_GetViaIdentity.cs | 66 +-
.../GetAzConnectedNetworkVendor_List.cs | 66 +-
...AzConnectedNetworkDevice_CreateExpanded.cs | 91 +-
...ConnectedNetworkFunction_CreateExpanded.cs | 103 +-
...tedNetworkVendorFunction_CreateExpanded.cs | 91 +-
...dNetworkVendorSkuPreview_CreateExpanded.cs | 85 +-
...onnectedNetworkVendorSku_CreateExpanded.cs | 99 +-
...AzConnectedNetworkVendor_CreateExpanded.cs | 85 +-
.../RemoveAzConnectedNetworkDevice_Delete.cs | 58 +-
...onnectedNetworkDevice_DeleteViaIdentity.cs | 58 +-
...RemoveAzConnectedNetworkFunction_Delete.cs | 58 +-
...nectedNetworkFunction_DeleteViaIdentity.cs | 58 +-
...ConnectedNetworkVendorSkuPreview_Delete.cs | 58 +-
...tworkVendorSkuPreview_DeleteViaIdentity.cs | 58 +-
...emoveAzConnectedNetworkVendorSku_Delete.cs | 58 +-
...ectedNetworkVendorSku_DeleteViaIdentity.cs | 58 +-
.../RemoveAzConnectedNetworkVendor_Delete.cs | 58 +-
...onnectedNetworkVendor_DeleteViaIdentity.cs | 58 +-
...tworkVendorFunctionRoleInstance_Restart.cs | 58 +-
...FunctionRoleInstance_RestartViaIdentity.cs | 58 +-
...NetworkVendorFunctionRoleInstance_Start.cs | 58 +-
...orFunctionRoleInstance_StartViaIdentity.cs | 58 +-
...dNetworkVendorFunctionRoleInstance_Stop.cs | 58 +-
...dorFunctionRoleInstance_StopViaIdentity.cs | 58 +-
...onnectedNetworkDeviceTag_UpdateExpanded.cs | 85 +-
...workDeviceTag_UpdateViaIdentityExpanded.cs | 87 +-
...nectedNetworkFunctionTag_UpdateExpanded.cs | 85 +-
...rkFunctionTag_UpdateViaIdentityExpanded.cs | 87 +-
.../runtime/AsyncOperationResponse.cs | 21 +-
.../BuildTime/Cmdlets/ExportHelpMarkdown.cs | 5 +-
.../BuildTime/Cmdlets/ExportProxyCmdlet.cs | 5 +-
.../runtime/BuildTime/Cmdlets/ExportPsd1.cs | 2 +-
.../runtime/BuildTime/MarkdownRenderer.cs | 24 +-
.../BuildTime/Models/PsHelpMarkdownOutputs.cs | 42 +-
.../runtime/BuildTime/Models/PsHelpTypes.cs | 3 +
.../BuildTime/Models/PsMarkdownTypes.cs | 19 +-
.../BuildTime/Models/PsProxyOutputs.cs | 130 +-
.../runtime/BuildTime/PsAttributes.cs | 7 +
.../generated/runtime/BuildTime/PsHelpers.cs | 3 +-
.../Customizations/IJsonSerializable.cs | 2 +-
.../generated/runtime/EventDataExtensions.cs | 2 +-
.../generated/runtime/ISendAsync.cs | 10 +-
.../generated/runtime/MessageAttribute.cs | 102 +-
.../runtime/MessageAttributeHelper.cs | 37 +-
.../generated/runtime/PipelineMocking.cs | 2 +-
.../runtime/Properties/Resources.Designer.cs | 28 +-
.../runtime/Properties/Resources.resx | 10 +-
.../help/Az.ConnectedNetwork.md | 116 +
.../help/Get-AzConnectedNetworkDevice.md | 193 ++
...AzConnectedNetworkDeviceRegistrationKey.md | 156 ++
.../help/Get-AzConnectedNetworkFunction.md | 209 ++
.../Get-AzConnectedNetworkFunctionVendor.md | 99 +
.../help/Get-AzConnectedNetworkVendor.md | 163 ++
.../Get-AzConnectedNetworkVendorFunction.md | 219 ++
...nectedNetworkVendorFunctionRoleInstance.md | 208 ++
.../help/Get-AzConnectedNetworkVendorSku.md | 178 ++
.../Get-AzConnectedNetworkVendorSkuPreview.md | 192 ++
...-AzConnectedNetworkAzureStackEdgeObject.md | 66 +
.../help/New-AzConnectedNetworkDevice.md | 265 ++
.../help/New-AzConnectedNetworkFunction.md | 347 +++
...dNetworkFunctionRoleConfigurationObject.md | 422 +++
...dNetworkFunctionUserConfigurationObject.md | 127 +
...etworkFunctionVendorConfigurationObject.md | 176 ++
...edNetworkInterfaceIPConfigurationObject.md | 143 +
.../New-AzConnectedNetworkInterfaceObject.md | 113 +
.../help/New-AzConnectedNetworkVendor.md | 190 ++
.../New-AzConnectedNetworkVendorFunction.md | 247 ++
.../help/New-AzConnectedNetworkVendorSku.md | 284 ++
.../New-AzConnectedNetworkVendorSkuPreview.md | 199 ++
.../ConnectedNetwork.Autorest/help/README.md | 11 +
.../help/Remove-AzConnectedNetworkDevice.md | 218 ++
.../help/Remove-AzConnectedNetworkFunction.md | 222 ++
.../help/Remove-AzConnectedNetworkVendor.md | 201 ++
.../Remove-AzConnectedNetworkVendorSku.md | 221 ++
...move-AzConnectedNetworkVendorSkuPreview.md | 233 ++
...nectedNetworkVendorFunctionRoleInstance.md | 248 ++
...nectedNetworkVendorFunctionRoleInstance.md | 248 ++
...nectedNetworkVendorFunctionRoleInstance.md | 248 ++
.../Update-AzConnectedNetworkDeviceTag.md | 231 ++
.../Update-AzConnectedNetworkFunctionTag.md | 204 ++
.../Az.ConnectedNetwork.internal.psm1 | 4 +-
...et-AzConnectedNetworkFunctionVendorSku.ps1 | 28 +-
.../internal/ProxyCmdletDefinitions.ps1 | 28 +-
.../ConnectedNetwork.Autorest/test-module.ps1 | 8 +-
.../test/loadEnv.ps1 | 2 +-
.../utils/Get-SubscriptionIdTestSafe.ps1 | 7 +
.../ConnectedNetwork/Az.ConnectedNetwork.psd1 | 6 +-
.../ConnectedNetwork/ChangeLog.md | 1 +
.../help/Get-AzConnectedNetworkDevice.md | 63 +-
...AzConnectedNetworkDeviceRegistrationKey.md | 26 +-
.../help/Get-AzConnectedNetworkFunction.md | 63 +-
.../Get-AzConnectedNetworkFunctionVendor.md | 25 +-
.../help/Get-AzConnectedNetworkVendor.md | 53 +-
.../Get-AzConnectedNetworkVendorFunction.md | 60 +-
...nectedNetworkVendorFunctionRoleInstance.md | 60 +-
.../help/Get-AzConnectedNetworkVendorSku.md | 56 +-
.../Get-AzConnectedNetworkVendorSkuPreview.md | 61 +-
...-AzConnectedNetworkAzureStackEdgeObject.md | 23 +-
.../help/New-AzConnectedNetworkDevice.md | 39 +-
.../help/New-AzConnectedNetworkFunction.md | 52 +-
...dNetworkFunctionRoleConfigurationObject.md | 68 +-
...dNetworkFunctionUserConfigurationObject.md | 42 +-
...etworkFunctionVendorConfigurationObject.md | 50 +-
...edNetworkInterfaceIPConfigurationObject.md | 22 +-
.../New-AzConnectedNetworkInterfaceObject.md | 36 +-
.../help/New-AzConnectedNetworkVendor.md | 27 +-
.../New-AzConnectedNetworkVendorFunction.md | 53 +-
.../help/New-AzConnectedNetworkVendorSku.md | 68 +-
.../New-AzConnectedNetworkVendorSkuPreview.md | 28 +-
.../help/Remove-AzConnectedNetworkDevice.md | 47 +-
.../help/Remove-AzConnectedNetworkFunction.md | 47 +-
.../help/Remove-AzConnectedNetworkVendor.md | 48 +-
.../Remove-AzConnectedNetworkVendorSku.md | 49 +-
...move-AzConnectedNetworkVendorSkuPreview.md | 52 +-
...nectedNetworkVendorFunctionRoleInstance.md | 51 +-
...nectedNetworkVendorFunctionRoleInstance.md | 49 +-
...nectedNetworkVendorFunctionRoleInstance.md | 49 +-
.../Update-AzConnectedNetworkDeviceTag.md | 48 +-
.../Update-AzConnectedNetworkFunctionTag.md | 48 +-
.../Az.CostManagement.format.ps1xml | 84 -
.../Az.CostManagement.psd1 | 158 +-
.../Az.CostManagement.psm1 | 24 +-
.../CostManagement.Autorest/README.md | 14 +-
.../CostManagement.Autorest/build-module.ps1 | 13 +-
.../create-model-cmdlets.ps1 | 12 +-
.../custom/Invoke-AzCostManagementQuery.ps1 | 6 +-
.../exports/Get-AzCostManagementExport.ps1 | 9 +-
...AzCostManagementExportExecutionHistory.ps1 | 9 +-
.../Invoke-AzCostManagementExecuteExport.ps1 | 9 +-
.../exports/Invoke-AzCostManagementQuery.ps1 | 6 +-
...zCostManagementReservationDetailReport.ps1 | 13 +-
.../New-AzCostManagementDetailReport.ps1 | 9 +-
.../exports/New-AzCostManagementExport.ps1 | 6 +-
...agementQueryComparisonExpressionObject.ps1 | 6 +-
.../New-AzCostManagementQueryFilterObject.ps1 | 6 +-
.../exports/ProxyCmdletDefinitions.ps1 | 88 +-
.../exports/Remove-AzCostManagementExport.ps1 | 9 +-
.../exports/Update-AzCostManagementExport.ps1 | 6 +-
.../CostManagement.Autorest/generate-help.ps1 | 4 +-
.../generate-portal-ux.ps1 | 375 +++
.../generated/Module.cs | 8 +
.../generated/api/CostManagement.cs | 8 +-
.../ExportDeliveryDestination.PowerShell.cs | 8 +-
.../Api20211001/ExportDeliveryDestination.cs | 12 +-
.../ExportDeliveryDestination.json.cs | 4 +-
...ationAcceptedResponseHeaders.PowerShell.cs | 155 --
...onAcceptedResponseHeaders.TypeConverter.cs | 153 --
...tCreateOperationAcceptedResponseHeaders.cs | 77 -
...teOperationAcceptedResponseHeaders.json.cs | 108 -
...untIdAcceptedResponseHeaders.PowerShell.cs | 155 --
...IdAcceptedResponseHeaders.TypeConverter.cs | 153 --
...BillingAccountIdAcceptedResponseHeaders.cs | 77 -
...ngAccountIdAcceptedResponseHeaders.json.cs | 108 -
...ileIdAcceptedResponseHeaders.PowerShell.cs | 155 --
...IdAcceptedResponseHeaders.TypeConverter.cs | 153 --
...BillingProfileIdAcceptedResponseHeaders.cs | 77 -
...ngProfileIdAcceptedResponseHeaders.json.cs | 108 -
...ostManagementExportExecutionHistory_Get.cs | 40 +-
...ntExportExecutionHistory_GetViaIdentity.cs | 40 +-
.../cmdlets/GetAzCostManagementExport_Get.cs | 40 +-
...etAzCostManagementExport_GetViaIdentity.cs | 40 +-
.../cmdlets/GetAzCostManagementExport_List.cs | 40 +-
.../GetAzCostManagementOperation_List.cs | 40 +-
...keAzCostManagementExecuteExport_Execute.cs | 40 +-
...agementExecuteExport_ExecuteViaIdentity.cs | 40 +-
...ostManagementReservationDetailReport_By.cs | 44 +-
...stManagementReservationDetailReport_By1.cs | 44 +-
...stManagementDetailReport_CreateExpanded.cs | 40 +-
...ewAzCostManagementExport_CreateExpanded.cs | 40 +-
.../RemoveAzCostManagementExport_Delete.cs | 40 +-
...zCostManagementExport_DeleteViaIdentity.cs | 40 +-
...teAzCostManagementExport_UpdateExpanded.cs | 40 +-
...agementExport_UpdateViaIdentityExpanded.cs | 40 +-
.../BuildTime/Cmdlets/ExportHelpMarkdown.cs | 5 +-
.../BuildTime/Cmdlets/ExportProxyCmdlet.cs | 5 +-
.../runtime/BuildTime/MarkdownRenderer.cs | 24 +-
.../BuildTime/Models/PsProxyOutputs.cs | 34 +-
.../runtime/BuildTime/PsAttributes.cs | 7 +
.../generated/runtime/MessageAttribute.cs | 100 +-
.../runtime/MessageAttributeHelper.cs | 37 +-
.../runtime/Properties/Resources.Designer.cs | 28 +-
.../runtime/Properties/Resources.resx | 10 +-
.../help/Az.CostManagement.md | 61 +
.../help/Get-AzCostManagementExport.md | 160 ++
...-AzCostManagementExportExecutionHistory.md | 139 +
.../Invoke-AzCostManagementExecuteExport.md | 171 ++
.../help/Invoke-AzCostManagementQuery.md | 307 +++
...AzCostManagementReservationDetailReport.md | 195 ++
.../help/New-AzCostManagementDetailReport.md | 240 ++
.../help/New-AzCostManagementExport.md | 355 +++
...nagementQueryComparisonExpressionObject.md | 97 +
.../New-AzCostManagementQueryFilterObject.md | 138 +
.../CostManagement.Autorest/help/README.md | 11 +
.../help/Remove-AzCostManagementExport.md | 171 ++
.../help/Update-AzCostManagementExport.md | 414 +++
.../internal/Az.CostManagement.internal.psm1 | 4 +-
.../Get-AzCostManagementOperation.ps1 | 3 +-
.../internal/New-AzCostManagementExport.ps1 | 3 +-
.../internal/ProxyCmdletDefinitions.ps1 | 9 +-
.../Update-AzCostManagementExport.ps1 | 3 +-
.../CostManagement.Autorest/test-module.ps1 | 8 +-
.../CostManagement.Autorest/test/loadEnv.ps1 | 2 +-
.../CostManagement.Autorest/test/utils.ps1 | 2 +-
.../utils/Get-SubscriptionIdTestSafe.ps1 | 7 +
.../CostManagement/Az.CostManagement.psd1 | 6 +-
.../CostManagement/ChangeLog.md | 1 +
.../CostManagement/help/Az.CostManagement.md | 2 +-
.../help/Get-AzCostManagementExport.md | 48 +-
...-AzCostManagementExportExecutionHistory.md | 44 +-
.../Invoke-AzCostManagementExecuteExport.md | 44 +-
.../help/Invoke-AzCostManagementQuery.md | 44 +-
...AzCostManagementReservationDetailReport.md | 36 +-
.../help/New-AzCostManagementDetailReport.md | 26 +-
.../help/New-AzCostManagementExport.md | 23 +-
...nagementQueryComparisonExpressionObject.md | 22 +-
.../New-AzCostManagementQueryFilterObject.md | 63 +-
.../help/Remove-AzCostManagementExport.md | 44 +-
.../help/Update-AzCostManagementExport.md | 43 +-
992 files changed, 40197 insertions(+), 9700 deletions(-)
create mode 100644 src/BillingBenefits/BillingBenefits.Autorest/generate-portal-ux.ps1
delete mode 100644 src/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanUpdateAcceptedResponseHeaders.PowerShell.cs
delete mode 100644 src/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanUpdateAcceptedResponseHeaders.TypeConverter.cs
delete mode 100644 src/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanUpdateAcceptedResponseHeaders.cs
delete mode 100644 src/BillingBenefits/BillingBenefits.Autorest/generated/api/Models/SavingsPlanUpdateAcceptedResponseHeaders.json.cs
create mode 100644 src/BillingBenefits/BillingBenefits.Autorest/help/Az.BillingBenefits.md
create mode 100644 src/BillingBenefits/BillingBenefits.Autorest/help/Get-AzBillingBenefitsReservationOrderAlias.md
create mode 100644 src/BillingBenefits/BillingBenefits.Autorest/help/Get-AzBillingBenefitsSavingsPlan.md
create mode 100644 src/BillingBenefits/BillingBenefits.Autorest/help/Get-AzBillingBenefitsSavingsPlanList.md
create mode 100644 src/BillingBenefits/BillingBenefits.Autorest/help/Get-AzBillingBenefitsSavingsPlanOrder.md
create mode 100644 src/BillingBenefits/BillingBenefits.Autorest/help/Get-AzBillingBenefitsSavingsPlanOrderAlias.md
create mode 100644 src/BillingBenefits/BillingBenefits.Autorest/help/Invoke-AzBillingBenefitsElevateSavingPlanOrder.md
create mode 100644 src/BillingBenefits/BillingBenefits.Autorest/help/Invoke-AzBillingBenefitsSavingsPlanPurchaseValidation.md
create mode 100644 src/BillingBenefits/BillingBenefits.Autorest/help/Invoke-AzBillingBenefitsSavingsPlanUpdateValidation.md
create mode 100644 src/BillingBenefits/BillingBenefits.Autorest/help/New-AzBillingBenefitsReservationOrderAlias.md
create mode 100644 src/BillingBenefits/BillingBenefits.Autorest/help/New-AzBillingBenefitsSavingsPlanOrderAlias.md
create mode 100644 src/BillingBenefits/BillingBenefits.Autorest/help/README.md
create mode 100644 src/BillingBenefits/BillingBenefits.Autorest/help/Update-AzBillingBenefitsSavingsPlan.md
create mode 100644 src/BillingBenefits/BillingBenefits.Autorest/utils/Get-SubscriptionIdTestSafe.ps1
create mode 100644 src/CloudService/CloudService.Autorest/generate-portal-ux.ps1
create mode 100644 src/CloudService/CloudService.Autorest/help/Az.CloudService.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Get-AzCloudService.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Get-AzCloudServiceInstanceView.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Get-AzCloudServiceNetworkInterface.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Get-AzCloudServiceOSFamily.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Get-AzCloudServiceOSVersion.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Get-AzCloudServicePublicIPAddress.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Get-AzCloudServiceRoleInstance.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Get-AzCloudServiceRoleInstanceRemoteDesktopFile.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Get-AzCloudServiceRoleInstanceView.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Invoke-AzCloudServiceRebuild.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Invoke-AzCloudServiceReimage.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Invoke-AzCloudServiceRoleInstanceRebuild.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Invoke-AzCloudServiceRoleInstanceReimage.md
create mode 100644 src/CloudService/CloudService.Autorest/help/New-AzCloudService.md
create mode 100644 src/CloudService/CloudService.Autorest/help/New-AzCloudServiceDiagnosticsExtension.md
create mode 100644 src/CloudService/CloudService.Autorest/help/New-AzCloudServiceExtensionObject.md
create mode 100644 src/CloudService/CloudService.Autorest/help/New-AzCloudServiceLoadBalancerConfigurationObject.md
create mode 100644 src/CloudService/CloudService.Autorest/help/New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject.md
create mode 100644 src/CloudService/CloudService.Autorest/help/New-AzCloudServiceRemoteDesktopExtensionObject.md
create mode 100644 src/CloudService/CloudService.Autorest/help/New-AzCloudServiceRoleProfilePropertiesObject.md
create mode 100644 src/CloudService/CloudService.Autorest/help/New-AzCloudServiceVaultSecretGroupObject.md
create mode 100644 src/CloudService/CloudService.Autorest/help/README.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Remove-AzCloudService.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Remove-AzCloudServiceRoleInstance.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Restart-AzCloudService.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Restart-AzCloudServiceRoleInstance.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Set-AzCloudServiceUpdateDomain.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Start-AzCloudService.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Stop-AzCloudService.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Switch-AzCloudService.md
create mode 100644 src/CloudService/CloudService.Autorest/help/Update-AzCloudService.md
create mode 100644 src/CloudService/CloudService.Autorest/utils/Get-SubscriptionIdTestSafe.ps1
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/generate-portal-ux.ps1
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/Az.ConnectedNetwork.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/Get-AzConnectedNetworkDevice.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/Get-AzConnectedNetworkDeviceRegistrationKey.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/Get-AzConnectedNetworkFunction.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/Get-AzConnectedNetworkFunctionVendor.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/Get-AzConnectedNetworkVendor.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/Get-AzConnectedNetworkVendorFunction.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/Get-AzConnectedNetworkVendorFunctionRoleInstance.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/Get-AzConnectedNetworkVendorSku.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/Get-AzConnectedNetworkVendorSkuPreview.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/New-AzConnectedNetworkAzureStackEdgeObject.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/New-AzConnectedNetworkDevice.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/New-AzConnectedNetworkFunction.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/New-AzConnectedNetworkFunctionRoleConfigurationObject.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/New-AzConnectedNetworkFunctionUserConfigurationObject.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/New-AzConnectedNetworkFunctionVendorConfigurationObject.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/New-AzConnectedNetworkInterfaceIPConfigurationObject.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/New-AzConnectedNetworkInterfaceObject.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/New-AzConnectedNetworkVendor.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/New-AzConnectedNetworkVendorFunction.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/New-AzConnectedNetworkVendorSku.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/New-AzConnectedNetworkVendorSkuPreview.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/README.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/Remove-AzConnectedNetworkDevice.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/Remove-AzConnectedNetworkFunction.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/Remove-AzConnectedNetworkVendor.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/Remove-AzConnectedNetworkVendorSku.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/Remove-AzConnectedNetworkVendorSkuPreview.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/Restart-AzConnectedNetworkVendorFunctionRoleInstance.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/Start-AzConnectedNetworkVendorFunctionRoleInstance.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/Stop-AzConnectedNetworkVendorFunctionRoleInstance.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/Update-AzConnectedNetworkDeviceTag.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/help/Update-AzConnectedNetworkFunctionTag.md
create mode 100644 src/ConnectedNetwork/ConnectedNetwork.Autorest/utils/Get-SubscriptionIdTestSafe.ps1
create mode 100644 src/CostManagement/CostManagement.Autorest/generate-portal-ux.ps1
delete mode 100644 src/CostManagement/CostManagement.Autorest/generated/api/Models/GenerateCostDetailsReportCreateOperationAcceptedResponseHeaders.PowerShell.cs
delete mode 100644 src/CostManagement/CostManagement.Autorest/generated/api/Models/GenerateCostDetailsReportCreateOperationAcceptedResponseHeaders.TypeConverter.cs
delete mode 100644 src/CostManagement/CostManagement.Autorest/generated/api/Models/GenerateCostDetailsReportCreateOperationAcceptedResponseHeaders.cs
delete mode 100644 src/CostManagement/CostManagement.Autorest/generated/api/Models/GenerateCostDetailsReportCreateOperationAcceptedResponseHeaders.json.cs
delete mode 100644 src/CostManagement/CostManagement.Autorest/generated/api/Models/GenerateReservationDetailsReportByBillingAccountIdAcceptedResponseHeaders.PowerShell.cs
delete mode 100644 src/CostManagement/CostManagement.Autorest/generated/api/Models/GenerateReservationDetailsReportByBillingAccountIdAcceptedResponseHeaders.TypeConverter.cs
delete mode 100644 src/CostManagement/CostManagement.Autorest/generated/api/Models/GenerateReservationDetailsReportByBillingAccountIdAcceptedResponseHeaders.cs
delete mode 100644 src/CostManagement/CostManagement.Autorest/generated/api/Models/GenerateReservationDetailsReportByBillingAccountIdAcceptedResponseHeaders.json.cs
delete mode 100644 src/CostManagement/CostManagement.Autorest/generated/api/Models/GenerateReservationDetailsReportByBillingProfileIdAcceptedResponseHeaders.PowerShell.cs
delete mode 100644 src/CostManagement/CostManagement.Autorest/generated/api/Models/GenerateReservationDetailsReportByBillingProfileIdAcceptedResponseHeaders.TypeConverter.cs
delete mode 100644 src/CostManagement/CostManagement.Autorest/generated/api/Models/GenerateReservationDetailsReportByBillingProfileIdAcceptedResponseHeaders.cs
delete mode 100644 src/CostManagement/CostManagement.Autorest/generated/api/Models/GenerateReservationDetailsReportByBillingProfileIdAcceptedResponseHeaders.json.cs
create mode 100644 src/CostManagement/CostManagement.Autorest/help/Az.CostManagement.md
create mode 100644 src/CostManagement/CostManagement.Autorest/help/Get-AzCostManagementExport.md
create mode 100644 src/CostManagement/CostManagement.Autorest/help/Get-AzCostManagementExportExecutionHistory.md
create mode 100644 src/CostManagement/CostManagement.Autorest/help/Invoke-AzCostManagementExecuteExport.md
create mode 100644 src/CostManagement/CostManagement.Autorest/help/Invoke-AzCostManagementQuery.md
create mode 100644 src/CostManagement/CostManagement.Autorest/help/Invoke-AzCostManagementReservationDetailReport.md
create mode 100644 src/CostManagement/CostManagement.Autorest/help/New-AzCostManagementDetailReport.md
create mode 100644 src/CostManagement/CostManagement.Autorest/help/New-AzCostManagementExport.md
create mode 100644 src/CostManagement/CostManagement.Autorest/help/New-AzCostManagementQueryComparisonExpressionObject.md
create mode 100644 src/CostManagement/CostManagement.Autorest/help/New-AzCostManagementQueryFilterObject.md
create mode 100644 src/CostManagement/CostManagement.Autorest/help/README.md
create mode 100644 src/CostManagement/CostManagement.Autorest/help/Remove-AzCostManagementExport.md
create mode 100644 src/CostManagement/CostManagement.Autorest/help/Update-AzCostManagementExport.md
create mode 100644 src/CostManagement/CostManagement.Autorest/utils/Get-SubscriptionIdTestSafe.ps1
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/Az.BillingBenefits.format.ps1xml b/src/BillingBenefits/BillingBenefits.Autorest/Az.BillingBenefits.format.ps1xml
index 3e2340ad3169..c912cca96067 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/Az.BillingBenefits.format.ps1xml
+++ b/src/BillingBenefits/BillingBenefits.Autorest/Az.BillingBenefits.format.ps1xml
@@ -41,28 +41,6 @@
-
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.SavingsPlanUpdateAcceptedResponseHeaders
-
- Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.SavingsPlanUpdateAcceptedResponseHeaders
-
-
-
-
-
-
-
-
-
-
-
- Location
-
-
-
-
-
-
Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.Api30.ErrorDetail
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/Az.BillingBenefits.psd1 b/src/BillingBenefits/BillingBenefits.Autorest/Az.BillingBenefits.psd1
index f23c5a86af76..af234d3c71b0 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/Az.BillingBenefits.psd1
+++ b/src/BillingBenefits/BillingBenefits.Autorest/Az.BillingBenefits.psd1
@@ -1,142 +1,24 @@
-#
-# Module manifest for module 'Az.BillingBenefits'
-#
-# Generated by: Microsoft Corporation
-#
-# Generated on: 1/19/2023
-#
-
@{
-
-# Script module or binary module file associated with this manifest.
-RootModule = './Az.BillingBenefits.psm1'
-
-# Version number of this module.
-ModuleVersion = '0.1.0'
-
-# Supported PSEditions
-CompatiblePSEditions = 'Core', 'Desktop'
-
-# ID used to uniquely identify this module
-GUID = '7c220d70-27ec-4403-aedd-429aa925a6a6'
-
-# Author of this module
-Author = 'Microsoft Corporation'
-
-# Company or vendor of this module
-CompanyName = 'Microsoft Corporation'
-
-# Copyright statement for this module
-Copyright = 'Microsoft Corporation. All rights reserved.'
-
-# Description of the functionality provided by this module
-Description = 'Microsoft Azure PowerShell: BillingBenefits cmdlets'
-
-# Minimum version of the PowerShell engine required by this module
-PowerShellVersion = '5.1'
-
-# Name of the PowerShell host required by this module
-# PowerShellHostName = ''
-
-# Minimum version of the PowerShell host required by this module
-# PowerShellHostVersion = ''
-
-# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
-DotNetFrameworkVersion = '4.7.2'
-
-# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
-# ClrVersion = ''
-
-# Processor architecture (None, X86, Amd64) required by this module
-# ProcessorArchitecture = ''
-
-# Modules that must be imported into the global environment prior to importing this module
-RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.11.0'; })
-
-# Assemblies that must be loaded prior to importing this module
-RequiredAssemblies = './bin/Az.BillingBenefits.private.dll'
-
-# Script files (.ps1) that are run in the caller's environment prior to importing this module.
-# ScriptsToProcess = @()
-
-# Type files (.ps1xml) to be loaded when importing this module
-# TypesToProcess = @()
-
-# Format files (.ps1xml) to be loaded when importing this module
-FormatsToProcess = './Az.BillingBenefits.format.ps1xml'
-
-# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
-# NestedModules = @()
-
-# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
-FunctionsToExport = 'Get-AzBillingBenefitsReservationOrderAlias',
- 'Get-AzBillingBenefitsSavingsPlan',
- 'Get-AzBillingBenefitsSavingsPlanList',
- 'Get-AzBillingBenefitsSavingsPlanOrder',
- 'Get-AzBillingBenefitsSavingsPlanOrderAlias',
- 'Invoke-AzBillingBenefitsElevateSavingPlanOrder',
- 'Invoke-AzBillingBenefitsSavingsPlanPurchaseValidation',
- 'Invoke-AzBillingBenefitsSavingsPlanUpdateValidation',
- 'New-AzBillingBenefitsReservationOrderAlias',
- 'New-AzBillingBenefitsSavingsPlanOrderAlias',
- 'Update-AzBillingBenefitsSavingsPlan'
-
-# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
-CmdletsToExport = @()
-
-# Variables to export from this module
-# VariablesToExport = @()
-
-# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
-AliasesToExport = '*'
-
-# DSC resources to export from this module
-# DscResourcesToExport = @()
-
-# List of all modules packaged with this module
-# ModuleList = @()
-
-# List of all files packaged with this module
-# FileList = @()
-
-# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
-PrivateData = @{
-
+ GUID = '7c220d70-27ec-4403-aedd-429aa925a6a6'
+ RootModule = './Az.BillingBenefits.psm1'
+ ModuleVersion = '0.1.0'
+ CompatiblePSEditions = 'Core', 'Desktop'
+ Author = 'Microsoft Corporation'
+ CompanyName = 'Microsoft Corporation'
+ Copyright = 'Microsoft Corporation. All rights reserved.'
+ Description = 'Microsoft Azure PowerShell: BillingBenefits cmdlets'
+ PowerShellVersion = '5.1'
+ DotNetFrameworkVersion = '4.7.2'
+ RequiredAssemblies = './bin/Az.BillingBenefits.private.dll'
+ FormatsToProcess = './Az.BillingBenefits.format.ps1xml'
+ FunctionsToExport = 'Get-AzBillingBenefitsReservationOrderAlias', 'Get-AzBillingBenefitsSavingsPlan', 'Get-AzBillingBenefitsSavingsPlanList', 'Get-AzBillingBenefitsSavingsPlanOrder', 'Get-AzBillingBenefitsSavingsPlanOrderAlias', 'Invoke-AzBillingBenefitsElevateSavingPlanOrder', 'Invoke-AzBillingBenefitsSavingsPlanPurchaseValidation', 'Invoke-AzBillingBenefitsSavingsPlanUpdateValidation', 'New-AzBillingBenefitsReservationOrderAlias', 'New-AzBillingBenefitsSavingsPlanOrderAlias', 'Update-AzBillingBenefitsSavingsPlan', '*'
+ AliasesToExport = '*'
+ PrivateData = @{
PSData = @{
-
- # Tags applied to this module. These help with module discovery in online galleries.
- Tags = 'Azure','ResourceManager','ARM','PSModule','BillingBenefits'
-
- # A URL to the license for this module.
- LicenseUri = 'https://aka.ms/azps-license'
-
- # A URL to the main website for this project.
- ProjectUri = 'https://github.com/Azure/azure-powershell'
-
- # A URL to an icon representing this module.
- # IconUri = ''
-
- # ReleaseNotes of this module
- ReleaseNotes = '* First preview release for module Az.BillingBenefits'
-
- # Prerelease string of this module
- # Prerelease = ''
-
- # Flag to indicate whether the module requires explicit user acceptance for install/update/save
- # RequireLicenseAcceptance = $false
-
- # External dependent modules of this module
- # ExternalModuleDependencies = @()
-
- } # End of PSData hashtable
-
- } # End of PrivateData hashtable
-
-# HelpInfo URI of this module
-# HelpInfoURI = ''
-
-# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
-# DefaultCommandPrefix = ''
-
+ Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'BillingBenefits'
+ LicenseUri = 'https://aka.ms/azps-license'
+ ProjectUri = 'https://github.com/Azure/azure-powershell'
+ ReleaseNotes = ''
+ }
+ }
}
-
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/Az.BillingBenefits.psm1 b/src/BillingBenefits/BillingBenefits.Autorest/Az.BillingBenefits.psm1
index 90962c16830e..19497f11feaf 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/Az.BillingBenefits.psm1
+++ b/src/BillingBenefits/BillingBenefits.Autorest/Az.BillingBenefits.psm1
@@ -47,37 +47,41 @@
# Ask for the shared functionality table
$VTable = Register-AzModule
-
+
# Tweaks the pipeline on module load
$instance.OnModuleLoad = $VTable.OnModuleLoad
# Following two delegates are added for telemetry
$instance.GetTelemetryId = $VTable.GetTelemetryId
$instance.Telemetry = $VTable.Telemetry
-
+
+ # Delegate to sanitize the output object
+ $instance.SanitizeOutput = $VTable.SanitizerHandler
+
+ # Delegate to get the telemetry info
+ $instance.GetTelemetryInfo = $VTable.GetTelemetryInfo
# Tweaks the pipeline per call
$instance.OnNewRequest = $VTable.OnNewRequest
-
+
# Gets shared parameter values
$instance.GetParameterValue = $VTable.GetParameterValue
-
+
# Allows shared module to listen to events from this module
$instance.EventListener = $VTable.EventListener
-
+
# Gets shared argument completers
$instance.ArgumentCompleter = $VTable.ArgumentCompleter
-
+
# The name of the currently selected Azure profile
$instance.ProfileName = $VTable.ProfileName
-
# Load the custom module
$customModulePath = Join-Path $PSScriptRoot './custom/Az.BillingBenefits.custom.psm1'
if(Test-Path $customModulePath) {
$null = Import-Module -Name $customModulePath
}
-
+
# Export nothing to clear implicit exports
Export-ModuleMember
@@ -97,12 +101,12 @@
# Load the last folder if no profile is selected
$profileDirectory = $directories | Select-Object -Last 1
}
-
+
if($profileDirectory) {
Write-Information "Loaded Azure profile '$($profileDirectory.Name)' for module '$($instance.Name)'"
$exportsPath = $profileDirectory.FullName
}
-
+
if($exportsPath) {
Get-ChildItem -Path $exportsPath -Recurse -Include '*.ps1' -File | ForEach-Object { . $_.FullName }
$cmdletNames = Get-ScriptCmdlet -ScriptFolder $exportsPath
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/README.md b/src/BillingBenefits/BillingBenefits.Autorest/README.md
index 0967efb22dc0..beec44fb8afb 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/README.md
+++ b/src/BillingBenefits/BillingBenefits.Autorest/README.md
@@ -3,7 +3,6 @@
This directory contains the PowerShell module for the BillingBenefits service.
---
-
## Info
- Modifiable: yes
- Generated: all
@@ -45,9 +44,9 @@ In this directory, run AutoRest:
> see https://aka.ms/autorest
``` yaml
-branch: bab95d5636c7d47cc5584ea8dadb21199d229ca7
+commit: bab95d5636c7d47cc5584ea8dadb21199d229ca7
require:
- - $(this-folder)/../readme.azure.noprofile.md
+ - $(this-folder)/../../readme.azure.noprofile.md
input-file:
- $(repo)/specification/billingbenefits/resource-manager/Microsoft.BillingBenefits/stable/2022-11-01/billingbenefits.json
module-version: 0.1.0
@@ -57,6 +56,10 @@ subject-prefix: $(service-name)
resourcegroup-append: true
nested-object-to-string: true
+# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
+use-extension:
+ "@autorest/powershell": "3.x"
+
directive:
### No inline
- no-inline:
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/build-module.ps1 b/src/BillingBenefits/BillingBenefits.Autorest/build-module.ps1
index 4b08b7180af3..c6ca54963130 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/build-module.ps1
+++ b/src/BillingBenefits/BillingBenefits.Autorest/build-module.ps1
@@ -123,6 +123,10 @@ $null = New-Item -ItemType Directory -Force -Path $examplesFolder
Write-Host -ForegroundColor Green 'Creating cmdlets for specified models...'
$modelCmdlets = @()
+$modelCmdletFolder = Join-Path (Join-Path $PSScriptRoot './custom') 'autogen-model-cmdlets'
+if (Test-Path $modelCmdletFolder) {
+ $null = Remove-Item -Force -Recurse -Path $modelCmdletFolder
+}
if ($modelCmdlets.Count -gt 0) {
. (Join-Path $PSScriptRoot 'create-model-cmdlets.ps1')
CreateModelCmdlet($modelCmdlets)
@@ -139,7 +143,8 @@ if($NoDocs) {
$null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
}
$null = New-Item -ItemType Directory -Force -Path $docsFolder
- Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ModuleDescription $moduleDescription -DocsFolder $docsFolder -ExamplesFolder $examplesFolder -ModuleGuid $guid
+ $addComplexInterfaceInfo = ![System.Convert]::ToBoolean('true')
+ Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ModuleDescription $moduleDescription -DocsFolder $docsFolder -ExamplesFolder $examplesFolder -ModuleGuid $guid -AddComplexInterfaceInfo:$addComplexInterfaceInfo
}
Write-Host -ForegroundColor Green 'Creating format.ps1xml...'
@@ -158,4 +163,10 @@ Export-TestStub -ModuleName $moduleName -ExportsFolder $exportsFolder -OutputFol
Write-Host -ForegroundColor Green 'Creating example stubs...'
Export-ExampleStub -ExportsFolder $exportsFolder -OutputFolder $examplesFolder
+if (Test-Path (Join-Path $PSScriptRoot 'generate-portal-ux.ps1'))
+{
+ Write-Host -ForegroundColor Green 'Creating ux metadata...'
+ . (Join-Path $PSScriptRoot 'generate-portal-ux.ps1')
+}
+
Write-Host -ForegroundColor Green '-------------Done-------------'
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/create-model-cmdlets.ps1 b/src/BillingBenefits/BillingBenefits.Autorest/create-model-cmdlets.ps1
index d4acfbc52e55..96b5544d7950 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/create-model-cmdlets.ps1
+++ b/src/BillingBenefits/BillingBenefits.Autorest/create-model-cmdlets.ps1
@@ -23,9 +23,13 @@ function CreateModelCmdlet {
}
$ModelCsPath = Join-Path (Join-Path $PSScriptRoot 'generated\api') 'Models'
- $ModuleName = 'BillingBenefits'
$OutputDir = Join-Path $PSScriptRoot 'custom\autogen-model-cmdlets'
$null = New-Item -ItemType Directory -Force -Path $OutputDir
+ if (''.length -gt 0) {
+ $ModuleName = ''
+ } else {
+ $ModuleName = 'Az.BillingBenefits'
+ }
$CsFiles = Get-ChildItem -Path $ModelCsPath -Recurse -Filter *.cs
$Content = ''
@@ -64,10 +68,10 @@ function CreateModelCmdlet {
$ObjectType = $Model
$ObjectTypeWithNamespace = "${Namespace}.${ObjectType}"
# remove duplicated module name
- if ($ObjectType.StartsWith($ModuleName)) {
+ if ($ObjectType.StartsWith('BillingBenefits')) {
$ModulePrefix = ''
} else {
- $ModulePrefix = $ModuleName
+ $ModulePrefix = 'BillingBenefits'
}
$OutputPath = Join-Path -ChildPath "New-Az${ModulePrefix}${ObjectType}Object.ps1" -Path $OutputDir
@@ -158,7 +162,7 @@ Create an in-memory object for ${ObjectType}.
.Outputs
${ObjectTypeWithNamespace}
.Link
-https://learn.microsoft.com/powershell/module/az.${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
+https://learn.microsoft.com/powershell/module/${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
#>
function New-Az${ModulePrefix}${ObjectType}Object {
[OutputType('${ObjectTypeWithNamespace}')]
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/exports/Get-AzBillingBenefitsReservationOrderAlias.ps1 b/src/BillingBenefits/BillingBenefits.Autorest/exports/Get-AzBillingBenefitsReservationOrderAlias.ps1
index 75c71dbe3196..78d3544d18de 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/exports/Get-AzBillingBenefitsReservationOrderAlias.ps1
+++ b/src/BillingBenefits/BillingBenefits.Autorest/exports/Get-AzBillingBenefitsReservationOrderAlias.ps1
@@ -69,7 +69,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -121,7 +122,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -143,6 +144,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/exports/Get-AzBillingBenefitsSavingsPlan.ps1 b/src/BillingBenefits/BillingBenefits.Autorest/exports/Get-AzBillingBenefitsSavingsPlan.ps1
index 5d9fe83d5238..67577e116851 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/exports/Get-AzBillingBenefitsSavingsPlan.ps1
+++ b/src/BillingBenefits/BillingBenefits.Autorest/exports/Get-AzBillingBenefitsSavingsPlan.ps1
@@ -80,7 +80,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -132,7 +133,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -155,6 +156,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/exports/Get-AzBillingBenefitsSavingsPlanList.ps1 b/src/BillingBenefits/BillingBenefits.Autorest/exports/Get-AzBillingBenefitsSavingsPlanList.ps1
index 62697a571a46..c8d1aa63ce00 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/exports/Get-AzBillingBenefitsSavingsPlanList.ps1
+++ b/src/BillingBenefits/BillingBenefits.Autorest/exports/Get-AzBillingBenefitsSavingsPlanList.ps1
@@ -77,7 +77,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -129,7 +130,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -150,6 +151,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/exports/Get-AzBillingBenefitsSavingsPlanOrder.ps1 b/src/BillingBenefits/BillingBenefits.Autorest/exports/Get-AzBillingBenefitsSavingsPlanOrder.ps1
index 9117e5689c9c..0a2d94999986 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/exports/Get-AzBillingBenefitsSavingsPlanOrder.ps1
+++ b/src/BillingBenefits/BillingBenefits.Autorest/exports/Get-AzBillingBenefitsSavingsPlanOrder.ps1
@@ -72,7 +72,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -124,7 +125,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -147,6 +148,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/exports/Get-AzBillingBenefitsSavingsPlanOrderAlias.ps1 b/src/BillingBenefits/BillingBenefits.Autorest/exports/Get-AzBillingBenefitsSavingsPlanOrderAlias.ps1
index 27b276b0d522..50182e4316d6 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/exports/Get-AzBillingBenefitsSavingsPlanOrderAlias.ps1
+++ b/src/BillingBenefits/BillingBenefits.Autorest/exports/Get-AzBillingBenefitsSavingsPlanOrderAlias.ps1
@@ -69,7 +69,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -121,7 +122,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -143,6 +144,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/exports/Invoke-AzBillingBenefitsElevateSavingPlanOrder.ps1 b/src/BillingBenefits/BillingBenefits.Autorest/exports/Invoke-AzBillingBenefitsElevateSavingPlanOrder.ps1
index 611cb462795c..0ddbbe576da2 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/exports/Invoke-AzBillingBenefitsElevateSavingPlanOrder.ps1
+++ b/src/BillingBenefits/BillingBenefits.Autorest/exports/Invoke-AzBillingBenefitsElevateSavingPlanOrder.ps1
@@ -68,7 +68,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -120,7 +121,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -142,6 +143,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/exports/Invoke-AzBillingBenefitsSavingsPlanPurchaseValidation.ps1 b/src/BillingBenefits/BillingBenefits.Autorest/exports/Invoke-AzBillingBenefitsSavingsPlanPurchaseValidation.ps1
index 13830a778cc4..63057a7563d8 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/exports/Invoke-AzBillingBenefitsSavingsPlanPurchaseValidation.ps1
+++ b/src/BillingBenefits/BillingBenefits.Autorest/exports/Invoke-AzBillingBenefitsSavingsPlanPurchaseValidation.ps1
@@ -59,7 +59,6 @@ BENEFIT : .
[AppliedScopePropertySubscriptionId ]: Fully-qualified identifier of the subscription.
[AppliedScopePropertyTenantId ]: Tenant ID where the benefit is applied.
[AppliedScopeType ]: Type of the Applied Scope.
- [AzureAsyncOperation ]:
[BillingPlan ]: Represents the billing plan in ISO 8601 format. Required only for monthly billing plans.
[BillingScopeId ]: Subscription that will be charged for purchasing the benefit
[CommitmentAmount ]:
@@ -67,7 +66,6 @@ BENEFIT : .
[CommitmentGrain ]: Commitment grain.
[DisplayName ]: Display name
[Kind ]: Resource provider kind
- [RetryAfter ]:
[SkuName ]: Name of the SKU to be applied
[Term ]: Represent benefit term in ISO 8601 format.
@@ -85,7 +83,6 @@ BODY : .
[AppliedScopePropertySubscriptionId ]: Fully-qualified identifier of the subscription.
[AppliedScopePropertyTenantId ]: Tenant ID where the benefit is applied.
[AppliedScopeType ]: Type of the Applied Scope.
- [AzureAsyncOperation ]:
[BillingPlan ]: Represents the billing plan in ISO 8601 format. Required only for monthly billing plans.
[BillingScopeId ]: Subscription that will be charged for purchasing the benefit
[CommitmentAmount ]:
@@ -93,7 +90,6 @@ BODY : .
[CommitmentGrain ]: Commitment grain.
[DisplayName ]: Display name
[Kind ]: Resource provider kind
- [RetryAfter ]:
[SkuName ]: Name of the SKU to be applied
[Term ]: Represent benefit term in ISO 8601 format.
.Link
@@ -123,7 +119,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -175,7 +172,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -197,6 +194,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/exports/Invoke-AzBillingBenefitsSavingsPlanUpdateValidation.ps1 b/src/BillingBenefits/BillingBenefits.Autorest/exports/Invoke-AzBillingBenefitsSavingsPlanUpdateValidation.ps1
index 915b1d6f41b6..eb2dfa7f88a6 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/exports/Invoke-AzBillingBenefitsSavingsPlanUpdateValidation.ps1
+++ b/src/BillingBenefits/BillingBenefits.Autorest/exports/Invoke-AzBillingBenefitsSavingsPlanUpdateValidation.ps1
@@ -152,7 +152,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -204,7 +205,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -228,6 +229,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/exports/New-AzBillingBenefitsReservationOrderAlias.ps1 b/src/BillingBenefits/BillingBenefits.Autorest/exports/New-AzBillingBenefitsReservationOrderAlias.ps1
index f8eeaaafaa95..b3f40a82b4e2 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/exports/New-AzBillingBenefitsReservationOrderAlias.ps1
+++ b/src/BillingBenefits/BillingBenefits.Autorest/exports/New-AzBillingBenefitsReservationOrderAlias.ps1
@@ -225,7 +225,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter()]
@@ -289,7 +290,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -313,6 +314,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/exports/New-AzBillingBenefitsSavingsPlanOrderAlias.ps1 b/src/BillingBenefits/BillingBenefits.Autorest/exports/New-AzBillingBenefitsSavingsPlanOrderAlias.ps1
index eda287babec0..6937ef34606b 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/exports/New-AzBillingBenefitsSavingsPlanOrderAlias.ps1
+++ b/src/BillingBenefits/BillingBenefits.Autorest/exports/New-AzBillingBenefitsSavingsPlanOrderAlias.ps1
@@ -49,7 +49,6 @@ BODY : Savings plan order alias
[AppliedScopePropertySubscriptionId ]: Fully-qualified identifier of the subscription.
[AppliedScopePropertyTenantId ]: Tenant ID where the benefit is applied.
[AppliedScopeType ]: Type of the Applied Scope.
- [AzureAsyncOperation ]:
[BillingPlan ]: Represents the billing plan in ISO 8601 format. Required only for monthly billing plans.
[BillingScopeId ]: Subscription that will be charged for purchasing the benefit
[CommitmentAmount ]:
@@ -57,7 +56,6 @@ BODY : Savings plan order alias
[CommitmentGrain ]: Commitment grain.
[DisplayName ]: Display name
[Kind ]: Resource provider kind
- [RetryAfter ]:
[SkuName ]: Name of the SKU to be applied
[Term ]: Represent benefit term in ISO 8601 format.
@@ -213,7 +211,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter()]
@@ -277,7 +276,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -301,6 +300,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/exports/ProxyCmdletDefinitions.ps1 b/src/BillingBenefits/BillingBenefits.Autorest/exports/ProxyCmdletDefinitions.ps1
index 52b1e671e5fd..1b3178749045 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/src/BillingBenefits/BillingBenefits.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -69,7 +69,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -121,7 +122,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -143,6 +144,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
@@ -250,7 +255,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -302,7 +308,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -323,6 +329,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
@@ -422,7 +432,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -474,7 +485,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -496,6 +507,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
@@ -598,7 +613,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -650,7 +666,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -673,6 +689,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
@@ -783,7 +803,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -835,7 +856,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -858,6 +879,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
@@ -956,7 +981,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -1008,7 +1034,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -1030,6 +1056,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
@@ -1119,7 +1149,6 @@ BENEFIT : .
[AppliedScopePropertySubscriptionId ]: Fully-qualified identifier of the subscription.
[AppliedScopePropertyTenantId ]: Tenant ID where the benefit is applied.
[AppliedScopeType ]: Type of the Applied Scope.
- [AzureAsyncOperation ]:
[BillingPlan ]: Represents the billing plan in ISO 8601 format. Required only for monthly billing plans.
[BillingScopeId ]: Subscription that will be charged for purchasing the benefit
[CommitmentAmount ]:
@@ -1127,7 +1156,6 @@ BENEFIT : .
[CommitmentGrain ]: Commitment grain.
[DisplayName ]: Display name
[Kind ]: Resource provider kind
- [RetryAfter ]:
[SkuName ]: Name of the SKU to be applied
[Term ]: Represent benefit term in ISO 8601 format.
@@ -1145,7 +1173,6 @@ BODY : .
[AppliedScopePropertySubscriptionId ]: Fully-qualified identifier of the subscription.
[AppliedScopePropertyTenantId ]: Tenant ID where the benefit is applied.
[AppliedScopeType ]: Type of the Applied Scope.
- [AzureAsyncOperation ]:
[BillingPlan ]: Represents the billing plan in ISO 8601 format. Required only for monthly billing plans.
[BillingScopeId ]: Subscription that will be charged for purchasing the benefit
[CommitmentAmount ]:
@@ -1153,7 +1180,6 @@ BODY : .
[CommitmentGrain ]: Commitment grain.
[DisplayName ]: Display name
[Kind ]: Resource provider kind
- [RetryAfter ]:
[SkuName ]: Name of the SKU to be applied
[Term ]: Represent benefit term in ISO 8601 format.
.Link
@@ -1183,7 +1209,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -1235,7 +1262,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -1257,6 +1284,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
@@ -1439,7 +1470,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -1491,7 +1523,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -1515,6 +1547,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
@@ -1770,7 +1806,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter()]
@@ -1834,7 +1871,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -1858,6 +1895,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
@@ -1937,7 +1978,6 @@ BODY : Savings plan order alias
[AppliedScopePropertySubscriptionId ]: Fully-qualified identifier of the subscription.
[AppliedScopePropertyTenantId ]: Tenant ID where the benefit is applied.
[AppliedScopeType ]: Type of the Applied Scope.
- [AzureAsyncOperation ]:
[BillingPlan ]: Represents the billing plan in ISO 8601 format. Required only for monthly billing plans.
[BillingScopeId ]: Subscription that will be charged for purchasing the benefit
[CommitmentAmount ]:
@@ -1945,7 +1985,6 @@ BODY : Savings plan order alias
[CommitmentGrain ]: Commitment grain.
[DisplayName ]: Display name
[Kind ]: Resource provider kind
- [RetryAfter ]:
[SkuName ]: Name of the SKU to be applied
[Term ]: Represent benefit term in ISO 8601 format.
@@ -2101,7 +2140,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter()]
@@ -2165,7 +2205,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -2189,6 +2229,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
@@ -2412,7 +2456,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -2470,7 +2515,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -2494,6 +2539,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/exports/Update-AzBillingBenefitsSavingsPlan.ps1 b/src/BillingBenefits/BillingBenefits.Autorest/exports/Update-AzBillingBenefitsSavingsPlan.ps1
index c17cd7454da7..5da6f120d443 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/exports/Update-AzBillingBenefitsSavingsPlan.ps1
+++ b/src/BillingBenefits/BillingBenefits.Autorest/exports/Update-AzBillingBenefitsSavingsPlan.ps1
@@ -193,7 +193,8 @@ param(
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter(DontShow)]
@@ -251,7 +252,7 @@ begin {
$parameterSet = $PSCmdlet.ParameterSetName
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString()
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
}
$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
if ($preTelemetryId -eq '') {
@@ -275,6 +276,10 @@ begin {
}
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
[Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
$scriptCmd = {& $wrappedCmd @PSBoundParameters}
$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/generate-help.ps1 b/src/BillingBenefits/BillingBenefits.Autorest/generate-help.ps1
index e57cc3be413a..178abe0ea98c 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/generate-help.ps1
+++ b/src/BillingBenefits/BillingBenefits.Autorest/generate-help.ps1
@@ -66,8 +66,8 @@ foreach($directory in $directories)
$docsPath = Join-Path $docsFolder $directory.Name
$null = New-Item -ItemType Directory -Force -Path $docsPath -ErrorAction SilentlyContinue
$examplesPath = Join-Path $examplesFolder $directory.Name
-
- Export-HelpMarkdown -ModuleInfo $moduleInfo -FunctionInfo $cmdletFunctionInfo -HelpInfo $cmdletHelpInfo -DocsFolder $docsPath -ExamplesFolder $examplesPath
+ $addComplexInterfaceInfo = ![System.Convert]::ToBoolean('true')
+ Export-HelpMarkdown -ModuleInfo $moduleInfo -FunctionInfo $cmdletFunctionInfo -HelpInfo $cmdletHelpInfo -DocsFolder $docsPath -ExamplesFolder $examplesPath -AddComplexInterfaceInfo:$addComplexInterfaceInfo
Write-Host -ForegroundColor Green "Created documentation in '$docsPath'"
}
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/generate-portal-ux.ps1 b/src/BillingBenefits/BillingBenefits.Autorest/generate-portal-ux.ps1
new file mode 100644
index 000000000000..fda6eefcaff2
--- /dev/null
+++ b/src/BillingBenefits/BillingBenefits.Autorest/generate-portal-ux.ps1
@@ -0,0 +1,375 @@
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+#
+# This Script will create a folder dedicated to Azure-specific content and includes metadata files essential for enhancing the user experience (UX) within the Azure portal.
+# These files are utilized by the Azure portal to effectively present the usage of cmdlets related to specific resources on portal pages.
+# ----------------------------------------------------------------------------------
+param([switch]$Isolated)
+$ErrorActionPreference = 'Stop'
+
+$pwsh = [System.Diagnostics.Process]::GetCurrentProcess().Path
+if(-not $Isolated) {
+ Write-Host -ForegroundColor Green 'Creating isolated process...'
+ & "$pwsh" -NonInteractive -NoLogo -NoProfile -File $MyInvocation.MyCommand.Path @PSBoundParameters -Isolated
+ return
+}
+
+$moduleName = 'Az.BillingBenefits'
+$rootModuleName = ''
+if ($rootModuleName -eq "")
+{
+ $rootModuleName = $moduleName
+}
+$modulePsd1 = Get-Item -Path (Join-Path $PSScriptRoot "./$moduleName.psd1")
+$modulePath = $modulePsd1.FullName
+
+# Load DLL to use build-time cmdlets
+Import-Module -Name $modulePath
+Import-Module -Name (Join-Path $PSScriptRoot "./bin/$moduleName.private.dll")
+$instance = [Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Module]::Instance
+# Module info is shared per profile
+$moduleInfo = Get-Module -Name $moduleName
+$parameterSetsInfo = Get-Module -Name "$moduleName.private"
+
+$buildinFunctions = @("Export-CmdletSurface", "Export-ExampleStub", "Export-FormatPs1xml", "Export-HelpMarkdown", "Export-ModelSurface", "Export-ProxyCmdlet", "Export-Psd1", "Export-TestStub", "Get-CommonParameter", "Get-ModuleGuid", "Get-ScriptCmdlet")
+
+function Test-FunctionSupported()
+{
+ [CmdletBinding()]
+ Param (
+ [Parameter()]
+ [string]
+ $FunctionName
+ )
+
+ If ($buildinfunctions.Contains($FunctionName)) {
+ return $false
+ }
+
+ $cmdletName, $parameterSetName = $FunctionName.Split("_")
+ If ($parameterSetName.Contains("List") -or $parameterSetName.Contains("ViaIdentity")) {
+ return $false
+ }
+ If ($cmdletName.StartsWith("New") -or $cmdletName.StartsWith("Set") -or $cmdletName.StartsWith("Update")) {
+ return $false
+ }
+
+ $parameterSetInfo = $parameterSetsInfo.ExportedCmdlets[$FunctionName]
+ foreach ($parameterInfo in $parameterSetInfo.Parameters.Values)
+ {
+ $category = (Get-ParameterAttribute -ParameterInfo $parameterInfo -AttributeName "CategoryAttribute").Categories
+ $invalideCategory = @('Query', 'Body')
+ if ($invalideCategory -contains $category)
+ {
+ return $false
+ }
+ }
+
+ $customFiles = Get-ChildItem -Path custom -Filter "$cmdletName.*"
+ if ($customFiles.Length -ne 0)
+ {
+ return $false
+ }
+
+ return $true
+}
+
+function Get-MappedCmdletFromFunctionName()
+{
+ [CmdletBinding()]
+ Param (
+ [Parameter()]
+ [string]
+ $FunctionName
+ )
+
+ $cmdletName, $parameterSetName = $FunctionName.Split("_")
+
+ return $cmdletName
+}
+
+function Get-ParameterAttribute()
+{
+ [CmdletBinding()]
+ Param (
+ [Parameter()]
+ [System.Management.Automation.ParameterMetadata]
+ $ParameterInfo,
+ [Parameter()]
+ [String]
+ $AttributeName
+ )
+ return $ParameterInfo.Attributes | Where-Object { $_.TypeId.Name -eq $AttributeName }
+}
+
+function Get-CmdletAttribute()
+{
+ [CmdletBinding()]
+ Param (
+ [Parameter()]
+ [System.Management.Automation.CommandInfo]
+ $CmdletInfo,
+ [Parameter()]
+ [String]
+ $AttributeName
+ )
+
+ return $CmdletInfo.ImplementingType.GetTypeInfo().GetCustomAttributes([System.object], $true) | Where-Object { $_.TypeId.Name -eq $AttributeName }
+}
+
+function Get-CmdletDescription()
+{
+ [CmdletBinding()]
+ Param (
+ [Parameter()]
+ [String]
+ $CmdletName
+ )
+ $helpInfo = Get-Help $CmdletName -Full
+
+ $description = $helpInfo.Description.Text
+ if ($null -eq $description)
+ {
+ return ""
+ }
+ return $description
+}
+
+# Test whether the parameter is from swagger http path
+function Test-ParameterFromSwagger()
+{
+ [CmdletBinding()]
+ Param (
+ [Parameter()]
+ [System.Management.Automation.ParameterMetadata]
+ $ParameterInfo
+ )
+ $category = (Get-ParameterAttribute -ParameterInfo $ParameterInfo -AttributeName "CategoryAttribute").Categories
+ $doNotExport = Get-ParameterAttribute -ParameterInfo $ParameterInfo -AttributeName "DoNotExportAttribute"
+ if ($null -ne $doNotExport)
+ {
+ return $false
+ }
+
+ $valideCategory = @('Path')
+ if ($valideCategory -contains $category)
+ {
+ return $true
+ }
+ return $false
+}
+
+function New-ExampleForParameterSet()
+{
+ [CmdletBinding()]
+ Param (
+ [Parameter()]
+ [System.Management.Automation.CommandInfo]
+ $ParameterSetInfo
+ )
+ $parameters = $ParameterSetInfo.Parameters.Values | Where-Object { Test-ParameterFromSwagger $_ }
+ $result = @()
+ foreach ($parameter in $parameters)
+ {
+ $category = (Get-ParameterAttribute -parameterInfo $parameter -AttributeName "CategoryAttribute").Categories
+ $sourceName = (Get-ParameterAttribute -parameterInfo $parameter -AttributeName "InfoAttribute").SerializedName
+ $name = $parameter.Name
+ $result += [ordered]@{
+ name = "-$Name"
+ value = "[$category.$sourceName]"
+ }
+ }
+
+ return $result
+}
+
+function New-ParameterArrayInParameterSet()
+{
+ [CmdletBinding()]
+ Param (
+ [Parameter()]
+ [System.Management.Automation.CommandInfo]
+ $ParameterSetInfo
+ )
+ $parameters = $ParameterSetInfo.Parameters.Values | Where-Object { Test-ParameterFromSwagger $_ }
+ $result = @()
+ foreach ($parameter in $parameters)
+ {
+ $isMandatory = (Get-ParameterAttribute -parameterInfo $parameter -AttributeName "ParameterAttribute").Mandatory
+ $parameterName = $parameter.Name
+ $parameterType = $parameter.ParameterType.ToString().Split('.')[1]
+ if ($parameter.SwitchParameter)
+ {
+ $parameterSignature = "-$parameterName"
+ }
+ else
+ {
+ $parameterSignature = "-$parameterName <$parameterType>"
+ }
+ if ($parameterName -eq "SubscriptionId")
+ {
+ $isMandatory = $false
+ }
+ if (-not $isMandatory)
+ {
+ $parameterSignature = "[$parameterSignature]"
+ }
+ $result += $parameterSignature
+ }
+
+ return $result
+}
+
+function New-MetadataForParameterSet()
+{
+ [CmdletBinding()]
+ Param (
+ [Parameter()]
+ [System.Management.Automation.CommandInfo]
+ $ParameterSetInfo
+ )
+ $httpAttribute = Get-CmdletAttribute -CmdletInfo $ParameterSetInfo -AttributeName "HttpPathAttribute"
+ $httpPath = $httpAttribute.Path
+ $apiVersion = $httpAttribute.ApiVersion
+ $provider = [System.Text.RegularExpressions.Regex]::New("/providers/([\w+\.]+)/").Match($httpPath).Groups[1].Value
+ $resourcePath = "/" + $httpPath.Split("$provider/")[1]
+ $resourceType = [System.Text.RegularExpressions.Regex]::New("/([\w]+)/\{\w+\}").Matches($resourcePath) | ForEach-Object {$_.groups[1].Value} | Join-String -Separator "/"
+ $cmdletName = Get-MappedCmdletFromFunctionName $ParameterSetInfo.Name
+ $description = (Get-CmdletAttribute -CmdletInfo $ParameterSetInfo -AttributeName "DescriptionAttribute").Description
+ [object[]]$example = New-ExampleForParameterSet $ParameterSetInfo
+ [string[]]$signature = New-ParameterArrayInParameterSet $ParameterSetInfo
+
+ return @{
+ Path = $httpPath
+ Provider = $provider
+ ResourceType = $resourceType
+ ApiVersion = $apiVersion
+ CmdletName = $cmdletName
+ Description = $description
+ Example = $example
+ Signature = @{
+ parameters = $signature
+ }
+ }
+}
+
+function Merge-WithExistCmdletMetadata()
+{
+ [CmdletBinding()]
+ Param (
+ [Parameter()]
+ [System.Collections.Specialized.OrderedDictionary]
+ $ExistedCmdletInfo,
+ [Parameter()]
+ [Hashtable]
+ $ParameterSetMetadata
+ )
+ $ExistedCmdletInfo.help.parameterSets += $ParameterSetMetadata.Signature
+ $ExistedCmdletInfo.examples += [ordered]@{
+ description = $ParameterSetMetadata.Description
+ parameters = $ParameterSetMetadata.Example
+ }
+
+ return $ExistedCmdletInfo
+}
+
+function New-MetadataForCmdlet()
+{
+ [CmdletBinding()]
+ Param (
+ [Parameter()]
+ [Hashtable]
+ $ParameterSetMetadata
+ )
+ $cmdletName = $ParameterSetMetadata.CmdletName
+ $description = Get-CmdletDescription $cmdletName
+ $result = [ordered]@{
+ name = $cmdletName
+ description = $description
+ path = $ParameterSetMetadata.Path
+ help = [ordered]@{
+ learnMore = [ordered]@{
+ url = "https://learn.microsoft.com/powershell/module/$rootModuleName/$cmdletName".ToLower()
+ }
+ parameterSets = @()
+ }
+ examples = @()
+ }
+ $result = Merge-WithExistCmdletMetadata -ExistedCmdletInfo $result -ParameterSetMetadata $ParameterSetMetadata
+ return $result
+}
+
+$parameterSets = $parameterSetsInfo.ExportedCmdlets.Keys | Where-Object { Test-functionSupported($_) }
+$resourceTypes = @{}
+foreach ($parameterSetName in $parameterSets)
+{
+ $cmdletInfo = $parameterSetsInfo.ExportedCommands[$parameterSetName]
+ $parameterSetMetadata = New-MetadataForParameterSet -ParameterSetInfo $cmdletInfo
+ $cmdletName = $parameterSetMetadata.CmdletName
+ if (-not ($moduleInfo.ExportedCommands.ContainsKey($cmdletName)))
+ {
+ continue
+ }
+ if ($resourceTypes.ContainsKey($parameterSetMetadata.ResourceType))
+ {
+ $ExistedCmdletInfo = $resourceTypes[$parameterSetMetadata.ResourceType].commands | Where-Object { $_.name -eq $cmdletName }
+ if ($ExistedCmdletInfo)
+ {
+ $ExistedCmdletInfo = Merge-WithExistCmdletMetadata -ExistedCmdletInfo $ExistedCmdletInfo -ParameterSetMetadata $parameterSetMetadata
+ }
+ else
+ {
+ $cmdletInfo = New-MetadataForCmdlet -ParameterSetMetadata $parameterSetMetadata
+ $resourceTypes[$parameterSetMetadata.ResourceType].commands += $cmdletInfo
+ }
+ }
+ else
+ {
+ $cmdletInfo = New-MetadataForCmdlet -ParameterSetMetadata $parameterSetMetadata
+ $resourceTypes[$parameterSetMetadata.ResourceType] = [ordered]@{
+ resourceType = $parameterSetMetadata.ResourceType
+ apiVersion = $parameterSetMetadata.ApiVersion
+ learnMore = @{
+ url = "https://learn.microsoft.com/powershell/module/$rootModuleName".ToLower()
+ }
+ commands = @($cmdletInfo)
+ provider = $parameterSetMetadata.Provider
+ }
+ }
+}
+
+$UXFolder = 'UX'
+if (Test-Path $UXFolder)
+{
+ Remove-Item -Path $UXFolder -Recurse
+}
+$null = New-Item -ItemType Directory -Path $UXFolder
+
+foreach ($resourceType in $resourceTypes.Keys)
+{
+ $resourceTypeFileName = $resourceType -replace "/", "-"
+ if ($resourceTypeFileName -eq "")
+ {
+ continue
+ }
+ $resourceTypeInfo = $resourceTypes[$resourceType]
+ $provider = $resourceTypeInfo.provider
+ $providerFolder = "$UXFolder/$provider"
+ if (-not (Test-Path $providerFolder))
+ {
+ $null = New-Item -ItemType Directory -Path $providerFolder
+ }
+ $resourceTypeInfo.Remove("provider")
+ $resourceTypeInfo | ConvertTo-Json -Depth 10 | Out-File "$providerFolder/$resourceTypeFileName.json"
+}
\ No newline at end of file
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/generated/Module.cs b/src/BillingBenefits/BillingBenefits.Autorest/generated/Module.cs
index 7fbb8f1ce872..8ab37b499b89 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/generated/Module.cs
+++ b/src/BillingBenefits/BillingBenefits.Autorest/generated/Module.cs
@@ -17,6 +17,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits
using SignalDelegate = global::System.Func, global::System.Threading.Tasks.Task>;
using EventListenerDelegate = global::System.Func, global::System.Func, global::System.Threading.Tasks.Task>, global::System.Management.Automation.InvocationInfo, string, string, string, global::System.Exception, global::System.Threading.Tasks.Task>;
using NextDelegate = global::System.Func, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>;
+ using SanitizerDelegate = global::System.Action