diff --git a/documentation/azure-powershell-modules.md b/documentation/azure-powershell-modules.md
index 6e807916edec..e0476bbf0a84 100644
--- a/documentation/azure-powershell-modules.md
+++ b/documentation/azure-powershell-modules.md
@@ -93,7 +93,6 @@
| Guest Configuration | `Az.GuestConfiguration` | [![GuestConfiguration]][GuestConfigurationGallery] | [Changelog][GuestConfigurationChangeLog] |
| SAP HANA on Azure | `Az.HanaOnAzure` | [![HanaOnAzure]][HanaOnAzureGallery] | [Changelog][HanaOnAzureChangeLog] |
| HDInsight | `Az.HDInsight` | [![HDInsight]][HDInsightGallery] | [Changelog][HDInsightChangeLog] |
-| HdInsightOnAks | `Az.HdInsightOnAks` | [![HdInsightOnAks]][HdInsightOnAksGallery] | [Changelog][HdInsightOnAksChangeLog] |
| HealthBot | `Az.HealthBot` | [![HealthBot]][HealthBotGallery] | [Changelog][HealthBotChangeLog] |
| HealthDataAIServices | `Az.HealthDataAIServices` | [![HealthDataAIServices]][HealthDataAIServicesGallery] | [Changelog][HealthDataAIServicesChangeLog] |
| API for FHIR | `Az.HealthcareApis` | [![HealthcareApis]][HealthcareApisGallery] | [Changelog][HealthcareApisChangeLog] |
@@ -279,7 +278,6 @@
[GuestConfiguration]: https://img.shields.io/powershellgallery/v/Az.GuestConfiguration.svg?style=flat-square&label=Az.GuestConfiguration
[HanaOnAzure]: https://img.shields.io/powershellgallery/v/Az.HanaOnAzure.svg?style=flat-square&label=Az.HanaOnAzure
[HDInsight]: https://img.shields.io/powershellgallery/v/Az.HDInsight.svg?style=flat-square&label=Az.HDInsight
-[HdInsightOnAks]: https://img.shields.io/powershellgallery/v/Az.HdInsightOnAks.svg?style=flat-square&label=Az.HdInsightOnAks
[HealthBot]: https://img.shields.io/powershellgallery/v/Az.HealthBot.svg?style=flat-square&label=Az.HealthBot
[HealthcareApis]: https://img.shields.io/powershellgallery/v/Az.HealthcareApis.svg?style=flat-square&label=Az.HealthcareApis
[HealthDataAIServices]: https://img.shields.io/powershellgallery/v/Az.HealthDataAIServices.svg?style=flat-square&label=Az.HealthDataAIServices
@@ -461,7 +459,6 @@
[GuestConfigurationGallery]: https://www.powershellgallery.com/packages/Az.GuestConfiguration/
[HanaOnAzureGallery]: https://www.powershellgallery.com/packages/Az.HanaOnAzure/
[HDInsightGallery]: https://www.powershellgallery.com/packages/Az.HDInsight/
-[HdInsightOnAksGallery]: https://www.powershellgallery.com/packages/Az.HdInsightOnAks/
[HealthBotGallery]: https://www.powershellgallery.com/packages/Az.HealthBot/
[HealthcareApisGallery]: https://www.powershellgallery.com/packages/Az.HealthcareApis/
[HealthDataAIServicesGallery]: https://www.powershellgallery.com/packages/Az.HealthDataAIServices/
@@ -641,7 +638,6 @@
[GuestConfigurationChangeLog]: ../src/GuestConfiguration/GuestConfiguration/ChangeLog.md
[HanaOnAzureChangeLog]: ../src/HanaOnAzure/HanaOnAzure/ChangeLog.md
[HDInsightChangeLog]: ../src/HDInsight/HDInsight/ChangeLog.md
-[HdInsightOnAksChangeLog]: ../src/HdInsightOnAks/HdInsightOnAks/ChangeLog.md
[HealthBotChangeLog]: ../src/HealthBot/HealthBot/ChangeLog.md
[HealthcareApisChangeLog]: ../src/HealthcareApis/HealthcareApis/ChangeLog.md
[HealthDataAIServicesChangeLog]: ../src/HealthDataAIServices/HealthDataAIServices/ChangeLog.md
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.csproj b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.csproj
deleted file mode 100644
index 2713f58a7d00..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.csproj
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
- HdInsightOnAks
- HdInsightOnAks
- HdInsightOnAks.Autorest
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks
-
-
-
-
-
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.format.ps1xml b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.format.ps1xml
deleted file mode 100644
index 2f69ab20b091..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.format.ps1xml
+++ /dev/null
@@ -1,5085 +0,0 @@
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AksClusterProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AksClusterProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AksClusterResourceId
-
-
- AksVersion
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AksClusterProfileAksClusterAgentPoolIdentityProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AksClusterProfileAksClusterAgentPoolIdentityProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- MsiClientId
-
-
- MsiObjectId
-
-
- MsiResourceId
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AutoscaleProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AutoscaleProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AutoscaleType
-
-
- Enabled
-
-
- GracefulDecommissionTimeout
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAccessProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAccessProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- EnableInternalIngress
-
-
- PrivateLinkServiceId
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAksPatchUpgradeHistoryProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAksPatchUpgradeHistoryProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- UpgradeResult
-
-
- UpgradeType
-
-
- UtcTime
-
-
- NewVersion
-
-
- OriginalVersion
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAksPatchVersionUpgradeProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAksPatchVersionUpgradeProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
- UpgradeType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableInPlaceUpgradeProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableInPlaceUpgradeProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- UpgradeType
-
-
- ComponentName
-
-
- CreatedTime
-
-
- Description
-
-
- ExtendedProperty
-
-
- Severity
-
-
- SourceBuildNumber
-
-
- SourceClusterVersion
-
-
- SourceOssVersion
-
-
- TargetBuildNumber
-
-
- TargetClusterVersion
-
-
- TargetOssVersion
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgrade
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgrade#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Name
-
-
- SystemDataCreatedAt
-
-
- SystemDataCreatedBy
-
-
- SystemDataCreatedByType
-
-
- SystemDataLastModifiedAt
-
-
- SystemDataLastModifiedBy
-
-
- SystemDataLastModifiedByType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeAksPatchUpgradeProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeAksPatchUpgradeProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- UpgradeType
-
-
- CurrentVersion
-
-
- CurrentVersionStatus
-
-
- LatestVersion
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeHotfixUpgradeProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeHotfixUpgradeProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ComponentName
-
-
- CreatedTime
-
-
- Description
-
-
- ExtendedProperty
-
-
- Severity
-
-
- SourceBuildNumber
-
-
- SourceClusterVersion
-
-
- SourceOssVersion
-
-
- TargetBuildNumber
-
-
- TargetClusterVersion
-
-
- TargetOssVersion
-
-
- UpgradeType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeList
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeList#Multiple
-
-
-
-
-
-
-
-
-
-
-
- NextLink
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradePatchVersionUpgradeProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradePatchVersionUpgradeProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ComponentName
-
-
- CreatedTime
-
-
- Description
-
-
- ExtendedProperty
-
-
- Severity
-
-
- SourceBuildNumber
-
-
- SourceClusterVersion
-
-
- SourceOssVersion
-
-
- TargetBuildNumber
-
-
- TargetClusterVersion
-
-
- TargetOssVersion
-
-
- UpgradeType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
- UpgradeType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterComponentsItem
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterComponentsItem#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Name
-
-
- Version
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterConfigFile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterConfigFile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Content
-
-
- Encoding
-
-
- FileName
-
-
- Path
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterConfigFileValues
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterConfigFileValues#Multiple
-
-
-
-
-
-
-
-
-
-
-
- Item
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterHotfixUpgradeHistoryProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterHotfixUpgradeHistoryProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ComponentName
-
-
- Severity
-
-
- SourceBuildNumber
-
-
- SourceClusterVersion
-
-
- SourceOssVersion
-
-
- TargetBuildNumber
-
-
- TargetClusterVersion
-
-
- TargetOssVersion
-
-
- UpgradeResult
-
-
- UpgradeType
-
-
- UtcTime
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterHotfixUpgradeProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterHotfixUpgradeProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ComponentName
-
-
- TargetBuildNumber
-
-
- TargetClusterVersion
-
-
- TargetOssVersion
-
-
- UpgradeType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterHotfixUpgradeRollbackHistoryProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterHotfixUpgradeRollbackHistoryProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ComponentName
-
-
- Severity
-
-
- SourceBuildNumber
-
-
- SourceClusterVersion
-
-
- SourceOssVersion
-
-
- TargetBuildNumber
-
-
- TargetClusterVersion
-
-
- TargetOssVersion
-
-
- UpgradeResult
-
-
- UpgradeType
-
-
- UtcTime
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInPlaceUpgradeHistoryProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInPlaceUpgradeHistoryProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- UpgradeResult
-
-
- UpgradeType
-
-
- UtcTime
-
-
- ComponentName
-
-
- Severity
-
-
- SourceBuildNumber
-
-
- SourceClusterVersion
-
-
- SourceOssVersion
-
-
- TargetBuildNumber
-
-
- TargetClusterVersion
-
-
- TargetOssVersion
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInPlaceUpgradeProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInPlaceUpgradeProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- UpgradeType
-
-
- ComponentName
-
-
- TargetBuildNumber
-
-
- TargetClusterVersion
-
-
- TargetOssVersion
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewPropertiesStatus
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewPropertiesStatus#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Message
-
-
- Ready
-
-
- Reason
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewResultProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewResultProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- StatusMessage
-
-
- StatusReady
-
-
- StatusReason
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewsResult
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewsResult#Multiple
-
-
-
-
-
-
-
-
-
-
-
- NextLink
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewStatus
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewStatus#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Message
-
-
- Ready
-
-
- Reason
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterJob
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterJob#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Name
-
-
- SystemDataCreatedAt
-
-
- SystemDataCreatedBy
-
-
- SystemDataCreatedByType
-
-
- SystemDataLastModifiedAt
-
-
- SystemDataLastModifiedBy
-
-
- SystemDataLastModifiedByType
-
-
- ResourceGroupName
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterJobList
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterJobList#Multiple
-
-
-
-
-
-
-
-
-
-
-
- NextLink
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterJobProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterJobProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
- JobType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLibrary
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLibrary#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Name
-
-
- SystemDataCreatedAt
-
-
- SystemDataCreatedBy
-
-
- SystemDataCreatedByType
-
-
- SystemDataLastModifiedAt
-
-
- SystemDataLastModifiedBy
-
-
- SystemDataLastModifiedByType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLibraryList
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLibraryList#Multiple
-
-
-
-
-
-
-
-
-
-
-
- NextLink
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLibraryManagementOperation
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLibraryManagementOperation#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Name
-
-
- SystemDataCreatedAt
-
-
- SystemDataCreatedBy
-
-
- SystemDataCreatedByType
-
-
- SystemDataLastModifiedAt
-
-
- SystemDataLastModifiedBy
-
-
- SystemDataLastModifiedByType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLibraryManagementOperationProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLibraryManagementOperationProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
- Action
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLibraryProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLibraryProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Message
-
-
- Remark
-
-
- Status
-
-
- Timestamp
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterListResult
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterListResult#Multiple
-
-
-
-
-
-
-
-
-
-
-
- NextLink
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsApplicationLogs
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsApplicationLogs#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- StdErrorEnabled
-
-
- StdOutEnabled
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Enabled
-
-
- MetricsEnabled
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchTags
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchTags#Multiple
-
-
-
-
-
-
-
-
-
-
-
- Item
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchVersionUpgradeHistoryProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchVersionUpgradeHistoryProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ComponentName
-
-
- Severity
-
-
- SourceBuildNumber
-
-
- SourceClusterVersion
-
-
- SourceOssVersion
-
-
- TargetBuildNumber
-
-
- TargetClusterVersion
-
-
- TargetOssVersion
-
-
- UpgradeResult
-
-
- UpgradeType
-
-
- UtcTime
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchVersionUpgradeProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchVersionUpgradeProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ComponentName
-
-
- TargetBuildNumber
-
-
- TargetClusterVersion
-
-
- TargetOssVersion
-
-
- UpgradeType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchVersionUpgradeRollbackHistoryProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchVersionUpgradeRollbackHistoryProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ComponentName
-
-
- Severity
-
-
- SourceBuildNumber
-
-
- SourceClusterVersion
-
-
- SourceOssVersion
-
-
- TargetBuildNumber
-
-
- TargetClusterVersion
-
-
- TargetOssVersion
-
-
- UpgradeResult
-
-
- UpgradeType
-
-
- UtcTime
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAksPatchUpgradeHistoryProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAksPatchUpgradeHistoryProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- UpgradeResult
-
-
- UpgradeType
-
-
- UtcTime
-
-
- NewVersion
-
-
- OriginalVersion
-
-
- UpgradeAllClusterNode
-
-
- UpgradeClusterPool
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAksPatchVersionUpgradeProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAksPatchVersionUpgradeProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- UpgradeType
-
-
- TargetAksVersion
-
-
- UpgradeAllClusterNode
-
-
- UpgradeClusterPool
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgrade
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgrade#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Name
-
-
- SystemDataCreatedAt
-
-
- SystemDataCreatedBy
-
-
- SystemDataCreatedByType
-
-
- SystemDataLastModifiedAt
-
-
- SystemDataLastModifiedBy
-
-
- SystemDataLastModifiedByType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradeAksPatchUpgradeProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradeAksPatchUpgradeProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- UpgradeType
-
-
- CurrentVersion
-
-
- CurrentVersionStatus
-
-
- LatestVersion
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradeList
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradeList#Multiple
-
-
-
-
-
-
-
-
-
-
-
- NextLink
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradeNodeOSUpgradeProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradeNodeOSUpgradeProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- UpgradeType
-
-
- LatestVersion
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradeProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradeProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
- UpgradeType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolComputeProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolComputeProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Count
-
-
- VMSize
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolLogAnalyticsProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolLogAnalyticsProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Enabled
-
-
- WorkspaceId
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolNetworkProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolNetworkProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- EnablePrivateApiServer
-
-
- OutboundType
-
-
- SubnetId
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolNodeOSImageUpdateProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolNodeOSImageUpdateProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
- UpgradeType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolNodeOSUpgradeHistoryProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolNodeOSUpgradeHistoryProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- UpgradeResult
-
-
- UpgradeType
-
-
- UtcTime
-
-
- NewNodeOS
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
- ClusterPoolVersion
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourceProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourceProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AksManagedResourceGroupName
-
-
- DeploymentId
-
-
- ManagedResourceGroupName
-
-
- ProvisioningState
-
-
- Status
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesAksClusterProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesAksClusterProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AkClusterAgentPoolIdentityProfileMsiClientId
-
-
- AkClusterAgentPoolIdentityProfileMsiObjectId
-
-
- AkClusterAgentPoolIdentityProfileMsiResourceId
-
-
- AksClusterResourceId
-
-
- AksVersion
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesClusterPoolProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesClusterPoolProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
- ClusterPoolVersion
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesComputeProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesComputeProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Count
-
-
- VMSize
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesLogAnalyticsProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesLogAnalyticsProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Enabled
-
-
- WorkspaceId
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesNetworkProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesNetworkProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- EnablePrivateApiServer
-
-
- OutboundType
-
-
- SubnetId
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgradeHistory
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgradeHistory#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Name
-
-
- SystemDataCreatedAt
-
-
- SystemDataCreatedBy
-
-
- SystemDataCreatedByType
-
-
- SystemDataLastModifiedAt
-
-
- SystemDataLastModifiedBy
-
-
- SystemDataLastModifiedByType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgradeHistoryListResult
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgradeHistoryListResult#Multiple
-
-
-
-
-
-
-
-
-
-
-
- NextLink
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgradeHistoryProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgradeHistoryProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- UpgradeResult
-
-
- UpgradeType
-
-
- UtcTime
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgradeProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgradeProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
- UpgradeType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolVersionProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolVersionProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AksVersion
-
-
- ClusterPoolVersion
-
-
- IsPreview
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolVersionsListResult
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolVersionsListResult#Multiple
-
-
-
-
-
-
-
-
-
-
-
- NextLink
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ClusterVersion
-
-
- OssVersion
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
- Enabled
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
- Enabled
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterResizeData
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterResizeData#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Location
-
-
- Name
-
-
- SystemDataCreatedAt
-
-
- SystemDataCreatedBy
-
-
- SystemDataCreatedByType
-
-
- SystemDataLastModifiedAt
-
-
- SystemDataLastModifiedBy
-
-
- SystemDataLastModifiedByType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterResizeProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterResizeProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
- TargetWorkerNodeCount
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterResourceProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterResourceProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ClusterType
-
-
- DeploymentId
-
-
- ProvisioningState
-
-
- Status
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterServiceConfigsProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterServiceConfigsProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
- ServiceName
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradeHistory
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradeHistory#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Name
-
-
- SystemDataCreatedAt
-
-
- SystemDataCreatedBy
-
-
- SystemDataCreatedByType
-
-
- SystemDataLastModifiedAt
-
-
- SystemDataLastModifiedBy
-
-
- SystemDataLastModifiedByType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradeHistoryListResult
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradeHistoryListResult#Multiple
-
-
-
-
-
-
-
-
-
-
-
- NextLink
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradeHistoryProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradeHistoryProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- UpgradeResult
-
-
- UpgradeType
-
-
- UtcTime
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradeProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradeProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
- UpgradeType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradeRollbackProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradeRollbackProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
- UpgradeHistory
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterVersionProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterVersionProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ClusterPoolVersion
-
-
- ClusterType
-
-
- ClusterVersion
-
-
- IsPreview
-
-
- OssVersion
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterVersionsListResult
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterVersionsListResult#Multiple
-
-
-
-
-
-
-
-
-
-
-
- NextLink
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ComparisonRule
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ComparisonRule#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Operator
-
-
- Threshold
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ComputeResourceDefinition
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ComputeResourceDefinition#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Cpu
-
-
- Memory
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ConnectivityProfileWeb
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ConnectivityProfileWeb#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Fqdn
-
-
- PrivateFqdn
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.DiskStorageProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.DiskStorageProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataDiskSize
-
-
- DataDiskType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorDetail
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorDetail#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Code
-
-
- Message
-
-
- Target
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkHiveCatalogOption
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkHiveCatalogOption#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- MetastoreDbConnectionAuthenticationMode
-
-
- MetastoreDbConnectionPasswordSecret
-
-
- MetastoreDbConnectionUrl
-
-
- MetastoreDbConnectionUserName
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkJobProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkJobProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Arg
-
-
- EntryClass
-
-
- JarName
-
-
- JobJarDirectory
-
-
- SavePointName
-
-
- UpgradeMode
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkJobProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkJobProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- JobType
-
-
- Action
-
-
- ActionResult
-
-
- Arg
-
-
- EntryClass
-
-
- JarName
-
-
- JobId
-
-
- JobJarDirectory
-
-
- JobName
-
-
- JobOutput
-
-
- LastSavePoint
-
-
- RunId
-
-
- SavePointName
-
-
- Status
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkJobPropertiesFlinkConfiguration
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkJobPropertiesFlinkConfiguration#Multiple
-
-
-
-
-
-
-
-
-
-
-
- Item
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DeploymentMode
-
-
- NumReplica
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkStorageProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkStorageProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- StorageUri
-
-
- Storagekey
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.HdInsightOnAksIdentity
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.HdInsightOnAksIdentity#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ClusterName
-
-
- ClusterPoolName
-
-
- Location
-
-
- ResourceGroupName
-
-
- SubscriptionId
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.HiveCatalogOption
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.HiveCatalogOption#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- CatalogName
-
-
- MetastoreDbConnectionAuthenticationMode
-
-
- MetastoreDbConnectionPasswordSecret
-
-
- MetastoreDbConnectionUrl
-
-
- MetastoreDbConnectionUserName
-
-
- MetastoreWarehouseDir
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IdentityProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IdentityProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- MsiClientId
-
-
- MsiObjectId
-
-
- MsiResourceId
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaConnectivityEndpoints
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaConnectivityEndpoints#Multiple
-
-
-
-
-
-
-
-
-
-
-
- BootstrapServerEndpoint
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- EnableKRaft
-
-
- EnablePublicEndpoint
-
-
- RemoteStorageUri
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.LoadBasedConfig
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.LoadBasedConfig#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- CooldownPeriod
-
-
- MaxNode
-
-
- MinNode
-
-
- PollInterval
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ManagedIdentitySpec
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ManagedIdentitySpec#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ClientId
-
-
- ObjectId
-
-
- ResourceId
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.MavenLibraryProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.MavenLibraryProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Message
-
-
- Remark
-
-
- Status
-
-
- Timestamp
-
-
- GroupId
-
-
- Name
-
-
- Version
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NameAvailabilityParameters
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NameAvailabilityParameters#Multiple
-
-
-
-
-
-
-
-
-
-
-
- Name
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NameAvailabilityResult
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NameAvailabilityResult#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Message
-
-
- NameAvailable
-
-
- Reason
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Count
-
-
- VMSize
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Operation
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Operation#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ActionType
-
-
- IsDataAction
-
-
- Name
-
-
- Origin
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.OperationDisplay
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.OperationDisplay#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Description
-
-
- Operation
-
-
- Provider
-
-
- Resource
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.OperationListResult
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.OperationListResult#Multiple
-
-
-
-
-
-
-
-
-
-
-
- NextLink
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ProxyResource
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ProxyResource#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Name
-
-
- SystemDataCreatedAt
-
-
- SystemDataCreatedBy
-
-
- SystemDataCreatedByType
-
-
- SystemDataLastModifiedAt
-
-
- SystemDataLastModifiedBy
-
-
- SystemDataLastModifiedByType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.PyPiLibraryProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.PyPiLibraryProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Message
-
-
- Remark
-
-
- Status
-
-
- Timestamp
-
-
- Name
-
-
- Version
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabase
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabase#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Host
-
-
- Name
-
-
- PasswordSecretRef
-
-
- Username
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAuditSpec
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAuditSpec#Multiple
-
-
-
-
-
-
-
-
-
-
-
- StorageAccount
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerUsersyncSpec
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerUsersyncSpec#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Enabled
-
-
- Mode
-
-
- UserMappingLocation
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Resource
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Resource#Multiple
-
-
-
-
-
-
-
-
-
-
-
- Name
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ScalingRule
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ScalingRule#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ActionType
-
-
- EvaluationCount
-
-
- ScalingMetric
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Schedule
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Schedule#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Count
-
-
- EndTime
-
-
- StartTime
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ScheduleBasedConfig
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ScheduleBasedConfig#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DefaultCount
-
-
- TimeZone
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ScriptActionProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ScriptActionProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Name
-
-
- Parameter
-
-
- ShouldPersist
-
-
- TimeoutInMinute
-
-
- Url
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SecretReference
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SecretReference#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ReferenceName
-
-
- SecretName
-
-
- Version
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SecretsProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SecretsProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
- KeyVaultResourceId
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResult
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResult#Multiple
-
-
-
-
-
-
-
-
-
-
-
- NextLink
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResultProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResultProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ComponentName
-
-
- Content
-
-
- FileName
-
-
- Path
-
-
- ServiceName
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResultPropertiesCustomKeys
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResultPropertiesCustomKeys#Multiple
-
-
-
-
-
-
-
-
-
-
-
- Item
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResultValueEntity
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResultValueEntity#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Description
-
-
- Value
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigResultProperties
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigResultProperties#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ComponentName
-
-
- Content
-
-
- FileName
-
-
- Path
-
-
- ServiceName
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceStatus
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceStatus#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Kind
-
-
- Message
-
-
- Ready
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkMetastoreSpec
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkMetastoreSpec#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DbConnectionAuthenticationMode
-
-
- DbName
-
-
- DbPasswordSecretName
-
-
- DbServerHost
-
-
- DbUserName
-
-
- KeyVaultId
-
-
- ThriftUrl
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
- DefaultStorageUrl
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkUserPlugin
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkUserPlugin#Multiple
-
-
-
-
-
-
-
-
-
-
-
- Path
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SshConnectivityEndpoint
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SshConnectivityEndpoint#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Endpoint
-
-
- PrivateSshEndpoint
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SshProfile
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SshProfile#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Count
-
-
- PodPrefix
-
-
- VMSize
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SystemData
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SystemData#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- CreatedAt
-
-
- CreatedBy
-
-
- CreatedByType
-
-
- LastModifiedAt
-
-
- LastModifiedBy
-
-
- LastModifiedByType
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TagsObjectTags
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TagsObjectTags#Multiple
-
-
-
-
-
-
-
-
-
-
-
- Item
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrackedResource
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrackedResource#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Name
-
-
- SystemDataCreatedAt
-
-
- SystemDataCreatedBy
-
-
- SystemDataCreatedByType
-
-
- SystemDataLastModifiedAt
-
-
- SystemDataLastModifiedBy
-
-
- SystemDataLastModifiedByType
-
-
- Location
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrackedResourceTags
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrackedResourceTags#Multiple
-
-
-
-
-
-
-
-
-
-
-
- Item
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoCoordinator
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoCoordinator#Multiple
-
-
-
-
-
-
-
-
-
-
-
- HighAvailabilityEnabled
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoDebugConfig
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoDebugConfig#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Enable
-
-
- Port
-
-
- Suspend
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoTelemetryConfig
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoTelemetryConfig#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- HivecatalogName
-
-
- HivecatalogSchema
-
-
- PartitionRetentionInDay
-
-
- Path
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoUserPlugin
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoUserPlugin#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Enabled
-
-
- Name
-
-
- Path
-
-
-
-
-
-
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.WebConnectivityEndpoint
-
- Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.WebConnectivityEndpoint#Multiple
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Fqdn
-
-
- PrivateFqdn
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.psd1 b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.psd1
deleted file mode 100644
index ea80dd942ccd..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.psd1
+++ /dev/null
@@ -1,23 +0,0 @@
-@{
- GUID = '5d9ea51e-3614-409d-b09a-9188a642e11c'
- RootModule = './Az.HdInsightOnAks.psm1'
- ModuleVersion = '0.1.0'
- CompatiblePSEditions = 'Core', 'Desktop'
- Author = 'Microsoft Corporation'
- CompanyName = 'Microsoft Corporation'
- Copyright = 'Microsoft Corporation. All rights reserved.'
- Description = 'Microsoft Azure PowerShell: HdInsightOnAks cmdlets'
- PowerShellVersion = '5.1'
- DotNetFrameworkVersion = '4.7.2'
- RequiredAssemblies = './bin/Az.HdInsightOnAks.private.dll'
- FormatsToProcess = './Az.HdInsightOnAks.format.ps1xml'
- FunctionsToExport = 'Get-AzHdInsightOnAksAvailableClusterPoolVersion', 'Get-AzHdInsightOnAksAvailableClusterVersion', 'Get-AzHdInsightOnAksCluster', 'Get-AzHdInsightOnAksClusterAvailableUpgrade', 'Get-AzHdInsightOnAksClusterInstanceView', 'Get-AzHdInsightOnAksClusterJob', 'Get-AzHdInsightOnAksClusterLibrary', 'Get-AzHdInsightOnAksClusterPool', 'Get-AzHdInsightOnAksClusterPoolAvailableUpgrade', 'Get-AzHdInsightOnAksClusterPoolUpgradeHistory', 'Get-AzHdInsightOnAksClusterServiceConfig', 'Get-AzHdInsightOnAksClusterUpgradeHistory', 'Invoke-AzHdInsightOnAksClusterManualRollback', 'Invoke-AzHdInsightOnAksClusterPoolUpgrade', 'Invoke-AzHdInsightOnAksClusterUpgrade', 'Invoke-AzHdInsightOnAksManageClusterLibrary', 'New-AzHdInsightOnAksCluster', 'New-AzHdInsightOnAksClusterConfigFileObject', 'New-AzHdInsightOnAksClusterHotfixUpgradeObject', 'New-AzHdInsightOnAksClusterMavenLibraryObject', 'New-AzHdInsightOnAksClusterPool', 'New-AzHdInsightOnAksClusterPoolAksPatchVersionUpgradeObject', 'New-AzHdInsightOnAksClusterPyPiLibraryObject', 'New-AzHdInsightOnAksClusterServiceConfigObject', 'New-AzHdInsightOnAksClusterServiceConfigsProfileObject', 'New-AzHdInsightOnAksFlinkJobObject', 'New-AzHdInsightOnAksManagedIdentityObject', 'New-AzHdInsightOnAksNodeProfileObject', 'New-AzHdInsightOnAksSecretReferenceObject', 'New-AzHdInsightOnAksTrinoHiveCatalogObject', 'Remove-AzHdInsightOnAksCluster', 'Remove-AzHdInsightOnAksClusterPool', 'Resize-AzHdInsightOnAksCluster', 'Set-AzHdInsightOnAksClusterPool', 'Start-AzHdInsightOnAksClusterJob', 'Test-AzHdInsightOnAksLocationNameAvailability', 'Update-AzHdInsightOnAksCluster', 'Update-AzHdInsightOnAksClusterPoolTag'
- PrivateData = @{
- PSData = @{
- Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'HdInsightOnAks'
- LicenseUri = 'https://aka.ms/azps-license'
- ProjectUri = 'https://github.com/Azure/azure-powershell'
- ReleaseNotes = ''
- }
- }
-}
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.psm1 b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.psm1
deleted file mode 100644
index 1c74566d1a02..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.psm1
+++ /dev/null
@@ -1,119 +0,0 @@
-# region Generated
- # ----------------------------------------------------------------------------------
- # 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.
- # ----------------------------------------------------------------------------------
- # Load required Az.Accounts module
- $accountsName = 'Az.Accounts'
- $accountsModule = Get-Module -Name $accountsName
- if(-not $accountsModule) {
- $localAccountsPath = Join-Path $PSScriptRoot 'generated\modules'
- if(Test-Path -Path $localAccountsPath) {
- $localAccounts = Get-ChildItem -Path $localAccountsPath -Recurse -Include 'Az.Accounts.psd1' | Select-Object -Last 1
- if($localAccounts) {
- $accountsModule = Import-Module -Name ($localAccounts.FullName) -Scope Global -PassThru
- }
- }
- if(-not $accountsModule) {
- $hasAdequateVersion = (Get-Module -Name $accountsName -ListAvailable | Where-Object { $_.Version -ge [System.Version]'2.7.5' } | Measure-Object).Count -gt 0
- if($hasAdequateVersion) {
- $accountsModule = Import-Module -Name $accountsName -MinimumVersion 2.7.5 -Scope Global -PassThru
- }
- }
- }
-
- if(-not $accountsModule) {
- Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. For installation instructions, please see: https://learn.microsoft.com/powershell/azure/install-az-ps" -ErrorAction Stop
- } elseif (($accountsModule.Version -lt [System.Version]'2.7.5') -and (-not $localAccounts)) {
- Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to add the switch '-RegenerateSupportModule' when executing 'test-module.ps1'. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
- }
- Write-Information "Loaded Module '$($accountsModule.Name)'"
-
- # Load the private module dll
- $null = Import-Module -Name (Join-Path $PSScriptRoot './bin/Az.HdInsightOnAks.private.dll')
-
- # Get the private module's instance
- $instance = [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module]::Instance
-
- # 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.HdInsightOnAks.custom.psm1'
- if(Test-Path $customModulePath) {
- $null = Import-Module -Name $customModulePath
- }
-
- # Export nothing to clear implicit exports
- Export-ModuleMember
-
- # Export proxy cmdlet scripts
- $exportsPath = Join-Path $PSScriptRoot './exports'
- $directories = Get-ChildItem -Directory -Path $exportsPath
- $profileDirectory = $null
- if($instance.ProfileName) {
- if(($directories | ForEach-Object { $_.Name }) -contains $instance.ProfileName) {
- $profileDirectory = $directories | Where-Object { $_.Name -eq $instance.ProfileName }
- } else {
- # Don't export anything if the profile doesn't exist for the module
- $exportsPath = $null
- Write-Warning "Selected Azure profile '$($instance.ProfileName)' does not exist for module '$($instance.Name)'. No cmdlets were loaded."
- }
- } elseif(($directories | Measure-Object).Count -gt 0) {
- # 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
- Export-ModuleMember -Function $cmdletNames -Alias (Get-ScriptCmdlet -ScriptFolder $exportsPath -AsAlias)
- }
-
- # Finalize initialization of this module
- $instance.Init();
- Write-Information "Loaded Module '$($instance.Name)'"
-# endregion
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/Properties/AssemblyInfo.cs b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/Properties/AssemblyInfo.cs
deleted file mode 100644
index 35ec16e3e0b2..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-// 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.
-
-using System;
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
-[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
-[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
-[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - HdInsightOnAks")]
-[assembly: System.Reflection.AssemblyFileVersionAttribute("0.2.1")]
-[assembly: System.Reflection.AssemblyVersionAttribute("0.2.1")]
-[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
-[assembly: System.CLSCompliantAttribute(false)]
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/check-dependencies.ps1 b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/check-dependencies.ps1
deleted file mode 100644
index 90ca9867ae40..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/check-dependencies.ps1
+++ /dev/null
@@ -1,65 +0,0 @@
-# ----------------------------------------------------------------------------------
-# 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.
-# ----------------------------------------------------------------------------------
-param([switch]$NotIsolated, [switch]$Accounts, [switch]$Pester, [switch]$Resources)
-$ErrorActionPreference = 'Stop'
-
-if(-not $NotIsolated) {
- Write-Host -ForegroundColor Green 'Creating isolated process...'
- $pwsh = [System.Diagnostics.Process]::GetCurrentProcess().Path
- & "$pwsh" -NoExit -NoLogo -NoProfile -File $MyInvocation.MyCommand.Path @PSBoundParameters -NotIsolated
- return
-}
-
-function DownloadModule ([bool]$predicate, [string]$path, [string]$moduleName, [string]$versionMinimum, [string]$requiredVersion) {
- if($predicate) {
- $module = Get-Module -ListAvailable -Name $moduleName
- if((-not $module) -or ($versionMinimum -and ($module | ForEach-Object { $_.Version } | Where-Object { $_ -ge [System.Version]$versionMinimum } | Measure-Object).Count -eq 0) -or ($requiredVersion -and ($module | ForEach-Object { $_.Version } | Where-Object { $_ -eq [System.Version]$requiredVersion } | Measure-Object).Count -eq 0)) {
- $null = New-Item -ItemType Directory -Force -Path $path
- Write-Host -ForegroundColor Green "Installing local $moduleName module into '$path'..."
- if ($requiredVersion) {
- Find-Module -Name $moduleName -RequiredVersion $requiredVersion -Repository PSGallery | Save-Module -Path $path
- }elseif($versionMinimum) {
- Find-Module -Name $moduleName -MinimumVersion $versionMinimum -Repository PSGallery | Save-Module -Path $path
- } else {
- Find-Module -Name $moduleName -Repository PSGallery | Save-Module -Path $path
- }
- }
- }
-}
-
-$ProgressPreference = 'SilentlyContinue'
-$all = (@($Accounts.IsPresent, $Pester.IsPresent) | Select-Object -Unique | Measure-Object).Count -eq 1
-
-$localModulesPath = Join-Path $PSScriptRoot 'generated\modules'
-if(Test-Path -Path $localModulesPath) {
- $env:PSModulePath = "$localModulesPath$([IO.Path]::PathSeparator)$env:PSModulePath"
-}
-
-DownloadModule -predicate ($all -or $Accounts) -path $localModulesPath -moduleName 'Az.Accounts' -versionMinimum '2.7.5'
-DownloadModule -predicate ($all -or $Pester) -path $localModulesPath -moduleName 'Pester' -requiredVersion '4.10.1'
-
-$tools = Join-Path $PSScriptRoot 'tools'
-$resourceDir = Join-Path $tools 'Resources'
-$resourceModule = Join-Path $HOME '.PSSharedModules\Resources\Az.Resources.TestSupport.psm1'
-
-if ($Resources.IsPresent -and ((-not (Test-Path -Path $resourceModule)) -or $RegenerateSupportModule.IsPresent)) {
- Write-Host -ForegroundColor Green "Building local Resource module used for test..."
- Set-Location $resourceDir
- $null = autorest .\README.md --use:@autorest/powershell@3.0.414 --output-folder=$HOME/.PSSharedModules/Resources
- $null = Copy-Item custom/* $HOME/.PSSharedModules/Resources/custom/
- Set-Location $HOME/.PSSharedModules/Resources
- $null = .\build-module.ps1
- Set-Location $PSScriptRoot
-}
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksAvailableClusterPoolVersion.ps1 b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksAvailableClusterPoolVersion.ps1
deleted file mode 100644
index 05ec53c80f69..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksAvailableClusterPoolVersion.ps1
+++ /dev/null
@@ -1,193 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# 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.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-Returns a list of available cluster pool versions.
-.Description
-Returns a list of available cluster pool versions.
-.Example
-$location = "west us 2"
-Get-AzHdInsightOnAksAvailableClusterPoolVersion -Location $location
-
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolVersion
-.Link
-https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksavailableclusterpoolversion
-#>
-function Get-AzHdInsightOnAksAvailableClusterPoolVersion {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolVersion])]
-[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
-param(
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the Azure region.
- ${Location},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String[]]
- # The ID of the target subscription.
- # The value must be an UUID.
- ${SubscriptionId},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The DefaultProfile parameter is not functional.
- # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
- ${DefaultProfile},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-begin {
- try {
- $outBuffer = $null
- if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
- $PSBoundParameters['OutBuffer'] = 1
- }
- $parameterSet = $PSCmdlet.ParameterSetName
-
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
-
- $context = Get-AzContext
- if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
- }
-
- if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
- }
- $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- if ($preTelemetryId -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
- } else {
- $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- if ($internalCalledCmdlets -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
- } else {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
- }
-
- $mapping = @{
- List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksAvailableClusterPoolVersion_List';
- }
- if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- if ($testPlayback) {
- $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
- } else {
- $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
- }
- }
- $cmdInfo = Get-Command -Name $mapping[$parameterSet]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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.HdInsightOnAks.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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)
- if ($wrappedCmd -eq $null) {
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
- }
- $scriptCmd = {& $wrappedCmd @PSBoundParameters}
- $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
- $steppablePipeline.Begin($PSCmdlet)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-
-process {
- try {
- $steppablePipeline.Process($_)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-
- finally {
- $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
-
-}
-end {
- try {
- $steppablePipeline.End()
-
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
- if ($preTelemetryId -eq '') {
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
-
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-}
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksAvailableClusterVersion.ps1 b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksAvailableClusterVersion.ps1
deleted file mode 100644
index 4278d8613476..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksAvailableClusterVersion.ps1
+++ /dev/null
@@ -1,193 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# 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.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-Returns a list of available cluster versions.
-.Description
-Returns a list of available cluster versions.
-.Example
-$location = "west us 2"
-Get-AzHdInsightOnAksAvailableClusterVersion -Location $location
-
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterVersion
-.Link
-https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksavailableclusterversion
-#>
-function Get-AzHdInsightOnAksAvailableClusterVersion {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterVersion])]
-[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
-param(
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the Azure region.
- ${Location},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String[]]
- # The ID of the target subscription.
- # The value must be an UUID.
- ${SubscriptionId},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The DefaultProfile parameter is not functional.
- # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
- ${DefaultProfile},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-begin {
- try {
- $outBuffer = $null
- if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
- $PSBoundParameters['OutBuffer'] = 1
- }
- $parameterSet = $PSCmdlet.ParameterSetName
-
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
-
- $context = Get-AzContext
- if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
- }
-
- if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
- }
- $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- if ($preTelemetryId -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
- } else {
- $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- if ($internalCalledCmdlets -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
- } else {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
- }
-
- $mapping = @{
- List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksAvailableClusterVersion_List';
- }
- if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- if ($testPlayback) {
- $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
- } else {
- $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
- }
- }
- $cmdInfo = Get-Command -Name $mapping[$parameterSet]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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.HdInsightOnAks.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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)
- if ($wrappedCmd -eq $null) {
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
- }
- $scriptCmd = {& $wrappedCmd @PSBoundParameters}
- $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
- $steppablePipeline.Begin($PSCmdlet)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-
-process {
- try {
- $steppablePipeline.Process($_)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-
- finally {
- $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
-
-}
-end {
- try {
- $steppablePipeline.End()
-
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
- if ($preTelemetryId -eq '') {
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
-
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-}
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksCluster.ps1 b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksCluster.ps1
deleted file mode 100644
index 8439e0f3b21f..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksCluster.ps1
+++ /dev/null
@@ -1,255 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# 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.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-Gets a HDInsight cluster.
-.Description
-Gets a HDInsight cluster.
-.Example
-$clusterResourceGroupName = "your-resourceGroup"
-$clusterpoolName = "your-clusterpool"
-Get-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -PoolName $clusterpoolName
-.Example
-$clusterResourceGroupName = "your-resourceGroup"
-$clusterpoolName = "your-clusterpool"
-$clusterName = "your-clustername"
-Get-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -PoolName $clusterpoolName -Name $clusterName
-
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster
-.Notes
-COMPLEX PARAMETER PROPERTIES
-
-To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
-
-CLUSTERPOOLINPUTOBJECT : Identity Parameter
- [ClusterName ]: The name of the HDInsight cluster.
- [ClusterPoolName ]: The name of the cluster pool.
- [Id ]: Resource identity path
- [Location ]: The name of the Azure region.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
-
-INPUTOBJECT : Identity Parameter
- [ClusterName ]: The name of the HDInsight cluster.
- [ClusterPoolName ]: The name of the cluster pool.
- [Id ]: Resource identity path
- [Location ]: The name of the Azure region.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
-.Link
-https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonakscluster
-#>
-function Get-AzHdInsightOnAksCluster {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster])]
-[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
-param(
- [Parameter(ParameterSetName='Get', Mandatory)]
- [Parameter(ParameterSetName='GetViaIdentityClusterpool', Mandatory)]
- [Alias('ClusterName')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the HDInsight cluster.
- ${Name},
-
- [Parameter(ParameterSetName='Get', Mandatory)]
- [Parameter(ParameterSetName='List', Mandatory)]
- [Alias('ClusterPoolName')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the cluster pool.
- ${PoolName},
-
- [Parameter(ParameterSetName='Get', Mandatory)]
- [Parameter(ParameterSetName='List', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the resource group.
- # The name is case insensitive.
- ${ResourceGroupName},
-
- [Parameter(ParameterSetName='Get')]
- [Parameter(ParameterSetName='List')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String[]]
- # The ID of the target subscription.
- # The value must be an UUID.
- ${SubscriptionId},
-
- [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity]
- # Identity Parameter
- ${InputObject},
-
- [Parameter(ParameterSetName='GetViaIdentityClusterpool', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity]
- # Identity Parameter
- ${ClusterpoolInputObject},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The DefaultProfile parameter is not functional.
- # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
- ${DefaultProfile},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-begin {
- try {
- $outBuffer = $null
- if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
- $PSBoundParameters['OutBuffer'] = 1
- }
- $parameterSet = $PSCmdlet.ParameterSetName
-
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
-
- $context = Get-AzContext
- if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
- }
-
- if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
- }
- $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- if ($preTelemetryId -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
- } else {
- $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- if ($internalCalledCmdlets -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
- } else {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
- }
-
- $mapping = @{
- Get = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksCluster_Get';
- GetViaIdentity = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksCluster_GetViaIdentity';
- GetViaIdentityClusterpool = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksCluster_GetViaIdentityClusterpool';
- List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksCluster_List';
- }
- if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- if ($testPlayback) {
- $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
- } else {
- $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
- }
- }
- $cmdInfo = Get-Command -Name $mapping[$parameterSet]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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.HdInsightOnAks.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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)
- if ($wrappedCmd -eq $null) {
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
- }
- $scriptCmd = {& $wrappedCmd @PSBoundParameters}
- $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
- $steppablePipeline.Begin($PSCmdlet)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-
-process {
- try {
- $steppablePipeline.Process($_)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-
- finally {
- $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
-
-}
-end {
- try {
- $steppablePipeline.End()
-
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
- if ($preTelemetryId -eq '') {
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
-
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-}
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterAvailableUpgrade.ps1 b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterAvailableUpgrade.ps1
deleted file mode 100644
index f037ba37d85c..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterAvailableUpgrade.ps1
+++ /dev/null
@@ -1,205 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# 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.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-List a cluster available upgrade.
-.Description
-List a cluster available upgrade.
-.Example
-Get-AzHdInsightOnAksClusterAvailableUpgrade -ResourceGroupName PStestGroup -ClusterPoolName hilo-pool -ClusterName flinkcluster
-
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgrade
-.Link
-https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusteravailableupgrade
-#>
-function Get-AzHdInsightOnAksClusterAvailableUpgrade {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgrade])]
-[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
-param(
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the HDInsight cluster.
- ${ClusterName},
-
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the cluster pool.
- ${ClusterPoolName},
-
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the resource group.
- # The name is case insensitive.
- ${ResourceGroupName},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String[]]
- # The ID of the target subscription.
- # The value must be an UUID.
- ${SubscriptionId},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The DefaultProfile parameter is not functional.
- # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
- ${DefaultProfile},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-begin {
- try {
- $outBuffer = $null
- if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
- $PSBoundParameters['OutBuffer'] = 1
- }
- $parameterSet = $PSCmdlet.ParameterSetName
-
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
-
- $context = Get-AzContext
- if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
- }
-
- if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
- }
- $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- if ($preTelemetryId -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
- } else {
- $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- if ($internalCalledCmdlets -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
- } else {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
- }
-
- $mapping = @{
- List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterAvailableUpgrade_List';
- }
- if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- if ($testPlayback) {
- $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
- } else {
- $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
- }
- }
- $cmdInfo = Get-Command -Name $mapping[$parameterSet]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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.HdInsightOnAks.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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)
- if ($wrappedCmd -eq $null) {
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
- }
- $scriptCmd = {& $wrappedCmd @PSBoundParameters}
- $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
- $steppablePipeline.Begin($PSCmdlet)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-
-process {
- try {
- $steppablePipeline.Process($_)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-
- finally {
- $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
-
-}
-end {
- try {
- $steppablePipeline.End()
-
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
- if ($preTelemetryId -eq '') {
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
-
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-}
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterInstanceView.ps1 b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterInstanceView.ps1
deleted file mode 100644
index 2fe80ac587b1..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterInstanceView.ps1
+++ /dev/null
@@ -1,250 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# 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.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-Gets the status of a cluster instance.
-.Description
-Gets the status of a cluster instance.
-.Example
-$clusterResourceGroupName = "your-resourceGroup"
-$clusterpoolName = "your-clusterpool"
-$clusterName = "your-clustername"
-Get-AzHdInsightOnAksClusterInstanceView -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName
-
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewResult
-.Notes
-COMPLEX PARAMETER PROPERTIES
-
-To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
-
-CLUSTERPOOLINPUTOBJECT : Identity Parameter
- [ClusterName ]: The name of the HDInsight cluster.
- [ClusterPoolName ]: The name of the cluster pool.
- [Id ]: Resource identity path
- [Location ]: The name of the Azure region.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
-
-INPUTOBJECT : Identity Parameter
- [ClusterName ]: The name of the HDInsight cluster.
- [ClusterPoolName ]: The name of the cluster pool.
- [Id ]: Resource identity path
- [Location ]: The name of the Azure region.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
-.Link
-https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterinstanceview
-#>
-function Get-AzHdInsightOnAksClusterInstanceView {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewResult])]
-[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)]
-param(
- [Parameter(ParameterSetName='Get', Mandatory)]
- [Parameter(ParameterSetName='GetViaIdentityClusterpool', Mandatory)]
- [Parameter(ParameterSetName='List', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the HDInsight cluster.
- ${ClusterName},
-
- [Parameter(ParameterSetName='Get', Mandatory)]
- [Parameter(ParameterSetName='List', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the cluster pool.
- ${ClusterPoolName},
-
- [Parameter(ParameterSetName='Get', Mandatory)]
- [Parameter(ParameterSetName='List', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the resource group.
- # The name is case insensitive.
- ${ResourceGroupName},
-
- [Parameter(ParameterSetName='Get')]
- [Parameter(ParameterSetName='List')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String[]]
- # The ID of the target subscription.
- # The value must be an UUID.
- ${SubscriptionId},
-
- [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity]
- # Identity Parameter
- ${InputObject},
-
- [Parameter(ParameterSetName='GetViaIdentityClusterpool', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity]
- # Identity Parameter
- ${ClusterpoolInputObject},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The DefaultProfile parameter is not functional.
- # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
- ${DefaultProfile},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-begin {
- try {
- $outBuffer = $null
- if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
- $PSBoundParameters['OutBuffer'] = 1
- }
- $parameterSet = $PSCmdlet.ParameterSetName
-
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
-
- $context = Get-AzContext
- if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
- }
-
- if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
- }
- $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- if ($preTelemetryId -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
- } else {
- $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- if ($internalCalledCmdlets -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
- } else {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
- }
-
- $mapping = @{
- Get = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterInstanceView_Get';
- GetViaIdentity = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterInstanceView_GetViaIdentity';
- GetViaIdentityClusterpool = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterInstanceView_GetViaIdentityClusterpool';
- List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterInstanceView_List';
- }
- if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- if ($testPlayback) {
- $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
- } else {
- $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
- }
- }
- $cmdInfo = Get-Command -Name $mapping[$parameterSet]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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.HdInsightOnAks.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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)
- if ($wrappedCmd -eq $null) {
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
- }
- $scriptCmd = {& $wrappedCmd @PSBoundParameters}
- $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
- $steppablePipeline.Begin($PSCmdlet)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-
-process {
- try {
- $steppablePipeline.Process($_)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-
- finally {
- $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
-
-}
-end {
- try {
- $steppablePipeline.End()
-
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
- if ($preTelemetryId -eq '') {
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
-
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-}
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterJob.ps1 b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterJob.ps1
deleted file mode 100644
index dce0f291ebd8..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterJob.ps1
+++ /dev/null
@@ -1,215 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# 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.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-Get jobs of HDInsight on AKS cluster.
-.Description
-Get jobs of HDInsight on AKS cluster.
-.Example
-$clusterResourceGroupName = "Group"
-$clusterpoolName = "ps-test-pool"
-$clusterName = "flinkcluster"
-Get-AzHdInsightOnAksClusterJob -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName
-
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob
-.Link
-https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterjob
-#>
-function Get-AzHdInsightOnAksClusterJob {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob])]
-[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
-param(
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the HDInsight cluster.
- ${ClusterName},
-
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the cluster pool.
- ${ClusterPoolName},
-
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the resource group.
- # The name is case insensitive.
- ${ResourceGroupName},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String[]]
- # The ID of the target subscription.
- # The value must be an UUID.
- ${SubscriptionId},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Query')]
- [System.String]
- # The system query option to filter job returned in the response.
- # Allowed value is 'jobName eq {jobName}' or 'jarName eq {jarName}'.
- ${Filter},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The DefaultProfile parameter is not functional.
- # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
- ${DefaultProfile},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-begin {
- try {
- $outBuffer = $null
- if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
- $PSBoundParameters['OutBuffer'] = 1
- }
- $parameterSet = $PSCmdlet.ParameterSetName
-
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
-
- $context = Get-AzContext
- if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
- }
-
- if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
- }
- $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- if ($preTelemetryId -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
- } else {
- $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- if ($internalCalledCmdlets -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
- } else {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
- }
-
- $mapping = @{
- List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterJob_List';
- }
- if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- if ($testPlayback) {
- $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
- } else {
- $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
- }
- }
- $cmdInfo = Get-Command -Name $mapping[$parameterSet]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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.HdInsightOnAks.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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)
- if ($wrappedCmd -eq $null) {
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
- }
- $scriptCmd = {& $wrappedCmd @PSBoundParameters}
- $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
- $steppablePipeline.Begin($PSCmdlet)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-
-process {
- try {
- $steppablePipeline.Process($_)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-
- finally {
- $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
-
-}
-end {
- try {
- $steppablePipeline.End()
-
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
- if ($preTelemetryId -eq '') {
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
-
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-}
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterLibrary.ps1 b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterLibrary.ps1
deleted file mode 100644
index 41e3356e1285..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterLibrary.ps1
+++ /dev/null
@@ -1,221 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# 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.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-Get all libraries of HDInsight on AKS cluster.
-.Description
-Get all libraries of HDInsight on AKS cluster.
-.Example
-$clusterResourceGroupName = "Group"
-$clusterpoolName = "ps-test-pool"
-$clusterName = "flinkcluster"
-Get-AzHdInsightOnAksClusterLibrary -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName -Category custom
-.Example
-$clusterResourceGroupName = "Group"
-$clusterpoolName = "ps-test-pool"
-$clusterName = "flinkcluster"
-Get-AzHdInsightOnAksClusterLibrary -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName -Category preddfine
-
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLibrary
-.Link
-https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterlibrary
-#>
-function Get-AzHdInsightOnAksClusterLibrary {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLibrary])]
-[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
-param(
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the HDInsight cluster.
- ${ClusterName},
-
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the cluster pool.
- ${ClusterPoolName},
-
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the resource group.
- # The name is case insensitive.
- ${ResourceGroupName},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String[]]
- # The ID of the target subscription.
- # The value must be an UUID.
- ${SubscriptionId},
-
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("custom", "predefined")]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Query')]
- [System.String]
- # The system query option to filter libraries returned in the response.
- # Allowed value is 'custom' or 'predefined'.
- ${Category},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The DefaultProfile parameter is not functional.
- # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
- ${DefaultProfile},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-begin {
- try {
- $outBuffer = $null
- if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
- $PSBoundParameters['OutBuffer'] = 1
- }
- $parameterSet = $PSCmdlet.ParameterSetName
-
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
-
- $context = Get-AzContext
- if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
- }
-
- if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
- }
- $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- if ($preTelemetryId -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
- } else {
- $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- if ($internalCalledCmdlets -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
- } else {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
- }
-
- $mapping = @{
- List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterLibrary_List';
- }
- if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- if ($testPlayback) {
- $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
- } else {
- $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
- }
- }
- $cmdInfo = Get-Command -Name $mapping[$parameterSet]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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.HdInsightOnAks.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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)
- if ($wrappedCmd -eq $null) {
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
- }
- $scriptCmd = {& $wrappedCmd @PSBoundParameters}
- $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
- $steppablePipeline.Begin($PSCmdlet)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-
-process {
- try {
- $steppablePipeline.Process($_)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-
- finally {
- $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
-
-}
-end {
- try {
- $steppablePipeline.End()
-
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
- if ($preTelemetryId -eq '') {
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
-
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-}
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterPool.ps1 b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterPool.ps1
deleted file mode 100644
index 49041c9d7fc2..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterPool.ps1
+++ /dev/null
@@ -1,233 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# 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.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-Gets a cluster pool.
-.Description
-Gets a cluster pool.
-.Example
-Get-AzHdInsightOnAksClusterPool
-.Example
-$clusterResourceGroupName = "your-resourceGroup"
-Get-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName
-.Example
-$clusterResourceGroupName = "your-resourceGroup"
-$clusterpoolName = "your-clusterpool"
-Get-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName -Name $clusterpoolName
-
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool
-.Notes
-COMPLEX PARAMETER PROPERTIES
-
-To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
-
-INPUTOBJECT : Identity Parameter
- [ClusterName ]: The name of the HDInsight cluster.
- [ClusterPoolName ]: The name of the cluster pool.
- [Id ]: Resource identity path
- [Location ]: The name of the Azure region.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
-.Link
-https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterpool
-#>
-function Get-AzHdInsightOnAksClusterPool {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool])]
-[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
-param(
- [Parameter(ParameterSetName='Get', Mandatory)]
- [Alias('ClusterPoolName')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the cluster pool.
- ${Name},
-
- [Parameter(ParameterSetName='Get', Mandatory)]
- [Parameter(ParameterSetName='List1', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the resource group.
- # The name is case insensitive.
- ${ResourceGroupName},
-
- [Parameter(ParameterSetName='Get')]
- [Parameter(ParameterSetName='List')]
- [Parameter(ParameterSetName='List1')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String[]]
- # The ID of the target subscription.
- # The value must be an UUID.
- ${SubscriptionId},
-
- [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity]
- # Identity Parameter
- ${InputObject},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The DefaultProfile parameter is not functional.
- # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
- ${DefaultProfile},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-begin {
- try {
- $outBuffer = $null
- if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
- $PSBoundParameters['OutBuffer'] = 1
- }
- $parameterSet = $PSCmdlet.ParameterSetName
-
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
-
- $context = Get-AzContext
- if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
- }
-
- if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
- }
- $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- if ($preTelemetryId -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
- } else {
- $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- if ($internalCalledCmdlets -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
- } else {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
- }
-
- $mapping = @{
- Get = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterPool_Get';
- GetViaIdentity = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterPool_GetViaIdentity';
- List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterPool_List';
- List1 = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterPool_List1';
- }
- if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- if ($testPlayback) {
- $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
- } else {
- $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
- }
- }
- $cmdInfo = Get-Command -Name $mapping[$parameterSet]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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.HdInsightOnAks.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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)
- if ($wrappedCmd -eq $null) {
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
- }
- $scriptCmd = {& $wrappedCmd @PSBoundParameters}
- $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
- $steppablePipeline.Begin($PSCmdlet)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-
-process {
- try {
- $steppablePipeline.Process($_)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-
- finally {
- $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
-
-}
-end {
- try {
- $steppablePipeline.End()
-
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
- if ($preTelemetryId -eq '') {
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
-
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-}
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.ps1 b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.ps1
deleted file mode 100644
index 6e6550cf553d..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.ps1
+++ /dev/null
@@ -1,199 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# 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.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-List a cluster pool available upgrade.
-.Description
-List a cluster pool available upgrade.
-.Example
-Get-AzHdInsightOnAksClusterPoolAvailableUpgrade -ResourceGroupName PStestGroup -ClusterPoolName hilo-pool
-
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgrade
-.Link
-https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterpoolavailableupgrade
-#>
-function Get-AzHdInsightOnAksClusterPoolAvailableUpgrade {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgrade])]
-[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
-param(
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the cluster pool.
- ${ClusterPoolName},
-
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the resource group.
- # The name is case insensitive.
- ${ResourceGroupName},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String[]]
- # The ID of the target subscription.
- # The value must be an UUID.
- ${SubscriptionId},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The DefaultProfile parameter is not functional.
- # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
- ${DefaultProfile},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-begin {
- try {
- $outBuffer = $null
- if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
- $PSBoundParameters['OutBuffer'] = 1
- }
- $parameterSet = $PSCmdlet.ParameterSetName
-
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
-
- $context = Get-AzContext
- if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
- }
-
- if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
- }
- $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- if ($preTelemetryId -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
- } else {
- $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- if ($internalCalledCmdlets -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
- } else {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
- }
-
- $mapping = @{
- List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterPoolAvailableUpgrade_List';
- }
- if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- if ($testPlayback) {
- $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
- } else {
- $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
- }
- }
- $cmdInfo = Get-Command -Name $mapping[$parameterSet]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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.HdInsightOnAks.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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)
- if ($wrappedCmd -eq $null) {
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
- }
- $scriptCmd = {& $wrappedCmd @PSBoundParameters}
- $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
- $steppablePipeline.Begin($PSCmdlet)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-
-process {
- try {
- $steppablePipeline.Process($_)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-
- finally {
- $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
-
-}
-end {
- try {
- $steppablePipeline.End()
-
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
- if ($preTelemetryId -eq '') {
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
-
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-}
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterPoolUpgradeHistory.ps1 b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterPoolUpgradeHistory.ps1
deleted file mode 100644
index ae28d2d9ada5..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterPoolUpgradeHistory.ps1
+++ /dev/null
@@ -1,201 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# 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.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-Returns a list of upgrade history.
-.Description
-Returns a list of upgrade history.
-.Example
-$resourceGroupName = "resourceGroupName"
-$clusterPoolName = "clusterPoolName"
-Get-AzHdInsightOnAksClusterPoolUpgradeHistory -ResourceGroupName $resourceGroupName -ClusterPoolName $clusterPoolName
-
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeHistory
-.Link
-https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterpoolupgradehistory
-#>
-function Get-AzHdInsightOnAksClusterPoolUpgradeHistory {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeHistory])]
-[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
-param(
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the cluster pool.
- ${ClusterPoolName},
-
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the resource group.
- # The name is case insensitive.
- ${ResourceGroupName},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String[]]
- # The ID of the target subscription.
- # The value must be an UUID.
- ${SubscriptionId},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The DefaultProfile parameter is not functional.
- # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
- ${DefaultProfile},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-begin {
- try {
- $outBuffer = $null
- if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
- $PSBoundParameters['OutBuffer'] = 1
- }
- $parameterSet = $PSCmdlet.ParameterSetName
-
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
-
- $context = Get-AzContext
- if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
- }
-
- if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
- }
- $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- if ($preTelemetryId -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
- } else {
- $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- if ($internalCalledCmdlets -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
- } else {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
- }
-
- $mapping = @{
- List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterPoolUpgradeHistory_List';
- }
- if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- if ($testPlayback) {
- $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
- } else {
- $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
- }
- }
- $cmdInfo = Get-Command -Name $mapping[$parameterSet]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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.HdInsightOnAks.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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)
- if ($wrappedCmd -eq $null) {
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
- }
- $scriptCmd = {& $wrappedCmd @PSBoundParameters}
- $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
- $steppablePipeline.Begin($PSCmdlet)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-
-process {
- try {
- $steppablePipeline.Process($_)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-
- finally {
- $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
-
-}
-end {
- try {
- $steppablePipeline.End()
-
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
- if ($preTelemetryId -eq '') {
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
-
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-}
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterServiceConfig.ps1 b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterServiceConfig.ps1
deleted file mode 100644
index 98933a772e2c..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterServiceConfig.ps1
+++ /dev/null
@@ -1,208 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# 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.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-Lists the config dump of all services running in cluster.
-.Description
-Lists the config dump of all services running in cluster.
-.Example
-$clusterResourceGroupName = "your-resourceGroup"
-$clusterpoolName = "your-clusterpool"
-$clusterName = "your-clustername"
-Get-AzHdInsightOnAksClusterServiceConfig -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName
-
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IServiceConfigResult
-.Link
-https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterserviceconfig
-#>
-function Get-AzHdInsightOnAksClusterServiceConfig {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IServiceConfigResult])]
-[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
-param(
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the HDInsight cluster.
- ${ClusterName},
-
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the cluster pool.
- ${ClusterPoolName},
-
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the resource group.
- # The name is case insensitive.
- ${ResourceGroupName},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String[]]
- # The ID of the target subscription.
- # The value must be an UUID.
- ${SubscriptionId},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The DefaultProfile parameter is not functional.
- # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
- ${DefaultProfile},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-begin {
- try {
- $outBuffer = $null
- if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
- $PSBoundParameters['OutBuffer'] = 1
- }
- $parameterSet = $PSCmdlet.ParameterSetName
-
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
-
- $context = Get-AzContext
- if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
- }
-
- if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
- }
- $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- if ($preTelemetryId -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
- } else {
- $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- if ($internalCalledCmdlets -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
- } else {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
- }
-
- $mapping = @{
- List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterServiceConfig_List';
- }
- if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- if ($testPlayback) {
- $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
- } else {
- $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
- }
- }
- $cmdInfo = Get-Command -Name $mapping[$parameterSet]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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.HdInsightOnAks.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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)
- if ($wrappedCmd -eq $null) {
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
- }
- $scriptCmd = {& $wrappedCmd @PSBoundParameters}
- $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
- $steppablePipeline.Begin($PSCmdlet)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-
-process {
- try {
- $steppablePipeline.Process($_)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-
- finally {
- $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
-
-}
-end {
- try {
- $steppablePipeline.End()
-
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
- if ($preTelemetryId -eq '') {
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
-
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-}
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterUpgradeHistory.ps1 b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterUpgradeHistory.ps1
deleted file mode 100644
index 191257a354ac..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterUpgradeHistory.ps1
+++ /dev/null
@@ -1,208 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# 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.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-Returns a list of upgrade history.
-.Description
-Returns a list of upgrade history.
-.Example
-$resourceGroupName = "resourceGroupName"
-$clusterPoolName = "clusterPoolName"
-$clusterName = "clusterName"
-Get-AzHdInsightOnAksClusterUpgradeHistory -ResourceGroupName $resourceGroupName -ClusterPoolName $clusterPoolName -ClusterName $clusterName
-
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeHistory
-.Link
-https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterupgradehistory
-#>
-function Get-AzHdInsightOnAksClusterUpgradeHistory {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeHistory])]
-[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
-param(
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the HDInsight cluster.
- ${ClusterName},
-
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the cluster pool.
- ${ClusterPoolName},
-
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the resource group.
- # The name is case insensitive.
- ${ResourceGroupName},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String[]]
- # The ID of the target subscription.
- # The value must be an UUID.
- ${SubscriptionId},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The DefaultProfile parameter is not functional.
- # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
- ${DefaultProfile},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-begin {
- try {
- $outBuffer = $null
- if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
- $PSBoundParameters['OutBuffer'] = 1
- }
- $parameterSet = $PSCmdlet.ParameterSetName
-
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
-
- $context = Get-AzContext
- if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
- }
-
- if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
- }
- $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- if ($preTelemetryId -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
- } else {
- $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- if ($internalCalledCmdlets -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
- } else {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
- }
-
- $mapping = @{
- List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterUpgradeHistory_List';
- }
- if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- if ($testPlayback) {
- $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
- } else {
- $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
- }
- }
- $cmdInfo = Get-Command -Name $mapping[$parameterSet]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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.HdInsightOnAks.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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)
- if ($wrappedCmd -eq $null) {
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
- }
- $scriptCmd = {& $wrappedCmd @PSBoundParameters}
- $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
- $steppablePipeline.Begin($PSCmdlet)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-
-process {
- try {
- $steppablePipeline.Process($_)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-
- finally {
- $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
-
-}
-end {
- try {
- $steppablePipeline.End()
-
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
- if ($preTelemetryId -eq '') {
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
-
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-}
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Invoke-AzHdInsightOnAksClusterManualRollback.ps1 b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Invoke-AzHdInsightOnAksClusterManualRollback.ps1
deleted file mode 100644
index 122b25cdc462..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Invoke-AzHdInsightOnAksClusterManualRollback.ps1
+++ /dev/null
@@ -1,310 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# 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.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-Manual rollback upgrade for a cluster.
-.Description
-Manual rollback upgrade for a cluster.
-.Example
-$clusterResourceGroupName = "Group"
-$clusterpoolName = "ps-test-pool"
-$clusterName = "cluster"
-Invoke-AzHdInsightOnAksClusterManualRollback -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName -UpgradeHistory /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/devrp/providers/Microsoft.HDInsight/clusterpools/pool/clusters/cluster202458152055/upgradeHistories/05_11_2024_06_41_26_AM-AKSPatchUpgrade
-
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeRollback
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster
-.Notes
-COMPLEX PARAMETER PROPERTIES
-
-To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
-
-CLUSTERPOOLINPUTOBJECT : Identity Parameter
- [ClusterName ]: The name of the HDInsight cluster.
- [ClusterPoolName ]: The name of the cluster pool.
- [Id ]: Resource identity path
- [Location ]: The name of the Azure region.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
-
-CLUSTERROLLBACKUPGRADEREQUEST : Cluster Upgrade.
- UpgradeHistory : A specific upgrade history to rollback
-
-INPUTOBJECT : Identity Parameter
- [ClusterName ]: The name of the HDInsight cluster.
- [ClusterPoolName ]: The name of the cluster pool.
- [Id ]: Resource identity path
- [Location ]: The name of the Azure region.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
-.Link
-https://learn.microsoft.com/powershell/module/az.hdinsightonaks/invoke-azhdinsightonaksclustermanualrollback
-#>
-function Invoke-AzHdInsightOnAksClusterManualRollback {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster])]
-[CmdletBinding(DefaultParameterSetName='UpgradeExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
-param(
- [Parameter(ParameterSetName='Upgrade', Mandatory)]
- [Parameter(ParameterSetName='UpgradeExpanded', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaIdentityClusterpool', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaIdentityClusterpoolExpanded', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the HDInsight cluster.
- ${ClusterName},
-
- [Parameter(ParameterSetName='Upgrade', Mandatory)]
- [Parameter(ParameterSetName='UpgradeExpanded', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the cluster pool.
- ${ClusterPoolName},
-
- [Parameter(ParameterSetName='Upgrade', Mandatory)]
- [Parameter(ParameterSetName='UpgradeExpanded', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the resource group.
- # The name is case insensitive.
- ${ResourceGroupName},
-
- [Parameter(ParameterSetName='Upgrade')]
- [Parameter(ParameterSetName='UpgradeExpanded')]
- [Parameter(ParameterSetName='UpgradeViaJsonFilePath')]
- [Parameter(ParameterSetName='UpgradeViaJsonString')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String]
- # The ID of the target subscription.
- # The value must be an UUID.
- ${SubscriptionId},
-
- [Parameter(ParameterSetName='UpgradeViaIdentity', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='UpgradeViaIdentityExpanded', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity]
- # Identity Parameter
- ${InputObject},
-
- [Parameter(ParameterSetName='UpgradeViaIdentityClusterpool', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='UpgradeViaIdentityClusterpoolExpanded', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity]
- # Identity Parameter
- ${ClusterpoolInputObject},
-
- [Parameter(ParameterSetName='Upgrade', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='UpgradeViaIdentity', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='UpgradeViaIdentityClusterpool', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeRollback]
- # Cluster Upgrade.
- ${ClusterRollbackUpgradeRequest},
-
- [Parameter(ParameterSetName='UpgradeExpanded', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaIdentityClusterpoolExpanded', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaIdentityExpanded', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')]
- [System.String]
- # A specific upgrade history to rollback
- ${UpgradeHistory},
-
- [Parameter(ParameterSetName='UpgradeViaJsonFilePath', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')]
- [System.String]
- # Path of Json file supplied to the Upgrade operation
- ${JsonFilePath},
-
- [Parameter(ParameterSetName='UpgradeViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')]
- [System.String]
- # Json string supplied to the Upgrade operation
- ${JsonString},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The DefaultProfile parameter is not functional.
- # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
- ${DefaultProfile},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Run the command as a job
- ${AsJob},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Run the command asynchronously
- ${NoWait},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-begin {
- try {
- $outBuffer = $null
- if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
- $PSBoundParameters['OutBuffer'] = 1
- }
- $parameterSet = $PSCmdlet.ParameterSetName
-
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
-
- $context = Get-AzContext
- if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
- }
-
- if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
- }
- $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- if ($preTelemetryId -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
- } else {
- $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- if ($internalCalledCmdlets -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
- } else {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
- }
-
- $mapping = @{
- Upgrade = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterManualRollback_Upgrade';
- UpgradeExpanded = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterManualRollback_UpgradeExpanded';
- UpgradeViaIdentity = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterManualRollback_UpgradeViaIdentity';
- UpgradeViaIdentityClusterpool = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterManualRollback_UpgradeViaIdentityClusterpool';
- UpgradeViaIdentityClusterpoolExpanded = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterManualRollback_UpgradeViaIdentityClusterpoolExpanded';
- UpgradeViaIdentityExpanded = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterManualRollback_UpgradeViaIdentityExpanded';
- UpgradeViaJsonFilePath = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterManualRollback_UpgradeViaJsonFilePath';
- UpgradeViaJsonString = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterManualRollback_UpgradeViaJsonString';
- }
- if (('Upgrade', 'UpgradeExpanded', 'UpgradeViaJsonFilePath', 'UpgradeViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- if ($testPlayback) {
- $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
- } else {
- $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
- }
- }
- $cmdInfo = Get-Command -Name $mapping[$parameterSet]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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.HdInsightOnAks.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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)
- if ($wrappedCmd -eq $null) {
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
- }
- $scriptCmd = {& $wrappedCmd @PSBoundParameters}
- $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
- $steppablePipeline.Begin($PSCmdlet)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-
-process {
- try {
- $steppablePipeline.Process($_)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-
- finally {
- $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
-
-}
-end {
- try {
- $steppablePipeline.End()
-
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
- if ($preTelemetryId -eq '') {
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
-
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-}
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Invoke-AzHdInsightOnAksClusterPoolUpgrade.ps1 b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Invoke-AzHdInsightOnAksClusterPoolUpgrade.ps1
deleted file mode 100644
index b06d949a0ac3..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Invoke-AzHdInsightOnAksClusterPoolUpgrade.ps1
+++ /dev/null
@@ -1,286 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# 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.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-Upgrade a cluster pool.
-.Description
-Upgrade a cluster pool.
-.Example
-$clusterResourceGroupName = "Group"
-$clusterpoolName = "your-clusterpool"
-Invoke-AzHdInsightOnAksClusterPoolUpgrade -ResourceGroupName $clusterResourceGroupName -ClusterPoolName $clusterpoolName -UpgradeType NodeOsUpgrade
-.Example
-$clusterResourceGroupName = "Group"
-$clusterpoolName = "your-clusterpool"
-$upgradeObj = New-AzHdInsightOnAksClusterPoolAksPatchVersionUpgradeObject -TargetAksVersion "1.27.9" -UpgradeClusterPool $true
-Invoke-AzHdInsightOnAksClusterPoolUpgrade -ResourceGroupName $clusterResourceGroupName -ClusterPoolName $clusterpoolName -ClusterPoolUpgradeRequest $upgradeObj
-
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool
-.Notes
-COMPLEX PARAMETER PROPERTIES
-
-To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
-
-CLUSTERPOOLUPGRADEREQUEST : Cluster Pool Upgrade.
- UpgradeType : Type of upgrade.
-
-INPUTOBJECT : Identity Parameter
- [ClusterName ]: The name of the HDInsight cluster.
- [ClusterPoolName ]: The name of the cluster pool.
- [Id ]: Resource identity path
- [Location ]: The name of the Azure region.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
-.Link
-https://learn.microsoft.com/powershell/module/az.hdinsightonaks/invoke-azhdinsightonaksclusterpoolupgrade
-#>
-function Invoke-AzHdInsightOnAksClusterPoolUpgrade {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool])]
-[CmdletBinding(DefaultParameterSetName='UpgradeExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
-param(
- [Parameter(ParameterSetName='Upgrade', Mandatory)]
- [Parameter(ParameterSetName='UpgradeExpanded', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaJsonString', Mandatory)]
- [Alias('ClusterPoolName')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the cluster pool.
- ${Name},
-
- [Parameter(ParameterSetName='Upgrade', Mandatory)]
- [Parameter(ParameterSetName='UpgradeExpanded', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the resource group.
- # The name is case insensitive.
- ${ResourceGroupName},
-
- [Parameter(ParameterSetName='Upgrade')]
- [Parameter(ParameterSetName='UpgradeExpanded')]
- [Parameter(ParameterSetName='UpgradeViaJsonFilePath')]
- [Parameter(ParameterSetName='UpgradeViaJsonString')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String]
- # The ID of the target subscription.
- # The value must be an UUID.
- ${SubscriptionId},
-
- [Parameter(ParameterSetName='UpgradeViaIdentity', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='UpgradeViaIdentityExpanded', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity]
- # Identity Parameter
- ${InputObject},
-
- [Parameter(ParameterSetName='Upgrade', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='UpgradeViaIdentity', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade]
- # Cluster Pool Upgrade.
- ${ClusterPoolUpgradeRequest},
-
- [Parameter(ParameterSetName='UpgradeExpanded', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaIdentityExpanded', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "NodeOsUpgrade")]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')]
- [System.String]
- # Type of upgrade.
- ${UpgradeType},
-
- [Parameter(ParameterSetName='UpgradeViaJsonFilePath', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')]
- [System.String]
- # Path of Json file supplied to the Upgrade operation
- ${JsonFilePath},
-
- [Parameter(ParameterSetName='UpgradeViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')]
- [System.String]
- # Json string supplied to the Upgrade operation
- ${JsonString},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The DefaultProfile parameter is not functional.
- # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
- ${DefaultProfile},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Run the command as a job
- ${AsJob},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Run the command asynchronously
- ${NoWait},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-begin {
- try {
- $outBuffer = $null
- if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
- $PSBoundParameters['OutBuffer'] = 1
- }
- $parameterSet = $PSCmdlet.ParameterSetName
-
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
-
- $context = Get-AzContext
- if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
- }
-
- if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
- }
- $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- if ($preTelemetryId -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
- } else {
- $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- if ($internalCalledCmdlets -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
- } else {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
- }
-
- $mapping = @{
- Upgrade = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterPoolUpgrade_Upgrade';
- UpgradeExpanded = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterPoolUpgrade_UpgradeExpanded';
- UpgradeViaIdentity = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterPoolUpgrade_UpgradeViaIdentity';
- UpgradeViaIdentityExpanded = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterPoolUpgrade_UpgradeViaIdentityExpanded';
- UpgradeViaJsonFilePath = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterPoolUpgrade_UpgradeViaJsonFilePath';
- UpgradeViaJsonString = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterPoolUpgrade_UpgradeViaJsonString';
- }
- if (('Upgrade', 'UpgradeExpanded', 'UpgradeViaJsonFilePath', 'UpgradeViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- if ($testPlayback) {
- $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
- } else {
- $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
- }
- }
- $cmdInfo = Get-Command -Name $mapping[$parameterSet]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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.HdInsightOnAks.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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)
- if ($wrappedCmd -eq $null) {
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
- }
- $scriptCmd = {& $wrappedCmd @PSBoundParameters}
- $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
- $steppablePipeline.Begin($PSCmdlet)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-
-process {
- try {
- $steppablePipeline.Process($_)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-
- finally {
- $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
-
-}
-end {
- try {
- $steppablePipeline.End()
-
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
- if ($preTelemetryId -eq '') {
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
-
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-}
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Invoke-AzHdInsightOnAksClusterUpgrade.ps1 b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Invoke-AzHdInsightOnAksClusterUpgrade.ps1
deleted file mode 100644
index 9cfb2a05734a..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Invoke-AzHdInsightOnAksClusterUpgrade.ps1
+++ /dev/null
@@ -1,314 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# 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.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-Upgrade a cluster.
-.Description
-Upgrade a cluster.
-.Example
-$clusterResourceGroupName = "Group"
-$clusterpoolName = "ps-test-pool"
-$clusterName = "flinkcluster"
-$hotfixObj = New-AzHdInsightOnAksClusterHotfixUpgradeObject -ComponentName Webssh -TargetBuildNumber 7 -TargetClusterVersion "1.1.1" -TargetOssVersion "0.4.2"
-Invoke-AzHdInsightOnAksClusterUpgrade -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName -ClusterUpgradeRequest $hotfixObj
-
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster
-.Notes
-COMPLEX PARAMETER PROPERTIES
-
-To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
-
-CLUSTERPOOLINPUTOBJECT : Identity Parameter
- [ClusterName ]: The name of the HDInsight cluster.
- [ClusterPoolName ]: The name of the cluster pool.
- [Id ]: Resource identity path
- [Location ]: The name of the Azure region.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
-
-CLUSTERUPGRADEREQUEST : Cluster Upgrade.
- UpgradeType : Type of upgrade.
-
-INPUTOBJECT : Identity Parameter
- [ClusterName ]: The name of the HDInsight cluster.
- [ClusterPoolName ]: The name of the cluster pool.
- [Id ]: Resource identity path
- [Location ]: The name of the Azure region.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
-.Link
-https://learn.microsoft.com/powershell/module/az.hdinsightonaks/invoke-azhdinsightonaksclusterupgrade
-#>
-function Invoke-AzHdInsightOnAksClusterUpgrade {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster])]
-[CmdletBinding(DefaultParameterSetName='UpgradeExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
-param(
- [Parameter(ParameterSetName='Upgrade', Mandatory)]
- [Parameter(ParameterSetName='UpgradeExpanded', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaIdentityClusterpool', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaIdentityClusterpoolExpanded', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaJsonString', Mandatory)]
- [Alias('ClusterName')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the HDInsight cluster.
- ${Name},
-
- [Parameter(ParameterSetName='Upgrade', Mandatory)]
- [Parameter(ParameterSetName='UpgradeExpanded', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaJsonString', Mandatory)]
- [Alias('ClusterPoolName')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the cluster pool.
- ${PoolName},
-
- [Parameter(ParameterSetName='Upgrade', Mandatory)]
- [Parameter(ParameterSetName='UpgradeExpanded', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the resource group.
- # The name is case insensitive.
- ${ResourceGroupName},
-
- [Parameter(ParameterSetName='Upgrade')]
- [Parameter(ParameterSetName='UpgradeExpanded')]
- [Parameter(ParameterSetName='UpgradeViaJsonFilePath')]
- [Parameter(ParameterSetName='UpgradeViaJsonString')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String]
- # The ID of the target subscription.
- # The value must be an UUID.
- ${SubscriptionId},
-
- [Parameter(ParameterSetName='UpgradeViaIdentity', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='UpgradeViaIdentityExpanded', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity]
- # Identity Parameter
- ${InputObject},
-
- [Parameter(ParameterSetName='UpgradeViaIdentityClusterpool', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='UpgradeViaIdentityClusterpoolExpanded', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity]
- # Identity Parameter
- ${ClusterpoolInputObject},
-
- [Parameter(ParameterSetName='Upgrade', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='UpgradeViaIdentity', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='UpgradeViaIdentityClusterpool', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade]
- # Cluster Upgrade.
- ${ClusterUpgradeRequest},
-
- [Parameter(ParameterSetName='UpgradeExpanded', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaIdentityClusterpoolExpanded', Mandatory)]
- [Parameter(ParameterSetName='UpgradeViaIdentityExpanded', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "HotfixUpgrade", "PatchVersionUpgrade")]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')]
- [System.String]
- # Type of upgrade.
- ${UpgradeType},
-
- [Parameter(ParameterSetName='UpgradeViaJsonFilePath', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')]
- [System.String]
- # Path of Json file supplied to the Upgrade operation
- ${JsonFilePath},
-
- [Parameter(ParameterSetName='UpgradeViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')]
- [System.String]
- # Json string supplied to the Upgrade operation
- ${JsonString},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The DefaultProfile parameter is not functional.
- # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
- ${DefaultProfile},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Run the command as a job
- ${AsJob},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Run the command asynchronously
- ${NoWait},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-begin {
- try {
- $outBuffer = $null
- if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
- $PSBoundParameters['OutBuffer'] = 1
- }
- $parameterSet = $PSCmdlet.ParameterSetName
-
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
-
- $context = Get-AzContext
- if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
- }
-
- if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
- }
- $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- if ($preTelemetryId -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
- } else {
- $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- if ($internalCalledCmdlets -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
- } else {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
- }
-
- $mapping = @{
- Upgrade = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterUpgrade_Upgrade';
- UpgradeExpanded = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterUpgrade_UpgradeExpanded';
- UpgradeViaIdentity = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterUpgrade_UpgradeViaIdentity';
- UpgradeViaIdentityClusterpool = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterUpgrade_UpgradeViaIdentityClusterpool';
- UpgradeViaIdentityClusterpoolExpanded = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterUpgrade_UpgradeViaIdentityClusterpoolExpanded';
- UpgradeViaIdentityExpanded = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterUpgrade_UpgradeViaIdentityExpanded';
- UpgradeViaJsonFilePath = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterUpgrade_UpgradeViaJsonFilePath';
- UpgradeViaJsonString = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksClusterUpgrade_UpgradeViaJsonString';
- }
- if (('Upgrade', 'UpgradeExpanded', 'UpgradeViaJsonFilePath', 'UpgradeViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- if ($testPlayback) {
- $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
- } else {
- $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
- }
- }
- $cmdInfo = Get-Command -Name $mapping[$parameterSet]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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.HdInsightOnAks.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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)
- if ($wrappedCmd -eq $null) {
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
- }
- $scriptCmd = {& $wrappedCmd @PSBoundParameters}
- $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
- $steppablePipeline.Begin($PSCmdlet)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-
-process {
- try {
- $steppablePipeline.Process($_)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-
- finally {
- $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
-
-}
-end {
- try {
- $steppablePipeline.End()
-
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
- if ($preTelemetryId -eq '') {
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
-
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-}
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Invoke-AzHdInsightOnAksManageClusterLibrary.ps1 b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Invoke-AzHdInsightOnAksManageClusterLibrary.ps1
deleted file mode 100644
index 3b8047d48263..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Invoke-AzHdInsightOnAksManageClusterLibrary.ps1
+++ /dev/null
@@ -1,328 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# 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.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-Library management operations on HDInsight on AKS cluster.
-.Description
-Library management operations on HDInsight on AKS cluster.
-.Example
-$libObj=New-AzHdInsightOnAksClusterMavenLibraryObject -GroupId "com.azure.resourcemanager" -Name "azure-resourcemanager-hdinsight-containers" -Version "1.0.0-beta.2" -Remark "Maven lib"
-Invoke-AzHdInsightOnAksManageClusterLibrary -ResourceGroupName hilocli-test -ClusterPoolName hilopoolwus3 -ClusterName cluster2024521155147 -Action Install -Library $libObj -AsJob
-.Example
-$libObj=New-AzHdInsightOnAksClusterPyPiLibraryObject -Name pandas -Version 2.2.2
-Invoke-AzHdInsightOnAksManageClusterLibrary -ResourceGroupName hilocli-test -ClusterPoolName hilopoolwus3 -ClusterName cluster2024521155147 -Action Uninstall -Library $libObj -AsJob
-
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLibraryManagementOperation
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity
-.Outputs
-System.Boolean
-.Notes
-COMPLEX PARAMETER PROPERTIES
-
-To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
-
-CLUSTERPOOLINPUTOBJECT : Identity Parameter
- [ClusterName ]: The name of the HDInsight cluster.
- [ClusterPoolName ]: The name of the cluster pool.
- [Id ]: Resource identity path
- [Location ]: The name of the Azure region.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
-
-INPUTOBJECT : Identity Parameter
- [ClusterName ]: The name of the HDInsight cluster.
- [ClusterPoolName ]: The name of the cluster pool.
- [Id ]: Resource identity path
- [Location ]: The name of the Azure region.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
-
-LIBRARY : The libraries to be installed/updated/uninstalled.
- PropertiesType : Type of the library.
- [Remark ]: Remark of the latest library management operation.
-
-OPERATION : Library management operation.
- Action : The library management action.
- Library >: The libraries to be installed/updated/uninstalled.
- PropertiesType : Type of the library.
- [Remark ]: Remark of the latest library management operation.
-.Link
-https://learn.microsoft.com/powershell/module/az.hdinsightonaks/invoke-azhdinsightonaksmanageclusterlibrary
-#>
-function Invoke-AzHdInsightOnAksManageClusterLibrary {
-[OutputType([System.Boolean])]
-[CmdletBinding(DefaultParameterSetName='ManageViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
-param(
- [Parameter(ParameterSetName='Manage', Mandatory)]
- [Parameter(ParameterSetName='ManageExpanded', Mandatory)]
- [Parameter(ParameterSetName='ManageViaIdentityClusterpool', Mandatory)]
- [Parameter(ParameterSetName='ManageViaIdentityClusterpoolExpanded', Mandatory)]
- [Parameter(ParameterSetName='ManageViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='ManageViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the HDInsight cluster.
- ${ClusterName},
-
- [Parameter(ParameterSetName='Manage', Mandatory)]
- [Parameter(ParameterSetName='ManageExpanded', Mandatory)]
- [Parameter(ParameterSetName='ManageViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='ManageViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the cluster pool.
- ${ClusterPoolName},
-
- [Parameter(ParameterSetName='Manage', Mandatory)]
- [Parameter(ParameterSetName='ManageExpanded', Mandatory)]
- [Parameter(ParameterSetName='ManageViaJsonFilePath', Mandatory)]
- [Parameter(ParameterSetName='ManageViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [System.String]
- # The name of the resource group.
- # The name is case insensitive.
- ${ResourceGroupName},
-
- [Parameter(ParameterSetName='Manage')]
- [Parameter(ParameterSetName='ManageExpanded')]
- [Parameter(ParameterSetName='ManageViaJsonFilePath')]
- [Parameter(ParameterSetName='ManageViaJsonString')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
- [System.String]
- # The ID of the target subscription.
- # The value must be an UUID.
- ${SubscriptionId},
-
- [Parameter(ParameterSetName='ManageViaIdentity', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='ManageViaIdentityExpanded', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity]
- # Identity Parameter
- ${InputObject},
-
- [Parameter(ParameterSetName='ManageViaIdentityClusterpool', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='ManageViaIdentityClusterpoolExpanded', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity]
- # Identity Parameter
- ${ClusterpoolInputObject},
-
- [Parameter(ParameterSetName='Manage', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='ManageViaIdentity', Mandatory, ValueFromPipeline)]
- [Parameter(ParameterSetName='ManageViaIdentityClusterpool', Mandatory, ValueFromPipeline)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLibraryManagementOperation]
- # Library management operation.
- ${Operation},
-
- [Parameter(ParameterSetName='ManageExpanded', Mandatory)]
- [Parameter(ParameterSetName='ManageViaIdentityClusterpoolExpanded', Mandatory)]
- [Parameter(ParameterSetName='ManageViaIdentityExpanded', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Install", "Uninstall")]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')]
- [System.String]
- # The library management action.
- ${Action},
-
- [Parameter(ParameterSetName='ManageExpanded', Mandatory)]
- [Parameter(ParameterSetName='ManageViaIdentityClusterpoolExpanded', Mandatory)]
- [Parameter(ParameterSetName='ManageViaIdentityExpanded', Mandatory)]
- [AllowEmptyCollection()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLibrary[]]
- # The libraries to be installed/updated/uninstalled.
- ${Library},
-
- [Parameter(ParameterSetName='ManageViaJsonFilePath', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')]
- [System.String]
- # Path of Json file supplied to the Manage operation
- ${JsonFilePath},
-
- [Parameter(ParameterSetName='ManageViaJsonString', Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')]
- [System.String]
- # Json string supplied to the Manage operation
- ${JsonString},
-
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The DefaultProfile parameter is not functional.
- # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
- ${DefaultProfile},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Run the command as a job
- ${AsJob},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Wait for .NET debugger to attach
- ${Break},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be appended to the front of the pipeline
- ${HttpPipelineAppend},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[]]
- # SendAsync Pipeline Steps to be prepended to the front of the pipeline
- ${HttpPipelinePrepend},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Run the command asynchronously
- ${NoWait},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Uri]
- # The URI for the proxy server to use
- ${Proxy},
-
- [Parameter(DontShow)]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.PSCredential]
- # Credentials for a proxy server to use for the remote call
- ${ProxyCredential},
-
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
- # Use the default credentials for the proxy
- ${ProxyUseDefaultCredentials}
-)
-
-begin {
- try {
- $outBuffer = $null
- if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
- $PSBoundParameters['OutBuffer'] = 1
- }
- $parameterSet = $PSCmdlet.ParameterSetName
-
- $testPlayback = $false
- $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
-
- $context = Get-AzContext
- if (-not $context -and -not $testPlayback) {
- Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
- exit
- }
-
- if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
- [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
- }
- $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- if ($preTelemetryId -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
- } else {
- $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- if ($internalCalledCmdlets -eq '') {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
- } else {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
- }
-
- $mapping = @{
- Manage = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksManageClusterLibrary_Manage';
- ManageExpanded = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksManageClusterLibrary_ManageExpanded';
- ManageViaIdentity = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksManageClusterLibrary_ManageViaIdentity';
- ManageViaIdentityClusterpool = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksManageClusterLibrary_ManageViaIdentityClusterpool';
- ManageViaIdentityClusterpoolExpanded = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksManageClusterLibrary_ManageViaIdentityClusterpoolExpanded';
- ManageViaIdentityExpanded = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksManageClusterLibrary_ManageViaIdentityExpanded';
- ManageViaJsonFilePath = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksManageClusterLibrary_ManageViaJsonFilePath';
- ManageViaJsonString = 'Az.HdInsightOnAks.private\Invoke-AzHdInsightOnAksManageClusterLibrary_ManageViaJsonString';
- }
- if (('Manage', 'ManageExpanded', 'ManageViaJsonFilePath', 'ManageViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
- if ($testPlayback) {
- $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
- } else {
- $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
- }
- }
- $cmdInfo = Get-Command -Name $mapping[$parameterSet]
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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.HdInsightOnAks.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.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)
- if ($wrappedCmd -eq $null) {
- $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
- }
- $scriptCmd = {& $wrappedCmd @PSBoundParameters}
- $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
- $steppablePipeline.Begin($PSCmdlet)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-
-process {
- try {
- $steppablePipeline.Process($_)
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-
- finally {
- $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
- $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
-
-}
-end {
- try {
- $steppablePipeline.End()
-
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
- if ($preTelemetryId -eq '') {
- [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- }
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
-
- } catch {
- [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
- throw
- }
-}
-}
diff --git a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksCluster.ps1 b/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksCluster.ps1
deleted file mode 100644
index 8a6cf7972ea1..000000000000
--- a/generated/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksCluster.ps1
+++ /dev/null
@@ -1,1621 +0,0 @@
-
-# ----------------------------------------------------------------------------------
-# 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.
-# ----------------------------------------------------------------------------------
-
-<#
-.Synopsis
-create a cluster.
-.Description
-create a cluster.
-.Example
-# Create Simple Trino Cluster
-$clusterPoolName="{your cluster pool name}";
-$resourceGroupName="{your resource group name}";
-$location="West US 2";
-
-$clusterType="Trino"
-# Get available cluster version based the command Get-AzHdInsightOnAksAvailableClusterVersion
-$clusterVersion= (Get-AzHdInsightOnAksAvailableClusterVersion -Location $location | Where-Object {$_.ClusterType -eq $clusterType})[0]
-
-$msiResourceId="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/{your resource group name}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{your msi}";
-$msiClientId="00000000-0000-0000-0000-000000000000";
-$msiObjectId="00000000-0000-0000-0000-000000000000";
-
-$userId="00000000-0000-0000-0000-000000000000";
-
-# create node profile
-$vmSize="Standard_E8ads_v5";
-$workerCount=5;
-
-$nodeProfile = New-AzHdInsightOnAksNodeProfileObject -Type Worker -Count $workerCount -VMSize $vmSize
-
-$clusterName="{your cluster name}";
-
-
-New-AzHdInsightOnAksCluster -Name $clusterName `
- -PoolName $clusterPoolName `
- -ResourceGroupName $resourceGroupName `
- -Location $location `
- -ClusterType $clusterType `
- -ClusterVersion $clusterVersion.ClusterVersionValue `
- -OssVersion $clusterVersion.OssVersion `
- -AssignedIdentityResourceId $msiResourceId `
- -AssignedIdentityClientId $msiClientId `
- -AssignedIdentityObjectId $msiObjectId `
- -ComputeProfileNode $nodeProfile `
- -AuthorizationUserId $userId
-.Example
-# Create trino cluster with Hive catalog
-$clusterPoolName="{your cluster pool name}";
-$resourceGroupName="{your resource group name}";
-$location="West US 2";
-
-$clusterType="Trino"
-# Get available cluster version based the command Get-AzHdInsightOnAksAvailableClusterVersion
-$clusterVersion= (Get-AzHdInsightOnAksAvailableClusterVersion -Location $location | Where-Object {$_.ClusterType -eq $clusterType})[0]
-
-# user msi related parameters
-$msiResourceId="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/{your resource group name}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{your msi}";
-$msiClientId="00000000-0000-0000-0000-000000000000";
-$msiObjectId="00000000-0000-0000-0000-000000000000";
-
-# cluster authorization information
-$userId="00000000-0000-0000-0000-000000000000";
-
-# create node profile
-$vmSize="Standard_E8ads_v5";
-$workerCount=5;
-
-$nodeProfile = New-AzHdInsightOnAksNodeProfileObject -Type Worker -Count $workerCount -VMSize $vmSize
-
-$keyVaultResourceId="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/{your resource group name}/providers/Microsoft.KeyVault/vaults/{your vault name}";
-$secretName="{your secret name}"
-$referenceName="{your secret reference name}";
-
-$secretReference=New-AzHdInsightOnAksSecretReferenceObject -SecretName $secretName -ReferenceName $referenceName
-
-#hive catalog configuration
-
-$catalogName="{your catalog name}"
-$metastoreDbConnectionURL="jdbc:sqlserver://{your sql server url};database={your db name};encrypt=true;trustServerCertificate=true;loginTimeout=30;";
-$metastoreDbUserName="{your db user name}";
-$metastoreDbPasswordSecret=$secretName;
-$metastoreWarehouseDir="abfs://{your container name}@{your adls gen2 endpoint}/{your path}";
-
-$trinoHiveCatalogOption=New-AzHdInsightOnAksTrinoHiveCatalogObject -CatalogName $catalogName -MetastoreDbConnectionUrl $metastoreDbConnectionURL -MetastoreDbConnectionUserName $metastoreDbUserName -MetastoreDbConnectionPasswordSecret $metastoreDbPasswordSecret -MetastoreWarehouseDir $metastoreWarehouseDir
-
-$clusterName="{your cluster name}";
-
-
-New-AzHdInsightOnAksCluster -Name $clusterName `
- -PoolName $clusterPoolName `
- -ResourceGroupName $resourceGroupName `
- -Location $location `
- -ClusterType $clusterType `
- -ClusterVersion $clusterVersion.ClusterVersionValue `
- -OssVersion $clusterVersion.OssVersion `
- -AssignedIdentityResourceId $msiResourceId `
- -AssignedIdentityClientId $msiClientId `
- -AssignedIdentityObjectId $msiObjectId `
- -ComputeProfileNode $nodeProfile `
- -AuthorizationUserId $userId `
- -KeyVaultResourceId $keyVaultResourceId `
- -SecretReference $secretReference `
- -TrinoHiveCatalog $trinoHiveCatalogOption
-.Example
-$clusterPoolName="{your cluster pool name}";
-$resourceGroupName="{your resource group name}";
-$location="West US 2";
-
-$clusterType="Spark"
-# Get available cluster version based the command Get-AzHdInsightOnAksAvailableClusterVersion
-$clusterVersion= (Get-AzHdInsightOnAksAvailableClusterVersion -Location $location | Where-Object {$_.ClusterType -eq $clusterType})[0]
-
-$msiResourceId="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/{your resource group name}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{your msi}";
-$msiClientId="00000000-0000-0000-0000-000000000000";
-$msiObjectId="00000000-0000-0000-0000-000000000000";
-
-$userId="00000000-0000-0000-0000-000000000000";
-
-# create node profile
-$vmSize="Standard_E8d_v5";
-$workerCount=5;
-
-$nodeProfile = New-AzHdInsightOnAksNodeProfileObject -Type Worker -Count $workerCount -VMSize $vmSize
-
-$sparkStorageUrl="abfs://{your container name}@{your adls gen2 endpoint}"
-
-$clusterName="{your cluster name}";
-
-
-New-AzHdInsightOnAksCluster -Name $clusterName `
- -PoolName $clusterPoolName `
- -ResourceGroupName $resourceGroupName `
- -Location $location `
- -ClusterType $clusterType `
- -ClusterVersion $clusterVersion.ClusterVersionValue `
- -OssVersion $clusterVersion.OssVersion `
- -AssignedIdentityResourceId $msiResourceId `
- -AssignedIdentityClientId $msiClientId `
- -AssignedIdentityObjectId $msiObjectId `
- -ComputeProfileNode $nodeProfile `
- -AuthorizationUserId $userId `
- -SparkStorageUrl $sparkStorageUrl
-.Example
-$clusterPoolName="{your cluster pool name}";
-$resourceGroupName="{your resource group name}";
-$location="West US 2";
-
-$clusterType="Spark"
-# Get available cluster version based the command Get-AzHdInsightOnAksAvailableClusterVersion
-$clusterVersion= (Get-AzHdInsightOnAksAvailableClusterVersion -Location $location | Where-Object {$_.ClusterType -eq $clusterType})[0]
-
-$msiResourceId="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/{your resource group name}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{your msi}";
-$msiClientId="00000000-0000-0000-0000-000000000000";
-$msiObjectId="00000000-0000-0000-0000-000000000000";
-
-$userId="00000000-0000-0000-0000-000000000000";
-
-# create node profile
-$vmSize="Standard_E8s_v3";
-$workerCount=5;
-$nodeProfile = New-AzHdInsightOnAksNodeProfileObject -Type Worker -Count $workerCount -VMSize $vmSize
-
-# secret profile
-$keyVaultResourceId="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/{your resource group name}/providers/Microsoft.KeyVault/vaults/{your vault name}";
-$secretName="{your secret name}"
-$referenceName="{your secret reference name}";
-
-$secretReference=New-AzHdInsightOnAksSecretReferenceObject -SecretName $secretName -ReferenceName $referenceName
-
-# Spark config
-$sparkStorageUrl="abfs://{your container}@{your adls gen2 endpoint}" # example abfs://container@adlsgen2storage.dfs.core.windows.net
-
-# Spark Hive catalog config
-$metastoreDbName="{your db name}"
-$metastoreServerName="{your sql server endpoint}" # example: server1.database.windows.net
-$metastoreDbUserName="{your db user name}"
-$metastoreDbPasswordSecret=$secretName
-
-$clusterName="{your cluster name}";
-
-New-AzHdInsightOnAksCluster -Name $clusterName `
- -PoolName $clusterPoolName `
- -ResourceGroupName $resourceGroupName `
- -Location $location `
- -ClusterType $clusterType `
- -ClusterVersion $clusterVersion.ClusterVersionValue `
- -OssVersion $clusterVersion.OssVersion `
- -AssignedIdentityResourceId $msiResourceId `
- -AssignedIdentityClientId $msiClientId `
- -AssignedIdentityObjectId $msiObjectId `
- -ComputeProfileNode $nodeProfile `
- -AuthorizationUserId $userId `
- -KeyVaultResourceId $keyVaultResourceId `
- -SecretReference $secretReference `
- -SparkStorageUrl $sparkStorageUrl `
- -SparkHiveCatalogDbName $metastoreDbName `
- -SparkHiveCatalogDbPasswordSecretName $metastoreDbPasswordSecret `
- -SparkHiveCatalogDbServerName $metastoreServerName `
- -SparkHiveCatalogDbUserName $metastoreDbUserName `
- -SparkHiveCatalogKeyVaultId $keyVaultResourceId
-.Example
-$clusterPoolName="{your cluster pool name}";
-$resourceGroupName="{your resource group name}";
-$location="West US 2";
-
-$clusterType="Flink"
-# Get available cluster version based the command Get-AzHdInsightOnAksAvailableClusterVersion
-$clusterVersion= (Get-AzHdInsightOnAksAvailableClusterVersion -Location $location | Where-Object {$_.ClusterType -eq $clusterType})[0]
-
-$msiResourceId="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/{your resource group name}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{your msi}";
-$msiClientId="00000000-0000-0000-0000-000000000000";
-$msiObjectId="00000000-0000-0000-0000-000000000000";
-
-$userId="00000000-0000-0000-0000-000000000000";
-
-# create node profile
-$vmSize="Standard_E8d_v5";
-$workerCount=5;
-
-$nodeProfile = New-AzHdInsightOnAksNodeProfileObject -Type Worker -Count $workerCount -VMSize $vmSize
-
-# Flink config
-$flinkStorageUrl="abfs://{your container}@{your adls gen2 endpoint}" # example abfs://container@adlsgen2storage.dfs.core.windows.net
-$taskManagerCpu=1
-$taskManagerMemory=4096 # memory in MB
-
-$jobManagerCpu=1
-$jobManagerMemory=4096 # memory in MB
-
-$clusterName="{your cluster name}";
-
-New-AzHdInsightOnAksCluster -Name $clusterName `
- -PoolName $clusterPoolName `
- -ResourceGroupName $resourceGroupName `
- -Location $location `
- -ClusterType $clusterType `
- -ClusterVersion $clusterVersion.ClusterVersionValue `
- -OssVersion $clusterVersion.OssVersion `
- -AssignedIdentityResourceId $msiResourceId `
- -AssignedIdentityClientId $msiClientId `
- -AssignedIdentityObjectId $msiObjectId `
- -ComputeProfileNode $nodeProfile `
- -AuthorizationUserId $userId `
- -FlinkStorageUrl $flinkStorageUrl `
- -JobManagerCpu $jobManagerCpu `
- -JobManagerMemory $jobManagerMemory `
- -TaskManagerCpu $taskManagerCpu `
- -TaskManagerMemory $taskManagerMemory
-.Example
-$clusterPoolName="{your cluster pool name}";
-$resourceGroupName="{your resource group name}";
-$location="West US 2";
-
-$clusterType="Flink"
-# Get available cluster version based the command Get-AzHdInsightOnAksAvailableClusterVersion
-$clusterVersion= (Get-AzHdInsightOnAksAvailableClusterVersion -Location $location | Where-Object {$_.ClusterType -eq $clusterType})[0]
-
-$msiResourceId="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/{your resource group name}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{your msi}";
-$msiClientId="00000000-0000-0000-0000-000000000000";
-$msiObjectId="00000000-0000-0000-0000-000000000000";
-
-$userId="00000000-0000-0000-0000-000000000000";
-
-# create node profile
-$vmSize="Standard_E8d_v5";
-$workerCount=5;
-
-$nodeProfile = New-AzHdInsightOnAksNodeProfileObject -Type Worker -Count $workerCount -VMSize $vmSize
-
-# Flink config
-$flinkStorageUrl="abfs://{your container}@{your adls gen2 endpoint}" # example abfs://container@adlsgen2storage.dfs.core.windows.net
-$taskManagerCpu=1
-$taskManagerMemory=4096 # memory in MB
-
-$jobManagerCpu=1
-$jobManagerMemory=4096 # memory in MB
-
-# secret profile
-$keyVaultResourceId="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/{your resource group name}/providers/Microsoft.KeyVault/vaults/{your vault name}";
-$secretName="{your secret name}"
-$referenceName="{your secret reference name}";
-
-$secretReference=New-AzHdInsightOnAksSecretReferenceObject -SecretName $secretName -ReferenceName $referenceName
-
-# Flink hive catalog config
-$metastoreDbConnectionUrl="jdbc:sqlserver://{your sql server url};database={your db name};encrypt=true;trustServerCertificate=true;loginTimeout=30;";
-$metastoreDbUserName="{your db user name}"
-$metastoreDbPasswordSecret=$secretName
-
-$clusterName="{your cluster name}";
-
-New-AzHdInsightOnAksCluster -Name $clusterName `
- -PoolName $clusterPoolName `
- -ResourceGroupName $resourceGroupName `
- -Location $location `
- -ClusterType $clusterType `
- -ClusterVersion $clusterVersion.ClusterVersionValue `
- -OssVersion $clusterVersion.OssVersion `
- -AssignedIdentityResourceId $msiResourceId `
- -AssignedIdentityClientId $msiClientId `
- -AssignedIdentityObjectId $msiObjectId `
- -ComputeProfileNode $nodeProfile `
- -AuthorizationUserId $userId `
- -KeyVaultResourceId $keyVaultResourceId `
- -SecretReference $secretReference `
- -FlinkStorageUrl $flinkStorageUrl `
- -JobManagerCpu $jobManagerCpu `
- -JobManagerMemory $jobManagerMemory `
- -TaskManagerCpu $taskManagerCpu `
- -TaskManagerMemory $taskManagerMemory `
- -FlinkHiveCatalogDbConnectionUrl $metastoreDbConnectionUrl `
- -FlinkHiveCatalogDbUserName $metastoreDbUserName `
- -FlinkHiveCatalogDbPasswordSecretName $metastoreDbPasswordSecret
-
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster
-.Inputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity
-.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster
-.Notes
-COMPLEX PARAMETER PROPERTIES
-
-To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
-
-CLUSTERPOOLINPUTOBJECT : Identity Parameter
- [ClusterName ]: The name of the HDInsight cluster.
- [ClusterPoolName ]: The name of the cluster pool.
- [Id ]: Resource identity path
- [Location ]: The name of the Azure region.
- [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
- [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
-
-COMPUTEPROFILENODE : The nodes definitions.
- Count : The number of virtual machines.
- Type : The node type.
- VMSize : The virtual machine SKU.
-
-HDINSIGHTONAKSCLUSTER : The cluster.
- Location : The geo-location where the resource lives
- [Tag ]: Resource tags.
- [(Any) ]: This indicates any property can be added to this object.
- [AccessProfileEnableInternalIngress ]: Whether to create cluster using private IP instead of public IP. This property must be set at create time.
- [ApplicationLogStdErrorEnabled ]: True if stderror is enabled, otherwise false.
- [ApplicationLogStdOutEnabled ]: True if stdout is enabled, otherwise false.
- [AuthorizationProfileGroupId >]: AAD group Ids authorized for data plane access.
- [AuthorizationProfileUserId >]: AAD user Ids authorized for data plane access.
- [AutoscaleProfileAutoscaleType ]: User to specify which type of Autoscale to be implemented - Scheduled Based or Load Based.
- [AutoscaleProfileEnabled ]: This indicates whether auto scale is enabled on HDInsight on AKS cluster.
- [AutoscaleProfileGracefulDecommissionTimeout ]: This property is for graceful decommission timeout; It has a default setting of 3600 seconds before forced shutdown takes place. This is the maximal time to wait for running containers and applications to complete before transition a DECOMMISSIONING node into DECOMMISSIONED. The default value is 3600 seconds. Negative value (like -1) is handled as infinite timeout.
- [ClusterType ]: The type of cluster.
- [ComputeProfileAvailabilityZone >]: The list of Availability zones to use for AKS VMSS nodes.
- [ComputeProfileNode >]: The nodes definitions.
- Count : The number of virtual machines.
- Type : The node type.
- VMSize : The virtual machine SKU.
- [CoordinatorDebugEnable ]: The flag that if enable debug or not.
- [CoordinatorDebugPort ]: The debug port.
- [CoordinatorDebugSuspend ]: The flag that if suspend debug or not.
- [CoordinatorHighAvailabilityEnabled ]: The flag that if enable coordinator HA, uses multiple coordinator replicas with auto failover, one per each head node. Default: true.
- [DatabaseHost ]: The database URL
- [DatabaseName ]: The database name
- [DatabasePasswordSecretRef ]: Reference for the database password
- [DatabaseUsername ]: The name of the database user
- [DiskStorageDataDiskSize ]: Managed Disk size in GB. The maximum supported disk size for Standard and Premium HDD/SSD is 32TB, except for Premium SSD v2, which supports up to 64TB.
- [DiskStorageDataDiskType ]: Managed Disk Type.
- [FlinkProfileDeploymentMode ]: A string property that indicates the deployment mode of Flink cluster. It can have one of the following enum values => Application, Session. Default value is Session
- [FlinkProfileNumReplica ]: The number of task managers.
- [HistoryServerCpu ]: The required CPU.
- [HistoryServerMemory ]: The required memory in MB, Container memory will be 110 percentile
- [HiveMetastoreDbConnectionAuthenticationMode ]: The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manage?view=azuresql#authentication-and-authorization
- [HiveMetastoreDbConnectionPasswordSecret ]: Secret reference name from secretsProfile.secrets containing password for database connection.
- [HiveMetastoreDbConnectionUrl ]: Connection string for hive metastore database.
- [HiveMetastoreDbConnectionUserName ]: User name for database connection.
- [IdentityProfileMsiClientId ]: ClientId of the MSI.
- [IdentityProfileMsiObjectId ]: ObjectId of the MSI.
- [IdentityProfileMsiResourceId ]: ResourceId of the MSI.
- [JobManagerCpu ]: The required CPU.
- [JobManagerMemory ]: The required memory in MB, Container memory will be 110 percentile
- [JobSpecArg ]: A string property representing additional JVM arguments for the Flink job. It should be space separated value.
- [JobSpecEntryClass ]: A string property that specifies the entry class for the Flink job. If not specified, the entry point is auto-detected from the flink job jar package.
- [JobSpecJarName ]: A string property that represents the name of the job JAR.
- [JobSpecJobJarDirectory ]: A string property that specifies the directory where the job JAR is located.
- [JobSpecSavePointName ]: A string property that represents the name of the savepoint for the Flink job
- [JobSpecUpgradeMode ]: A string property that indicates the upgrade mode to be performed on the Flink job. It can have one of the following enum values => STATELESS_UPDATE, UPDATE, LAST_STATE_UPDATE.
- [KafkaProfileEnableKRaft ]: Expose Kafka cluster in KRaft mode.
- [KafkaProfileEnablePublicEndpoint ]: Expose worker nodes as public endpoints.
- [KafkaProfileRemoteStorageUri ]: Fully qualified path of Azure Storage container used for Tiered Storage.
- [LoadBasedConfigCooldownPeriod ]: This is a cool down period, this is a time period in seconds, which determines the amount of time that must elapse between a scaling activity started by a rule and the start of the next scaling activity, regardless of the rule that triggers it. The default value is 300 seconds.
- [LoadBasedConfigMaxNode ]: User needs to set the maximum number of nodes for load based scaling, the load based scaling will use this to scale up and scale down between minimum and maximum number of nodes.
- [LoadBasedConfigMinNode ]: User needs to set the minimum number of nodes for load based scaling, the load based scaling will use this to scale up and scale down between minimum and maximum number of nodes.
- [LoadBasedConfigPollInterval ]: User can specify the poll interval, this is the time period (in seconds) after which scaling metrics are polled for triggering a scaling operation.
- [LoadBasedConfigScalingRule >]: The scaling rules.
- ActionType : The action type.
- ComparisonRuleOperator : The comparison operator.
- ComparisonRuleThreshold : Threshold setting.
- EvaluationCount : This is an evaluation count for a scaling condition, the number of times a trigger condition should be successful, before scaling activity is triggered.
- ScalingMetric : Metrics name for individual workloads. For example: cpu
- [LogAnalyticProfileEnabled ]: True if log analytics is enabled for the cluster, otherwise false.
- [LogAnalyticProfileMetricsEnabled ]: True if metrics are enabled, otherwise false.
- [ManagedIdentityProfileIdentityList >]: The list of managed identity.
- ClientId : ClientId of the managed identity.
- ObjectId : ObjectId of the managed identity.
- ResourceId : ResourceId of the managed identity.
- Type : The type of managed identity.
- [MetastoreSpecDbConnectionAuthenticationMode ]: The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manage?view=azuresql#authentication-and-authorization
- [MetastoreSpecDbName ]: The database name.
- [MetastoreSpecDbPasswordSecretName ]: The secret name which contains the database user password.
- [MetastoreSpecDbServerHost ]: The database server host.
- [MetastoreSpecDbUserName ]: The database user name.
- [MetastoreSpecKeyVaultId ]: The key vault resource id.
- [MetastoreSpecThriftUrl ]: The thrift url.
- [ProfileClusterVersion ]: Version with 3/4 part.
- [ProfileLlapProfile ]: LLAP cluster profile.
- [(Any)