diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.format.ps1xml b/src/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.format.ps1xml index 04bcc3ef12b3..82e201d65728 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.format.ps1xml +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.format.ps1xml @@ -97,6 +97,286 @@ + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAccessProfile + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAccessProfile#Multiple + + + + + + + + + + + + + + + EnableInternalIngress + + + PrivateLinkServiceId + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAksPatchVersionUpgradeProperties + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAksPatchVersionUpgradeProperties#Multiple + + + + + + + + + + + + UpgradeType + + + + + + + + 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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + UpgradeType + + + ComponentName + + + CreatedTime + + + Description + + + ExtendedProperty + + + Severity + + + SourceBuildNumber + + + SourceClusterVersion + + + SourceOssVersion + + + TargetBuildNumber + + + TargetClusterVersion + + + TargetOssVersion + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeList + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeList#Multiple + + + + + + + + + + + + NextLink + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeProperties + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeProperties#Multiple + + + + + + + + + + + + UpgradeType + + + + + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterComponentsItem @@ -187,6 +467,52 @@ + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterHotfixUpgradeProperties + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterHotfixUpgradeProperties#Multiple + + + + + + + + + + + + + + + + + + + + + + + + UpgradeType + + + ComponentName + + + TargetBuildNumber + + + TargetClusterVersion + + + TargetOssVersion + + + + + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewPropertiesStatus @@ -498,15 +824,74 @@ - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatch + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchTags - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatch#Multiple + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchTags#Multiple - + + + + + + + Item + + + + + + + + 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 + + + @@ -532,9 +917,6 @@ - - Location - Name @@ -561,6 +943,118 @@ + + 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 @@ -624,6 +1118,12 @@ + + + + + + @@ -631,6 +1131,12 @@ + + EnablePrivateApiServer + + + OutboundType + SubnetId @@ -639,6 +1145,28 @@ + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolNodeOSImageUpdateProperties + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolNodeOSImageUpdateProperties#Multiple + + + + + + + + + + + + UpgradeType + + + + + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolProfile @@ -838,6 +1366,12 @@ + + + + + + @@ -845,6 +1379,12 @@ + + EnablePrivateApiServer + + + OutboundType + SubnetId @@ -853,6 +1393,28 @@ + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgradeProperties + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgradeProperties#Multiple + + + + + + + + + + + + UpgradeType + + + + + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolVersionProperties @@ -912,25 +1474,47 @@ Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfile - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfile#Multiple + 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 - - - - + - ClusterVersion - - - OssVersion + Enabled @@ -938,9 +1522,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfile + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfile - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfile#Multiple + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfile#Multiple @@ -1107,6 +1691,28 @@ + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradeProperties + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradeProperties#Multiple + + + + + + + + + + + + UpgradeType + + + + + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterVersionProperties @@ -1241,6 +1847,9 @@ + + + @@ -1248,6 +1857,37 @@ Fqdn + + PrivateFqdn + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.DiskStorageProfile + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.DiskStorageProfile#Multiple + + + + + + + + + + + + + + + DataDiskSize + + + DataDiskType + @@ -1294,6 +1934,9 @@ + + + @@ -1307,6 +1950,9 @@ + + MetastoreDbConnectionAuthenticationMode + MetastoreDbConnectionPasswordSecret @@ -1321,6 +1967,58 @@ + + 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 @@ -1361,6 +2059,9 @@ + + + @@ -1404,6 +2105,9 @@ LastSavePoint + + RunId + SavePointName @@ -1444,6 +2148,9 @@ + + + @@ -1451,6 +2158,9 @@ + + DeploymentMode + NumReplica @@ -1543,6 +2253,9 @@ + + + @@ -1562,6 +2275,9 @@ CatalogName + + MetastoreDbConnectionAuthenticationMode + MetastoreDbConnectionPasswordSecret @@ -1613,6 +2329,62 @@ + + 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 @@ -1897,6 +2669,102 @@ + + 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 @@ -2322,6 +3190,9 @@ + + + @@ -2344,6 +3215,9 @@ + + DbConnectionAuthenticationMode + DbName @@ -2421,6 +3295,9 @@ + + + @@ -2428,6 +3305,9 @@ Endpoint + + PrivateSshEndpoint + @@ -2761,6 +3641,9 @@ + + + @@ -2768,6 +3651,9 @@ Fqdn + + PrivateFqdn + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.psd1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.psd1 index e0624b5e8352..108bbef45f77 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.psd1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.psd1 @@ -1,153 +1,23 @@ -# -# Module manifest for module 'Az.HdInsightOnAks' -# -# Generated by: Microsoft Corporation -# -# Generated on: 9/19/2023 -# - @{ - -# Script module or binary module file associated with this manifest. -RootModule = './Az.HdInsightOnAks.psm1' - -# Version number of this module. -ModuleVersion = '0.1.0' - -# Supported PSEditions -CompatiblePSEditions = 'Core', 'Desktop' - -# ID used to uniquely identify this module -GUID = '5d9ea51e-3614-409d-b09a-9188a642e11c' - -# Author of this module -Author = 'Microsoft Corporation' - -# Company or vendor of this module -CompanyName = 'Microsoft Corporation' - -# Copyright statement for this module -Copyright = 'Microsoft Corporation. All rights reserved.' - -# Description of the functionality provided by this module -Description = 'Microsoft Azure PowerShell: HdInsightOnAks cmdlets' - -# Minimum version of the PowerShell engine required by this module -PowerShellVersion = '5.1' - -# Name of the PowerShell host required by this module -# PowerShellHostName = '' - -# Minimum version of the PowerShell host required by this module -# PowerShellHostVersion = '' - -# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only. -DotNetFrameworkVersion = '4.7.2' - -# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only. -# ClrVersion = '' - -# Processor architecture (None, X86, Amd64) required by this module -# ProcessorArchitecture = '' - -# Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.13.0'; }) - -# Assemblies that must be loaded prior to importing this module -RequiredAssemblies = './bin/Az.HdInsightOnAks.private.dll' - -# Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() - -# Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() - -# Format files (.ps1xml) to be loaded when importing this module -FormatsToProcess = './Az.HdInsightOnAks.format.ps1xml' - -# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess -# NestedModules = @() - -# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. -FunctionsToExport = 'Get-AzHdInsightOnAksAvailableClusterPoolVersion', - 'Get-AzHdInsightOnAksAvailableClusterVersion', - 'Get-AzHdInsightOnAksCluster', - 'Get-AzHdInsightOnAksClusterInstanceView', - 'Get-AzHdInsightOnAksClusterJob', 'Get-AzHdInsightOnAksClusterPool', - 'Get-AzHdInsightOnAksClusterServiceConfig', - 'New-AzHdInsightOnAksCluster', - 'New-AzHdInsightOnAksClusterConfigFileObject', - 'New-AzHdInsightOnAksClusterPool', - 'New-AzHdInsightOnAksClusterServiceConfigObject', - 'New-AzHdInsightOnAksClusterServiceConfigsProfileObject', - 'New-AzHdInsightOnAksFlinkJobObject', - 'New-AzHdInsightOnAksNodeProfileObject', - 'New-AzHdInsightOnAksSecretReferenceObject', - 'New-AzHdInsightOnAksTrinoHiveCatalogObject', - 'Remove-AzHdInsightOnAksCluster', - 'Remove-AzHdInsightOnAksClusterPool', - 'Resize-AzHdInsightOnAksCluster', 'Set-AzHdInsightOnAksClusterPool', - 'Start-AzHdInsightOnAksClusterJob', - 'Test-AzHdInsightOnAksLocationNameAvailability', - 'Update-AzHdInsightOnAksCluster', - 'Update-AzHdInsightOnAksClusterPoolTag' - -# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. -CmdletsToExport = @() - -# Variables to export from this module -# VariablesToExport = @() - -# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export. -AliasesToExport = @() - -# DSC resources to export from this module -# DscResourcesToExport = @() - -# List of all modules packaged with this module -# ModuleList = @() - -# List of all files packaged with this module -# FileList = @() - -# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell. -PrivateData = @{ - + GUID = '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-AzHdInsightOnAksClusterPool', 'Get-AzHdInsightOnAksClusterPoolAvailableUpgrade', 'Get-AzHdInsightOnAksClusterServiceConfig', 'New-AzHdInsightOnAksCluster', 'New-AzHdInsightOnAksClusterConfigFileObject', 'New-AzHdInsightOnAksClusterHotfixUpgradeObject', 'New-AzHdInsightOnAksClusterPool', 'New-AzHdInsightOnAksClusterPoolAKSUpgradeObject', 'New-AzHdInsightOnAksClusterServiceConfigObject', 'New-AzHdInsightOnAksClusterServiceConfigsProfileObject', 'New-AzHdInsightOnAksFlinkJobObject', 'New-AzHdInsightOnAksNodeProfileObject', 'New-AzHdInsightOnAksSecretReferenceObject', 'New-AzHdInsightOnAksTrinoHiveCatalogObject', 'Remove-AzHdInsightOnAksCluster', 'Remove-AzHdInsightOnAksClusterPool', 'Resize-AzHdInsightOnAksCluster', 'Set-AzHdInsightOnAksClusterPool', 'Start-AzHdInsightOnAksClusterJob', 'Test-AzHdInsightOnAksLocationNameAvailability', 'Update-AzHdInsightOnAksCluster', 'Update-AzHdInsightOnAksClusterPool', 'Update-AzHdInsightOnAksClusterPoolTag' + PrivateData = @{ PSData = @{ - - # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','HdInsightOnAks' - - # A URL to the license for this module. - LicenseUri = 'https://aka.ms/azps-license' - - # A URL to the main website for this project. - ProjectUri = 'https://github.com/Azure/azure-powershell' - - # A URL to an icon representing this module. - # IconUri = '' - - # ReleaseNotes of this module - # ReleaseNotes = '' - - # Prerelease string of this module - # Prerelease = '' - - # Flag to indicate whether the module requires explicit user acceptance for install/update/save - # RequireLicenseAcceptance = $false - - # External dependent modules of this module - # ExternalModuleDependencies = @() - - } # End of PSData hashtable - - } # End of PrivateData hashtable - -# HelpInfo URI of this module -# HelpInfoURI = '' - -# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix. -# DefaultCommandPrefix = '' - + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'HdInsightOnAks' + LicenseUri = 'https://aka.ms/azps-license' + ProjectUri = 'https://github.com/Azure/azure-powershell' + ReleaseNotes = '' + } + } } - diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.psm1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.psm1 index e0b691b16335..1c74566d1a02 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.psm1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/Az.HdInsightOnAks.psm1 @@ -47,37 +47,41 @@ # Ask for the shared functionality table $VTable = Register-AzModule - + # Tweaks the pipeline on module load $instance.OnModuleLoad = $VTable.OnModuleLoad # Following two delegates are added for telemetry $instance.GetTelemetryId = $VTable.GetTelemetryId $instance.Telemetry = $VTable.Telemetry - + + # Delegate to sanitize the output object + $instance.SanitizeOutput = $VTable.SanitizerHandler + + # Delegate to get the telemetry info + $instance.GetTelemetryInfo = $VTable.GetTelemetryInfo # Tweaks the pipeline per call $instance.OnNewRequest = $VTable.OnNewRequest - + # Gets shared parameter values $instance.GetParameterValue = $VTable.GetParameterValue - + # Allows shared module to listen to events from this module $instance.EventListener = $VTable.EventListener - + # Gets shared argument completers $instance.ArgumentCompleter = $VTable.ArgumentCompleter - + # The name of the currently selected Azure profile $instance.ProfileName = $VTable.ProfileName - # Load the custom module $customModulePath = Join-Path $PSScriptRoot './custom/Az.HdInsightOnAks.custom.psm1' if(Test-Path $customModulePath) { $null = Import-Module -Name $customModulePath } - + # Export nothing to clear implicit exports Export-ModuleMember @@ -97,12 +101,12 @@ # Load the last folder if no profile is selected $profileDirectory = $directories | Select-Object -Last 1 } - + if($profileDirectory) { Write-Information "Loaded Azure profile '$($profileDirectory.Name)' for module '$($instance.Name)'" $exportsPath = $profileDirectory.FullName } - + if($exportsPath) { Get-ChildItem -Path $exportsPath -Recurse -Include '*.ps1' -File | ForEach-Object { . $_.FullName } $cmdletNames = Get-ScriptCmdlet -ScriptFolder $exportsPath diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/README.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/README.md index 6cc2def66b47..3b67cdc1bc18 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/README.md +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/README.md @@ -3,7 +3,6 @@ This directory contains the PowerShell module for the HdInsightOnAks service. --- - ## Info - Modifiable: yes - Generated: all @@ -47,14 +46,12 @@ In this directory, run AutoRest: ### General settings > Values ``` yaml -branch: f09aacf4c6b63be416212cb182f6b31e8bc6d545 +tag: package-preview-2023-11 +commit: 754d31188c080f20b8155acdf8b8fbd77dace467 require: - - $(this-folder)/../readme.azure.noprofile.md + - $(this-folder)/../../readme.azure.noprofile.md - $(repo)/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.md - -# input-file: -# - D:\source\azure-rest-api-specs\specification\hdinsight\resource-manager\Microsoft.HDInsight\HDInsightOnAks\preview\2023-06-01-preview\hdinsight.json -inlining-threshold: 100 +inlining-threshold: 200 ``` > Names @@ -73,8 +70,6 @@ default-exclude-tableview-properties: true > Directives ``` yaml identity-correction-for-post: true -use-extension: - "@autorest/powershell": "4.0.644" directive: - from: swagger-document where: $.paths..responses.202 diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/UX/Microsoft.HDInsight/clusterpools-clusters.json b/src/HdInsightOnAks/HdInsightOnAks.Autorest/UX/Microsoft.HDInsight/clusterpools-clusters.json index 086221ae0f5f..6cf10ab2b65b 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/UX/Microsoft.HDInsight/clusterpools-clusters.json +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/UX/Microsoft.HDInsight/clusterpools-clusters.json @@ -1,6 +1,6 @@ { "resourceType": "clusterpools/clusters", - "apiVersion": "2023-06-01-preview", + "apiVersion": "2023-11-01-preview", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.hdinsightonaks" }, diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/UX/Microsoft.HDInsight/clusterpools.json b/src/HdInsightOnAks/HdInsightOnAks.Autorest/UX/Microsoft.HDInsight/clusterpools.json index e596c0454e84..20e46298e819 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/UX/Microsoft.HDInsight/clusterpools.json +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/UX/Microsoft.HDInsight/clusterpools.json @@ -1,6 +1,6 @@ { "resourceType": "clusterpools", - "apiVersion": "2023-06-01-preview", + "apiVersion": "2023-11-01-preview", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.hdinsightonaks" }, diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/build-module.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/build-module.ps1 index c55391336710..bb280ced79ed 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/build-module.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/build-module.ps1 @@ -171,4 +171,10 @@ Export-TestStub -ModuleName $moduleName -ExportsFolder $exportsFolder -OutputFol Write-Host -ForegroundColor Green 'Creating example stubs...' Export-ExampleStub -ExportsFolder $exportsFolder -OutputFolder $examplesFolder +if (Test-Path (Join-Path $PSScriptRoot 'generate-portal-ux.ps1')) +{ + Write-Host -ForegroundColor Green 'Creating ux metadata...' + . (Join-Path $PSScriptRoot 'generate-portal-ux.ps1') +} + Write-Host -ForegroundColor Green '-------------Done-------------' diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksClusterConfigFileObject.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksClusterConfigFileObject.ps1 index a2bbbdfb7cd7..5e2582a48e65 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksClusterConfigFileObject.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksClusterConfigFileObject.ps1 @@ -24,7 +24,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksClusterConfigFileObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterConfigFile])] - [CmdletBinding(DefaultParameterSetName = 'Create', PositionalBinding = $false, SupportsShouldProcess)] + [CmdletBinding(DefaultParameterSetName = 'Create', PositionalBinding = $false)] param( [Parameter(ParameterSetName = 'Create', Mandatory)] [Alias('Name')] diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksClusterHotfixUpgradeObject.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksClusterHotfixUpgradeObject.ps1 new file mode 100644 index 000000000000..406d40998a07 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksClusterHotfixUpgradeObject.ps1 @@ -0,0 +1,68 @@ +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# 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. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Create an object to hold the cluster upgrade parameters. +.Description +Create an object to hold the cluster upgrade parameters. + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgrade +.Link +https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksClusterHotfixUpgradeObject +#> +function New-AzHdInsightOnAksClusterHotfixUpgradeObject { + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade])] + [CmdletBinding(DefaultParameterSetName = 'Create', PositionalBinding = $false)] + param( + [Parameter(ParameterSetName = 'Create')] + [System.String] + # Name of component to be upgraded. + ${ComponentName}, + + [Parameter(ParameterSetName = 'Create')] + [System.String] + # Target build number of component to be upgraded. + ${TargetBuildNumber}, + + [Parameter(ParameterSetName = 'Create')] + [System.String] + # Target cluster version of component to be upgraded. + ${TargetClusterVersion}, + + [Parameter(ParameterSetName = 'Create')] + [System.String] + # Target OSS version of component to be upgraded. + ${TargetOssVersion} + ) + process { + try { + $hotfixProperty = New-Object Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterHotfixUpgradeProperties -Property ` + @{ComponentName = $ComponentName; + TargetBuildNumber = $TargetBuildNumber; + TargetClusterVersion = $TargetClusterVersion; + TargetOssVersion = $TargetOssVersion; + } + + $hotfixObject = New-Object Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgrade -Property ` + @{Property = $hotfixProperty } + + return $hotfixObject + } + catch { + throw + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.ps1 new file mode 100644 index 000000000000..84591367bd59 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.ps1 @@ -0,0 +1,62 @@ +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# 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. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Create an object to hold the cluster pool upgrade parameters. +.Description +Create an object to hold the cluster pool upgrade parameters. + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgrade +.Link +https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject +#> +function New-AzHdInsightOnAksClusterPoolAKSUpgradeObject { + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade])] + [CmdletBinding(DefaultParameterSetName = 'Create', PositionalBinding = $false)] + param( + [Parameter(ParameterSetName = 'Create')] + [System.String] + # Target AKS version. When it's not set, latest version will be used. When upgradeClusterPool is true and upgradeAllClusterNodes is false, target version should be greater or equal to current version. When upgradeClusterPool is false and upgradeAllClusterNodes is true, target version should be equal to AKS version of cluster pool. + ${TargetAksVersion}, + + [Parameter(ParameterSetName = 'Create')] + [System.String] + # whether upgrade all clusters' nodes. If it's true, upgradeClusterPool should be false. + ${UpgradeAllClusterNode}, + + [Parameter(ParameterSetName = 'Create')] + [System.String] + # whether upgrade cluster pool or not. If it's true, upgradeAllClusterNodes should be false. + ${UpgradeClusterPool} + ) + process { + try { + $aksPatchProperty = New-Object Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAksPatchVersionUpgradeProperties -Property ` + @{TargetAksVersion = $TargetAksVersion; + UpgradeAllClusterNode = $UpgradeAllClusterNode; + UpgradeClusterPool = $UpgradeClusterPool; + } + + $AKSPatchatchObject = New-Object Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgrade -Property ` + @{Property = $aksPatchProperty } + + return $AKSPatchatchObject + } + catch { + throw + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksClusterServiceConfigObject.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksClusterServiceConfigObject.ps1 index 739f6c8ec7e5..f4b21d4318e7 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksClusterServiceConfigObject.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksClusterServiceConfigObject.ps1 @@ -25,7 +25,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksClusterServiceConfigObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfig])] - [CmdletBinding(DefaultParameterSetName = 'Create', PositionalBinding = $false, SupportsShouldProcess)] + [CmdletBinding(DefaultParameterSetName = 'Create', PositionalBinding = $false)] param( [Parameter(ParameterSetName = 'Create', Mandatory)] [Alias('Name')] diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksClusterServiceConfigsProfileObject.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksClusterServiceConfigsProfileObject.ps1 index b3d2cb4fc52c..bb211cca4519 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksClusterServiceConfigsProfileObject.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksClusterServiceConfigsProfileObject.ps1 @@ -28,7 +28,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksClusterServiceConfigsProfileObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile])] - [CmdletBinding(DefaultParameterSetName = 'Create', PositionalBinding = $false, SupportsShouldProcess)] + [CmdletBinding(DefaultParameterSetName = 'Create', PositionalBinding = $false)] param( [Parameter(ParameterSetName = 'Create', Mandatory)] [Alias('Name')] diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksFlinkJobObject.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksFlinkJobObject.ps1 index 440b77842f7c..bdde8b3dcaca 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksFlinkJobObject.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksFlinkJobObject.ps1 @@ -29,7 +29,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksFlinkJobObject{ [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob])] - [CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false, SupportsShouldProcess)] + [CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Create', Mandatory)] [System.String] diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksNodeProfileObject.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksNodeProfileObject.ps1 index f78da4d51fab..43d2ff8688ff 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksNodeProfileObject.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksNodeProfileObject.ps1 @@ -28,7 +28,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksNodeProfileObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INodeProfile])] - [CmdletBinding(DefaultParameterSetName = 'Create', PositionalBinding = $false, SupportsShouldProcess)] + [CmdletBinding(DefaultParameterSetName = 'Create', PositionalBinding = $false)] param( [Parameter(ParameterSetName = 'Create', Mandatory)] [System.String] diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksSecretReferenceObject.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksSecretReferenceObject.ps1 index 7148eb301118..6b89d21a880e 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksSecretReferenceObject.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksSecretReferenceObject.ps1 @@ -30,7 +30,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksSecretReferenceObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISecretReference])] - [CmdletBinding(DefaultParameterSetName = 'Create', PositionalBinding = $false, SupportsShouldProcess)] + [CmdletBinding(DefaultParameterSetName = 'Create', PositionalBinding = $false)] param( [Parameter(ParameterSetName = 'Create', Mandatory)] [System.String] diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksTrinoHiveCatalogObject.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksTrinoHiveCatalogObject.ps1 index 15479e26f60a..a3304033d4ac 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksTrinoHiveCatalogObject.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/custom/New-AzHdInsightOnAksTrinoHiveCatalogObject.ps1 @@ -32,7 +32,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksTrinoHiveCatalogObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOption])] - [CmdletBinding(DefaultParameterSetName = 'Create', PositionalBinding = $false, SupportsShouldProcess)] + [CmdletBinding(DefaultParameterSetName = 'Create', PositionalBinding = $false)] param( [Parameter(ParameterSetName = 'Create', Mandatory)] [System.String] diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/examples/Get-AzHdInsightOnAksClusterAvailableUpgrade.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/examples/Get-AzHdInsightOnAksClusterAvailableUpgrade.md new file mode 100644 index 000000000000..3b38b9b59f5d --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/examples/Get-AzHdInsightOnAksClusterAvailableUpgrade.md @@ -0,0 +1,33 @@ +### Example 1: List a cluster available upgrade. +```powershell +Get-AzHdInsightOnAksClusterAvailableUpgrade -ResourceGroupName PStestGroup -ClusterPoolName hilo-pool -ClusterName flinkcluster +``` + +```output +Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/flinkcluster/availableUpgrades/HotfixUpgrade_Webssh_0.4.2-1.1.1.6_20240103 +Name : HotfixUpgrade_Webssh_0.4.2-1.1.1.6_20240103 +Property : { + "upgradeType": "HotfixUpgrade", + "description": "BugBash", + "sourceOssVersion": "0.4.2", + "sourceClusterVersion": "1.1.1", + "sourceBuildNumber": "6", + "targetOssVersion": "0.4.2", + "targetClusterVersion": "1.1.1", + "targetBuildNumber": "7", + "componentName": "Webssh", + "severity": "low", + "extendedProperties": " ", + "createdTime": "2024-03-12T07:22:42.0000000Z" + } +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : +UpgradeType : HotfixUpgrade +``` + +List a flink cluster available upgrade. diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/examples/Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/examples/Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.md new file mode 100644 index 000000000000..707aa58ee8b5 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/examples/Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.md @@ -0,0 +1,13 @@ +### Example 1: List a cluster pool available upgrade. +```powershell +Get-AzHdInsightOnAksClusterPoolAvailableUpgrade -ResourceGroupName PStestGroup -ClusterPoolName hilo-pool +``` + +```output +Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType +---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- +AKSPatchUpgrade +NodeOsUpgrade +``` + +List a cluster pool available upgrade. diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/examples/New-AzHdInsightOnAksClusterHotfixUpgradeObject.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/examples/New-AzHdInsightOnAksClusterHotfixUpgradeObject.md new file mode 100644 index 000000000000..89939dafdcd3 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/examples/New-AzHdInsightOnAksClusterHotfixUpgradeObject.md @@ -0,0 +1,12 @@ +### Example 1: Create an object to hold the upgrade parameters. +```powershell +$hotfixObj = New-AzHdInsightOnAksClusterHotfixUpgradeObject -ComponentName Webssh -TargetBuildNumber 7 -TargetClusterVersion "1.1.1" -TargetOssVersion "0.4.2" +``` + +```output +Property UpgradeType +-------- ----------- +{… HotfixUpgrade +``` + +Create an object to hold the flink cluster HotfixUpgrade parameters. \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/examples/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/examples/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.md new file mode 100644 index 000000000000..4883d91975fc --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/examples/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.md @@ -0,0 +1,12 @@ +### Example 1: Create an object to hold the cluster pool upgrade parameters. +```powershell +New-AzHdInsightOnAksClusterPoolAKSUpgradeObject -TargetAksVersion "1.27.9" -UpgradeClusterPool $true +``` + +```output +Property UpgradeType +-------- ----------- +{… AKSPatchUpgrade +``` + +Create an object to hold the flink cluster AKSPatchUpgrade parameters. diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/examples/Update-AzHdInsightOnAksCluster.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/examples/Update-AzHdInsightOnAksCluster.md index 69d8280e0451..69c31114cc9d 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/examples/Update-AzHdInsightOnAksCluster.md +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/examples/Update-AzHdInsightOnAksCluster.md @@ -26,3 +26,43 @@ CoordinatorDebugEnable : ``` Add a key-value `"testvalue1"="111"` to the cluster config file `core-site.xml`. + + +### Example 2: Upgrade a cluster. +```powershell +$clusterResourceGroupName = "Group" +$clusterpoolName = "ps-test-pool" +$clusterName = "flinkcluster" +$hotfixObj = New-AzHdInsightOnAksClusterHotfixUpgradeObject -ComponentName Webssh -TargetBuildNumber 7 -TargetClusterVersion "1.1.1" -TargetOssVersion "0.4.2" +Update-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName -ClusterUpgradeRequest $hotfixObj +``` + +```output +AccessProfileEnableInternalIngress : False +AccessProfilePrivateLinkServiceId : +ApplicationLogStdErrorEnabled : +ApplicationLogStdOutEnabled : +AuthorizationProfileGroupId : +AuthorizationProfileUserId : +AutoscaleProfileAutoscaleType : +AutoscaleProfileEnabled : False +AutoscaleProfileGracefulDecommissionTimeout : +ClusterType : +ComputeProfileNode : +ConnectivityEndpointBootstrapServerEndpoint : +ConnectivityEndpointBrokerEndpoint : +ConnectivityProfileSsh : +CoordinatorDebugEnable : +CoordinatorDebugPort : +CoordinatorDebugSuspend : +CoordinatorHighAvailabilityEnabled : +DatabaseHost : +DatabaseName : +DatabasePasswordSecretRef : +DatabaseUsername : +DeploymentId : +DiskStorageDataDiskSize : 0 +... +``` + +Upgrade a cluster with type HotFix. \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/examples/Update-AzHdInsightOnAksClusterPool.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/examples/Update-AzHdInsightOnAksClusterPool.md new file mode 100644 index 000000000000..c8c0f42d7e3a --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/examples/Update-AzHdInsightOnAksClusterPool.md @@ -0,0 +1,80 @@ +### Example 1: Upgrade a cluster pool(NodeOsUpgrade). +```powershell +$clusterResourceGroupName = "Group" +$clusterpoolName = "your-clusterpool" +Update-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName -ClusterPoolName $clusterpoolName -UpgradeType NodeOsUpgrade +``` + +```output +AkClusterProfileAkClusterAgentPoolIdentityProfileMsiClientId : +AkClusterProfileAkClusterAgentPoolIdentityProfileMsiObjectId : +AkClusterProfileAkClusterAgentPoolIdentityProfileMsiResourceId : +AkClusterProfileAksClusterResourceId : +AkClusterProfileAksVersion : +AksManagedResourceGroupName : +ComputeProfileCount : +ComputeProfileVMSize : +DeploymentId : +Id : /providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/29a21725-8fec-428a-911f-dccc6ec9a6d8*F7AC27D6EE8809127228CC9761587D363E49354C7A941A3D1D0AF885952AC245 +Location : +LogAnalyticProfileEnabled : False +LogAnalyticProfileWorkspaceId : +ManagedResourceGroupName : +Name : 29a21725-8fec-428a-911f-dccc6ec9a6d8*F7AC27D6EE8809127228CC9761587D363E49354C7A941A3D1D0AF885952AC245 +NetworkProfileApiServerAuthorizedIPRange : +NetworkProfileEnablePrivateApiServer : +NetworkProfileOutboundType : +NetworkProfileSubnetId : +ProfileClusterPoolVersion : +ProvisioningState : +ResourceGroupName : +Status : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Tag : {} +Type : +``` + +Upgrade a cluster pool and upgrade type is NodeOsUpgrade. + + +### Example 2: Upgrade a cluster pool(AKSPatchUpgrade). +```powershell +$clusterResourceGroupName = "Group" +$clusterpoolName = "your-clusterpool" +$upgradeObj = New-AzHdInsightOnAksClusterPoolAKSUpgradeObject -TargetAksVersion "1.27.9" -UpgradeClusterPool $true +Update-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName -ClusterPoolName $clusterpoolName -ClusterPoolUpgradeRequest $upgradeObj +``` + +```output +AkClusterProfileAkClusterAgentPoolIdentityProfileMsiClientId : +AkClusterProfileAkClusterAgentPoolIdentityProfileMsiObjectId : +AkClusterProfileAkClusterAgentPoolIdentityProfileMsiResourceId : +AkClusterProfileAksClusterResourceId : +AkClusterProfileAksVersion : +AksManagedResourceGroupName : +ComputeProfileCount : +ComputeProfileVMSize : +DeploymentId : +Id : /providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/0aea8755-7a43-4c4a-96ea-a2879b9cb820*F7AC27D6EE8809127228CC9761587D363E49354C7A941A3D1D0AF885952AC245 +Location : +LogAnalyticProfileEnabled : False +LogAnalyticProfileWorkspaceId : +ManagedResourceGroupName : +Name : 0aea8755-7a43-4c4a-96ea-a2879b9cb820*F7AC27D6EE8809127228CC9761587D363E49354C7A941A3D1D0AF885952AC245 +NetworkProfileApiServerAuthorizedIPRange : +NetworkProfileEnablePrivateApiServer : +NetworkProfileOutboundType : +NetworkProfileSubnetId : +ProfileClusterPoolVersion : +ProvisioningState : +ResourceGroupName : +Status : +... +``` + +Upgrade a cluster pool and upgrade type is NodeOsUpgrade. \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksAvailableClusterPoolVersion.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksAvailableClusterPoolVersion.ps1 index 2034b12e9062..a33a4783a23e 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksAvailableClusterPoolVersion.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksAvailableClusterPoolVersion.ps1 @@ -124,7 +124,13 @@ begin { List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksAvailableClusterPoolVersion_List'; } if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksAvailableClusterVersion.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksAvailableClusterVersion.ps1 index 5ca4fd2af101..40664f8372df 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksAvailableClusterVersion.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksAvailableClusterVersion.ps1 @@ -124,7 +124,13 @@ begin { List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksAvailableClusterVersion_List'; } if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksCluster.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksCluster.ps1 index 314dd21bd9ff..4526d89c8e07 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksCluster.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksCluster.ps1 @@ -97,14 +97,12 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityClusterpool', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. ${ClusterpoolInputObject}, [Parameter()] @@ -188,7 +186,13 @@ begin { List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksCluster_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterAvailableUpgrade.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterAvailableUpgrade.ps1 new file mode 100644 index 000000000000..a2e82f905921 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterAvailableUpgrade.ps1 @@ -0,0 +1,195 @@ + +# ---------------------------------------------------------------------------------- +# 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 + + 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') ) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) + $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/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterInstanceView.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterInstanceView.ps1 index 2d01000ae840..a98ab14d3866 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterInstanceView.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterInstanceView.ps1 @@ -92,14 +92,12 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityClusterpool', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. ${ClusterpoolInputObject}, [Parameter()] @@ -183,7 +181,13 @@ begin { List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterInstanceView_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterJob.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterJob.ps1 index dcb9bbd03368..4efacd283877 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterJob.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterJob.ps1 @@ -61,6 +61,13 @@ param( # 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()] @@ -139,7 +146,13 @@ begin { List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterJob_List'; } if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterPool.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterPool.ps1 index 431a2dd0313e..00974c7c0a41 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterPool.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterPool.ps1 @@ -81,7 +81,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] @@ -165,7 +164,13 @@ begin { List1 = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterPool_List1'; } if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.ps1 new file mode 100644 index 000000000000..9825335fe576 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.ps1 @@ -0,0 +1,189 @@ + +# ---------------------------------------------------------------------------------- +# 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 + + 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') ) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) + $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/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterServiceConfig.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterServiceConfig.ps1 index 30d1d1384ec8..0559a1ac4243 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterServiceConfig.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Get-AzHdInsightOnAksClusterServiceConfig.ps1 @@ -139,7 +139,13 @@ begin { List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterServiceConfig_List'; } if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksCluster.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksCluster.ps1 index 451d47938429..b4032380a673 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksCluster.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksCluster.ps1 @@ -353,6 +353,7 @@ 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. @@ -369,9 +370,17 @@ HDINSIGHTONAKSCLUSTER : The cluster. [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. @@ -380,6 +389,15 @@ HDINSIGHTONAKSCLUSTER : The cluster. [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. @@ -392,6 +410,7 @@ HDINSIGHTONAKSCLUSTER : The cluster. 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. + [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. @@ -399,8 +418,6 @@ HDINSIGHTONAKSCLUSTER : The cluster. [MetastoreSpecKeyVaultId ]: The key vault resource id. [MetastoreSpecThriftUrl ]: The thrift url. [ProfileClusterVersion ]: Version with 3/4 part. - [ProfileKafkaProfile ]: Kafka cluster profile. - [(Any) ]: This indicates any property can be added to this object. [ProfileLlapProfile ]: LLAP cluster profile. [(Any) ]: This indicates any property can be added to this object. [ProfileOssVersion ]: Version with three part. @@ -426,6 +443,14 @@ HDINSIGHTONAKSCLUSTER : The cluster. [ProfileStubProfile ]: Stub cluster profile. [(Any) ]: This indicates any property can be added to this object. [PrometheuProfileEnabled ]: Enable Prometheus for cluster or not. + [RangerAdmin >]: List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users. + [RangerAuditStorageAccount ]: Azure storage location of the blobs. MSI should have read/write access to this Storage account. + [RangerPluginProfileEnabled ]: Enable Ranger for cluster or not. + [RangerUsersyncEnabled ]: Denotes whether usersync service should be enabled + [RangerUsersyncGroup >]: List of groups that should be synced. These group names should match the object id of the respective AAD groups. + [RangerUsersyncMode ]: User & groups can be synced automatically or via a static list that's refreshed. + [RangerUsersyncUser >]: List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + [RangerUsersyncUserMappingLocation ]: Azure storage location of a mapping file that lists user & group associations. [ScheduleBasedConfigDefaultCount ]: Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are default when an specified scaling operation is executed (scale up/scale down) [ScheduleBasedConfigSchedule >]: This specifies the schedules where scheduled based Autoscale to be enabled, the user has a choice to set multiple rules within the schedule across days and times (start/end). Count : User has to set the node count anticipated at end of the scaling operation of the set current schedule configuration, format is integer. @@ -453,10 +478,11 @@ HDINSIGHTONAKSCLUSTER : The cluster. [TaskManagerMemory ]: The required memory in MB, Container memory will be 110 percentile [TrinoProfileCatalogOptionsHive >]: hive catalog options. CatalogName : Name of trino catalog which should use specified hive metastore. - MetastoreDbConnectionPasswordSecret : Secret reference name from secretsProfile.secrets containing password for database connection. MetastoreDbConnectionUrl : Connection string for hive metastore database. - MetastoreDbConnectionUserName : User name for database connection. MetastoreWarehouseDir : Metastore root directory URI, format: abfs[s]://@.dfs.core.windows.net/. More details: https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-introduction-abfs-uri + [MetastoreDbConnectionAuthenticationMode ]: 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 + [MetastoreDbConnectionPasswordSecret ]: Secret reference name from secretsProfile.secrets containing password for database connection. + [MetastoreDbConnectionUserName ]: User name for database connection. [TrinoProfileUserPluginsSpecPlugin >]: Trino user plugins. [Enabled ]: Denotes whether the plugin is active or not. [Name ]: This field maps to the sub-directory in trino plugins location, that will contain all the plugins under path. @@ -518,10 +544,11 @@ SPARKPROFILEUSERPLUGINSSPECPLUGIN : Spark user plugins. TRINOHIVECATALOG : hive catalog options. CatalogName : Name of trino catalog which should use specified hive metastore. - MetastoreDbConnectionPasswordSecret : Secret reference name from secretsProfile.secrets containing password for database connection. MetastoreDbConnectionUrl : Connection string for hive metastore database. - MetastoreDbConnectionUserName : User name for database connection. MetastoreWarehouseDir : Metastore root directory URI, format: abfs[s]://@.dfs.core.windows.net/. More details: https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-introduction-abfs-uri + [MetastoreDbConnectionAuthenticationMode ]: 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 + [MetastoreDbConnectionPasswordSecret ]: Secret reference name from secretsProfile.secrets containing password for database connection. + [MetastoreDbConnectionUserName ]: User name for database connection. TRINOPROFILEUSERPLUGINSSPECPLUGIN : Trino user plugins. [Enabled ]: Denotes whether the plugin is active or not. @@ -582,7 +609,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='CreateViaIdentityClusterpool', Mandatory, ValueFromPipeline)] @@ -590,7 +616,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. ${ClusterpoolInputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] @@ -599,7 +624,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster] # The cluster. - # To construct, see NOTES section for HDINSIGHTONAKSCLUSTER properties and create a hash table. ${HdInsightOnAksCluster}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] @@ -696,6 +720,15 @@ param( # Negative value (like -1) is handled as infinite timeout. ${AutoscaleProfileGracefulDecommissionTimeout}, + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Whether to create cluster using private IP instead of public IP. + # This property must be set at create time. + ${ClusterAccessProfileEnableInternalIngress}, + [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] @@ -719,7 +752,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INodeProfile[]] # The nodes definitions. - # To construct, see NOTES section for COMPUTEPROFILENODE properties and create a hash table. ${ComputeProfileNode}, [Parameter(ParameterSetName='CreateExpanded')] @@ -755,6 +787,56 @@ param( # Default: true. ${CoordinatorHighAvailabilityEnabled}, + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # The database URL + ${DatabaseHost}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # The database name + ${DatabaseName}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Reference for the database password + ${DatabasePasswordSecretRef}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # The name of the database user + ${DatabaseUsername}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Int32] + # 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. + ${DiskStorageDataDiskSize}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Standard_HDD_LRS", "Standard_SSD_LRS", "Standard_SSD_ZRS", "Premium_SSD_LRS", "Premium_SSD_ZRS", "Premium_SSD_v2_LRS")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Managed Disk Type. + ${DiskStorageDataDiskType}, + [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] @@ -787,6 +869,17 @@ param( # User name for database connection. ${FlinkHiveCatalogDbUserName}, + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Application", "Session")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # 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 + ${FlinkProfileDeploymentMode}, + [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] @@ -819,6 +912,16 @@ param( # The required memory in MB, Container memory will be 110 percentile ${HistoryServerMemory}, + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # The authentication mode to connect to your Hive metastore database. + # More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization + ${HiveMetastoreDbConnectionAuthenticationMode}, + [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] @@ -839,10 +942,77 @@ param( [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile]))] - [System.Collections.Hashtable] - # Kafka cluster profile. - ${KafkaProfile}, + [System.String] + # A string property representing additional JVM arguments for the Flink job. + # It should be space separated value. + ${JobSpecArg}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # 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. + ${JobSpecEntryClass}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # A string property that represents the name of the job JAR. + ${JobSpecJarName}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # A string property that specifies the directory where the job JAR is located. + ${JobSpecJobJarDirectory}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # A string property that represents the name of the savepoint for the Flink job + ${JobSpecSavePointName}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("STATELESS_UPDATE", "UPDATE", "LAST_STATE_UPDATE")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # 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. + ${JobSpecUpgradeMode}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Expose Kafka cluster in KRaft mode. + ${KafkaProfileEnableKRaft}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Expose worker nodes as public endpoints. + ${KafkaProfileEnablePublicEndpoint}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Fully qualified path of Azure Storage container used for Tiered Storage. + ${KafkaProfileRemoteStorageUri}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] @@ -901,7 +1071,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScalingRule[]] # The scaling rules. - # To construct, see NOTES section for LOADBASEDCONFIGSCALINGRULE properties and create a hash table. ${LoadBasedConfigScalingRule}, [Parameter(ParameterSetName='CreateExpanded')] @@ -912,6 +1081,16 @@ param( # True if metrics are enabled, otherwise false. ${LogAnalyticProfileMetricsEnabled}, + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # The authentication mode to connect to your Hive metastore database. + # More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization + ${MetastoreSpecDbConnectionAuthenticationMode}, + [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] @@ -928,6 +1107,78 @@ param( # Enable Prometheus for cluster or not. ${PrometheuProfileEnabled}, + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String[]] + # List of usernames that should be marked as ranger admins. + # These usernames should match the user principal name (UPN) of the respective AAD users. + ${RangerAdmin}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Azure storage location of the blobs. + # MSI should have read/write access to this Storage account. + ${RangerAuditStorageAccount}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Enable Ranger for cluster or not. + ${RangerPluginProfileEnabled}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Denotes whether usersync service should be enabled + ${RangerUsersyncEnabled}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String[]] + # List of groups that should be synced. + # These group names should match the object id of the respective AAD groups. + ${RangerUsersyncGroup}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # User & groups can be synced automatically or via a static list that's refreshed. + ${RangerUsersyncMode}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String[]] + # List of user names that should be synced. + # These usernames should match the User principal name of the respective AAD users. + ${RangerUsersyncUser}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Azure storage location of a mapping file that lists user & group associations. + ${RangerUsersyncUserMappingLocation}, + [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] @@ -944,7 +1195,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISchedule[]] # This specifies the schedules where scheduled based Autoscale to be enabled, the user has a choice to set multiple rules within the schedule across days and times (start/end). - # To construct, see NOTES section for SCHEDULEBASEDCONFIGSCHEDULE properties and create a hash table. ${ScheduleBasedConfigSchedule}, [Parameter(ParameterSetName='CreateExpanded')] @@ -962,7 +1212,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScriptActionProfile[]] # The script action profile list. - # To construct, see NOTES section for SCRIPTACTIONPROFILE properties and create a hash table. ${ScriptActionProfile}, [Parameter(ParameterSetName='CreateExpanded')] @@ -972,7 +1221,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISecretReference[]] # Properties of Key Vault secret. - # To construct, see NOTES section for SECRETREFERENCE properties and create a hash table. ${SecretReference}, [Parameter(ParameterSetName='CreateExpanded')] @@ -982,7 +1230,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile[]] # The service configs profiles. - # To construct, see NOTES section for SERVICECONFIGSPROFILE properties and create a hash table. ${ServiceConfigsProfile}, [Parameter(ParameterSetName='CreateExpanded')] @@ -1122,7 +1369,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOption[]] # hive catalog options. - # To construct, see NOTES section for TRINOHIVECATALOG properties and create a hash table. ${TrinoHiveCatalog}, [Parameter(ParameterSetName='CreateExpanded')] @@ -1132,7 +1378,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoUserPlugin[]] # Trino user plugins. - # To construct, see NOTES section for TRINOPROFILEUSERPLUGINSSPECPLUGIN properties and create a hash table. ${TrinoProfileUserPluginsSpecPlugin}, [Parameter(ParameterSetName='CreateExpanded')] @@ -1268,7 +1513,13 @@ begin { CreateViaJsonString = 'Az.HdInsightOnAks.private\New-AzHdInsightOnAksCluster_CreateViaJsonString'; } if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterConfigFileObject.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterConfigFileObject.ps1 index 5b86d0fdc6f8..0ffa0f241121 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterConfigFileObject.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterConfigFileObject.ps1 @@ -31,7 +31,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksClusterConfigFileObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterConfigFile])] -[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Alias('Name')] diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterHotfixUpgradeObject.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterHotfixUpgradeObject.ps1 new file mode 100644 index 000000000000..342a6c74d5be --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterHotfixUpgradeObject.ps1 @@ -0,0 +1,135 @@ + +# ---------------------------------------------------------------------------------- +# 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 an object to hold the cluster upgrade parameters. +.Description +Create an object to hold the cluster upgrade parameters. +.Example +$hotfixObj = New-AzHdInsightOnAksClusterHotfixUpgradeObject -ComponentName Webssh -TargetBuildNumber 7 -TargetClusterVersion "1.1.1" -TargetOssVersion "0.4.2" + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade +.Link +https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksClusterHotfixUpgradeObject +#> +function New-AzHdInsightOnAksClusterHotfixUpgradeObject { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade])] +[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false)] +param( + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Name of component to be upgraded. + ${ComponentName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Target build number of component to be upgraded. + ${TargetBuildNumber}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Target cluster version of component to be upgraded. + ${TargetClusterVersion}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Target OSS version of component to be upgraded. + ${TargetOssVersion} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + 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 = @{ + Create = 'Az.HdInsightOnAks.custom\New-AzHdInsightOnAksClusterHotfixUpgradeObject'; + } + $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) + $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/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterPool.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterPool.ps1 index 871f6ee4e51c..e31560630595 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterPool.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterPool.ps1 @@ -70,6 +70,9 @@ CLUSTERPOOL : Cluster pool. [LogAnalyticProfileEnabled ]: True if log analytics is enabled for cluster pool, otherwise false. [LogAnalyticProfileWorkspaceId ]: Log analytics workspace to associate with the OMS agent. [ManagedResourceGroupName ]: A resource group created by RP, to hold the resources created by RP on-behalf of customers. It will also be used to generate aksManagedResourceGroupName by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}. Please make sure it meets resource group name restriction. + [NetworkProfileApiServerAuthorizedIPRange >]: IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + [NetworkProfileEnablePrivateApiServer ]: ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet. + [NetworkProfileOutboundType ]: This can only be set at cluster pool creation time and cannot be changed later. [NetworkProfileSubnetId ]: Cluster pool subnet resource id. [ProfileClusterPoolVersion ]: Cluster pool version is a 2-part version. @@ -123,7 +126,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] @@ -131,7 +133,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool] # Cluster pool. - # To construct, see NOTES section for CLUSTERPOOL properties and create a hash table. ${ClusterPool}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] @@ -171,6 +172,34 @@ param( # Please make sure it meets resource group name restriction. ${ManagedResourceGroupName}, + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String[]] + # IP ranges are specified in CIDR format, e.g. + # 137.117.106.88/29. + # This feature is not compatible with private AKS clusters. + # So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + ${NetworkProfileApiServerAuthorizedIPRange}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # ClusterPool is based on AKS cluster. + # AKS cluster exposes the API server to public internet by default. + # If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet. + ${NetworkProfileEnablePrivateApiServer}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("loadBalancer", "userDefinedRouting")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # This can only be set at cluster pool creation time and cannot be changed later. + ${NetworkProfileOutboundType}, + [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] @@ -300,7 +329,13 @@ begin { CreateViaJsonString = 'Az.HdInsightOnAks.private\New-AzHdInsightOnAksClusterPool_CreateViaJsonString'; } if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.ps1 new file mode 100644 index 000000000000..56ab0f6066b8 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.ps1 @@ -0,0 +1,134 @@ + +# ---------------------------------------------------------------------------------- +# 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 an object to hold the cluster pool upgrade parameters. +.Description +Create an object to hold the cluster pool upgrade parameters. +.Example +New-AzHdInsightOnAksClusterPoolAKSUpgradeObject -TargetAksVersion "1.27.9" -UpgradeClusterPool $true + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade +.Link +https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject +#> +function New-AzHdInsightOnAksClusterPoolAKSUpgradeObject { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade])] +[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false)] +param( + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Target AKS version. + # When it's not set, latest version will be used. + # When upgradeClusterPool is true and upgradeAllClusterNodes is false, target version should be greater or equal to current version. + # When upgradeClusterPool is false and upgradeAllClusterNodes is true, target version should be equal to AKS version of cluster pool. + ${TargetAksVersion}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # whether upgrade all clusters' nodes. + # If it's true, upgradeClusterPool should be false. + ${UpgradeAllClusterNode}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # whether upgrade cluster pool or not. + # If it's true, upgradeAllClusterNodes should be false. + ${UpgradeClusterPool} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + 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 = @{ + Create = 'Az.HdInsightOnAks.custom\New-AzHdInsightOnAksClusterPoolAKSUpgradeObject'; + } + $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) + $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/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterServiceConfigObject.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterServiceConfigObject.ps1 index 005a08648896..3e5bdf0d429c 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterServiceConfigObject.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterServiceConfigObject.ps1 @@ -44,7 +44,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksClusterServiceConfigObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfig])] -[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Alias('Name')] @@ -57,7 +57,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterConfigFile[]] # List of Config Files. - # To construct, see NOTES section for FILE properties and create a hash table. ${File} ) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterServiceConfigsProfileObject.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterServiceConfigsProfileObject.ps1 index 61b714f8d670..92073513df4c 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterServiceConfigsProfileObject.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksClusterServiceConfigsProfileObject.ps1 @@ -49,7 +49,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksClusterServiceConfigsProfileObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile])] -[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Alias('Name')] @@ -62,7 +62,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfig[]] # List of service configs. - # To construct, see NOTES section for CONFIG properties and create a hash table. ${Config} ) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksFlinkJobObject.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksFlinkJobObject.ps1 index 52840eceb697..31d6a4d90ff1 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksFlinkJobObject.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksFlinkJobObject.ps1 @@ -39,7 +39,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksFlinkJobObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob])] -[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] @@ -90,7 +90,6 @@ param( # Additional properties used to configure Flink jobs. # It allows users to set properties such as parallelism and jobSavePointDirectory. # It accepts additional key-value pairs as properties, where the keys are strings and the values are strings as well. - # To construct, see NOTES section for FLINKCONFIGURATION properties and create a hash table. ${FlinkConfiguration} ) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksNodeProfileObject.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksNodeProfileObject.ps1 index 152ccd5fbd00..4c2615575f9c 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksNodeProfileObject.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksNodeProfileObject.ps1 @@ -31,7 +31,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksNodeProfileObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INodeProfile])] -[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksSecretReferenceObject.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksSecretReferenceObject.ps1 index 5ffd0fec041e..52d78ed8caf8 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksSecretReferenceObject.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksSecretReferenceObject.ps1 @@ -39,7 +39,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksSecretReferenceObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISecretReference])] -[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksTrinoHiveCatalogObject.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksTrinoHiveCatalogObject.ps1 index ecb41836da26..09975df715d7 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksTrinoHiveCatalogObject.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/New-AzHdInsightOnAksTrinoHiveCatalogObject.ps1 @@ -35,7 +35,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksTrinoHiveCatalogObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOption])] -[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/ProxyCmdletDefinitions.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/ProxyCmdletDefinitions.ps1 index 1380fe6b2a10..f331a4f14819 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/ProxyCmdletDefinitions.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/ProxyCmdletDefinitions.ps1 @@ -124,7 +124,13 @@ begin { List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksAvailableClusterPoolVersion_List'; } if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) @@ -286,7 +292,13 @@ begin { List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksAvailableClusterVersion_List'; } if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) @@ -340,71 +352,41 @@ end { <# .Synopsis -Gets the status of a cluster instance. +List a cluster available upgrade. .Description -Gets the status of a cluster instance. +List a cluster available upgrade. .Example -$clusterResourceGroupName = "your-resourceGroup" -$clusterpoolName = "your-clusterpool" -$clusterName = "your-clustername" -Get-AzHdInsightOnAksClusterInstanceView -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName +Get-AzHdInsightOnAksClusterAvailableUpgrade -ResourceGroupName PStestGroup -ClusterPoolName hilo-pool -ClusterName flinkcluster -.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. +Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgrade .Link -https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterinstanceview +https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusteravailableupgrade #> -function Get-AzHdInsightOnAksClusterInstanceView { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewResult])] -[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] +function Get-AzHdInsightOnAksClusterAvailableUpgrade { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgrade])] +[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( - [Parameter(ParameterSetName='Get', Mandatory)] - [Parameter(ParameterSetName='GetViaIdentityClusterpool', Mandatory)] - [Parameter(ParameterSetName='List', Mandatory)] + [Parameter(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)] + [Parameter(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)] + [Parameter(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()] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] @@ -412,20 +394,6 @@ param( # 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 - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - ${InputObject}, - - [Parameter(ParameterSetName='GetViaIdentityClusterpool', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] - # Identity Parameter - # To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. - ${ClusterpoolInputObject}, - [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -501,13 +469,16 @@ begin { } $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'; + List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterAvailableUpgrade_List'; } - if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) @@ -561,44 +532,71 @@ end { <# .Synopsis -Get jobs of HDInsight on AKS cluster. +Gets the status of a cluster instance. .Description -Get jobs of HDInsight on AKS cluster. +Gets the status of a cluster instance. .Example -$clusterResourceGroupName = "Group" -$clusterpoolName = "ps-test-pool" -$clusterName = "flinkcluster" -Get-AzHdInsightOnAksClusterJob -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName +$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.IClusterJob +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-azhdinsightonaksclusterjob +https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterinstanceview #> -function Get-AzHdInsightOnAksClusterJob { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob])] -[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] +function Get-AzHdInsightOnAksClusterInstanceView { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewResult])] +[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( - [Parameter(Mandatory)] + [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(Mandatory)] + [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(Mandatory)] + [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()] + [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[]] @@ -606,6 +604,18 @@ param( # 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()] @@ -681,10 +691,19 @@ begin { } $mapping = @{ - List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterJob_List'; + 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 (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) @@ -738,60 +757,44 @@ end { <# .Synopsis -Gets a cluster pool. +Get jobs of HDInsight on AKS cluster. .Description -Gets a cluster pool. -.Example -Get-AzHdInsightOnAksClusterPool -.Example -$clusterResourceGroupName = "your-resourceGroup" -Get-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName +Get jobs of HDInsight on AKS cluster. .Example -$clusterResourceGroupName = "your-resourceGroup" -$clusterpoolName = "your-clusterpool" -Get-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName -Name $clusterpoolName +$clusterResourceGroupName = "Group" +$clusterpoolName = "ps-test-pool" +$clusterName = "flinkcluster" +Get-AzHdInsightOnAksClusterJob -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $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. +Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob .Link -https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterpool +https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterjob #> -function Get-AzHdInsightOnAksClusterPool { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool])] +function Get-AzHdInsightOnAksClusterJob { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( - [Parameter(ParameterSetName='Get', Mandatory)] - [Alias('ClusterPoolName')] + [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. - ${Name}, + ${ClusterPoolName}, - [Parameter(ParameterSetName='Get', Mandatory)] - [Parameter(ParameterSetName='List1', Mandatory)] + [Parameter(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')] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] @@ -799,12 +802,12 @@ param( # 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 - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - ${InputObject}, + [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')] @@ -881,13 +884,16 @@ begin { } $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'; + List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterJob_List'; } - if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) @@ -941,30 +947,21 @@ end { <# .Synopsis -Lists the config dump of all services running in cluster. +List a cluster pool available upgrade. .Description -Lists the config dump of all services running in cluster. +List a cluster pool available upgrade. .Example -$clusterResourceGroupName = "your-resourceGroup" -$clusterpoolName = "your-clusterpool" -$clusterName = "your-clustername" -Get-AzHdInsightOnAksClusterServiceConfig -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName +Get-AzHdInsightOnAksClusterPoolAvailableUpgrade -ResourceGroupName PStestGroup -ClusterPoolName hilo-pool .Outputs -Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IServiceConfigResult +Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgrade .Link -https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterserviceconfig +https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterpoolavailableupgrade #> -function Get-AzHdInsightOnAksClusterServiceConfig { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IServiceConfigResult])] +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 HDInsight cluster. - ${ClusterName}, - [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [System.String] @@ -1061,10 +1058,16 @@ begin { } $mapping = @{ - List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterServiceConfig_List'; + List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterPoolAvailableUpgrade_List'; } if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) @@ -1118,37 +1121,29 @@ end { <# .Synopsis -Gets a HDInsight cluster. +Gets a cluster pool. .Description -Gets a HDInsight cluster. +Gets a cluster pool. +.Example +Get-AzHdInsightOnAksClusterPool .Example $clusterResourceGroupName = "your-resourceGroup" -$clusterpoolName = "your-clusterpool" -Get-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -PoolName $clusterpoolName +Get-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName .Example $clusterResourceGroupName = "your-resourceGroup" $clusterpoolName = "your-clusterpool" -$clusterName = "your-clustername" -Get-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -PoolName $clusterpoolName -Name $clusterName +Get-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName -Name $clusterpoolName .Inputs Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster +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. -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 +INPUTOBJECT : Identity Parameter [ClusterName ]: The name of the HDInsight cluster. [ClusterPoolName ]: The name of the cluster pool. [Id ]: Resource identity path @@ -1156,30 +1151,21 @@ INPUTOBJECT : Identity Parameter [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 +https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterpool #> -function Get-AzHdInsightOnAksCluster { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster])] +function Get-AzHdInsightOnAksClusterPool { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool])] [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}, + ${Name}, [Parameter(ParameterSetName='Get', Mandatory)] - [Parameter(ParameterSetName='List', Mandatory)] + [Parameter(ParameterSetName='List1', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [System.String] # The name of the resource group. @@ -1188,6 +1174,7 @@ param( [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[]] @@ -1199,16 +1186,8 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, - [Parameter(ParameterSetName='GetViaIdentityClusterpool', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] - # Identity Parameter - # To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. - ${ClusterpoolInputObject}, - [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -1284,13 +1263,19 @@ begin { } $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'; + 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') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) @@ -1344,195 +1329,51 @@ end { <# .Synopsis -Create a cluster pool. +Lists the config dump of all services running in cluster. .Description -Create a cluster pool. -.Example -# Cluster pool configuration info -$location = "West US 3" -$clusterResourceGroupName = "Group" -$clusterpoolName = "your-clusterpool" -$vmSize = "Standard_E4s_v3" - -# Create the cluster pool -New-AzHdInsightOnAksClusterPool ` - -Name $clusterpoolName ` - -ResourceGroupName $clusterResourceGroupName ` - -Location $location ` - -VmSize $vmSize +Lists the config dump of all services running in cluster. .Example -# Cluster configuration info -$location = "East US 2" -$clusterResourceGroupName = "Group" +$clusterResourceGroupName = "your-resourceGroup" $clusterpoolName = "your-clusterpool" -$vmSize = "Standard_E4s_v3" - -# log analytics workspace info -$LogAnalyticProfileWorkspaceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group/providers/microsoft.operationalinsights/workspaces/loganalyticsworkspacename" - -# Create the cluster pool -New-AzHdInsightOnAksClusterPool ` - -Name $clusterpoolName ` - -ResourceGroupName $clusterResourceGroupName ` - -Location $location ` - -VmSize $vmSize ` - -EnableLogAnalytics ` - -LogAnalyticWorkspaceResourceId $LogAnalyticProfileWorkspaceId +$clusterName = "your-clustername" +Get-AzHdInsightOnAksClusterServiceConfig -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName -.Inputs -Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool -.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. - -CLUSTERPOOL : Cluster pool. - Location : The geo-location where the resource lives - [Tag ]: Resource tags. - [(Any) ]: This indicates any property can be added to this object. - [ComputeProfileVMSize ]: The virtual machine SKU. - [LogAnalyticProfileEnabled ]: True if log analytics is enabled for cluster pool, otherwise false. - [LogAnalyticProfileWorkspaceId ]: Log analytics workspace to associate with the OMS agent. - [ManagedResourceGroupName ]: A resource group created by RP, to hold the resources created by RP on-behalf of customers. It will also be used to generate aksManagedResourceGroupName by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}. Please make sure it meets resource group name restriction. - [NetworkProfileSubnetId ]: Cluster pool subnet resource id. - [ProfileClusterPoolVersion ]: Cluster pool version is a 2-part version. - -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. +Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IServiceConfigResult .Link -https://learn.microsoft.com/powershell/module/az.hdinsightonaks/new-azhdinsightonaksclusterpool +https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterserviceconfig #> -function New-AzHdInsightOnAksClusterPool { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool])] -[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Get-AzHdInsightOnAksClusterServiceConfig { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IServiceConfigResult])] +[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( - [Parameter(ParameterSetName='Create', Mandatory)] - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] - [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] - [Alias('ClusterPoolName')] + [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. - ${Name}, + ${ClusterPoolName}, - [Parameter(ParameterSetName='Create', Mandatory)] - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] - [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] + [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, - [Parameter(ParameterSetName='Create')] - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaJsonFilePath')] - [Parameter(ParameterSetName='CreateViaJsonString')] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] + [System.String[]] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, - [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] - # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - ${InputObject}, - - [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool] - # Cluster pool. - # To construct, see NOTES section for CLUSTERPOOL properties and create a hash table. - ${ClusterPool}, - - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [System.String] - # The geo-location where the resource lives - ${Location}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [System.String] - # Cluster pool version is a 2-part version. - ${ClusterPoolVersion}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [System.Management.Automation.SwitchParameter] - # True if log analytics is enabled for cluster pool, otherwise false. - ${EnableLogAnalytics}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [System.String] - # Log analytics workspace to associate with the OMS agent. - ${LogAnalyticWorkspaceResourceId}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [System.String] - # A resource group created by RP, to hold the resources created by RP on-behalf of customers. - # It will also be used to generate aksManagedResourceGroupName by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}. - # Please make sure it meets resource group name restriction. - ${ManagedResourceGroupName}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [System.String] - # Cluster pool subnet resource id. - ${SubnetId}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceTags]))] - [System.Collections.Hashtable] - # Resource tags. - ${Tag}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Parameter(ParameterSetName='CreateViaIdentityExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [System.String] - # The virtual machine SKU. - ${VmSize}, - - [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [System.String] - # Path of Json file supplied to the Create operation - ${JsonFilePath}, - - [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [System.String] - # Json string supplied to the Create operation - ${JsonString}, - [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -1542,12 +1383,6 @@ param( # 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] @@ -1568,12 +1403,6 @@ param( # 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] @@ -1620,15 +1449,16 @@ begin { } $mapping = @{ - Create = 'Az.HdInsightOnAks.private\New-AzHdInsightOnAksClusterPool_Create'; - CreateExpanded = 'Az.HdInsightOnAks.private\New-AzHdInsightOnAksClusterPool_CreateExpanded'; - CreateViaIdentity = 'Az.HdInsightOnAks.private\New-AzHdInsightOnAksClusterPool_CreateViaIdentity'; - CreateViaIdentityExpanded = 'Az.HdInsightOnAks.private\New-AzHdInsightOnAksClusterPool_CreateViaIdentityExpanded'; - CreateViaJsonFilePath = 'Az.HdInsightOnAks.private\New-AzHdInsightOnAksClusterPool_CreateViaJsonFilePath'; - CreateViaJsonString = 'Az.HdInsightOnAks.private\New-AzHdInsightOnAksClusterPool_CreateViaJsonString'; + List = 'Az.HdInsightOnAks.private\Get-AzHdInsightOnAksClusterServiceConfig_List'; } - if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) @@ -1682,9 +1512,612 @@ end { <# .Synopsis -Creates a cluster. +Gets a HDInsight cluster. .Description -Creates a cluster. +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 + + 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') ) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) + $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 + } +} +} + +<# +.Synopsis +Create a cluster pool. +.Description +Create a cluster pool. +.Example +# Cluster pool configuration info +$location = "West US 3" +$clusterResourceGroupName = "Group" +$clusterpoolName = "your-clusterpool" +$vmSize = "Standard_E4s_v3" + +# Create the cluster pool +New-AzHdInsightOnAksClusterPool ` + -Name $clusterpoolName ` + -ResourceGroupName $clusterResourceGroupName ` + -Location $location ` + -VmSize $vmSize +.Example +# Cluster configuration info +$location = "East US 2" +$clusterResourceGroupName = "Group" +$clusterpoolName = "your-clusterpool" +$vmSize = "Standard_E4s_v3" + +# log analytics workspace info +$LogAnalyticProfileWorkspaceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group/providers/microsoft.operationalinsights/workspaces/loganalyticsworkspacename" + +# Create the cluster pool +New-AzHdInsightOnAksClusterPool ` + -Name $clusterpoolName ` + -ResourceGroupName $clusterResourceGroupName ` + -Location $location ` + -VmSize $vmSize ` + -EnableLogAnalytics ` + -LogAnalyticWorkspaceResourceId $LogAnalyticProfileWorkspaceId + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool +.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. + +CLUSTERPOOL : Cluster pool. + Location : The geo-location where the resource lives + [Tag ]: Resource tags. + [(Any) ]: This indicates any property can be added to this object. + [ComputeProfileVMSize ]: The virtual machine SKU. + [LogAnalyticProfileEnabled ]: True if log analytics is enabled for cluster pool, otherwise false. + [LogAnalyticProfileWorkspaceId ]: Log analytics workspace to associate with the OMS agent. + [ManagedResourceGroupName ]: A resource group created by RP, to hold the resources created by RP on-behalf of customers. It will also be used to generate aksManagedResourceGroupName by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}. Please make sure it meets resource group name restriction. + [NetworkProfileApiServerAuthorizedIPRange >]: IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + [NetworkProfileEnablePrivateApiServer ]: ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet. + [NetworkProfileOutboundType ]: This can only be set at cluster pool creation time and cannot be changed later. + [NetworkProfileSubnetId ]: Cluster pool subnet resource id. + [ProfileClusterPoolVersion ]: Cluster pool version is a 2-part version. + +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/new-azhdinsightonaksclusterpool +#> +function New-AzHdInsightOnAksClusterPool { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool])] +[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='Create', Mandatory)] + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] + [Alias('ClusterPoolName')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] + [System.String] + # The name of the cluster pool. + ${Name}, + + [Parameter(ParameterSetName='Create', Mandatory)] + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Create')] + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaJsonFilePath')] + [Parameter(ParameterSetName='CreateViaJsonString')] + [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='CreateViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] + # Identity Parameter + ${InputObject}, + + [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool] + # Cluster pool. + ${ClusterPool}, + + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # The geo-location where the resource lives + ${Location}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Cluster pool version is a 2-part version. + ${ClusterPoolVersion}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # True if log analytics is enabled for cluster pool, otherwise false. + ${EnableLogAnalytics}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Log analytics workspace to associate with the OMS agent. + ${LogAnalyticWorkspaceResourceId}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # A resource group created by RP, to hold the resources created by RP on-behalf of customers. + # It will also be used to generate aksManagedResourceGroupName by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}. + # Please make sure it meets resource group name restriction. + ${ManagedResourceGroupName}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String[]] + # IP ranges are specified in CIDR format, e.g. + # 137.117.106.88/29. + # This feature is not compatible with private AKS clusters. + # So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + ${NetworkProfileApiServerAuthorizedIPRange}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # ClusterPool is based on AKS cluster. + # AKS cluster exposes the API server to public internet by default. + # If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet. + ${NetworkProfileEnablePrivateApiServer}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("loadBalancer", "userDefinedRouting")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # This can only be set at cluster pool creation time and cannot be changed later. + ${NetworkProfileOutboundType}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Cluster pool subnet resource id. + ${SubnetId}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceTags]))] + [System.Collections.Hashtable] + # Resource tags. + ${Tag}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # The virtual machine SKU. + ${VmSize}, + + [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Path of Json file supplied to the Create operation + ${JsonFilePath}, + + [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Json string supplied to the Create 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 + + 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 = @{ + Create = 'Az.HdInsightOnAks.private\New-AzHdInsightOnAksClusterPool_Create'; + CreateExpanded = 'Az.HdInsightOnAks.private\New-AzHdInsightOnAksClusterPool_CreateExpanded'; + CreateViaIdentity = 'Az.HdInsightOnAks.private\New-AzHdInsightOnAksClusterPool_CreateViaIdentity'; + CreateViaIdentityExpanded = 'Az.HdInsightOnAks.private\New-AzHdInsightOnAksClusterPool_CreateViaIdentityExpanded'; + CreateViaJsonFilePath = 'Az.HdInsightOnAks.private\New-AzHdInsightOnAksClusterPool_CreateViaJsonFilePath'; + CreateViaJsonString = 'Az.HdInsightOnAks.private\New-AzHdInsightOnAksClusterPool_CreateViaJsonString'; + } + if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) + $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 + } +} +} + +<# +.Synopsis +Creates a cluster. +.Description +Creates a cluster. .Example # Create Simple Trino Cluster $clusterPoolName="{your cluster pool name}"; @@ -2019,6 +2452,7 @@ 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. @@ -2035,9 +2469,17 @@ HDINSIGHTONAKSCLUSTER : The cluster. [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. @@ -2046,6 +2488,15 @@ HDINSIGHTONAKSCLUSTER : The cluster. [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. @@ -2058,6 +2509,7 @@ HDINSIGHTONAKSCLUSTER : The cluster. 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. + [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. @@ -2065,8 +2517,6 @@ HDINSIGHTONAKSCLUSTER : The cluster. [MetastoreSpecKeyVaultId ]: The key vault resource id. [MetastoreSpecThriftUrl ]: The thrift url. [ProfileClusterVersion ]: Version with 3/4 part. - [ProfileKafkaProfile ]: Kafka cluster profile. - [(Any) ]: This indicates any property can be added to this object. [ProfileLlapProfile ]: LLAP cluster profile. [(Any) ]: This indicates any property can be added to this object. [ProfileOssVersion ]: Version with three part. @@ -2092,6 +2542,14 @@ HDINSIGHTONAKSCLUSTER : The cluster. [ProfileStubProfile ]: Stub cluster profile. [(Any) ]: This indicates any property can be added to this object. [PrometheuProfileEnabled ]: Enable Prometheus for cluster or not. + [RangerAdmin >]: List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users. + [RangerAuditStorageAccount ]: Azure storage location of the blobs. MSI should have read/write access to this Storage account. + [RangerPluginProfileEnabled ]: Enable Ranger for cluster or not. + [RangerUsersyncEnabled ]: Denotes whether usersync service should be enabled + [RangerUsersyncGroup >]: List of groups that should be synced. These group names should match the object id of the respective AAD groups. + [RangerUsersyncMode ]: User & groups can be synced automatically or via a static list that's refreshed. + [RangerUsersyncUser >]: List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + [RangerUsersyncUserMappingLocation ]: Azure storage location of a mapping file that lists user & group associations. [ScheduleBasedConfigDefaultCount ]: Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are default when an specified scaling operation is executed (scale up/scale down) [ScheduleBasedConfigSchedule >]: This specifies the schedules where scheduled based Autoscale to be enabled, the user has a choice to set multiple rules within the schedule across days and times (start/end). Count : User has to set the node count anticipated at end of the scaling operation of the set current schedule configuration, format is integer. @@ -2119,10 +2577,11 @@ HDINSIGHTONAKSCLUSTER : The cluster. [TaskManagerMemory ]: The required memory in MB, Container memory will be 110 percentile [TrinoProfileCatalogOptionsHive >]: hive catalog options. CatalogName : Name of trino catalog which should use specified hive metastore. - MetastoreDbConnectionPasswordSecret : Secret reference name from secretsProfile.secrets containing password for database connection. MetastoreDbConnectionUrl : Connection string for hive metastore database. - MetastoreDbConnectionUserName : User name for database connection. MetastoreWarehouseDir : Metastore root directory URI, format: abfs[s]://@.dfs.core.windows.net/. More details: https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-introduction-abfs-uri + [MetastoreDbConnectionAuthenticationMode ]: 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 + [MetastoreDbConnectionPasswordSecret ]: Secret reference name from secretsProfile.secrets containing password for database connection. + [MetastoreDbConnectionUserName ]: User name for database connection. [TrinoProfileUserPluginsSpecPlugin >]: Trino user plugins. [Enabled ]: Denotes whether the plugin is active or not. [Name ]: This field maps to the sub-directory in trino plugins location, that will contain all the plugins under path. @@ -2184,10 +2643,11 @@ SPARKPROFILEUSERPLUGINSSPECPLUGIN : Spark user plugins. TRINOHIVECATALOG : hive catalog options. CatalogName : Name of trino catalog which should use specified hive metastore. - MetastoreDbConnectionPasswordSecret : Secret reference name from secretsProfile.secrets containing password for database connection. MetastoreDbConnectionUrl : Connection string for hive metastore database. - MetastoreDbConnectionUserName : User name for database connection. MetastoreWarehouseDir : Metastore root directory URI, format: abfs[s]://@.dfs.core.windows.net/. More details: https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-introduction-abfs-uri + [MetastoreDbConnectionAuthenticationMode ]: 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 + [MetastoreDbConnectionPasswordSecret ]: Secret reference name from secretsProfile.secrets containing password for database connection. + [MetastoreDbConnectionUserName ]: User name for database connection. TRINOPROFILEUSERPLUGINSSPECPLUGIN : Trino user plugins. [Enabled ]: Denotes whether the plugin is active or not. @@ -2248,7 +2708,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='CreateViaIdentityClusterpool', Mandatory, ValueFromPipeline)] @@ -2256,7 +2715,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. ${ClusterpoolInputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] @@ -2265,7 +2723,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster] # The cluster. - # To construct, see NOTES section for HDINSIGHTONAKSCLUSTER properties and create a hash table. ${HdInsightOnAksCluster}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] @@ -2362,6 +2819,15 @@ param( # Negative value (like -1) is handled as infinite timeout. ${AutoscaleProfileGracefulDecommissionTimeout}, + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Whether to create cluster using private IP instead of public IP. + # This property must be set at create time. + ${ClusterAccessProfileEnableInternalIngress}, + [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] @@ -2385,7 +2851,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INodeProfile[]] # The nodes definitions. - # To construct, see NOTES section for COMPUTEPROFILENODE properties and create a hash table. ${ComputeProfileNode}, [Parameter(ParameterSetName='CreateExpanded')] @@ -2421,6 +2886,56 @@ param( # Default: true. ${CoordinatorHighAvailabilityEnabled}, + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # The database URL + ${DatabaseHost}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # The database name + ${DatabaseName}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Reference for the database password + ${DatabasePasswordSecretRef}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # The name of the database user + ${DatabaseUsername}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Int32] + # 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. + ${DiskStorageDataDiskSize}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Standard_HDD_LRS", "Standard_SSD_LRS", "Standard_SSD_ZRS", "Premium_SSD_LRS", "Premium_SSD_ZRS", "Premium_SSD_v2_LRS")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Managed Disk Type. + ${DiskStorageDataDiskType}, + [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] @@ -2453,6 +2968,17 @@ param( # User name for database connection. ${FlinkHiveCatalogDbUserName}, + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Application", "Session")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # 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 + ${FlinkProfileDeploymentMode}, + [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] @@ -2485,6 +3011,16 @@ param( # The required memory in MB, Container memory will be 110 percentile ${HistoryServerMemory}, + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # The authentication mode to connect to your Hive metastore database. + # More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization + ${HiveMetastoreDbConnectionAuthenticationMode}, + [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] @@ -2505,10 +3041,77 @@ param( [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile]))] - [System.Collections.Hashtable] - # Kafka cluster profile. - ${KafkaProfile}, + [System.String] + # A string property representing additional JVM arguments for the Flink job. + # It should be space separated value. + ${JobSpecArg}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # 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. + ${JobSpecEntryClass}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # A string property that represents the name of the job JAR. + ${JobSpecJarName}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # A string property that specifies the directory where the job JAR is located. + ${JobSpecJobJarDirectory}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # A string property that represents the name of the savepoint for the Flink job + ${JobSpecSavePointName}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("STATELESS_UPDATE", "UPDATE", "LAST_STATE_UPDATE")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # 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. + ${JobSpecUpgradeMode}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Expose Kafka cluster in KRaft mode. + ${KafkaProfileEnableKRaft}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Expose worker nodes as public endpoints. + ${KafkaProfileEnablePublicEndpoint}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Fully qualified path of Azure Storage container used for Tiered Storage. + ${KafkaProfileRemoteStorageUri}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] @@ -2567,7 +3170,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScalingRule[]] # The scaling rules. - # To construct, see NOTES section for LOADBASEDCONFIGSCALINGRULE properties and create a hash table. ${LoadBasedConfigScalingRule}, [Parameter(ParameterSetName='CreateExpanded')] @@ -2578,6 +3180,16 @@ param( # True if metrics are enabled, otherwise false. ${LogAnalyticProfileMetricsEnabled}, + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # The authentication mode to connect to your Hive metastore database. + # More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization + ${MetastoreSpecDbConnectionAuthenticationMode}, + [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] @@ -2594,6 +3206,78 @@ param( # Enable Prometheus for cluster or not. ${PrometheuProfileEnabled}, + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String[]] + # List of usernames that should be marked as ranger admins. + # These usernames should match the user principal name (UPN) of the respective AAD users. + ${RangerAdmin}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Azure storage location of the blobs. + # MSI should have read/write access to this Storage account. + ${RangerAuditStorageAccount}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Enable Ranger for cluster or not. + ${RangerPluginProfileEnabled}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Denotes whether usersync service should be enabled + ${RangerUsersyncEnabled}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String[]] + # List of groups that should be synced. + # These group names should match the object id of the respective AAD groups. + ${RangerUsersyncGroup}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # User & groups can be synced automatically or via a static list that's refreshed. + ${RangerUsersyncMode}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String[]] + # List of user names that should be synced. + # These usernames should match the User principal name of the respective AAD users. + ${RangerUsersyncUser}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Azure storage location of a mapping file that lists user & group associations. + ${RangerUsersyncUserMappingLocation}, + [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] @@ -2610,7 +3294,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISchedule[]] # This specifies the schedules where scheduled based Autoscale to be enabled, the user has a choice to set multiple rules within the schedule across days and times (start/end). - # To construct, see NOTES section for SCHEDULEBASEDCONFIGSCHEDULE properties and create a hash table. ${ScheduleBasedConfigSchedule}, [Parameter(ParameterSetName='CreateExpanded')] @@ -2628,7 +3311,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScriptActionProfile[]] # The script action profile list. - # To construct, see NOTES section for SCRIPTACTIONPROFILE properties and create a hash table. ${ScriptActionProfile}, [Parameter(ParameterSetName='CreateExpanded')] @@ -2638,7 +3320,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISecretReference[]] # Properties of Key Vault secret. - # To construct, see NOTES section for SECRETREFERENCE properties and create a hash table. ${SecretReference}, [Parameter(ParameterSetName='CreateExpanded')] @@ -2648,7 +3329,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile[]] # The service configs profiles. - # To construct, see NOTES section for SERVICECONFIGSPROFILE properties and create a hash table. ${ServiceConfigsProfile}, [Parameter(ParameterSetName='CreateExpanded')] @@ -2788,7 +3468,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOption[]] # hive catalog options. - # To construct, see NOTES section for TRINOHIVECATALOG properties and create a hash table. ${TrinoHiveCatalog}, [Parameter(ParameterSetName='CreateExpanded')] @@ -2798,7 +3477,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoUserPlugin[]] # Trino user plugins. - # To construct, see NOTES section for TRINOPROFILEUSERPLUGINSSPECPLUGIN properties and create a hash table. ${TrinoProfileUserPluginsSpecPlugin}, [Parameter(ParameterSetName='CreateExpanded')] @@ -2934,7 +3612,13 @@ begin { CreateViaJsonString = 'Az.HdInsightOnAks.private\New-AzHdInsightOnAksCluster_CreateViaJsonString'; } if (('Create', 'CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) @@ -3045,7 +3729,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] @@ -3145,7 +3828,13 @@ begin { DeleteViaIdentity = 'Az.HdInsightOnAks.private\Remove-AzHdInsightOnAksClusterPool_DeleteViaIdentity'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) @@ -3276,14 +3965,12 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='DeleteViaIdentityClusterpool', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. ${ClusterpoolInputObject}, [Parameter()] @@ -3384,7 +4071,13 @@ begin { DeleteViaIdentityClusterpool = 'Az.HdInsightOnAks.private\Remove-AzHdInsightOnAksCluster_DeleteViaIdentityClusterpool'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) @@ -3542,7 +4235,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='ResizeViaIdentityClusterpool', Mandatory, ValueFromPipeline)] @@ -3550,7 +4242,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. ${ClusterpoolInputObject}, [Parameter(ParameterSetName='Resize', Mandatory, ValueFromPipeline)] @@ -3559,7 +4250,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResizeData] # The parameters for resizing a cluster. - # To construct, see NOTES section for CLUSTERRESIZEREQUEST properties and create a hash table. ${ClusterResizeRequest}, [Parameter(ParameterSetName='ResizeExpanded', Mandatory)] @@ -3696,7 +4386,13 @@ begin { ResizeViaJsonString = 'Az.HdInsightOnAks.private\Resize-AzHdInsightOnAksCluster_ResizeViaJsonString'; } if (('Resize', 'ResizeExpanded', 'ResizeViaJsonFilePath', 'ResizeViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) @@ -3788,6 +4484,9 @@ CLUSTERPOOL : Cluster pool. [LogAnalyticProfileEnabled ]: True if log analytics is enabled for cluster pool, otherwise false. [LogAnalyticProfileWorkspaceId ]: Log analytics workspace to associate with the OMS agent. [ManagedResourceGroupName ]: A resource group created by RP, to hold the resources created by RP on-behalf of customers. It will also be used to generate aksManagedResourceGroupName by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}. Please make sure it meets resource group name restriction. + [NetworkProfileApiServerAuthorizedIPRange >]: IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + [NetworkProfileEnablePrivateApiServer ]: ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet. + [NetworkProfileOutboundType ]: This can only be set at cluster pool creation time and cannot be changed later. [NetworkProfileSubnetId ]: Cluster pool subnet resource id. [ProfileClusterPoolVersion ]: Cluster pool version is a 2-part version. .Link @@ -3823,7 +4522,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool] # Cluster pool. - # To construct, see NOTES section for CLUSTERPOOL properties and create a hash table. ${ClusterPool}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] @@ -3858,6 +4556,31 @@ param( # Please make sure it meets resource group name restriction. ${ManagedResourceGroupName}, + [Parameter(ParameterSetName='UpdateExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String[]] + # IP ranges are specified in CIDR format, e.g. + # 137.117.106.88/29. + # This feature is not compatible with private AKS clusters. + # So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + ${NetworkProfileApiServerAuthorizedIPRange}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # ClusterPool is based on AKS cluster. + # AKS cluster exposes the API server to public internet by default. + # If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet. + ${NetworkProfileEnablePrivateApiServer}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("loadBalancer", "userDefinedRouting")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # This can only be set at cluster pool creation time and cannot be changed later. + ${NetworkProfileOutboundType}, + [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [System.String] @@ -3982,7 +4705,13 @@ begin { UpdateViaJsonString = 'Az.HdInsightOnAks.private\Set-AzHdInsightOnAksClusterPool_UpdateViaJsonString'; } if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) @@ -4128,7 +4857,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='RunViaIdentityClusterpool', Mandatory, ValueFromPipeline)] @@ -4136,7 +4864,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. ${ClusterpoolInputObject}, [Parameter(ParameterSetName='Run', Mandatory, ValueFromPipeline)] @@ -4256,7 +4983,13 @@ begin { RunViaJsonString = 'Az.HdInsightOnAks.private\Start-AzHdInsightOnAksClusterJob_RunViaJsonString'; } if (('Run', 'RunExpanded', 'RunViaJsonFilePath', 'RunViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) @@ -4353,13 +5086,268 @@ param( [Parameter(ParameterSetName='CheckViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [System.String] - # The name of the Azure region. - ${Location}, + # The name of the Azure region. + ${Location}, + + [Parameter(ParameterSetName='Check')] + [Parameter(ParameterSetName='CheckExpanded')] + [Parameter(ParameterSetName='CheckViaJsonFilePath')] + [Parameter(ParameterSetName='CheckViaJsonString')] + [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='CheckViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='CheckViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] + # Identity Parameter + ${InputObject}, + + [Parameter(ParameterSetName='Check', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='CheckViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INameAvailabilityParameters] + # Details of check name availability request body. + ${NameAvailabilityParameter}, + + [Parameter(ParameterSetName='CheckExpanded')] + [Parameter(ParameterSetName='CheckViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Name for checking availability. + ${Name}, + + [Parameter(ParameterSetName='CheckExpanded')] + [Parameter(ParameterSetName='CheckViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # The resource type in Microsoft.HDInsight. + ${Type}, + + [Parameter(ParameterSetName='CheckViaJsonFilePath', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Path of Json file supplied to the Check operation + ${JsonFilePath}, + + [Parameter(ParameterSetName='CheckViaJsonString', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Json string supplied to the Check 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(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 + + 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 = @{ + Check = 'Az.HdInsightOnAks.private\Test-AzHdInsightOnAksLocationNameAvailability_Check'; + CheckExpanded = 'Az.HdInsightOnAks.private\Test-AzHdInsightOnAksLocationNameAvailability_CheckExpanded'; + CheckViaIdentity = 'Az.HdInsightOnAks.private\Test-AzHdInsightOnAksLocationNameAvailability_CheckViaIdentity'; + CheckViaIdentityExpanded = 'Az.HdInsightOnAks.private\Test-AzHdInsightOnAksLocationNameAvailability_CheckViaIdentityExpanded'; + CheckViaJsonFilePath = 'Az.HdInsightOnAks.private\Test-AzHdInsightOnAksLocationNameAvailability_CheckViaJsonFilePath'; + CheckViaJsonString = 'Az.HdInsightOnAks.private\Test-AzHdInsightOnAksLocationNameAvailability_CheckViaJsonString'; + } + if (('Check', 'CheckExpanded', 'CheckViaJsonFilePath', 'CheckViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) + $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 + } +} +} + +<# +.Synopsis +Updates an existing Cluster Pool Tags. +.Description +Updates an existing Cluster Pool Tags. +.Example +$clusterResourceGroupName = "Group" +$clusterpoolName = "your-clusterpool" +$tag = @{name = "value"} + +Update-AzHdInsightOnAksClusterPoolTag ` + -ClusterPoolName $clusterpoolName ` + -ResourceGroupName $clusterResourceGroupName ` + -Tag $tag + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITagsObject +.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. + +CLUSTERPOOLTAG : Tags object for patch operations. + [Tag ]: Resource tags. + [(Any) ]: This indicates any property can be added to this object. + +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/update-azhdinsightonaksclusterpooltag +#> +function Update-AzHdInsightOnAksClusterPoolTag { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool])] +[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='Update', Mandatory)] + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] + [System.String] + # The name of the cluster pool. + ${ClusterPoolName}, - [Parameter(ParameterSetName='Check')] - [Parameter(ParameterSetName='CheckExpanded')] - [Parameter(ParameterSetName='CheckViaJsonFilePath')] - [Parameter(ParameterSetName='CheckViaJsonString')] + [Parameter(ParameterSetName='Update', Mandatory)] + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Update')] + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaJsonFilePath')] + [Parameter(ParameterSetName='UpdateViaJsonString')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] @@ -4367,46 +5355,38 @@ param( # The value must be an UUID. ${SubscriptionId}, - [Parameter(ParameterSetName='CheckViaIdentity', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='CheckViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, - [Parameter(ParameterSetName='Check', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='CheckViaIdentity', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INameAvailabilityParameters] - # Details of check name availability request body. - # To construct, see NOTES section for NAMEAVAILABILITYPARAMETER properties and create a hash table. - ${NameAvailabilityParameter}, - - [Parameter(ParameterSetName='CheckExpanded')] - [Parameter(ParameterSetName='CheckViaIdentityExpanded')] + [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [System.String] - # Name for checking availability. - ${Name}, + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITagsObject] + # Tags object for patch operations. + ${ClusterPoolTag}, - [Parameter(ParameterSetName='CheckExpanded')] - [Parameter(ParameterSetName='CheckViaIdentityExpanded')] + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [System.String] - # The resource type in Microsoft.HDInsight. - ${Type}, + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITagsObjectTags]))] + [System.Collections.Hashtable] + # Resource tags. + ${Tag}, - [Parameter(ParameterSetName='CheckViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [System.String] - # Path of Json file supplied to the Check operation + # Path of Json file supplied to the Update operation ${JsonFilePath}, - [Parameter(ParameterSetName='CheckViaJsonString', Mandatory)] + [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [System.String] - # Json string supplied to the Check operation + # Json string supplied to the Update operation ${JsonString}, [Parameter()] @@ -4418,6 +5398,12 @@ param( # 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] @@ -4438,6 +5424,12 @@ param( # 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] @@ -4484,15 +5476,21 @@ begin { } $mapping = @{ - Check = 'Az.HdInsightOnAks.private\Test-AzHdInsightOnAksLocationNameAvailability_Check'; - CheckExpanded = 'Az.HdInsightOnAks.private\Test-AzHdInsightOnAksLocationNameAvailability_CheckExpanded'; - CheckViaIdentity = 'Az.HdInsightOnAks.private\Test-AzHdInsightOnAksLocationNameAvailability_CheckViaIdentity'; - CheckViaIdentityExpanded = 'Az.HdInsightOnAks.private\Test-AzHdInsightOnAksLocationNameAvailability_CheckViaIdentityExpanded'; - CheckViaJsonFilePath = 'Az.HdInsightOnAks.private\Test-AzHdInsightOnAksLocationNameAvailability_CheckViaJsonFilePath'; - CheckViaJsonString = 'Az.HdInsightOnAks.private\Test-AzHdInsightOnAksLocationNameAvailability_CheckViaJsonString'; + Update = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPoolTag_Update'; + UpdateExpanded = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPoolTag_UpdateExpanded'; + UpdateViaIdentity = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPoolTag_UpdateViaIdentity'; + UpdateViaIdentityExpanded = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPoolTag_UpdateViaIdentityExpanded'; + UpdateViaJsonFilePath = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPoolTag_UpdateViaJsonFilePath'; + UpdateViaJsonString = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPoolTag_UpdateViaJsonString'; } - if (('Check', 'CheckExpanded', 'CheckViaJsonFilePath', 'CheckViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) @@ -4546,23 +5544,23 @@ end { <# .Synopsis -Updates an existing Cluster Pool Tags. +Upgrade a cluster pool. .Description -Updates an existing Cluster Pool Tags. +Upgrade a cluster pool. .Example $clusterResourceGroupName = "Group" $clusterpoolName = "your-clusterpool" -$tag = @{name = "value"} - -Update-AzHdInsightOnAksClusterPoolTag ` - -ClusterPoolName $clusterpoolName ` - -ResourceGroupName $clusterResourceGroupName ` - -Tag $tag +Update-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName -ClusterPoolName $clusterpoolName -UpgradeType NodeOsUpgrade +.Example +$clusterResourceGroupName = "Group" +$clusterpoolName = "your-clusterpool" +$upgradeObj = New-AzHdInsightOnAksClusterPoolAKSUpgradeObject -TargetAksVersion "1.27.9" -UpgradeClusterPool $true +Update-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName -ClusterPoolName $clusterpoolName -ClusterPoolUpgradeRequest $upgradeObj .Inputs -Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade .Inputs -Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITagsObject +Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool .Notes @@ -4570,9 +5568,8 @@ 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. -CLUSTERPOOLTAG : Tags object for patch operations. - [Tag ]: Resource tags. - [(Any) ]: This indicates any property can be added to this object. +CLUSTERPOOLUPGRADEREQUEST : Cluster Pool Upgrade. + UpgradeType : Type of upgrade. INPUTOBJECT : Identity Parameter [ClusterName ]: The name of the HDInsight cluster. @@ -4582,35 +5579,36 @@ INPUTOBJECT : Identity Parameter [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/update-azhdinsightonaksclusterpooltag +https://learn.microsoft.com/powershell/module/az.hdinsightonaks/update-azhdinsightonaksclusterpool #> -function Update-AzHdInsightOnAksClusterPoolTag { +function Update-AzHdInsightOnAksClusterPool { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool])] -[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[CmdletBinding(DefaultParameterSetName='UpgradeExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(ParameterSetName='Update', Mandatory)] - [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] - [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] + [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. - ${ClusterPoolName}, + ${Name}, - [Parameter(ParameterSetName='Update', Mandatory)] - [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] - [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] + [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='Update')] - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaJsonFilePath')] - [Parameter(ParameterSetName='UpdateViaJsonString')] + [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] @@ -4618,40 +5616,38 @@ param( # The value must be an UUID. ${SubscriptionId}, - [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [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 - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, - [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='Upgrade', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='UpgradeViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITagsObject] - # Tags object for patch operations. - # To construct, see NOTES section for CLUSTERPOOLTAG properties and create a hash table. - ${ClusterPoolTag}, + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade] + # Cluster Pool Upgrade. + ${ClusterPoolUpgradeRequest}, - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Parameter(ParameterSetName='UpgradeExpanded', Mandatory)] + [Parameter(ParameterSetName='UpgradeViaIdentityExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "NodeOsUpgrade")] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITagsObjectTags]))] - [System.Collections.Hashtable] - # Resource tags. - ${Tag}, + [System.String] + # Type of upgrade. + ${UpgradeType}, - [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='UpgradeViaJsonFilePath', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [System.String] - # Path of Json file supplied to the Update operation + # Path of Json file supplied to the Upgrade operation ${JsonFilePath}, - [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] + [Parameter(ParameterSetName='UpgradeViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [System.String] - # Json string supplied to the Update operation + # Json string supplied to the Upgrade operation ${JsonString}, [Parameter()] @@ -4741,15 +5737,21 @@ begin { } $mapping = @{ - Update = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPoolTag_Update'; - UpdateExpanded = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPoolTag_UpdateExpanded'; - UpdateViaIdentity = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPoolTag_UpdateViaIdentity'; - UpdateViaIdentityExpanded = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPoolTag_UpdateViaIdentityExpanded'; - UpdateViaJsonFilePath = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPoolTag_UpdateViaJsonFilePath'; - UpdateViaJsonString = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPoolTag_UpdateViaJsonString'; - } - if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + Upgrade = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPool_Upgrade'; + UpgradeExpanded = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPool_UpgradeExpanded'; + UpgradeViaIdentity = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPool_UpgradeViaIdentity'; + UpgradeViaIdentityExpanded = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPool_UpgradeViaIdentityExpanded'; + UpgradeViaJsonFilePath = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPool_UpgradeViaJsonFilePath'; + UpgradeViaJsonString = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPool_UpgradeViaJsonString'; + } + if (('Upgrade', 'UpgradeExpanded', 'UpgradeViaJsonFilePath', 'UpgradeViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) @@ -4815,10 +5817,18 @@ $yarnComponentConfig = New-AzHdInsightOnAksClusterServiceConfigObject -Component $yarnServiceConfigProfile = New-AzHdInsightOnAksClusterServiceConfigsProfileObject -ServiceName "yarn-service" -Config $yarnComponentConfig Update-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -PoolName $clusterpoolName -Name $clusterName -ClusterProfileServiceConfigsProfile $yarnServiceConfigProfile +.Example +$clusterResourceGroupName = "Group" +$clusterpoolName = "ps-test-pool" +$clusterName = "flinkcluster" +$hotfixObj = New-AzHdInsightOnAksClusterHotfixUpgradeObject -ComponentName Webssh -TargetBuildNumber 7 -TargetClusterVersion "1.1.1" -TargetOssVersion "0.4.2" +Update-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName -ClusterUpgradeRequest $hotfixObj .Inputs Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatch .Inputs +Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade +.Inputs Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster @@ -4828,9 +5838,6 @@ 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. CLUSTERPATCHREQUEST : The patch for a cluster. - Location : The geo-location where the resource lives - [Tag ]: Resource tags. - [(Any) ]: This indicates any property can be added to this object. [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. @@ -4857,6 +5864,10 @@ CLUSTERPATCHREQUEST : The patch for a cluster. [Value ]: List of key value pairs where key represents a valid service configuration name and value represents the value of the config. [(Any) ]: This indicates any property can be added to this object. ServiceName : Name of the service the configurations should apply to. + [DatabaseHost ]: The database URL + [DatabaseName ]: The database name + [DatabasePasswordSecretRef ]: Reference for the database password + [DatabaseUsername ]: The name of the database user [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. @@ -4870,6 +5881,14 @@ CLUSTERPATCHREQUEST : The patch for a cluster. [LogAnalyticProfileEnabled ]: True if log analytics is enabled for the cluster, otherwise false. [LogAnalyticProfileMetricsEnabled ]: True if metrics are enabled, otherwise false. [PrometheuProfileEnabled ]: Enable Prometheus for cluster or not. + [RangerAdmin >]: List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users. + [RangerAuditStorageAccount ]: Azure storage location of the blobs. MSI should have read/write access to this Storage account. + [RangerPluginProfileEnabled ]: Enable Ranger for cluster or not. + [RangerUsersyncEnabled ]: Denotes whether usersync service should be enabled + [RangerUsersyncGroup >]: List of groups that should be synced. These group names should match the object id of the respective AAD groups. + [RangerUsersyncMode ]: User & groups can be synced automatically or via a static list that's refreshed. + [RangerUsersyncUser >]: List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + [RangerUsersyncUserMappingLocation ]: Azure storage location of a mapping file that lists user & group associations. [ScheduleBasedConfigDefaultCount ]: Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are default when an specified scaling operation is executed (scale up/scale down) [ScheduleBasedConfigSchedule >]: This specifies the schedules where scheduled based Autoscale to be enabled, the user has a choice to set multiple rules within the schedule across days and times (start/end). Count : User has to set the node count anticipated at end of the scaling operation of the set current schedule configuration, format is integer. @@ -4878,6 +5897,8 @@ CLUSTERPATCHREQUEST : The patch for a cluster. StartTime : User has to set the start time of current schedule configuration, format like 10:30 (HH:MM). [ScheduleBasedConfigTimeZone ]: User has to specify the timezone on which the schedule has to be set for schedule based autoscale configuration. [SshProfileCount ]: Number of ssh pods per cluster. + [Tag ]: Resource tags. + [(Any) ]: This indicates any property can be added to this object. CLUSTERPOOLINPUTOBJECT : Identity Parameter [ClusterName ]: The name of the HDInsight cluster. @@ -4908,6 +5929,9 @@ CLUSTERPROFILESERVICECONFIGSPROFILE : The servi [(Any) ]: This indicates any property can be added to this object. ServiceName : Name of the service the configurations should apply to. +CLUSTERUPGRADEREQUEST : Cluster Upgrade. + UpgradeType : Type of upgrade. + INPUTOBJECT : Identity Parameter [ClusterName ]: The name of the HDInsight cluster. [ClusterPoolName ]: The name of the cluster pool. @@ -4941,6 +5965,12 @@ param( [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] + [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] @@ -4951,6 +5981,10 @@ param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] + [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] @@ -4961,6 +5995,10 @@ param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] + [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. @@ -4971,6 +6009,10 @@ param( [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaJsonFilePath')] [Parameter(ParameterSetName='UpdateViaJsonString')] + [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] @@ -4980,18 +6022,20 @@ param( [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [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 - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='UpdateViaIdentityClusterpool', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded', Mandatory, ValueFromPipeline)] + [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 - # To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. ${ClusterpoolInputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] @@ -5000,7 +6044,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatch] # The patch for a cluster. - # To construct, see NOTES section for CLUSTERPATCHREQUEST properties and create a hash table. ${ClusterPatchRequest}, [Parameter(ParameterSetName='UpdateExpanded')] @@ -5072,85 +6115,186 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScriptActionProfile[]] # The script action profile list. - # To construct, see NOTES section for CLUSTERPROFILESCRIPTACTIONPROFILE properties and create a hash table. ${ClusterProfileScriptActionProfile}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [AllowEmptyCollection()] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile[]] + # The service configs profiles. + ${ClusterProfileServiceConfigsProfile}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # The database URL + ${DatabaseHost}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # The database name + ${DatabaseName}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Reference for the database password + ${DatabasePasswordSecretRef}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # The name of the database user + ${DatabaseUsername}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Int32] + # 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. + ${LoadBasedConfigCooldownPeriod}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Int32] + # 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. + ${LoadBasedConfigMaxNode}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Int32] + # 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. + ${LoadBasedConfigMinNode}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Int32] + # User can specify the poll interval, this is the time period (in seconds) after which scaling metrics are polled for triggering a scaling operation. + ${LoadBasedConfigPollInterval}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScalingRule[]] + # The scaling rules. + ${LoadBasedConfigScalingRule}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # True if log analytics is enabled for the cluster, otherwise false. + ${LogAnalyticProfileEnabled}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # True if metrics are enabled, otherwise false. + ${LogAnalyticProfileMetricsEnabled}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile[]] - # The service configs profiles. - # To construct, see NOTES section for CLUSTERPROFILESERVICECONFIGSPROFILE properties and create a hash table. - ${ClusterProfileServiceConfigsProfile}, + [System.Management.Automation.SwitchParameter] + # Enable Prometheus for cluster or not. + ${PrometheuProfileEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [System.Int32] - # 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. - ${LoadBasedConfigCooldownPeriod}, + [System.String[]] + # List of usernames that should be marked as ranger admins. + # These usernames should match the user principal name (UPN) of the respective AAD users. + ${RangerAdmin}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [System.Int32] - # 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. - ${LoadBasedConfigMaxNode}, + [System.String] + # Azure storage location of the blobs. + # MSI should have read/write access to this Storage account. + ${RangerAuditStorageAccount}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [System.Int32] - # 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. - ${LoadBasedConfigMinNode}, + [System.Management.Automation.SwitchParameter] + # Enable Ranger for cluster or not. + ${RangerPluginProfileEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [System.Int32] - # User can specify the poll interval, this is the time period (in seconds) after which scaling metrics are polled for triggering a scaling operation. - ${LoadBasedConfigPollInterval}, + [System.Management.Automation.SwitchParameter] + # Denotes whether usersync service should be enabled + ${RangerUsersyncEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScalingRule[]] - # The scaling rules. - # To construct, see NOTES section for LOADBASEDCONFIGSCALINGRULE properties and create a hash table. - ${LoadBasedConfigScalingRule}, + [System.String[]] + # List of groups that should be synced. + # These group names should match the object id of the respective AAD groups. + ${RangerUsersyncGroup}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [System.Management.Automation.SwitchParameter] - # True if log analytics is enabled for the cluster, otherwise false. - ${LogAnalyticProfileEnabled}, + [System.String] + # User & groups can be synced automatically or via a static list that's refreshed. + ${RangerUsersyncMode}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [System.Management.Automation.SwitchParameter] - # True if metrics are enabled, otherwise false. - ${LogAnalyticProfileMetricsEnabled}, + [System.String[]] + # List of user names that should be synced. + # These usernames should match the User principal name of the respective AAD users. + ${RangerUsersyncUser}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Enable Prometheus for cluster or not. - ${PrometheuProfileEnabled}, + [System.String] + # Azure storage location of a mapping file that lists user & group associations. + ${RangerUsersyncUserMappingLocation}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] @@ -5168,7 +6312,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISchedule[]] # This specifies the schedules where scheduled based Autoscale to be enabled, the user has a choice to set multiple rules within the schedule across days and times (start/end). - # To construct, see NOTES section for SCHEDULEBASEDCONFIGSCHEDULE properties and create a hash table. ${ScheduleBasedConfigSchedule}, [Parameter(ParameterSetName='UpdateExpanded')] @@ -5191,23 +6334,42 @@ param( [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='UpgradeViaJsonFilePath', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [System.String] # Path of Json file supplied to the Update operation ${JsonFilePath}, [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] + [Parameter(ParameterSetName='UpgradeViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [System.String] # Json string supplied to the Update operation ${JsonString}, + [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")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Type of upgrade. + ${UpgradeType}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -5303,9 +6465,23 @@ begin { UpdateViaIdentityExpanded = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_UpdateViaIdentityExpanded'; UpdateViaJsonFilePath = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_UpdateViaJsonFilePath'; UpdateViaJsonString = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_UpdateViaJsonString'; - } - if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + Upgrade = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_Upgrade'; + UpgradeExpanded = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_UpgradeExpanded'; + UpgradeViaIdentity = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_UpgradeViaIdentity'; + UpgradeViaIdentityClusterpool = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_UpgradeViaIdentityClusterpool'; + UpgradeViaIdentityClusterpoolExpanded = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_UpgradeViaIdentityClusterpoolExpanded'; + UpgradeViaIdentityExpanded = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_UpgradeViaIdentityExpanded'; + UpgradeViaJsonFilePath = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_UpgradeViaJsonFilePath'; + UpgradeViaJsonString = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_UpgradeViaJsonString'; + } + if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString', 'Upgrade', 'UpgradeExpanded', 'UpgradeViaJsonFilePath', 'UpgradeViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) @@ -5374,7 +6550,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksClusterConfigFileObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterConfigFile])] -[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Alias('Name')] @@ -5468,6 +6644,245 @@ end { } } +<# +.Synopsis +Create an object to hold the cluster upgrade parameters. +.Description +Create an object to hold the cluster upgrade parameters. +.Example +$hotfixObj = New-AzHdInsightOnAksClusterHotfixUpgradeObject -ComponentName Webssh -TargetBuildNumber 7 -TargetClusterVersion "1.1.1" -TargetOssVersion "0.4.2" + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade +.Link +https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksClusterHotfixUpgradeObject +#> +function New-AzHdInsightOnAksClusterHotfixUpgradeObject { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade])] +[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false)] +param( + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Name of component to be upgraded. + ${ComponentName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Target build number of component to be upgraded. + ${TargetBuildNumber}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Target cluster version of component to be upgraded. + ${TargetClusterVersion}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Target OSS version of component to be upgraded. + ${TargetOssVersion} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + 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 = @{ + Create = 'Az.HdInsightOnAks.custom\New-AzHdInsightOnAksClusterHotfixUpgradeObject'; + } + $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) + $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 + } +} +} + +<# +.Synopsis +Create an object to hold the cluster pool upgrade parameters. +.Description +Create an object to hold the cluster pool upgrade parameters. +.Example +New-AzHdInsightOnAksClusterPoolAKSUpgradeObject -TargetAksVersion "1.27.9" -UpgradeClusterPool $true + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade +.Link +https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject +#> +function New-AzHdInsightOnAksClusterPoolAKSUpgradeObject { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade])] +[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false)] +param( + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Target AKS version. + # When it's not set, latest version will be used. + # When upgradeClusterPool is true and upgradeAllClusterNodes is false, target version should be greater or equal to current version. + # When upgradeClusterPool is false and upgradeAllClusterNodes is true, target version should be equal to AKS version of cluster pool. + ${TargetAksVersion}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # whether upgrade all clusters' nodes. + # If it's true, upgradeClusterPool should be false. + ${UpgradeAllClusterNode}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # whether upgrade cluster pool or not. + # If it's true, upgradeAllClusterNodes should be false. + ${UpgradeClusterPool} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + 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 = @{ + Create = 'Az.HdInsightOnAks.custom\New-AzHdInsightOnAksClusterPoolAKSUpgradeObject'; + } + $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) + $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 + } +} +} + <# .Synopsis Create a component config. @@ -5498,7 +6913,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksClusterServiceConfigObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfig])] -[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Alias('Name')] @@ -5511,7 +6926,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterConfigFile[]] # List of Config Files. - # To construct, see NOTES section for FILE properties and create a hash table. ${File} ) @@ -5628,7 +7042,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksClusterServiceConfigsProfileObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile])] -[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Alias('Name')] @@ -5641,7 +7055,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfig[]] # List of service configs. - # To construct, see NOTES section for CONFIG properties and create a hash table. ${Config} ) @@ -5748,7 +7161,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksFlinkJobObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob])] -[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] @@ -5799,7 +7212,6 @@ param( # Additional properties used to configure Flink jobs. # It allows users to set properties such as parallelism and jobSavePointDirectory. # It accepts additional key-value pairs as properties, where the keys are strings and the values are strings as well. - # To construct, see NOTES section for FLINKCONFIGURATION properties and create a hash table. ${FlinkConfiguration} ) @@ -5898,7 +7310,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksNodeProfileObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INodeProfile])] -[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] @@ -6022,7 +7434,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksSecretReferenceObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISecretReference])] -[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] @@ -6142,7 +7554,7 @@ https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightO #> function New-AzHdInsightOnAksTrinoHiveCatalogObject { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOption])] -[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Remove-AzHdInsightOnAksCluster.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Remove-AzHdInsightOnAksCluster.ps1 index 530efbf1620f..d524cabce8fe 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Remove-AzHdInsightOnAksCluster.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Remove-AzHdInsightOnAksCluster.ps1 @@ -93,14 +93,12 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='DeleteViaIdentityClusterpool', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. ${ClusterpoolInputObject}, [Parameter()] @@ -201,7 +199,13 @@ begin { DeleteViaIdentityClusterpool = 'Az.HdInsightOnAks.private\Remove-AzHdInsightOnAksCluster_DeleteViaIdentityClusterpool'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Remove-AzHdInsightOnAksClusterPool.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Remove-AzHdInsightOnAksClusterPool.ps1 index eb3d912e61fc..7e11a99af515 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Remove-AzHdInsightOnAksClusterPool.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Remove-AzHdInsightOnAksClusterPool.ps1 @@ -73,7 +73,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] @@ -173,7 +172,13 @@ begin { DeleteViaIdentity = 'Az.HdInsightOnAks.private\Remove-AzHdInsightOnAksClusterPool_DeleteViaIdentity'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Resize-AzHdInsightOnAksCluster.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Resize-AzHdInsightOnAksCluster.ps1 index 9602d0bc433f..46a7afef6532 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Resize-AzHdInsightOnAksCluster.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Resize-AzHdInsightOnAksCluster.ps1 @@ -120,7 +120,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='ResizeViaIdentityClusterpool', Mandatory, ValueFromPipeline)] @@ -128,7 +127,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. ${ClusterpoolInputObject}, [Parameter(ParameterSetName='Resize', Mandatory, ValueFromPipeline)] @@ -137,7 +135,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResizeData] # The parameters for resizing a cluster. - # To construct, see NOTES section for CLUSTERRESIZEREQUEST properties and create a hash table. ${ClusterResizeRequest}, [Parameter(ParameterSetName='ResizeExpanded', Mandatory)] @@ -274,7 +271,13 @@ begin { ResizeViaJsonString = 'Az.HdInsightOnAks.private\Resize-AzHdInsightOnAksCluster_ResizeViaJsonString'; } if (('Resize', 'ResizeExpanded', 'ResizeViaJsonFilePath', 'ResizeViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Set-AzHdInsightOnAksClusterPool.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Set-AzHdInsightOnAksClusterPool.ps1 index 888d5dc48572..c00c5c5f3e6c 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Set-AzHdInsightOnAksClusterPool.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Set-AzHdInsightOnAksClusterPool.ps1 @@ -54,6 +54,9 @@ CLUSTERPOOL : Cluster pool. [LogAnalyticProfileEnabled ]: True if log analytics is enabled for cluster pool, otherwise false. [LogAnalyticProfileWorkspaceId ]: Log analytics workspace to associate with the OMS agent. [ManagedResourceGroupName ]: A resource group created by RP, to hold the resources created by RP on-behalf of customers. It will also be used to generate aksManagedResourceGroupName by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}. Please make sure it meets resource group name restriction. + [NetworkProfileApiServerAuthorizedIPRange >]: IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + [NetworkProfileEnablePrivateApiServer ]: ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet. + [NetworkProfileOutboundType ]: This can only be set at cluster pool creation time and cannot be changed later. [NetworkProfileSubnetId ]: Cluster pool subnet resource id. [ProfileClusterPoolVersion ]: Cluster pool version is a 2-part version. .Link @@ -89,7 +92,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool] # Cluster pool. - # To construct, see NOTES section for CLUSTERPOOL properties and create a hash table. ${ClusterPool}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] @@ -124,6 +126,31 @@ param( # Please make sure it meets resource group name restriction. ${ManagedResourceGroupName}, + [Parameter(ParameterSetName='UpdateExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String[]] + # IP ranges are specified in CIDR format, e.g. + # 137.117.106.88/29. + # This feature is not compatible with private AKS clusters. + # So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + ${NetworkProfileApiServerAuthorizedIPRange}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # ClusterPool is based on AKS cluster. + # AKS cluster exposes the API server to public internet by default. + # If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet. + ${NetworkProfileEnablePrivateApiServer}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("loadBalancer", "userDefinedRouting")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # This can only be set at cluster pool creation time and cannot be changed later. + ${NetworkProfileOutboundType}, + [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [System.String] @@ -248,7 +275,13 @@ begin { UpdateViaJsonString = 'Az.HdInsightOnAks.private\Set-AzHdInsightOnAksClusterPool_UpdateViaJsonString'; } if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Start-AzHdInsightOnAksClusterJob.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Start-AzHdInsightOnAksClusterJob.ps1 index 331a85de1609..20cd9f91a371 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Start-AzHdInsightOnAksClusterJob.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Start-AzHdInsightOnAksClusterJob.ps1 @@ -108,7 +108,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='RunViaIdentityClusterpool', Mandatory, ValueFromPipeline)] @@ -116,7 +115,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. ${ClusterpoolInputObject}, [Parameter(ParameterSetName='Run', Mandatory, ValueFromPipeline)] @@ -236,7 +234,13 @@ begin { RunViaJsonString = 'Az.HdInsightOnAks.private\Start-AzHdInsightOnAksClusterJob_RunViaJsonString'; } if (('Run', 'RunExpanded', 'RunViaJsonFilePath', 'RunViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Test-AzHdInsightOnAksLocationNameAvailability.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Test-AzHdInsightOnAksLocationNameAvailability.ps1 index dcde47798c32..cd15e08f298b 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Test-AzHdInsightOnAksLocationNameAvailability.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Test-AzHdInsightOnAksLocationNameAvailability.ps1 @@ -78,7 +78,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Check', Mandatory, ValueFromPipeline)] @@ -86,7 +85,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INameAvailabilityParameters] # Details of check name availability request body. - # To construct, see NOTES section for NAMEAVAILABILITYPARAMETER properties and create a hash table. ${NameAvailabilityParameter}, [Parameter(ParameterSetName='CheckExpanded')] @@ -198,7 +196,13 @@ begin { CheckViaJsonString = 'Az.HdInsightOnAks.private\Test-AzHdInsightOnAksLocationNameAvailability_CheckViaJsonString'; } if (('Check', 'CheckExpanded', 'CheckViaJsonFilePath', 'CheckViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Update-AzHdInsightOnAksCluster.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Update-AzHdInsightOnAksCluster.ps1 index 1ce2fd5856cc..3224372ac6e0 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Update-AzHdInsightOnAksCluster.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Update-AzHdInsightOnAksCluster.ps1 @@ -28,10 +28,18 @@ $yarnComponentConfig = New-AzHdInsightOnAksClusterServiceConfigObject -Component $yarnServiceConfigProfile = New-AzHdInsightOnAksClusterServiceConfigsProfileObject -ServiceName "yarn-service" -Config $yarnComponentConfig Update-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -PoolName $clusterpoolName -Name $clusterName -ClusterProfileServiceConfigsProfile $yarnServiceConfigProfile +.Example +$clusterResourceGroupName = "Group" +$clusterpoolName = "ps-test-pool" +$clusterName = "flinkcluster" +$hotfixObj = New-AzHdInsightOnAksClusterHotfixUpgradeObject -ComponentName Webssh -TargetBuildNumber 7 -TargetClusterVersion "1.1.1" -TargetOssVersion "0.4.2" +Update-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName -ClusterUpgradeRequest $hotfixObj .Inputs Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatch .Inputs +Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade +.Inputs Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster @@ -41,9 +49,6 @@ 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. CLUSTERPATCHREQUEST : The patch for a cluster. - Location : The geo-location where the resource lives - [Tag ]: Resource tags. - [(Any) ]: This indicates any property can be added to this object. [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. @@ -70,6 +75,10 @@ CLUSTERPATCHREQUEST : The patch for a cluster. [Value ]: List of key value pairs where key represents a valid service configuration name and value represents the value of the config. [(Any) ]: This indicates any property can be added to this object. ServiceName : Name of the service the configurations should apply to. + [DatabaseHost ]: The database URL + [DatabaseName ]: The database name + [DatabasePasswordSecretRef ]: Reference for the database password + [DatabaseUsername ]: The name of the database user [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. @@ -83,6 +92,14 @@ CLUSTERPATCHREQUEST : The patch for a cluster. [LogAnalyticProfileEnabled ]: True if log analytics is enabled for the cluster, otherwise false. [LogAnalyticProfileMetricsEnabled ]: True if metrics are enabled, otherwise false. [PrometheuProfileEnabled ]: Enable Prometheus for cluster or not. + [RangerAdmin >]: List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users. + [RangerAuditStorageAccount ]: Azure storage location of the blobs. MSI should have read/write access to this Storage account. + [RangerPluginProfileEnabled ]: Enable Ranger for cluster or not. + [RangerUsersyncEnabled ]: Denotes whether usersync service should be enabled + [RangerUsersyncGroup >]: List of groups that should be synced. These group names should match the object id of the respective AAD groups. + [RangerUsersyncMode ]: User & groups can be synced automatically or via a static list that's refreshed. + [RangerUsersyncUser >]: List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + [RangerUsersyncUserMappingLocation ]: Azure storage location of a mapping file that lists user & group associations. [ScheduleBasedConfigDefaultCount ]: Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are default when an specified scaling operation is executed (scale up/scale down) [ScheduleBasedConfigSchedule >]: This specifies the schedules where scheduled based Autoscale to be enabled, the user has a choice to set multiple rules within the schedule across days and times (start/end). Count : User has to set the node count anticipated at end of the scaling operation of the set current schedule configuration, format is integer. @@ -91,6 +108,8 @@ CLUSTERPATCHREQUEST : The patch for a cluster. StartTime : User has to set the start time of current schedule configuration, format like 10:30 (HH:MM). [ScheduleBasedConfigTimeZone ]: User has to specify the timezone on which the schedule has to be set for schedule based autoscale configuration. [SshProfileCount ]: Number of ssh pods per cluster. + [Tag ]: Resource tags. + [(Any) ]: This indicates any property can be added to this object. CLUSTERPOOLINPUTOBJECT : Identity Parameter [ClusterName ]: The name of the HDInsight cluster. @@ -121,6 +140,9 @@ CLUSTERPROFILESERVICECONFIGSPROFILE : The servi [(Any) ]: This indicates any property can be added to this object. ServiceName : Name of the service the configurations should apply to. +CLUSTERUPGRADEREQUEST : Cluster Upgrade. + UpgradeType : Type of upgrade. + INPUTOBJECT : Identity Parameter [ClusterName ]: The name of the HDInsight cluster. [ClusterPoolName ]: The name of the cluster pool. @@ -154,6 +176,12 @@ param( [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] + [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] @@ -164,6 +192,10 @@ param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] + [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] @@ -174,6 +206,10 @@ param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] + [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. @@ -184,6 +220,10 @@ param( [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaJsonFilePath')] [Parameter(ParameterSetName='UpdateViaJsonString')] + [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] @@ -193,18 +233,20 @@ param( [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [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 - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='UpdateViaIdentityClusterpool', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded', Mandatory, ValueFromPipeline)] + [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 - # To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. ${ClusterpoolInputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] @@ -213,7 +255,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatch] # The patch for a cluster. - # To construct, see NOTES section for CLUSTERPATCHREQUEST properties and create a hash table. ${ClusterPatchRequest}, [Parameter(ParameterSetName='UpdateExpanded')] @@ -285,7 +326,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScriptActionProfile[]] # The script action profile list. - # To construct, see NOTES section for CLUSTERPROFILESCRIPTACTIONPROFILE properties and create a hash table. ${ClusterProfileScriptActionProfile}, [Parameter(ParameterSetName='UpdateExpanded')] @@ -295,9 +335,40 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile[]] # The service configs profiles. - # To construct, see NOTES section for CLUSTERPROFILESERVICECONFIGSPROFILE properties and create a hash table. ${ClusterProfileServiceConfigsProfile}, + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # The database URL + ${DatabaseHost}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # The database name + ${DatabaseName}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Reference for the database password + ${DatabasePasswordSecretRef}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # The name of the database user + ${DatabaseUsername}, + [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] @@ -338,7 +409,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScalingRule[]] # The scaling rules. - # To construct, see NOTES section for LOADBASEDCONFIGSCALINGRULE properties and create a hash table. ${LoadBasedConfigScalingRule}, [Parameter(ParameterSetName='UpdateExpanded')] @@ -365,6 +435,78 @@ param( # Enable Prometheus for cluster or not. ${PrometheuProfileEnabled}, + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String[]] + # List of usernames that should be marked as ranger admins. + # These usernames should match the user principal name (UPN) of the respective AAD users. + ${RangerAdmin}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Azure storage location of the blobs. + # MSI should have read/write access to this Storage account. + ${RangerAuditStorageAccount}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Enable Ranger for cluster or not. + ${RangerPluginProfileEnabled}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Denotes whether usersync service should be enabled + ${RangerUsersyncEnabled}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String[]] + # List of groups that should be synced. + # These group names should match the object id of the respective AAD groups. + ${RangerUsersyncGroup}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # User & groups can be synced automatically or via a static list that's refreshed. + ${RangerUsersyncMode}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String[]] + # List of user names that should be synced. + # These usernames should match the User principal name of the respective AAD users. + ${RangerUsersyncUser}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Azure storage location of a mapping file that lists user & group associations. + ${RangerUsersyncUserMappingLocation}, + [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] @@ -381,7 +523,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISchedule[]] # This specifies the schedules where scheduled based Autoscale to be enabled, the user has a choice to set multiple rules within the schedule across days and times (start/end). - # To construct, see NOTES section for SCHEDULEBASEDCONFIGSCHEDULE properties and create a hash table. ${ScheduleBasedConfigSchedule}, [Parameter(ParameterSetName='UpdateExpanded')] @@ -404,23 +545,42 @@ param( [Parameter(ParameterSetName='UpdateViaIdentityClusterpoolExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, [Parameter(ParameterSetName='UpdateViaJsonFilePath', Mandatory)] + [Parameter(ParameterSetName='UpgradeViaJsonFilePath', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [System.String] # Path of Json file supplied to the Update operation ${JsonFilePath}, [Parameter(ParameterSetName='UpdateViaJsonString', Mandatory)] + [Parameter(ParameterSetName='UpgradeViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [System.String] # Json string supplied to the Update operation ${JsonString}, + [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")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] + [System.String] + # Type of upgrade. + ${UpgradeType}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -516,9 +676,23 @@ begin { UpdateViaIdentityExpanded = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_UpdateViaIdentityExpanded'; UpdateViaJsonFilePath = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_UpdateViaJsonFilePath'; UpdateViaJsonString = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_UpdateViaJsonString'; + Upgrade = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_Upgrade'; + UpgradeExpanded = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_UpgradeExpanded'; + UpgradeViaIdentity = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_UpgradeViaIdentity'; + UpgradeViaIdentityClusterpool = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_UpgradeViaIdentityClusterpool'; + UpgradeViaIdentityClusterpoolExpanded = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_UpgradeViaIdentityClusterpoolExpanded'; + UpgradeViaIdentityExpanded = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_UpgradeViaIdentityExpanded'; + UpgradeViaJsonFilePath = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_UpgradeViaJsonFilePath'; + UpgradeViaJsonString = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksCluster_UpgradeViaJsonString'; } - if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString', 'Upgrade', 'UpgradeExpanded', 'UpgradeViaJsonFilePath', 'UpgradeViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Update-AzHdInsightOnAksClusterPool.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Update-AzHdInsightOnAksClusterPool.ps1 new file mode 100644 index 000000000000..8a9569ac6eb4 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Update-AzHdInsightOnAksClusterPool.ps1 @@ -0,0 +1,276 @@ + +# ---------------------------------------------------------------------------------- +# 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" +Update-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName -ClusterPoolName $clusterpoolName -UpgradeType NodeOsUpgrade +.Example +$clusterResourceGroupName = "Group" +$clusterpoolName = "your-clusterpool" +$upgradeObj = New-AzHdInsightOnAksClusterPoolAKSUpgradeObject -TargetAksVersion "1.27.9" -UpgradeClusterPool $true +Update-AzHdInsightOnAksClusterPool -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/update-azhdinsightonaksclusterpool +#> +function Update-AzHdInsightOnAksClusterPool { +[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 + + 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\Update-AzHdInsightOnAksClusterPool_Upgrade'; + UpgradeExpanded = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPool_UpgradeExpanded'; + UpgradeViaIdentity = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPool_UpgradeViaIdentity'; + UpgradeViaIdentityExpanded = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPool_UpgradeViaIdentityExpanded'; + UpgradeViaJsonFilePath = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPool_UpgradeViaJsonFilePath'; + UpgradeViaJsonString = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPool_UpgradeViaJsonString'; + } + if (('Upgrade', 'UpgradeExpanded', 'UpgradeViaJsonFilePath', 'UpgradeViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) + $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/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Update-AzHdInsightOnAksClusterPoolTag.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Update-AzHdInsightOnAksClusterPoolTag.ps1 index a21708048f2b..7b1cf0f7a039 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Update-AzHdInsightOnAksClusterPoolTag.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/exports/Update-AzHdInsightOnAksClusterPoolTag.ps1 @@ -93,7 +93,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity] # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] @@ -101,7 +100,6 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITagsObject] # Tags object for patch operations. - # To construct, see NOTES section for CLUSTERPOOLTAG properties and create a hash table. ${ClusterPoolTag}, [Parameter(ParameterSetName='UpdateExpanded')] @@ -219,7 +217,13 @@ begin { UpdateViaJsonString = 'Az.HdInsightOnAks.private\Update-AzHdInsightOnAksClusterPoolTag_UpdateViaJsonString'; } if (('Update', 'UpdateExpanded', 'UpdateViaJsonFilePath', 'UpdateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } + 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) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generate-portal-ux.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generate-portal-ux.ps1 index 1ba897ab4ae1..b9d61c4e5534 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generate-portal-ux.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generate-portal-ux.ps1 @@ -11,6 +11,9 @@ # limitations under the License. # Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code # is regenerated. +# +# This Script will create a folder dedicated to Azure-specific content and includes metadata files essential for enhancing the user experience (UX) within the Azure portal. +# These files are utilized by the Azure portal to effectively present the usage of cmdlets related to specific resources on portal pages. # ---------------------------------------------------------------------------------- param([switch]$NotIsolated) $ErrorActionPreference = 'Stop' @@ -22,23 +25,6 @@ if(-not $NotIsolated) { return } -$exportsFolder = Join-Path $PSScriptRoot 'exports' -if(-not (Test-Path $exportsFolder)) { - Write-Error "Exports folder '$exportsFolder' was not found." -} - -$directories = Get-ChildItem -Directory -Path $exportsFolder -$hasProfiles = ($directories | Measure-Object).Count -gt 0 -if(-not $hasProfiles) { - $directories = Get-Item -Path $exportsFolder -} - -$docsFolder = Join-Path $PSScriptRoot 'docs' -if(Test-Path $docsFolder) { - $null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue -} -$null = New-Item -ItemType Directory -Force -Path $docsFolder -ErrorAction SilentlyContinue - $moduleName = 'Az.HdInsightOnAks' $rootModuleName = '' if ($rootModuleName -eq "") @@ -56,8 +42,6 @@ $instance = [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module]::Instance $moduleInfo = Get-Module -Name $moduleName $parameterSetsInfo = Get-Module -Name "$moduleName.private" -$buildinFunctions = @("Export-CmdletSurface", "Export-ExampleStub", "Export-FormatPs1xml", "Export-HelpMarkdown", "Export-ModelSurface", "Export-ProxyCmdlet", "Export-Psd1", "Export-TestStub", "Get-CommonParameter", "Get-ModuleGuid", "Get-ScriptCmdlet") - function Test-FunctionSupported() { [CmdletBinding()] @@ -67,12 +51,12 @@ function Test-FunctionSupported() $FunctionName ) - If ($buildinfunctions.Contains($FunctionName)) { + If (-not $FunctionName.Contains("_")) { return $false } $cmdletName, $parameterSetName = $FunctionName.Split("_") - If ($parameterSetName.Contains("List") -or $parameterSetName.Contains("ViaIdentity")) { + If ($parameterSetName.Contains("List") -or $parameterSetName.Contains("ViaIdentity") -or $parameterSetName.Contains("ViaJson")) { return $false } If ($cmdletName.StartsWith("New") -or $cmdletName.StartsWith("Set") -or $cmdletName.StartsWith("Update")) { @@ -325,7 +309,7 @@ function New-MetadataForCmdlet() return $result } -$parameterSets = $parameterSetsInfo.ExportedCmdlets.Keys | Where-Object { Test-functionSupported($_) } +$parameterSets = $parameterSetsInfo.ExportedCmdlets.Keys | Where-Object { Test-FunctionSupported($_) } $resourceTypes = @{} foreach ($parameterSetName in $parameterSets) { diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/Module.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/Module.cs index 64a0ad3e856f..e2507c8700fb 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/Module.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/Module.cs @@ -17,6 +17,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks using SignalDelegate = global::System.Func, global::System.Threading.Tasks.Task>; using EventListenerDelegate = global::System.Func, global::System.Func, global::System.Threading.Tasks.Task>, global::System.Management.Automation.InvocationInfo, string, string, string, global::System.Exception, global::System.Threading.Tasks.Task>; using NextDelegate = global::System.Func, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>; + using SanitizerDelegate = global::System.Action; + using GetTelemetryInfoDelegate = global::System.Func>; /// A class that contains the module-common code and data. public partial class Module @@ -26,12 +28,20 @@ public partial class Module public global::System.Net.Http.HttpClientHandler _handler = new global::System.Net.Http.HttpClientHandler(); + private static bool _init = false; + + private static readonly global::System.Object _initLock = new global::System.Object(); + + private static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module _instance; + /// the ISendAsync pipeline instance private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.HttpPipeline _pipeline; /// the ISendAsync pipeline instance (when proxy is enabled) private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.HttpPipeline _pipelineWithProxy; + private static readonly global::System.Object _singletonLock = new global::System.Object(); + public bool _useProxy = false; public global::System.Net.WebProxy _webProxy = new global::System.Net.WebProxy(); @@ -51,11 +61,11 @@ public partial class Module /// The delegate to get the telemetry Id. public GetTelemetryIdDelegate GetTelemetryId { get; set; } - /// Backing field for property. - private static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module _instance; + /// The delegate to get the telemetry info. + public GetTelemetryInfoDelegate GetTelemetryInfo { get; set; } /// the singleton of this module class - public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module Instance => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module._instance?? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module._instance = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module()); + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module Instance { get { if (_instance == null) { lock (_singletonLock) { if (_instance == null) { _instance = new Module(); }}} return _instance; } } /// The Name of this module public string Name => @"Az.HdInsightOnAks"; @@ -72,6 +82,9 @@ public partial class Module /// The ResourceID for this module (azure arm). public string ResourceId => @"Az.HdInsightOnAks"; + /// The delegate to call in WriteObject to sanitize the output object. + public SanitizerDelegate SanitizeOutput { get; set; } + /// The delegate for creating a telemetry. public TelemetryDelegate Telemetry { get; set; } @@ -117,9 +130,17 @@ public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.HttpPipeline Cr /// Initialization steps performed after the module is loaded. public void Init() { - OnModuleLoad?.Invoke( ResourceId, Name ,(step)=> { _pipeline.Prepend(step); } , (step)=> { _pipeline.Append(step); } ); - OnModuleLoad?.Invoke( ResourceId, Name ,(step)=> { _pipelineWithProxy.Prepend(step); } , (step)=> { _pipelineWithProxy.Append(step); } ); - CustomInit(); + if (_init == false) + { + lock (_initLock) { + if (_init == false) { + OnModuleLoad?.Invoke( ResourceId, Name ,(step)=> { _pipeline.Prepend(step); } , (step)=> { _pipeline.Append(step); } ); + OnModuleLoad?.Invoke( ResourceId, Name ,(step)=> { _pipelineWithProxy.Prepend(step); } , (step)=> { _pipelineWithProxy.Append(step); } ); + CustomInit(); + _init = true; + } + } + } } /// Creates the module instance. diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/HdInsightOnAks.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/HdInsightOnAks.cs index a50314b372b5..4d7dc62c819a 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/HdInsightOnAks.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/HdInsightOnAks.cs @@ -9,7 +9,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks /// /// Low-level API implementation for the HdInsightOnAks service. - /// HDInsight On Aks Management Client + /// HDInsight Containers Management Client /// public partial class HdInsightOnAks { @@ -27,7 +27,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task AvailableClusterPoolVersionsListByLocation(string subscriptionId, string location, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -67,7 +67,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task AvailableClusterPoolVersionsListByLocationViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -116,7 +116,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task AvailableClusterPoolVersionsListByLocationViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -166,7 +166,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task AvailableClusterPoolVersionsListByLocationWithResult(string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -342,7 +342,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task AvailableClusterVersionsListByLocation(string subscriptionId, string location, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -382,7 +382,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task AvailableClusterVersionsListByLocationViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -431,7 +431,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task AvailableClusterVersionsListByLocationViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -481,7 +481,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task AvailableClusterVersionsListByLocationWithResult(string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -644,7 +644,7 @@ public partial class HdInsightOnAks } } - /// Get jobs of HDInsight on AKS cluster. + /// List a cluster available upgrade. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. @@ -657,9 +657,9 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterJobsList(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterAvailableUpgradesList(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -673,7 +673,7 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(clusterPoolName) + "/clusters/" + global::System.Uri.EscapeDataString(clusterName) - + "/jobs" + + "/availableUpgrades" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -687,11 +687,11 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClusterJobsList_Call (request, onOk,onDefault,eventListener,sender); + await this.ClusterAvailableUpgradesList_Call (request, onOk,onDefault,eventListener,sender); } } - /// Get jobs of HDInsight on AKS cluster. + /// List a cluster available upgrade. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -701,18 +701,18 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterJobsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterAvailableUpgradesListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)/jobs$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)/availableUpgrades$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/jobs'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/availableUpgrades'"); } // replace URI parameters with values from identity @@ -730,7 +730,7 @@ public partial class HdInsightOnAks + clusterPoolName + "/clusters/" + clusterName - + "/jobs" + + "/availableUpgrades" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -744,30 +744,30 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClusterJobsList_Call (request, onOk,onDefault,eventListener,sender); + await this.ClusterAvailableUpgradesList_Call (request, onOk,onDefault,eventListener,sender); } } - /// Get jobs of HDInsight on AKS cluster. + /// List a cluster available upgrade. /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterJobsListViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterAvailableUpgradesListViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)/jobs$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)/availableUpgrades$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/jobs'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/availableUpgrades'"); } // replace URI parameters with values from identity @@ -785,7 +785,7 @@ public partial class HdInsightOnAks + clusterPoolName + "/clusters/" + clusterName - + "/jobs" + + "/availableUpgrades" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -799,11 +799,11 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClusterJobsListWithResult_Call (request, eventListener,sender); + return await this.ClusterAvailableUpgradesListWithResult_Call (request, eventListener,sender); } } - /// Get jobs of HDInsight on AKS cluster. + /// List a cluster available upgrade. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. @@ -811,12 +811,12 @@ public partial class HdInsightOnAks /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterJobsListWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterAvailableUpgradesListWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -830,7 +830,7 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(clusterPoolName) + "/clusters/" + global::System.Uri.EscapeDataString(clusterName) - + "/jobs" + + "/availableUpgrades" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -844,19 +844,21 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClusterJobsListWithResult_Call (request, eventListener,sender); + return await this.ClusterAvailableUpgradesListWithResult_Call (request, eventListener,sender); } } - /// Actual wire call for method. + /// + /// Actual wire call for method. + /// /// the prepared HttpRequestMessage to send. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterJobsListWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClusterAvailableUpgradesListWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -875,7 +877,7 @@ public partial class HdInsightOnAks case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterJobList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -908,7 +910,7 @@ public partial class HdInsightOnAks } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -918,7 +920,7 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterJobsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClusterAvailableUpgradesList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -937,7 +939,7 @@ public partial class HdInsightOnAks case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterJobList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -959,8 +961,8 @@ public partial class HdInsightOnAks } /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. + /// Validation method for method. Call this like the actual call, but you will + /// get validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. @@ -970,7 +972,7 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterJobsList_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClusterAvailableUpgradesList_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -984,24 +986,24 @@ public partial class HdInsightOnAks } } - /// Operations on jobs of HDInsight on AKS cluster. + /// Get jobs of HDInsight on AKS cluster. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. /// The name of the HDInsight cluster. - /// The Cluster job. + /// The system query option to filter job returned in the response. Allowed value is 'jobName eq {jobName}' + /// or 'jarName eq {jarName}'. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterJobsRunJob(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task ClusterJobsList(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, string Filter, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1015,52 +1017,50 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(clusterPoolName) + "/clusters/" + global::System.Uri.EscapeDataString(clusterName) - + "/runJob" + + "/jobs" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + + "&" + + (string.IsNullOrEmpty(Filter) ? global::System.String.Empty : "$filter=" + global::System.Uri.EscapeDataString(Filter)) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClusterJobsRunJob_Call (request, onOk,onDefault,eventListener,sender); + await this.ClusterJobsList_Call (request, onOk,onDefault,eventListener,sender); } } - /// Operations on jobs of HDInsight on AKS cluster. + /// Get jobs of HDInsight on AKS cluster. /// - /// The Cluster job. + /// The system query option to filter job returned in the response. Allowed value is 'jobName eq {jobName}' + /// or 'jarName eq {jarName}'. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterJobsRunJobViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task ClusterJobsListViaIdentity(global::System.String viaIdentity, string Filter, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)/jobs$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/jobs'"); } // replace URI parameters with values from identity @@ -1078,50 +1078,48 @@ public partial class HdInsightOnAks + clusterPoolName + "/clusters/" + clusterName - + "/runJob" + + "/jobs" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + + "&" + + (string.IsNullOrEmpty(Filter) ? global::System.String.Empty : "$filter=" + global::System.Uri.EscapeDataString(Filter)) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClusterJobsRunJob_Call (request, onOk,onDefault,eventListener,sender); + await this.ClusterJobsList_Call (request, onOk,onDefault,eventListener,sender); } } - /// Operations on jobs of HDInsight on AKS cluster. + /// Get jobs of HDInsight on AKS cluster. /// - /// The Cluster job. + /// The system query option to filter job returned in the response. Allowed value is 'jobName eq {jobName}' + /// or 'jarName eq {jarName}'. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterJobsRunJobViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task ClusterJobsListViaIdentityWithResult(global::System.String viaIdentity, string Filter, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)/jobs$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/jobs'"); } // replace URI parameters with values from identity @@ -1139,95 +1137,42 @@ public partial class HdInsightOnAks + clusterPoolName + "/clusters/" + clusterName - + "/runJob" + + "/jobs" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + + "&" + + (string.IsNullOrEmpty(Filter) ? global::System.String.Empty : "$filter=" + global::System.Uri.EscapeDataString(Filter)) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.ClusterJobsRunJobWithResult_Call (request, eventListener,sender); - } - } - - /// Operations on jobs of HDInsight on AKS cluster. - /// The ID of the target subscription. The value must be an UUID. - /// The name of the resource group. The name is case insensitive. - /// The name of the cluster pool. - /// The name of the HDInsight cluster. - /// Json string supplied to the ClusterJobsRunJob operation - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task ClusterJobsRunJobViaJsonString(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) - { - var apiVersion = @"2023-06-01-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HDInsight/clusterpools/" - + global::System.Uri.EscapeDataString(clusterPoolName) - + "/clusters/" - + global::System.Uri.EscapeDataString(clusterName) - + "/runJob" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClusterJobsRunJob_Call (request, onOk,onDefault,eventListener,sender); + return await this.ClusterJobsListWithResult_Call (request, eventListener,sender); } } - /// Operations on jobs of HDInsight on AKS cluster. + /// Get jobs of HDInsight on AKS cluster. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. /// The name of the HDInsight cluster. - /// Json string supplied to the ClusterJobsRunJob operation + /// The system query option to filter job returned in the response. Allowed value is 'jobName eq {jobName}' + /// or 'jarName eq {jarName}'. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterJobsRunJobViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterJobsListWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, string Filter, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1241,88 +1186,97 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(clusterPoolName) + "/clusters/" + global::System.Uri.EscapeDataString(clusterName) - + "/runJob" + + "/jobs" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + + "&" + + (string.IsNullOrEmpty(Filter) ? global::System.String.Empty : "$filter=" + global::System.Uri.EscapeDataString(Filter)) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClusterJobsRunJobWithResult_Call (request, eventListener,sender); + return await this.ClusterJobsListWithResult_Call (request, eventListener,sender); } } - /// Operations on jobs of HDInsight on AKS cluster. - /// The ID of the target subscription. The value must be an UUID. - /// The name of the resource group. The name is case insensitive. - /// The name of the cluster pool. - /// The name of the HDInsight cluster. - /// The Cluster job. + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. - /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterJobsRunJobWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + internal async global::System.Threading.Tasks.Task ClusterJobsListWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; - // Constant Parameters using( NoSynchronizationContext ) { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HDInsight/clusterpools/" - + global::System.Uri.EscapeDataString(clusterPoolName) - + "/clusters/" - + global::System.Uri.EscapeDataString(clusterName) - + "/runJob" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.ClusterJobsRunJobWithResult_Call (request, eventListener,sender); + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterJobList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + return await _result; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + // Error Response : default + var code = (await _result)?.Code; + var message = (await _result)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(_response, await _result); + throw ex; + } + else + { + throw new global::System.Exception($"[{code}] : {message}"); + } + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterJobsRunJobWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClusterJobsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -1330,249 +1284,9 @@ public partial class HdInsightOnAks try { var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: location - var _finalUri = _response.GetFirstHeader(@"Location"); - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - break; - } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterJob.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task ClusterJobsRunJob_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: location - var _finalUri = _response.GetFirstHeader(@"Location"); - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -1581,7 +1295,7 @@ public partial class HdInsightOnAks case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterJob.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterJobList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -1603,19 +1317,20 @@ public partial class HdInsightOnAks } /// - /// Validation method for method. Call this like the actual call, but you will get validation + /// Validation method for method. Call this like the actual call, but you will get validation /// events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. /// The name of the HDInsight cluster. - /// The Cluster job. + /// The system query option to filter job returned in the response. Allowed value is 'jobName eq {jobName}' + /// or 'jarName eq {jarName}'. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterJobsRunJob_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClusterJobsList_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, string Filter, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -1626,16 +1341,16 @@ public partial class HdInsightOnAks await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(clusterPoolName),clusterPoolName); await eventListener.AssertNotNull(nameof(clusterName),clusterName); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); + await eventListener.AssertNotNull(nameof(Filter),Filter); } } - /// Create a cluster pool. + /// Operations on jobs of HDInsight on AKS cluster. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. - /// The Cluster Pool to create. + /// The name of the HDInsight cluster. + /// The Cluster job. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -1645,9 +1360,9 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsCreateOrUpdate(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task ClusterJobsRunJob(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1659,6 +1374,9 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HDInsight/clusterpools/" + global::System.Uri.EscapeDataString(clusterPoolName) + + "/clusters/" + + global::System.Uri.EscapeDataString(clusterName) + + "/runJob" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -1667,7 +1385,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -1676,13 +1394,13 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClusterPoolsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.ClusterJobsRunJob_Call (request, onOk,onDefault,eventListener,sender); } } - /// Create a cluster pool. + /// Operations on jobs of HDInsight on AKS cluster. /// - /// The Cluster Pool to create. + /// The Cluster job. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -1692,24 +1410,25 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task ClusterJobsRunJobViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var clusterPoolName = _match.Groups["clusterPoolName"].Value; + var clusterName = _match.Groups["clusterName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -1718,6 +1437,9 @@ public partial class HdInsightOnAks + resourceGroupName + "/providers/Microsoft.HDInsight/clusterpools/" + clusterPoolName + + "/clusters/" + + clusterName + + "/runJob" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -1726,7 +1448,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -1735,38 +1457,39 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClusterPoolsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.ClusterJobsRunJob_Call (request, onOk,onDefault,eventListener,sender); } } - /// Create a cluster pool. + /// Operations on jobs of HDInsight on AKS cluster. /// - /// The Cluster Pool to create. + /// The Cluster job. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsCreateOrUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task ClusterJobsRunJobViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var clusterPoolName = _match.Groups["clusterPoolName"].Value; + var clusterName = _match.Groups["clusterName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -1775,6 +1498,9 @@ public partial class HdInsightOnAks + resourceGroupName + "/providers/Microsoft.HDInsight/clusterpools/" + clusterPoolName + + "/clusters/" + + clusterName + + "/runJob" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -1783,7 +1509,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -1792,15 +1518,16 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClusterPoolsCreateOrUpdateWithResult_Call (request, eventListener,sender); + return await this.ClusterJobsRunJobWithResult_Call (request, eventListener,sender); } } - /// Create a cluster pool. + /// Operations on jobs of HDInsight on AKS cluster. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. - /// Json string supplied to the ClusterPoolsCreateOrUpdate operation + /// The name of the HDInsight cluster. + /// Json string supplied to the ClusterJobsRunJob operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -1809,9 +1536,9 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsCreateOrUpdateViaJsonString(string subscriptionId, string resourceGroupName, string clusterPoolName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterJobsRunJobViaJsonString(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1823,6 +1550,9 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HDInsight/clusterpools/" + global::System.Uri.EscapeDataString(clusterPoolName) + + "/clusters/" + + global::System.Uri.EscapeDataString(clusterName) + + "/runJob" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -1831,7 +1561,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -1840,24 +1570,25 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClusterPoolsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.ClusterJobsRunJob_Call (request, onOk,onDefault,eventListener,sender); } } - /// Create a cluster pool. + /// Operations on jobs of HDInsight on AKS cluster. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. - /// Json string supplied to the ClusterPoolsCreateOrUpdate operation + /// The name of the HDInsight cluster. + /// Json string supplied to the ClusterJobsRunJob operation /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsCreateOrUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterJobsRunJobViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1869,6 +1600,9 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HDInsight/clusterpools/" + global::System.Uri.EscapeDataString(clusterPoolName) + + "/clusters/" + + global::System.Uri.EscapeDataString(clusterName) + + "/runJob" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -1877,7 +1611,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -1886,25 +1620,26 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClusterPoolsCreateOrUpdateWithResult_Call (request, eventListener,sender); + return await this.ClusterJobsRunJobWithResult_Call (request, eventListener,sender); } } - /// Create a cluster pool. + /// Operations on jobs of HDInsight on AKS cluster. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. - /// The Cluster Pool to create. + /// The name of the HDInsight cluster. + /// The Cluster job. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsCreateOrUpdateWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task ClusterJobsRunJobWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1916,6 +1651,9 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HDInsight/clusterpools/" + global::System.Uri.EscapeDataString(clusterPoolName) + + "/clusters/" + + global::System.Uri.EscapeDataString(clusterName) + + "/runJob" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -1924,7 +1662,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -1933,21 +1671,19 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClusterPoolsCreateOrUpdateWithResult_Call (request, eventListener,sender); + return await this.ClusterJobsRunJobWithResult_Call (request, eventListener,sender); } } - /// - /// Actual wire call for method. - /// + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPoolsCreateOrUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClusterJobsRunJobWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -1961,7 +1697,8 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: azure-async-operation + // declared final-state-via: location + var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) @@ -2036,7 +1773,7 @@ public partial class HdInsightOnAks } // we are done polling, do a request on final target? // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); // drop the old response _response?.Dispose(); @@ -2054,7 +1791,7 @@ public partial class HdInsightOnAks case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPool.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterJob.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -2087,7 +1824,7 @@ public partial class HdInsightOnAks } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -2097,7 +1834,7 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPoolsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClusterJobsRunJob_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -2111,7 +1848,8 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: azure-async-operation + // declared final-state-via: location + var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) @@ -2186,7 +1924,7 @@ public partial class HdInsightOnAks } // we are done polling, do a request on final target? // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); // drop the old response _response?.Dispose(); @@ -2204,7 +1942,7 @@ public partial class HdInsightOnAks case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPool.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterJob.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -2226,18 +1964,19 @@ public partial class HdInsightOnAks } /// - /// Validation method for method. Call this like the actual call, but you will get - /// validation events back. + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. - /// The Cluster Pool to create. + /// The name of the HDInsight cluster. + /// The Cluster job. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPoolsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClusterJobsRunJob_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -2247,17 +1986,17 @@ public partial class HdInsightOnAks await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(clusterPoolName),clusterPoolName); + await eventListener.AssertNotNull(nameof(clusterName),clusterName); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Deletes a Cluster Pool. + /// List a cluster pool available upgrade. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -2265,9 +2004,9 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsDelete(string subscriptionId, string resourceGroupName, string clusterPoolName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPoolAvailableUpgradesList(string subscriptionId, string resourceGroupName, string clusterPoolName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2279,6 +2018,7 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HDInsight/clusterpools/" + global::System.Uri.EscapeDataString(clusterPoolName) + + "/availableUpgrades" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -2287,19 +2027,18 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Delete, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClusterPoolsDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); + await this.ClusterPoolAvailableUpgradesList_Call (request, onOk,onDefault,eventListener,sender); } } - /// Deletes a Cluster Pool. + /// List a cluster pool available upgrade. /// /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -2307,18 +2046,18 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPoolAvailableUpgradesListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/availableUpgrades$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/availableUpgrades'"); } // replace URI parameters with values from identity @@ -2333,6 +2072,7 @@ public partial class HdInsightOnAks + resourceGroupName + "/providers/Microsoft.HDInsight/clusterpools/" + clusterPoolName + + "/availableUpgrades" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -2341,129 +2081,192 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Delete, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClusterPoolsDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); + await this.ClusterPoolAvailableUpgradesList_Call (request, onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). + /// List a cluster pool available upgrade. + /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPoolsDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPoolAvailableUpgradesListViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters using( NoSynchronizationContext ) { - global::System.Net.Http.HttpResponseMessage _response = null; - try + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/availableUpgrades$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var _finalUri = _response.GetFirstHeader(@"Location"); - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/availableUpgrades'"); + } - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var clusterPoolName = _match.Groups["clusterPoolName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HDInsight/clusterpools/" + + clusterPoolName + + "/availableUpgrades" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - // drop the old response - _response?.Dispose(); + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.ClusterPoolAvailableUpgradesListWithResult_Call (request, eventListener,sender); + } + } - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } + /// List a cluster pool available upgrade. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClusterPoolAvailableUpgradesListWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HDInsight/clusterpools/" + + global::System.Uri.EscapeDataString(clusterPoolName) + + "/availableUpgrades" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException(_response); - } - } + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.ClusterPoolAvailableUpgradesListWithResult_Call (request, eventListener,sender); + } + } + + /// + /// Actual wire call for method. + /// + /// the prepared HttpRequestMessage to send. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ClusterPoolAvailableUpgradesListWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: { - continue; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradeList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + return await _result; } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_finalUri)) + default: { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + // Error Response : default + var code = (await _result)?.Code; + var message = (await _result)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(_response, await _result); + throw ex; + } + else + { + throw new global::System.Exception($"[{code}] : {message}"); + } } } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ClusterPoolAvailableUpgradesList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -2472,13 +2275,7 @@ public partial class HdInsightOnAks case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response); - break; - } - case global::System.Net.HttpStatusCode.NoContent: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onNoContent(_response); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradeList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -2500,8 +2297,8 @@ public partial class HdInsightOnAks } /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. + /// Validation method for method. Call this like the actual call, but you + /// will get validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. @@ -2510,7 +2307,7 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPoolsDelete_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClusterPoolAvailableUpgradesList_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -2523,21 +2320,23 @@ public partial class HdInsightOnAks } } - /// Gets a cluster pool. + /// Create a cluster pool. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. + /// The Cluster Pool to create. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsGet(string subscriptionId, string resourceGroupName, string clusterPoolName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPoolsCreateOrUpdate(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2557,28 +2356,34 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClusterPoolsGet_Call (request, onOk,onDefault,eventListener,sender); + await this.ClusterPoolsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets a cluster pool. + /// Create a cluster pool. /// + /// The Cluster Pool to create. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPoolsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2610,26 +2415,32 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClusterPoolsGet_Call (request, onOk,onDefault,eventListener,sender); + await this.ClusterPoolsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets a cluster pool. + /// Create a cluster pool. /// + /// The Cluster Pool to create. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPoolsCreateOrUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2661,28 +2472,81 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClusterPoolsGetWithResult_Call (request, eventListener,sender); + return await this.ClusterPoolsCreateOrUpdateWithResult_Call (request, eventListener,sender); } } - /// Gets a cluster pool. + /// Create a cluster pool. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. + /// Json string supplied to the ClusterPoolsCreateOrUpdate operation + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClusterPoolsCreateOrUpdateViaJsonString(string subscriptionId, string resourceGroupName, string clusterPoolName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HDInsight/clusterpools/" + + global::System.Uri.EscapeDataString(clusterPoolName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Put, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ClusterPoolsCreateOrUpdate_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// Create a cluster pool. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. + /// Json string supplied to the ClusterPoolsCreateOrUpdate operation /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsGetWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPoolsCreateOrUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2702,43 +2566,184 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClusterPoolsGetWithResult_Call (request, eventListener,sender); + return await this.ClusterPoolsCreateOrUpdateWithResult_Call (request, eventListener,sender); } } - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. + /// Create a cluster pool. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. + /// The Cluster Pool to create. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPoolsGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPoolsCreateOrUpdateWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters using( NoSynchronizationContext ) { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HDInsight/clusterpools/" + + global::System.Uri.EscapeDataString(clusterPoolName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPool.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Put, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.ClusterPoolsCreateOrUpdateWithResult_Call (request, eventListener,sender); + } + } + + /// + /// Actual wire call for method. + /// + /// the prepared HttpRequestMessage to send. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ClusterPoolsCreateOrUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: azure-async-operation + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + break; + } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPool.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -2771,7 +2776,7 @@ public partial class HdInsightOnAks } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -2781,7 +2786,7 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPoolsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClusterPoolsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -2790,8 +2795,96 @@ public partial class HdInsightOnAks { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: azure-async-operation + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -2822,17 +2915,18 @@ public partial class HdInsightOnAks } /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. + /// Validation method for method. Call this like the actual call, but you will get + /// validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. + /// The Cluster Pool to create. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPoolsGet_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClusterPoolsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -2842,13 +2936,17 @@ public partial class HdInsightOnAks await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(clusterPoolName),clusterPoolName); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Lists the HDInsight cluster pools under a resource group. + /// Deletes a Cluster Pool. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -2856,9 +2954,9 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsListByResourceGroup(string subscriptionId, string resourceGroupName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPoolsDelete(string subscriptionId, string resourceGroupName, string clusterPoolName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2868,7 +2966,8 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HDInsight/clusterpools" + + "/providers/Microsoft.HDInsight/clusterpools/" + + global::System.Uri.EscapeDataString(clusterPoolName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -2877,18 +2976,19 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Delete, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClusterPoolsListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); + await this.ClusterPoolsDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); } } - /// Lists the HDInsight cluster pools under a resource group. + /// Deletes a Cluster Pool. /// /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -2896,30 +2996,32 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsListByResourceGroupViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPoolsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var clusterPoolName = _match.Groups["clusterPoolName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.HDInsight/clusterpools" + + "/providers/Microsoft.HDInsight/clusterpools/" + + clusterPoolName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -2928,76 +3030,203 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Delete, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClusterPoolsListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); + await this.ClusterPoolsDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); } } - /// Lists the HDInsight cluster pools under a resource group. - /// + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsListByResourceGroupViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClusterPoolsDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; - // Constant Parameters using( NoSynchronizationContext ) { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) + global::System.Net.Http.HttpResponseMessage _response = null; + try { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools'"); - } + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.HDInsight/clusterpools" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + // drop the old response + _response?.Dispose(); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the call - return await this.ClusterPoolsListByResourceGroupWithResult_Call (request, eventListener,sender); + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_finalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } + } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response); + break; + } + case global::System.Net.HttpStatusCode.NoContent: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onNoContent(_response); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } } } - /// Lists the HDInsight cluster pools under a resource group. + /// + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. + /// + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ClusterPoolsDelete_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(clusterPoolName),clusterPoolName); + } + } + + /// Gets a cluster pool. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsListByResourceGroupWithResult(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPoolsGet(string subscriptionId, string resourceGroupName, string clusterPoolName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3007,54 +3236,198 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HDInsight/clusterpools" + + "/providers/Microsoft.HDInsight/clusterpools/" + + global::System.Uri.EscapeDataString(clusterPoolName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - return await this.ClusterPoolsListByResourceGroupWithResult_Call (request, eventListener,sender); + await this.ClusterPoolsGet_Call (request, onOk,onDefault,eventListener,sender); } } - /// - /// Actual wire call for method. - /// - /// the prepared HttpRequestMessage to send. + /// Gets a cluster pool. + /// + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPoolsListByResourceGroupWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPoolsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters using( NoSynchronizationContext ) { - global::System.Net.Http.HttpResponseMessage _response = null; - try + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}'"); + } - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var clusterPoolName = _match.Groups["clusterPoolName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HDInsight/clusterpools/" + + clusterPoolName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ClusterPoolsGet_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// Gets a cluster pool. + /// + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClusterPoolsGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var clusterPoolName = _match.Groups["clusterPoolName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HDInsight/clusterpools/" + + clusterPoolName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.ClusterPoolsGetWithResult_Call (request, eventListener,sender); + } + } + + /// Gets a cluster pool. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClusterPoolsGetWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HDInsight/clusterpools/" + + global::System.Uri.EscapeDataString(clusterPoolName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.ClusterPoolsGetWithResult_Call (request, eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ClusterPoolsGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPool.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -3087,7 +3460,7 @@ public partial class HdInsightOnAks } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -3097,7 +3470,7 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPoolsListByResourceGroup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClusterPoolsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -3116,7 +3489,7 @@ public partial class HdInsightOnAks case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPool.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -3138,16 +3511,17 @@ public partial class HdInsightOnAks } /// - /// Validation method for method. Call this like the actual call, but you will - /// get validation events back. + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPoolsListByResourceGroup_Validate(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClusterPoolsGet_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -3156,11 +3530,13 @@ public partial class HdInsightOnAks await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(clusterPoolName),clusterPoolName); } } - /// Gets the list of Cluster Pools within a Subscription. + /// Lists the HDInsight cluster pools under a resource group. /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -3169,9 +3545,9 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsListBySubscription(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPoolsListByResourceGroup(string subscriptionId, string resourceGroupName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3179,6 +3555,8 @@ public partial class HdInsightOnAks var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HDInsight/clusterpools" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) @@ -3193,11 +3571,11 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClusterPoolsListBySubscription_Call (request, onOk,onDefault,eventListener,sender); + await this.ClusterPoolsListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets the list of Cluster Pools within a Subscription. + /// Lists the HDInsight cluster pools under a resource group. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -3207,26 +3585,29 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsListBySubscriptionViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPoolsListByResourceGroupViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/clusterpools'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + + "/resourceGroups/" + + resourceGroupName + "/providers/Microsoft.HDInsight/clusterpools" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) @@ -3241,11 +3622,11 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClusterPoolsListBySubscription_Call (request, onOk,onDefault,eventListener,sender); + await this.ClusterPoolsListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets the list of Cluster Pools within a Subscription. + /// Lists the HDInsight cluster pools under a resource group. /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. @@ -3253,26 +3634,29 @@ public partial class HdInsightOnAks /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsListBySubscriptionViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPoolsListByResourceGroupViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/clusterpools'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + + "/resourceGroups/" + + resourceGroupName + "/providers/Microsoft.HDInsight/clusterpools" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) @@ -3287,21 +3671,22 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClusterPoolsListBySubscriptionWithResult_Call (request, eventListener,sender); + return await this.ClusterPoolsListByResourceGroupWithResult_Call (request, eventListener,sender); } } - /// Gets the list of Cluster Pools within a Subscription. + /// Lists the HDInsight cluster pools under a resource group. /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsListBySubscriptionWithResult(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPoolsListByResourceGroupWithResult(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3309,6 +3694,8 @@ public partial class HdInsightOnAks var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HDInsight/clusterpools" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) @@ -3323,12 +3710,12 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClusterPoolsListBySubscriptionWithResult_Call (request, eventListener,sender); + return await this.ClusterPoolsListByResourceGroupWithResult_Call (request, eventListener,sender); } } /// - /// Actual wire call for method. + /// Actual wire call for method. /// /// the prepared HttpRequestMessage to send. /// an instance that will receive events. @@ -3337,7 +3724,7 @@ public partial class HdInsightOnAks /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPoolsListBySubscriptionWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClusterPoolsListByResourceGroupWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -3361,55 +3748,967 @@ public partial class HdInsightOnAks } default: { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + // Error Response : default + var code = (await _result)?.Code; + var message = (await _result)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(_response, await _result); + throw ex; + } + else + { + throw new global::System.Exception($"[{code}] : {message}"); + } + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ClusterPoolsListByResourceGroup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you will + /// get validation events back. + /// + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ClusterPoolsListByResourceGroup_Validate(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + } + } + + /// Gets the list of Cluster Pools within a Subscription. + /// The ID of the target subscription. The value must be an UUID. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClusterPoolsListBySubscription(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/providers/Microsoft.HDInsight/clusterpools" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ClusterPoolsListBySubscription_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// Gets the list of Cluster Pools within a Subscription. + /// + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClusterPoolsListBySubscriptionViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/clusterpools'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/providers/Microsoft.HDInsight/clusterpools" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ClusterPoolsListBySubscription_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// Gets the list of Cluster Pools within a Subscription. + /// + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClusterPoolsListBySubscriptionViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/clusterpools'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/providers/Microsoft.HDInsight/clusterpools" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.ClusterPoolsListBySubscriptionWithResult_Call (request, eventListener,sender); + } + } + + /// Gets the list of Cluster Pools within a Subscription. + /// The ID of the target subscription. The value must be an UUID. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClusterPoolsListBySubscriptionWithResult(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/providers/Microsoft.HDInsight/clusterpools" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.ClusterPoolsListBySubscriptionWithResult_Call (request, eventListener,sender); + } + } + + /// + /// Actual wire call for method. + /// + /// the prepared HttpRequestMessage to send. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ClusterPoolsListBySubscriptionWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + return await _result; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + // Error Response : default + var code = (await _result)?.Code; + var message = (await _result)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(_response, await _result); + throw ex; + } + else + { + throw new global::System.Exception($"[{code}] : {message}"); + } + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ClusterPoolsListBySubscription_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you will + /// get validation events back. + /// + /// The ID of the target subscription. The value must be an UUID. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ClusterPoolsListBySubscription_Validate(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); + } + } + + /// Updates an existing Cluster Pool Tags. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. + /// Parameters supplied to update tags. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClusterPoolsUpdateTags(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITagsObject body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HDInsight/clusterpools/" + + global::System.Uri.EscapeDataString(clusterPoolName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ClusterPoolsUpdateTags_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// Updates an existing Cluster Pool Tags. + /// + /// Parameters supplied to update tags. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClusterPoolsUpdateTagsViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITagsObject body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var clusterPoolName = _match.Groups["clusterPoolName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HDInsight/clusterpools/" + + clusterPoolName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ClusterPoolsUpdateTags_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// Updates an existing Cluster Pool Tags. + /// + /// Parameters supplied to update tags. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClusterPoolsUpdateTagsViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITagsObject body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var clusterPoolName = _match.Groups["clusterPoolName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HDInsight/clusterpools/" + + clusterPoolName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.ClusterPoolsUpdateTagsWithResult_Call (request, eventListener,sender); + } + } + + /// Updates an existing Cluster Pool Tags. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. + /// Json string supplied to the ClusterPoolsUpdateTags operation + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClusterPoolsUpdateTagsViaJsonString(string subscriptionId, string resourceGroupName, string clusterPoolName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HDInsight/clusterpools/" + + global::System.Uri.EscapeDataString(clusterPoolName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ClusterPoolsUpdateTags_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// Updates an existing Cluster Pool Tags. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. + /// Json string supplied to the ClusterPoolsUpdateTags operation + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClusterPoolsUpdateTagsViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HDInsight/clusterpools/" + + global::System.Uri.EscapeDataString(clusterPoolName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.ClusterPoolsUpdateTagsWithResult_Call (request, eventListener,sender); + } + } + + /// Updates an existing Cluster Pool Tags. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. + /// Parameters supplied to update tags. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClusterPoolsUpdateTagsWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITagsObject body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HDInsight/clusterpools/" + + global::System.Uri.EscapeDataString(clusterPoolName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.ClusterPoolsUpdateTagsWithResult_Call (request, eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ClusterPoolsUpdateTagsWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: azure-async-operation + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + break; + } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPool.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + return await _result; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + // Error Response : default + var code = (await _result)?.Code; + var message = (await _result)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(_response, await _result); + throw ex; + } + else + { + throw new global::System.Exception($"[{code}] : {message}"); + } + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ClusterPoolsUpdateTags_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: azure-async-operation + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } + // we are done polling, do a request on final target? + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task ClusterPoolsListBySubscription_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -3418,7 +4717,7 @@ public partial class HdInsightOnAks case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPool.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -3440,28 +4739,37 @@ public partial class HdInsightOnAks } /// - /// Validation method for method. Call this like the actual call, but you will - /// get validation events back. + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. /// /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. + /// Parameters supplied to update tags. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPoolsListBySubscription_Validate(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClusterPoolsUpdateTags_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITagsObject body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(clusterPoolName),clusterPoolName); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Updates an existing Cluster Pool Tags. + /// Upgrade a cluster pool. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. - /// Parameters supplied to update tags. + /// Upgrade a cluster pool. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -3471,9 +4779,9 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsUpdateTags(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITagsObject body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task ClusterPoolsUpgrade(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3485,6 +4793,7 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HDInsight/clusterpools/" + global::System.Uri.EscapeDataString(clusterPoolName) + + "/upgrade" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -3493,7 +4802,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -3502,13 +4811,13 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClusterPoolsUpdateTags_Call (request, onOk,onDefault,eventListener,sender); + await this.ClusterPoolsUpgrade_Call (request, onOk,onDefault,eventListener,sender); } } - /// Updates an existing Cluster Pool Tags. + /// Upgrade a cluster pool. /// - /// Parameters supplied to update tags. + /// Upgrade a cluster pool. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -3518,9 +4827,9 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsUpdateTagsViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITagsObject body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task ClusterPoolsUpgradeViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3544,6 +4853,7 @@ public partial class HdInsightOnAks + resourceGroupName + "/providers/Microsoft.HDInsight/clusterpools/" + clusterPoolName + + "/upgrade" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -3552,7 +4862,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -3561,13 +4871,13 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClusterPoolsUpdateTags_Call (request, onOk,onDefault,eventListener,sender); + await this.ClusterPoolsUpgrade_Call (request, onOk,onDefault,eventListener,sender); } } - /// Updates an existing Cluster Pool Tags. + /// Upgrade a cluster pool. /// - /// Parameters supplied to update tags. + /// Upgrade a cluster pool. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// Allows the caller to choose the depth of the serialization. See . @@ -3575,9 +4885,9 @@ public partial class HdInsightOnAks /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsUpdateTagsViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITagsObject body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task ClusterPoolsUpgradeViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3601,6 +4911,7 @@ public partial class HdInsightOnAks + resourceGroupName + "/providers/Microsoft.HDInsight/clusterpools/" + clusterPoolName + + "/upgrade" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -3609,7 +4920,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -3618,15 +4929,15 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClusterPoolsUpdateTagsWithResult_Call (request, eventListener,sender); + return await this.ClusterPoolsUpgradeWithResult_Call (request, eventListener,sender); } } - /// Updates an existing Cluster Pool Tags. + /// Upgrade a cluster pool. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. - /// Json string supplied to the ClusterPoolsUpdateTags operation + /// Json string supplied to the ClusterPoolsUpgrade operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -3635,9 +4946,9 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsUpdateTagsViaJsonString(string subscriptionId, string resourceGroupName, string clusterPoolName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPoolsUpgradeViaJsonString(string subscriptionId, string resourceGroupName, string clusterPoolName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3649,6 +4960,7 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HDInsight/clusterpools/" + global::System.Uri.EscapeDataString(clusterPoolName) + + "/upgrade" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -3657,7 +4969,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -3666,24 +4978,24 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClusterPoolsUpdateTags_Call (request, onOk,onDefault,eventListener,sender); + await this.ClusterPoolsUpgrade_Call (request, onOk,onDefault,eventListener,sender); } } - /// Updates an existing Cluster Pool Tags. + /// Upgrade a cluster pool. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. - /// Json string supplied to the ClusterPoolsUpdateTags operation + /// Json string supplied to the ClusterPoolsUpgrade operation /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsUpdateTagsViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClusterPoolsUpgradeViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3695,6 +5007,7 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HDInsight/clusterpools/" + global::System.Uri.EscapeDataString(clusterPoolName) + + "/upgrade" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -3703,7 +5016,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -3712,15 +5025,15 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClusterPoolsUpdateTagsWithResult_Call (request, eventListener,sender); + return await this.ClusterPoolsUpgradeWithResult_Call (request, eventListener,sender); } } - /// Updates an existing Cluster Pool Tags. + /// Upgrade a cluster pool. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. - /// Parameters supplied to update tags. + /// Upgrade a cluster pool. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// Allows the caller to choose the depth of the serialization. See . @@ -3728,9 +5041,9 @@ public partial class HdInsightOnAks /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClusterPoolsUpdateTagsWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITagsObject body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task ClusterPoolsUpgradeWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3742,6 +5055,7 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HDInsight/clusterpools/" + global::System.Uri.EscapeDataString(clusterPoolName) + + "/upgrade" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -3750,7 +5064,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -3759,11 +5073,11 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClusterPoolsUpdateTagsWithResult_Call (request, eventListener,sender); + return await this.ClusterPoolsUpgradeWithResult_Call (request, eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. @@ -3771,7 +5085,7 @@ public partial class HdInsightOnAks /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPoolsUpdateTagsWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClusterPoolsUpgradeWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -3785,7 +5099,8 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: azure-async-operation + // declared final-state-via: location + var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) @@ -3860,7 +5175,7 @@ public partial class HdInsightOnAks } // we are done polling, do a request on final target? // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); // drop the old response _response?.Dispose(); @@ -3911,7 +5226,7 @@ public partial class HdInsightOnAks } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -3921,7 +5236,7 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPoolsUpdateTags_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClusterPoolsUpgrade_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -3935,7 +5250,8 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: azure-async-operation + // declared final-state-via: location + var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) @@ -4010,7 +5326,7 @@ public partial class HdInsightOnAks } // we are done polling, do a request on final target? // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); // drop the old response _response?.Dispose(); @@ -4050,18 +5366,18 @@ public partial class HdInsightOnAks } /// - /// Validation method for method. Call this like the actual call, but you will get validation + /// Validation method for method. Call this like the actual call, but you will get validation /// events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. - /// Parameters supplied to update tags. + /// Upgrade a cluster pool. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClusterPoolsUpdateTags_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITagsObject body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClusterPoolsUpgrade_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -4093,7 +5409,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task ClustersCreate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4142,7 +5458,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task ClustersCreateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4202,7 +5518,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task ClustersCreateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4266,7 +5582,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task ClustersCreateViaJsonString(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4315,7 +5631,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task ClustersCreateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4365,7 +5681,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task ClustersCreateWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4400,15 +5716,165 @@ public partial class HdInsightOnAks } } - /// Actual wire call for method. + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A + /// that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ClustersCreateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: azure-async-operation + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + break; + } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + return await _result; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + // Error Response : default + var code = (await _result)?.Code; + var message = (await _result)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(_response, await _result); + throw ex; + } + else + { + throw new global::System.Exception($"[{code}] : {message}"); + } + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A - /// that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersCreateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersCreate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -4416,10 +5882,10 @@ public partial class HdInsightOnAks try { var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation @@ -4428,7 +5894,7 @@ public partial class HdInsightOnAks while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // while we wait, let's grab the headers and get ready to poll. if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { @@ -4448,7 +5914,7 @@ public partial class HdInsightOnAks // make the polling call _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // if we got back an OK, take a peek inside and see if it's done if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) @@ -4504,37 +5970,25 @@ public partial class HdInsightOnAks // make the final call _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } break; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; switch ( _response.StatusCode ) { case global::System.Net.HttpStatusCode.OK: { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); - return await _result; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; } default: { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); - // Error Response : default - var code = (await _result)?.Code; - var message = (await _result)?.Message; - if ((null == code || null == message)) - { - // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(_response, await _result); - throw ex; - } - else - { - throw new global::System.Exception($"[{code}] : {message}"); - } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; } } } @@ -4548,9 +6002,143 @@ public partial class HdInsightOnAks } } - /// Actual wire call for method. + /// + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. + /// + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. + /// The name of the HDInsight cluster. + /// The cluster to create. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ClustersCreate_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(clusterPoolName),clusterPoolName); + await eventListener.AssertNotNull(nameof(clusterName),clusterName); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); + } + } + + /// Deletes a cluster. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. + /// The name of the HDInsight cluster. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClustersDelete(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HDInsight/clusterpools/" + + global::System.Uri.EscapeDataString(clusterPoolName) + + "/clusters/" + + global::System.Uri.EscapeDataString(clusterName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Delete, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ClustersDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); + } + } + + /// Deletes a cluster. + /// + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClustersDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var clusterPoolName = _match.Groups["clusterPoolName"].Value; + var clusterName = _match.Groups["clusterName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HDInsight/clusterpools/" + + clusterPoolName + + "/clusters/" + + clusterName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Delete, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ClustersDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -4558,7 +6146,7 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersCreate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -4573,6 +6161,7 @@ public partial class HdInsightOnAks // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: azure-async-operation + var _finalUri = _response.GetFirstHeader(@"Azure-AsyncOperation"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) @@ -4647,7 +6236,7 @@ public partial class HdInsightOnAks } // we are done polling, do a request on final target? // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); // drop the old response _response?.Dispose(); @@ -4665,7 +6254,13 @@ public partial class HdInsightOnAks case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response); + break; + } + case global::System.Net.HttpStatusCode.NoContent: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onNoContent(_response); break; } default: @@ -4687,19 +6282,18 @@ public partial class HdInsightOnAks } /// - /// Validation method for method. Call this like the actual call, but you will get validation + /// Validation method for method. Call this like the actual call, but you will get validation /// events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. /// The name of the HDInsight cluster. - /// The cluster to create. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersCreate_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClustersDelete_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -4710,18 +6304,61 @@ public partial class HdInsightOnAks await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(clusterPoolName),clusterPoolName); await eventListener.AssertNotNull(nameof(clusterName),clusterName); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Deletes a cluster. + /// Gets a HDInsight cluster. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. + /// The name of the HDInsight cluster. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClustersGet(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HDInsight/clusterpools/" + + global::System.Uri.EscapeDataString(clusterPoolName) + + "/clusters/" + + global::System.Uri.EscapeDataString(clusterName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ClustersGet_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// Gets the status of a cluster instance. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. /// The name of the HDInsight cluster. /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -4729,9 +6366,9 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersDelete(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersGetInstanceView(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4745,6 +6382,7 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(clusterPoolName) + "/clusters/" + global::System.Uri.EscapeDataString(clusterName) + + "/instanceViews/default" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -4753,19 +6391,18 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Delete, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClustersDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); + await this.ClustersGetInstanceView_Call (request, onOk,onDefault,eventListener,sender); } } - /// Deletes a cluster. + /// Gets the status of a cluster instance. /// /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -4773,18 +6410,18 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersGetInstanceViewViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)/instanceViews/default$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews/default'"); } // replace URI parameters with values from identity @@ -4802,6 +6439,7 @@ public partial class HdInsightOnAks + clusterPoolName + "/clusters/" + clusterName + + "/instanceViews/default" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -4810,126 +6448,196 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Delete, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClustersDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); + await this.ClustersGetInstanceView_Call (request, onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). + /// Gets the status of a cluster instance. + /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersGetInstanceViewViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters using( NoSynchronizationContext ) { - global::System.Net.Http.HttpResponseMessage _response = null; - try + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)/instanceViews/default$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: azure-async-operation - var _finalUri = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - // delay before making the next polling request - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews/default'"); + } - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var clusterPoolName = _match.Groups["clusterPoolName"].Value; + var clusterName = _match.Groups["clusterName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.HDInsight/clusterpools/" + + clusterPoolName + + "/clusters/" + + clusterName + + "/instanceViews/default" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - // drop the old response - _response?.Dispose(); + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.ClustersGetInstanceViewWithResult_Call (request, eventListener,sender); + } + } - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } + /// Gets the status of a cluster instance. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. + /// The name of the HDInsight cluster. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClustersGetInstanceViewWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HDInsight/clusterpools/" + + global::System.Uri.EscapeDataString(clusterPoolName) + + "/clusters/" + + global::System.Uri.EscapeDataString(clusterName) + + "/instanceViews/default" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException(_response); - } - } + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.ClustersGetInstanceViewWithResult_Call (request, eventListener,sender); + } + } - // drop the old response - _response?.Dispose(); + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ClustersGetInstanceViewWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + return await _result; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + // Error Response : default + var code = (await _result)?.Code; + var message = (await _result)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(_response, await _result); + throw ex; + } + else + { + throw new global::System.Exception($"[{code}] : {message}"); + } + } } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ClustersGetInstanceView_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -4938,13 +6646,7 @@ public partial class HdInsightOnAks case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response); - break; - } - case global::System.Net.HttpStatusCode.NoContent: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onNoContent(_response); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -4966,8 +6668,8 @@ public partial class HdInsightOnAks } /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. + /// Validation method for method. Call this like the actual call, but you will get + /// validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. @@ -4977,7 +6679,7 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersDelete_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClustersGetInstanceView_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -4992,99 +6694,6 @@ public partial class HdInsightOnAks } /// Gets a HDInsight cluster. - /// The ID of the target subscription. The value must be an UUID. - /// The name of the resource group. The name is case insensitive. - /// The name of the cluster pool. - /// The name of the HDInsight cluster. - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task ClustersGet(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) - { - var apiVersion = @"2023-06-01-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HDInsight/clusterpools/" - + global::System.Uri.EscapeDataString(clusterPoolName) - + "/clusters/" - + global::System.Uri.EscapeDataString(clusterName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.ClustersGet_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// Gets the status of a cluster instance. - /// The ID of the target subscription. The value must be an UUID. - /// The name of the resource group. The name is case insensitive. - /// The name of the cluster pool. - /// The name of the HDInsight cluster. - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task ClustersGetInstanceView(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) - { - var apiVersion = @"2023-06-01-preview"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.HDInsight/clusterpools/" - + global::System.Uri.EscapeDataString(clusterPoolName) - + "/clusters/" - + global::System.Uri.EscapeDataString(clusterName) - + "/instanceViews/default" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.ClustersGetInstanceView_Call (request, onOk,onDefault,eventListener,sender); - } - } - - /// Gets the status of a cluster instance. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -5094,18 +6703,18 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersGetInstanceViewViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)/instanceViews/default$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews/default'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}'"); } // replace URI parameters with values from identity @@ -5123,7 +6732,6 @@ public partial class HdInsightOnAks + clusterPoolName + "/clusters/" + clusterName - + "/instanceViews/default" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -5137,30 +6745,30 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClustersGetInstanceView_Call (request, onOk,onDefault,eventListener,sender); + await this.ClustersGet_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets the status of a cluster instance. + /// Gets a HDInsight cluster. /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A + /// that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersGetInstanceViewViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)/instanceViews/default$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews/default'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}'"); } // replace URI parameters with values from identity @@ -5178,7 +6786,6 @@ public partial class HdInsightOnAks + clusterPoolName + "/clusters/" + clusterName - + "/instanceViews/default" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -5192,11 +6799,11 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClustersGetInstanceViewWithResult_Call (request, eventListener,sender); + return await this.ClustersGetWithResult_Call (request, eventListener,sender); } } - /// Gets the status of a cluster instance. + /// Gets a HDInsight cluster. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. @@ -5204,12 +6811,12 @@ public partial class HdInsightOnAks /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A + /// that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersGetInstanceViewWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersGetWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5223,7 +6830,6 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(clusterPoolName) + "/clusters/" + global::System.Uri.EscapeDataString(clusterName) - + "/instanceViews/default" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -5237,19 +6843,19 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClustersGetInstanceViewWithResult_Call (request, eventListener,sender); + return await this.ClustersGetWithResult_Call (request, eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A + /// that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersGetInstanceViewWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5268,7 +6874,7 @@ public partial class HdInsightOnAks case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -5301,7 +6907,7 @@ public partial class HdInsightOnAks } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -5311,7 +6917,7 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersGetInstanceView_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5330,7 +6936,7 @@ public partial class HdInsightOnAks case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -5351,33 +6957,77 @@ public partial class HdInsightOnAks } } - /// - /// Validation method for method. Call this like the actual call, but you will get - /// validation events back. - /// - /// The ID of the target subscription. The value must be an UUID. - /// The name of the resource group. The name is case insensitive. - /// The name of the cluster pool. - /// The name of the HDInsight cluster. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task ClustersGetInstanceView_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(clusterPoolName),clusterPoolName); - await eventListener.AssertNotNull(nameof(clusterName),clusterName); + /// + /// Validation method for method. Call this like the actual call, but you will get validation events + /// back. + /// + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. + /// The name of the HDInsight cluster. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task ClustersGet_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(clusterPoolName),clusterPoolName); + await eventListener.AssertNotNull(nameof(clusterName),clusterName); + } + } + + /// Lists the HDInsight cluster pools under a resource group. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClustersListByClusterPoolName(string subscriptionId, string resourceGroupName, string clusterPoolName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HDInsight/clusterpools/" + + global::System.Uri.EscapeDataString(clusterPoolName) + + "/clusters" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ClustersListByClusterPoolName_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets a HDInsight cluster. + /// Lists the HDInsight cluster pools under a resource group. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -5387,25 +7037,24 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListByClusterPoolNameViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var clusterPoolName = _match.Groups["clusterPoolName"].Value; - var clusterName = _match.Groups["clusterName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -5414,8 +7063,7 @@ public partial class HdInsightOnAks + resourceGroupName + "/providers/Microsoft.HDInsight/clusterpools/" + clusterPoolName - + "/clusters/" - + clusterName + + "/clusters" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -5429,37 +7077,36 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClustersGet_Call (request, onOk,onDefault,eventListener,sender); + await this.ClustersListByClusterPoolName_Call (request, onOk,onDefault,eventListener,sender); } } - /// Gets a HDInsight cluster. + /// Lists the HDInsight cluster pools under a resource group. /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A - /// that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListByClusterPoolNameViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var clusterPoolName = _match.Groups["clusterPoolName"].Value; - var clusterName = _match.Groups["clusterName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -5468,8 +7115,7 @@ public partial class HdInsightOnAks + resourceGroupName + "/providers/Microsoft.HDInsight/clusterpools/" + clusterPoolName - + "/clusters/" - + clusterName + + "/clusters" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -5483,24 +7129,23 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClustersGetWithResult_Call (request, eventListener,sender); + return await this.ClustersListByClusterPoolNameWithResult_Call (request, eventListener,sender); } } - /// Gets a HDInsight cluster. + /// Lists the HDInsight cluster pools under a resource group. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. - /// The name of the HDInsight cluster. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A - /// that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersGetWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListByClusterPoolNameWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5512,8 +7157,7 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HDInsight/clusterpools/" + global::System.Uri.EscapeDataString(clusterPoolName) - + "/clusters/" - + global::System.Uri.EscapeDataString(clusterName) + + "/clusters" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -5527,19 +7171,21 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClustersGetWithResult_Call (request, eventListener,sender); + return await this.ClustersListByClusterPoolNameWithResult_Call (request, eventListener,sender); } } - /// Actual wire call for method. + /// + /// Actual wire call for method. + /// /// the prepared HttpRequestMessage to send. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A - /// that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersListByClusterPoolNameWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5558,7 +7204,7 @@ public partial class HdInsightOnAks case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -5591,7 +7237,7 @@ public partial class HdInsightOnAks } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -5601,7 +7247,7 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersListByClusterPoolName_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5620,7 +7266,7 @@ public partial class HdInsightOnAks case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -5642,18 +7288,17 @@ public partial class HdInsightOnAks } /// - /// Validation method for method. Call this like the actual call, but you will get validation events - /// back. + /// Validation method for method. Call this like the actual call, but you will + /// get validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. - /// The name of the HDInsight cluster. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersGet_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClustersListByClusterPoolName_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -5663,14 +7308,14 @@ public partial class HdInsightOnAks await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(clusterPoolName),clusterPoolName); - await eventListener.AssertNotNull(nameof(clusterName),clusterName); } } - /// Lists the HDInsight cluster pools under a resource group. + /// Lists the lists of instance views /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. + /// The name of the HDInsight cluster. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -5679,9 +7324,9 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListByClusterPoolName(string subscriptionId, string resourceGroupName, string clusterPoolName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListInstanceViews(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5693,7 +7338,9 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HDInsight/clusterpools/" + global::System.Uri.EscapeDataString(clusterPoolName) - + "/clusters" + + "/clusters/" + + global::System.Uri.EscapeDataString(clusterName) + + "/instanceViews" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -5707,11 +7354,11 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClustersListByClusterPoolName_Call (request, onOk,onDefault,eventListener,sender); + await this.ClustersListInstanceViews_Call (request, onOk,onDefault,eventListener,sender); } } - /// Lists the HDInsight cluster pools under a resource group. + /// Lists the lists of instance views /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -5721,24 +7368,25 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListByClusterPoolNameViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListInstanceViewsViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)/instanceViews$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var clusterPoolName = _match.Groups["clusterPoolName"].Value; + var clusterName = _match.Groups["clusterName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -5747,7 +7395,9 @@ public partial class HdInsightOnAks + resourceGroupName + "/providers/Microsoft.HDInsight/clusterpools/" + clusterPoolName - + "/clusters" + + "/clusters/" + + clusterName + + "/instanceViews" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -5761,36 +7411,37 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClustersListByClusterPoolName_Call (request, onOk,onDefault,eventListener,sender); + await this.ClustersListInstanceViews_Call (request, onOk,onDefault,eventListener,sender); } } - /// Lists the HDInsight cluster pools under a resource group. + /// Lists the lists of instance views /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListByClusterPoolNameViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListInstanceViewsViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)/instanceViews$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var clusterPoolName = _match.Groups["clusterPoolName"].Value; + var clusterName = _match.Groups["clusterName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -5799,7 +7450,9 @@ public partial class HdInsightOnAks + resourceGroupName + "/providers/Microsoft.HDInsight/clusterpools/" + clusterPoolName - + "/clusters" + + "/clusters/" + + clusterName + + "/instanceViews" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -5813,23 +7466,24 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClustersListByClusterPoolNameWithResult_Call (request, eventListener,sender); + return await this.ClustersListInstanceViewsWithResult_Call (request, eventListener,sender); } } - /// Lists the HDInsight cluster pools under a resource group. + /// Lists the lists of instance views /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. + /// The name of the HDInsight cluster. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListByClusterPoolNameWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListInstanceViewsWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5841,7 +7495,9 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.HDInsight/clusterpools/" + global::System.Uri.EscapeDataString(clusterPoolName) - + "/clusters" + + "/clusters/" + + global::System.Uri.EscapeDataString(clusterName) + + "/instanceViews" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -5855,21 +7511,21 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClustersListByClusterPoolNameWithResult_Call (request, eventListener,sender); + return await this.ClustersListInstanceViewsWithResult_Call (request, eventListener,sender); } } /// - /// Actual wire call for method. + /// Actual wire call for method. /// /// the prepared HttpRequestMessage to send. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersListByClusterPoolNameWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersListInstanceViewsWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5888,7 +7544,7 @@ public partial class HdInsightOnAks case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewsResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -5921,7 +7577,7 @@ public partial class HdInsightOnAks } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -5931,7 +7587,7 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersListByClusterPoolName_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersListInstanceViews_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5950,7 +7606,7 @@ public partial class HdInsightOnAks case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewsResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -5972,17 +7628,18 @@ public partial class HdInsightOnAks } /// - /// Validation method for method. Call this like the actual call, but you will - /// get validation events back. + /// Validation method for method. Call this like the actual call, but you will get + /// validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. + /// The name of the HDInsight cluster. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersListByClusterPoolName_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClustersListInstanceViews_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -5992,10 +7649,11 @@ public partial class HdInsightOnAks await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(clusterPoolName),clusterPoolName); + await eventListener.AssertNotNull(nameof(clusterName),clusterName); } } - /// Lists the lists of instance views + /// Lists the config dump of all services running in cluster. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. @@ -6008,9 +7666,9 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListInstanceViews(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListServiceConfigs(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6024,7 +7682,7 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(clusterPoolName) + "/clusters/" + global::System.Uri.EscapeDataString(clusterName) - + "/instanceViews" + + "/serviceConfigs" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6038,11 +7696,11 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClustersListInstanceViews_Call (request, onOk,onDefault,eventListener,sender); + await this.ClustersListServiceConfigs_Call (request, onOk,onDefault,eventListener,sender); } } - /// Lists the lists of instance views + /// Lists the config dump of all services running in cluster. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -6052,18 +7710,18 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListInstanceViewsViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListServiceConfigsViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)/instanceViews$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)/serviceConfigs$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/serviceConfigs'"); } // replace URI parameters with values from identity @@ -6081,7 +7739,7 @@ public partial class HdInsightOnAks + clusterPoolName + "/clusters/" + clusterName - + "/instanceViews" + + "/serviceConfigs" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6095,30 +7753,30 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClustersListInstanceViews_Call (request, onOk,onDefault,eventListener,sender); + await this.ClustersListServiceConfigs_Call (request, onOk,onDefault,eventListener,sender); } } - /// Lists the lists of instance views + /// Lists the config dump of all services running in cluster. /// /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListInstanceViewsViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListServiceConfigsViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)/instanceViews$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)/serviceConfigs$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/serviceConfigs'"); } // replace URI parameters with values from identity @@ -6136,7 +7794,7 @@ public partial class HdInsightOnAks + clusterPoolName + "/clusters/" + clusterName - + "/instanceViews" + + "/serviceConfigs" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6150,11 +7808,11 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClustersListInstanceViewsWithResult_Call (request, eventListener,sender); + return await this.ClustersListServiceConfigsWithResult_Call (request, eventListener,sender); } } - /// Lists the lists of instance views + /// Lists the config dump of all services running in cluster. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. @@ -6162,12 +7820,12 @@ public partial class HdInsightOnAks /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListInstanceViewsWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersListServiceConfigsWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6181,7 +7839,7 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(clusterPoolName) + "/clusters/" + global::System.Uri.EscapeDataString(clusterName) - + "/instanceViews" + + "/serviceConfigs" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6195,21 +7853,21 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClustersListInstanceViewsWithResult_Call (request, eventListener,sender); + return await this.ClustersListServiceConfigsWithResult_Call (request, eventListener,sender); } } /// - /// Actual wire call for method. + /// Actual wire call for method. /// /// the prepared HttpRequestMessage to send. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersListInstanceViewsWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersListServiceConfigsWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -6228,7 +7886,7 @@ public partial class HdInsightOnAks case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewsResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -6261,7 +7919,7 @@ public partial class HdInsightOnAks } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -6271,7 +7929,7 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersListInstanceViews_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersListServiceConfigs_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -6290,7 +7948,7 @@ public partial class HdInsightOnAks case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewsResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -6312,7 +7970,7 @@ public partial class HdInsightOnAks } /// - /// Validation method for method. Call this like the actual call, but you will get + /// Validation method for method. Call this like the actual call, but you will get /// validation events back. /// /// The ID of the target subscription. The value must be an UUID. @@ -6323,7 +7981,7 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersListInstanceViews_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClustersListServiceConfigs_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -6337,22 +7995,24 @@ public partial class HdInsightOnAks } } - /// Lists the config dump of all services running in cluster. + /// Resize an existing Cluster. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. /// The name of the HDInsight cluster. + /// Resize a cluster. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListServiceConfigs(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersResize(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResizeData body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6366,7 +8026,7 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(clusterPoolName) + "/clusters/" + global::System.Uri.EscapeDataString(clusterName) - + "/serviceConfigs" + + "/resize" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6375,37 +8035,43 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClustersListServiceConfigs_Call (request, onOk,onDefault,eventListener,sender); + await this.ClustersResize_Call (request, onOk,onDefault,eventListener,sender); } } - /// Lists the config dump of all services running in cluster. + /// Resize an existing Cluster. /// + /// Resize a cluster. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListServiceConfigsViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersResizeViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResizeData body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)/serviceConfigs$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/serviceConfigs'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}'"); } // replace URI parameters with values from identity @@ -6423,7 +8089,7 @@ public partial class HdInsightOnAks + clusterPoolName + "/clusters/" + clusterName - + "/serviceConfigs" + + "/resize" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6432,35 +8098,41 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClustersListServiceConfigs_Call (request, onOk,onDefault,eventListener,sender); + await this.ClustersResize_Call (request, onOk,onDefault,eventListener,sender); } } - /// Lists the config dump of all services running in cluster. + /// Resize an existing Cluster. /// + /// Resize a cluster. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . /// - /// A that will be complete when handling of the response is completed. + /// A + /// that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListServiceConfigsViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersResizeViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResizeData body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)/serviceConfigs$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.HDInsight/clusterpools/(?[^/]+)/clusters/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/serviceConfigs'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}'"); } // replace URI parameters with values from identity @@ -6478,7 +8150,7 @@ public partial class HdInsightOnAks + clusterPoolName + "/clusters/" + clusterName - + "/serviceConfigs" + + "/resize" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6487,29 +8159,36 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClustersListServiceConfigsWithResult_Call (request, eventListener,sender); + return await this.ClustersResizeWithResult_Call (request, eventListener,sender); } } - /// Lists the config dump of all services running in cluster. + /// Resize an existing Cluster. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. /// The name of the HDInsight cluster. + /// Json string supplied to the ClustersResize operation + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersListServiceConfigsWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersResizeViaJsonString(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6523,7 +8202,57 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(clusterPoolName) + "/clusters/" + global::System.Uri.EscapeDataString(clusterName) - + "/serviceConfigs" + + "/resize" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.ClustersResize_Call (request, onOk,onDefault,eventListener,sender); + } + } + + /// Resize an existing Cluster. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. + /// The name of the HDInsight cluster. + /// Json string supplied to the ClustersResize operation + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A + /// that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClustersResizeViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HDInsight/clusterpools/" + + global::System.Uri.EscapeDataString(clusterPoolName) + + "/clusters/" + + global::System.Uri.EscapeDataString(clusterName) + + "/resize" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6532,26 +8261,79 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(jsonString, global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClustersListServiceConfigsWithResult_Call (request, eventListener,sender); + return await this.ClustersResizeWithResult_Call (request, eventListener,sender); } } - /// - /// Actual wire call for method. - /// + /// Resize an existing Cluster. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the cluster pool. + /// The name of the HDInsight cluster. + /// Resize a cluster. + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// A + /// that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task ClustersResizeWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResizeData body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + { + var apiVersion = @"2023-11-01-preview"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.HDInsight/clusterpools/" + + global::System.Uri.EscapeDataString(clusterPoolName) + + "/clusters/" + + global::System.Uri.EscapeDataString(clusterName) + + "/resize" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null, serializationMode).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } + // make the call + return await this.ClustersResizeWithResult_Call (request, eventListener,sender); + } + } + + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// - /// A that will be complete when handling of the response is completed. + /// A + /// that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersListServiceConfigsWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersResizeWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -6560,8 +8342,97 @@ public partial class HdInsightOnAks { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return null; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return null; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: location + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } + break; + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return null; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -6570,7 +8441,7 @@ public partial class HdInsightOnAks case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } - var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); + var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) ); return await _result; } default: @@ -6603,7 +8474,7 @@ public partial class HdInsightOnAks } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -6613,7 +8484,7 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersListServiceConfigs_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersResize_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -6622,8 +8493,97 @@ public partial class HdInsightOnAks { var sendTask = sender.SendAsync(request, eventListener); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 0); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: location + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + // delay before making the next polling request + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress, "intentional placeholder", 100); if( eventListener.Token.IsCancellationRequested ) { return; } var _contentType = _response.Content.Headers.ContentType?.MediaType; @@ -6632,7 +8592,7 @@ public partial class HdInsightOnAks case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Cluster.FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -6654,18 +8614,19 @@ public partial class HdInsightOnAks } /// - /// Validation method for method. Call this like the actual call, but you will get - /// validation events back. + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. /// The name of the HDInsight cluster. + /// Resize a cluster. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersListServiceConfigs_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClustersResize_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResizeData body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -6676,15 +8637,17 @@ public partial class HdInsightOnAks await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(clusterPoolName),clusterPoolName); await eventListener.AssertNotNull(nameof(clusterName),clusterName); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Resize an existing Cluster. + /// Updates an existing Cluster. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. /// The name of the HDInsight cluster. - /// Resize a cluster. + /// Patch a cluster. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -6694,9 +8657,9 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersResize(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResizeData body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task ClustersUpdate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatch body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6710,7 +8673,6 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(clusterPoolName) + "/clusters/" + global::System.Uri.EscapeDataString(clusterName) - + "/resize" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6719,7 +8681,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -6728,13 +8690,13 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClustersResize_Call (request, onOk,onDefault,eventListener,sender); + await this.ClustersUpdate_Call (request, onOk,onDefault,eventListener,sender); } } - /// Resize an existing Cluster. + /// Updates an existing Cluster. /// - /// Resize a cluster. + /// Patch a cluster. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -6744,9 +8706,9 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersResizeViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResizeData body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task ClustersUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatch body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6773,7 +8735,6 @@ public partial class HdInsightOnAks + clusterPoolName + "/clusters/" + clusterName - + "/resize" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6782,7 +8743,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -6791,13 +8752,13 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClustersResize_Call (request, onOk,onDefault,eventListener,sender); + await this.ClustersUpdate_Call (request, onOk,onDefault,eventListener,sender); } } - /// Resize an existing Cluster. + /// Updates an existing Cluster. /// - /// Resize a cluster. + /// Patch a cluster. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// Allows the caller to choose the depth of the serialization. See . @@ -6805,9 +8766,9 @@ public partial class HdInsightOnAks /// A /// that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersResizeViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResizeData body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task ClustersUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatch body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6834,7 +8795,6 @@ public partial class HdInsightOnAks + clusterPoolName + "/clusters/" + clusterName - + "/resize" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6843,7 +8803,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -6852,16 +8812,16 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClustersResizeWithResult_Call (request, eventListener,sender); + return await this.ClustersUpdateWithResult_Call (request, eventListener,sender); } } - /// Resize an existing Cluster. + /// Updates an existing Cluster. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. /// The name of the HDInsight cluster. - /// Json string supplied to the ClustersResize operation + /// Json string supplied to the ClustersUpdate operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -6870,9 +8830,9 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersResizeViaJsonString(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersUpdateViaJsonString(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6886,7 +8846,6 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(clusterPoolName) + "/clusters/" + global::System.Uri.EscapeDataString(clusterName) - + "/resize" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6895,7 +8854,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -6904,25 +8863,25 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClustersResize_Call (request, onOk,onDefault,eventListener,sender); + await this.ClustersUpdate_Call (request, onOk,onDefault,eventListener,sender); } } - /// Resize an existing Cluster. + /// Updates an existing Cluster. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. /// The name of the HDInsight cluster. - /// Json string supplied to the ClustersResize operation + /// Json string supplied to the ClustersUpdate operation /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// /// A /// that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersResizeViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6936,7 +8895,6 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(clusterPoolName) + "/clusters/" + global::System.Uri.EscapeDataString(clusterName) - + "/resize" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6945,7 +8903,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -6954,16 +8912,16 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClustersResizeWithResult_Call (request, eventListener,sender); + return await this.ClustersUpdateWithResult_Call (request, eventListener,sender); } } - /// Resize an existing Cluster. + /// Updates an existing Cluster. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. /// The name of the HDInsight cluster. - /// Resize a cluster. + /// Patch a cluster. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// Allows the caller to choose the depth of the serialization. See . @@ -6971,9 +8929,9 @@ public partial class HdInsightOnAks /// A /// that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersResizeWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResizeData body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task ClustersUpdateWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatch body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6987,7 +8945,6 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(clusterPoolName) + "/clusters/" + global::System.Uri.EscapeDataString(clusterName) - + "/resize" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6996,7 +8953,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -7005,11 +8962,11 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClustersResizeWithResult_Call (request, eventListener,sender); + return await this.ClustersUpdateWithResult_Call (request, eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. @@ -7017,7 +8974,7 @@ public partial class HdInsightOnAks /// A /// that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersResizeWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -7031,8 +8988,7 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: location - var _finalUri = _response.GetFirstHeader(@"Location"); + // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) @@ -7107,7 +9063,7 @@ public partial class HdInsightOnAks } // we are done polling, do a request on final target? // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); // drop the old response _response?.Dispose(); @@ -7158,7 +9114,7 @@ public partial class HdInsightOnAks } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -7168,7 +9124,7 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersResize_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -7182,8 +9138,7 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: location - var _finalUri = _response.GetFirstHeader(@"Location"); + // declared final-state-via: azure-async-operation var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) @@ -7258,7 +9213,7 @@ public partial class HdInsightOnAks } // we are done polling, do a request on final target? // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); // drop the old response _response?.Dispose(); @@ -7298,19 +9253,19 @@ public partial class HdInsightOnAks } /// - /// Validation method for method. Call this like the actual call, but you will get validation + /// Validation method for method. Call this like the actual call, but you will get validation /// events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. /// The name of the HDInsight cluster. - /// Resize a cluster. + /// Patch a cluster. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersResize_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResizeData body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClustersUpdate_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatch body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -7326,12 +9281,12 @@ public partial class HdInsightOnAks } } - /// Updates an existing Cluster. + /// Upgrade a cluster. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. /// The name of the HDInsight cluster. - /// Patch a cluster. + /// Upgrade a cluster. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -7341,9 +9296,9 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersUpdate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatch body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task ClustersUpgrade(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7357,6 +9312,7 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(clusterPoolName) + "/clusters/" + global::System.Uri.EscapeDataString(clusterName) + + "/upgrade" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -7365,7 +9321,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -7374,13 +9330,13 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClustersUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.ClustersUpgrade_Call (request, onOk,onDefault,eventListener,sender); } } - /// Updates an existing Cluster. + /// Upgrade a cluster. /// - /// Patch a cluster. + /// Upgrade a cluster. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -7390,9 +9346,9 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatch body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task ClustersUpgradeViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7419,6 +9375,7 @@ public partial class HdInsightOnAks + clusterPoolName + "/clusters/" + clusterName + + "/upgrade" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -7427,7 +9384,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -7436,13 +9393,13 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClustersUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.ClustersUpgrade_Call (request, onOk,onDefault,eventListener,sender); } } - /// Updates an existing Cluster. + /// Upgrade a cluster. /// - /// Patch a cluster. + /// Upgrade a cluster. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// Allows the caller to choose the depth of the serialization. See . @@ -7450,9 +9407,9 @@ public partial class HdInsightOnAks /// A /// that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatch body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task ClustersUpgradeViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7479,6 +9436,7 @@ public partial class HdInsightOnAks + clusterPoolName + "/clusters/" + clusterName + + "/upgrade" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -7487,7 +9445,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -7496,16 +9454,16 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClustersUpdateWithResult_Call (request, eventListener,sender); + return await this.ClustersUpgradeWithResult_Call (request, eventListener,sender); } } - /// Updates an existing Cluster. + /// Upgrade a cluster. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. /// The name of the HDInsight cluster. - /// Json string supplied to the ClustersUpdate operation + /// Json string supplied to the ClustersUpgrade operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -7514,9 +9472,9 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersUpdateViaJsonString(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersUpgradeViaJsonString(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7530,6 +9488,7 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(clusterPoolName) + "/clusters/" + global::System.Uri.EscapeDataString(clusterName) + + "/upgrade" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -7538,7 +9497,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -7547,25 +9506,25 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ClustersUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.ClustersUpgrade_Call (request, onOk,onDefault,eventListener,sender); } } - /// Updates an existing Cluster. + /// Upgrade a cluster. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. /// The name of the HDInsight cluster. - /// Json string supplied to the ClustersUpdate operation + /// Json string supplied to the ClustersUpgrade operation /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// /// A /// that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ClustersUpgradeViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7579,6 +9538,7 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(clusterPoolName) + "/clusters/" + global::System.Uri.EscapeDataString(clusterName) + + "/upgrade" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -7587,7 +9547,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -7596,16 +9556,16 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClustersUpdateWithResult_Call (request, eventListener,sender); + return await this.ClustersUpgradeWithResult_Call (request, eventListener,sender); } } - /// Updates an existing Cluster. + /// Upgrade a cluster. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. /// The name of the HDInsight cluster. - /// Patch a cluster. + /// Upgrade a cluster. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. /// Allows the caller to choose the depth of the serialization. See . @@ -7613,9 +9573,9 @@ public partial class HdInsightOnAks /// A /// that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ClustersUpdateWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatch body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task ClustersUpgradeWithResult(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7629,6 +9589,7 @@ public partial class HdInsightOnAks + global::System.Uri.EscapeDataString(clusterPoolName) + "/clusters/" + global::System.Uri.EscapeDataString(clusterName) + + "/upgrade" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -7637,7 +9598,7 @@ public partial class HdInsightOnAks // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return null; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } @@ -7646,11 +9607,11 @@ public partial class HdInsightOnAks request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.ClustersUpdateWithResult_Call (request, eventListener,sender); + return await this.ClustersUpgradeWithResult_Call (request, eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync pipeline to use to make the request. @@ -7658,7 +9619,7 @@ public partial class HdInsightOnAks /// A /// that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersUpgradeWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -7672,7 +9633,8 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return null; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: azure-async-operation + // declared final-state-via: location + var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) @@ -7747,7 +9709,7 @@ public partial class HdInsightOnAks } // we are done polling, do a request on final target? // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); // drop the old response _response?.Dispose(); @@ -7798,7 +9760,7 @@ public partial class HdInsightOnAks } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -7808,7 +9770,7 @@ public partial class HdInsightOnAks /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ClustersUpgrade_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -7822,7 +9784,8 @@ public partial class HdInsightOnAks await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: azure-async-operation + // declared final-state-via: location + var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) @@ -7897,7 +9860,7 @@ public partial class HdInsightOnAks } // we are done polling, do a request on final target? // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get); // drop the old response _response?.Dispose(); @@ -7937,19 +9900,19 @@ public partial class HdInsightOnAks } /// - /// Validation method for method. Call this like the actual call, but you will get validation + /// Validation method for method. Call this like the actual call, but you will get validation /// events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the cluster pool. /// The name of the HDInsight cluster. - /// Patch a cluster. + /// Upgrade a cluster. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ClustersUpdate_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatch body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ClustersUpgrade_Validate(string subscriptionId, string resourceGroupName, string clusterPoolName, string clusterName, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -7980,7 +9943,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task LocationsCheckNameAvailability(string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INameAvailabilityParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8026,7 +9989,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task LocationsCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INameAvailabilityParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8081,7 +10044,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task LocationsCheckNameAvailabilityViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INameAvailabilityParameters body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8138,7 +10101,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task LocationsCheckNameAvailabilityViaJsonString(string subscriptionId, string location, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8182,7 +10145,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task LocationsCheckNameAvailabilityViaJsonStringWithResult(string subscriptionId, string location, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8227,7 +10190,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task LocationsCheckNameAvailabilityWithResult(string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INameAvailabilityParameters body, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeUpdate) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8406,7 +10369,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task OperationsList(global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8442,7 +10405,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task OperationsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8485,7 +10448,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task OperationsListViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8527,7 +10490,7 @@ public partial class HdInsightOnAks /// public async global::System.Threading.Tasks.Task OperationsListWithResult(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.ISendAsync sender) { - var apiVersion = @"2023-06-01-preview"; + var apiVersion = @"2023-11-01-preview"; // Constant Parameters using( NoSynchronizationContext ) { diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/AksClusterProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/AksClusterProfile.json.cs index 5cc6e58506c9..8ac2d5b095b5 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/AksClusterProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/AksClusterProfile.json.cs @@ -65,9 +65,9 @@ internal AksClusterProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Run { return; } - {_aksClusterAgentPoolIdentityProfile = If( json?.PropertyT("aksClusterAgentPoolIdentityProfile"), out var __jsonAksClusterAgentPoolIdentityProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AksClusterProfileAksClusterAgentPoolIdentityProfile.FromJson(__jsonAksClusterAgentPoolIdentityProfile) : AksClusterAgentPoolIdentityProfile;} - {_aksClusterResourceId = If( json?.PropertyT("aksClusterResourceId"), out var __jsonAksClusterResourceId) ? (string)__jsonAksClusterResourceId : (string)AksClusterResourceId;} - {_aksVersion = If( json?.PropertyT("aksVersion"), out var __jsonAksVersion) ? (string)__jsonAksVersion : (string)AksVersion;} + {_aksClusterAgentPoolIdentityProfile = If( json?.PropertyT("aksClusterAgentPoolIdentityProfile"), out var __jsonAksClusterAgentPoolIdentityProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AksClusterProfileAksClusterAgentPoolIdentityProfile.FromJson(__jsonAksClusterAgentPoolIdentityProfile) : _aksClusterAgentPoolIdentityProfile;} + {_aksClusterResourceId = If( json?.PropertyT("aksClusterResourceId"), out var __jsonAksClusterResourceId) ? (string)__jsonAksClusterResourceId : (string)_aksClusterResourceId;} + {_aksVersion = If( json?.PropertyT("aksVersion"), out var __jsonAksVersion) ? (string)__jsonAksVersion : (string)_aksVersion;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/AuthorizationProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/AuthorizationProfile.json.cs index e895848c1332..635ed1c2ae7c 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/AuthorizationProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/AuthorizationProfile.json.cs @@ -67,8 +67,8 @@ internal AuthorizationProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks. { return; } - {_userId = If( json?.PropertyT("userIds"), out var __jsonUserIds) ? If( __jsonUserIds as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : UserId;} - {_groupId = If( json?.PropertyT("groupIds"), out var __jsonGroupIds) ? If( __jsonGroupIds as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __q) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__q, (__p)=>(string) (__p is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString __o ? (string)(__o.ToString()) : null)) ))() : null : GroupId;} + {_userId = If( json?.PropertyT("userIds"), out var __jsonUserIds) ? If( __jsonUserIds as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : _userId;} + {_groupId = If( json?.PropertyT("groupIds"), out var __jsonGroupIds) ? If( __jsonGroupIds as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __q) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__q, (__p)=>(string) (__p is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString __o ? (string)(__o.ToString()) : null)) ))() : null : _groupId;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/AutoscaleProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/AutoscaleProfile.json.cs index 86810d2a8900..4b7c580dd07b 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/AutoscaleProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/AutoscaleProfile.json.cs @@ -67,11 +67,11 @@ internal AutoscaleProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runt { return; } - {_scheduleBasedConfig = If( json?.PropertyT("scheduleBasedConfig"), out var __jsonScheduleBasedConfig) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ScheduleBasedConfig.FromJson(__jsonScheduleBasedConfig) : ScheduleBasedConfig;} - {_loadBasedConfig = If( json?.PropertyT("loadBasedConfig"), out var __jsonLoadBasedConfig) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.LoadBasedConfig.FromJson(__jsonLoadBasedConfig) : LoadBasedConfig;} - {_enabled = If( json?.PropertyT("enabled"), out var __jsonEnabled) ? (bool)__jsonEnabled : Enabled;} - {_gracefulDecommissionTimeout = If( json?.PropertyT("gracefulDecommissionTimeout"), out var __jsonGracefulDecommissionTimeout) ? (int?)__jsonGracefulDecommissionTimeout : GracefulDecommissionTimeout;} - {_autoscaleType = If( json?.PropertyT("autoscaleType"), out var __jsonAutoscaleType) ? (string)__jsonAutoscaleType : (string)AutoscaleType;} + {_scheduleBasedConfig = If( json?.PropertyT("scheduleBasedConfig"), out var __jsonScheduleBasedConfig) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ScheduleBasedConfig.FromJson(__jsonScheduleBasedConfig) : _scheduleBasedConfig;} + {_loadBasedConfig = If( json?.PropertyT("loadBasedConfig"), out var __jsonLoadBasedConfig) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.LoadBasedConfig.FromJson(__jsonLoadBasedConfig) : _loadBasedConfig;} + {_enabled = If( json?.PropertyT("enabled"), out var __jsonEnabled) ? (bool)__jsonEnabled : _enabled;} + {_gracefulDecommissionTimeout = If( json?.PropertyT("gracefulDecommissionTimeout"), out var __jsonGracefulDecommissionTimeout) ? (int?)__jsonGracefulDecommissionTimeout : _gracefulDecommissionTimeout;} + {_autoscaleType = If( json?.PropertyT("autoscaleType"), out var __jsonAutoscaleType) ? (string)__jsonAutoscaleType : (string)_autoscaleType;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/CatalogOptions.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/CatalogOptions.json.cs index 5d3ea3025b09..55af96fd9f9c 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/CatalogOptions.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/CatalogOptions.json.cs @@ -65,7 +65,7 @@ internal CatalogOptions(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtim { return; } - {_hive = If( json?.PropertyT("hive"), out var __jsonHive) ? If( __jsonHive as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOption) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.HiveCatalogOption.FromJson(__u) )) ))() : null : Hive;} + {_hive = If( json?.PropertyT("hive"), out var __jsonHive) ? If( __jsonHive as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOption) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.HiveCatalogOption.FromJson(__u) )) ))() : null : _hive;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Cluster.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Cluster.PowerShell.cs index 2355e0c85b1e..6e92cbac2e28 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Cluster.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Cluster.PowerShell.cs @@ -180,6 +180,10 @@ internal Cluster(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileAutoscaleProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IAutoscaleProfile) content.GetValueForProperty("ProfileAutoscaleProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileAutoscaleProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AutoscaleProfileTypeConverter.ConvertFrom); } + if (content.Contains("ProfileKafkaProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileKafkaProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile) content.GetValueForProperty("ProfileKafkaProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileKafkaProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaProfileTypeConverter.ConvertFrom); + } if (content.Contains("ProfileTrinoProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileTrinoProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoProfile) content.GetValueForProperty("ProfileTrinoProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileTrinoProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoProfileTypeConverter.ConvertFrom); @@ -192,9 +196,9 @@ internal Cluster(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileSparkProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfile) content.GetValueForProperty("ProfileSparkProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileSparkProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkProfileTypeConverter.ConvertFrom); } - if (content.Contains("ProfileKafkaProfile")) + if (content.Contains("ProfileRangerProfile")) { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileKafkaProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile) content.GetValueForProperty("ProfileKafkaProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileKafkaProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfileKafkaProfileTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileRangerProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile) content.GetValueForProperty("ProfileRangerProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileRangerProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerProfileTypeConverter.ConvertFrom); } if (content.Contains("ProfileLlapProfile")) { @@ -204,6 +208,10 @@ internal Cluster(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileStubProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileStubProfile) content.GetValueForProperty("ProfileStubProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileStubProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfileStubProfileTypeConverter.ConvertFrom); } + if (content.Contains("ProfileClusterAccessProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileClusterAccessProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile) content.GetValueForProperty("ProfileClusterAccessProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileClusterAccessProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAccessProfileTypeConverter.ConvertFrom); + } if (content.Contains("ProfileLogAnalyticsProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileLogAnalyticsProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsProfile) content.GetValueForProperty("ProfileLogAnalyticsProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileLogAnalyticsProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsProfileTypeConverter.ConvertFrom); @@ -212,6 +220,10 @@ internal Cluster(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfilePrometheusProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile) content.GetValueForProperty("ProfilePrometheusProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfilePrometheusProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfileTypeConverter.ConvertFrom); } + if (content.Contains("ProfileRangerPluginProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileRangerPluginProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile) content.GetValueForProperty("ProfileRangerPluginProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileRangerPluginProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfileTypeConverter.ConvertFrom); + } if (content.Contains("ProfileClusterVersion")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileClusterVersion = (string) content.GetValueForProperty("ProfileClusterVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileClusterVersion, global::System.Convert.ToString); @@ -272,6 +284,10 @@ internal Cluster(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).FlinkProfileNumReplica = (int?) content.GetValueForProperty("FlinkProfileNumReplica",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).FlinkProfileNumReplica, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } + if (content.Contains("FlinkProfileDeploymentMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).FlinkProfileDeploymentMode = (string) content.GetValueForProperty("FlinkProfileDeploymentMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).FlinkProfileDeploymentMode, global::System.Convert.ToString); + } if (content.Contains("IdentityProfileMsiResourceId")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).IdentityProfileMsiResourceId = (string) content.GetValueForProperty("IdentityProfileMsiResourceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).IdentityProfileMsiResourceId, global::System.Convert.ToString); @@ -288,6 +304,14 @@ internal Cluster(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).SecretProfileKeyVaultResourceId = (string) content.GetValueForProperty("SecretProfileKeyVaultResourceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).SecretProfileKeyVaultResourceId, global::System.Convert.ToString); } + if (content.Contains("AccessProfileEnableInternalIngress")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).AccessProfileEnableInternalIngress = (bool) content.GetValueForProperty("AccessProfileEnableInternalIngress",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).AccessProfileEnableInternalIngress, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("AccessProfilePrivateLinkServiceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).AccessProfilePrivateLinkServiceId = (string) content.GetValueForProperty("AccessProfilePrivateLinkServiceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).AccessProfilePrivateLinkServiceId, global::System.Convert.ToString); + } if (content.Contains("LogAnalyticProfileApplicationLog")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).LogAnalyticProfileApplicationLog = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsApplicationLogs) content.GetValueForProperty("LogAnalyticProfileApplicationLog",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).LogAnalyticProfileApplicationLog, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsApplicationLogsTypeConverter.ConvertFrom); @@ -352,6 +376,34 @@ internal Cluster(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).LoadBasedConfigScalingRule = (System.Collections.Generic.List) content.GetValueForProperty("LoadBasedConfigScalingRule",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).LoadBasedConfigScalingRule, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ScalingRuleTypeConverter.ConvertFrom)); } + if (content.Contains("RangerPluginProfileEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerPluginProfileEnabled = (bool) content.GetValueForProperty("RangerPluginProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerPluginProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("KafkaProfileDiskStorage")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileDiskStorage = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile) content.GetValueForProperty("KafkaProfileDiskStorage",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileDiskStorage, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.DiskStorageProfileTypeConverter.ConvertFrom); + } + if (content.Contains("KafkaProfileClusterIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileClusterIdentity = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile) content.GetValueForProperty("KafkaProfileClusterIdentity",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileClusterIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IdentityProfileTypeConverter.ConvertFrom); + } + if (content.Contains("KafkaProfileConnectivityEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileConnectivityEndpoint = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints) content.GetValueForProperty("KafkaProfileConnectivityEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileConnectivityEndpoint, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaConnectivityEndpointsTypeConverter.ConvertFrom); + } + if (content.Contains("KafkaProfileEnableKRaft")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileEnableKRaft = (bool?) content.GetValueForProperty("KafkaProfileEnableKRaft",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileEnableKRaft, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("KafkaProfileEnablePublicEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileEnablePublicEndpoint = (bool?) content.GetValueForProperty("KafkaProfileEnablePublicEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileEnablePublicEndpoint, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("KafkaProfileRemoteStorageUri")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileRemoteStorageUri = (string) content.GetValueForProperty("KafkaProfileRemoteStorageUri",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileRemoteStorageUri, global::System.Convert.ToString); + } if (content.Contains("TrinoProfileCoordinator")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).TrinoProfileCoordinator = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoCoordinator) content.GetValueForProperty("TrinoProfileCoordinator",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).TrinoProfileCoordinator, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoCoordinatorTypeConverter.ConvertFrom); @@ -392,6 +444,14 @@ internal Cluster(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).FlinkProfileCatalogOption = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptions) content.GetValueForProperty("FlinkProfileCatalogOption",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).FlinkProfileCatalogOption, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkCatalogOptionsTypeConverter.ConvertFrom); } + if (content.Contains("FlinkProfileJobSpec")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).FlinkProfileJobSpec = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile) content.GetValueForProperty("FlinkProfileJobSpec",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).FlinkProfileJobSpec, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkJobProfileTypeConverter.ConvertFrom); + } + if (content.Contains("JobSpecUpgradeMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecUpgradeMode = (string) content.GetValueForProperty("JobSpecUpgradeMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecUpgradeMode, global::System.Convert.ToString); + } if (content.Contains("SparkProfileMetastoreSpec")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).SparkProfileMetastoreSpec = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpec) content.GetValueForProperty("SparkProfileMetastoreSpec",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).SparkProfileMetastoreSpec, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkMetastoreSpecTypeConverter.ConvertFrom); @@ -404,10 +464,30 @@ internal Cluster(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).SparkProfileDefaultStorageUrl = (string) content.GetValueForProperty("SparkProfileDefaultStorageUrl",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).SparkProfileDefaultStorageUrl, global::System.Convert.ToString); } + if (content.Contains("RangerProfileRangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerProfileRangerAdmin = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec) content.GetValueForProperty("RangerProfileRangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerProfileRangerAdmin, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerAudit")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerProfileRangerAudit = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec) content.GetValueForProperty("RangerProfileRangerAudit",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerProfileRangerAudit, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAuditSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerUsersync")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerProfileRangerUsersync = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec) content.GetValueForProperty("RangerProfileRangerUsersync",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerProfileRangerUsersync, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerUsersyncSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerUsersyncMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerUsersyncMode = (string) content.GetValueForProperty("RangerUsersyncMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerUsersyncMode, global::System.Convert.ToString); + } if (content.Contains("WebFqdn")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).WebFqdn = (string) content.GetValueForProperty("WebFqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).WebFqdn, global::System.Convert.ToString); } + if (content.Contains("WebPrivateFqdn")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).WebPrivateFqdn = (string) content.GetValueForProperty("WebPrivateFqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).WebPrivateFqdn, global::System.Convert.ToString); + } if (content.Contains("ApplicationLogStdOutEnabled")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ApplicationLogStdOutEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdOutEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ApplicationLogStdOutEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); @@ -416,6 +496,34 @@ internal Cluster(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ApplicationLogStdErrorEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdErrorEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ApplicationLogStdErrorEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("DiskStorageDataDiskSize")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DiskStorageDataDiskSize = (int) content.GetValueForProperty("DiskStorageDataDiskSize",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DiskStorageDataDiskSize, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("DiskStorageDataDiskType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DiskStorageDataDiskType = (string) content.GetValueForProperty("DiskStorageDataDiskType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DiskStorageDataDiskType, global::System.Convert.ToString); + } + if (content.Contains("IdentityMsiResourceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).IdentityMsiResourceId = (string) content.GetValueForProperty("IdentityMsiResourceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).IdentityMsiResourceId, global::System.Convert.ToString); + } + if (content.Contains("IdentityMsiClientId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).IdentityMsiClientId = (string) content.GetValueForProperty("IdentityMsiClientId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).IdentityMsiClientId, global::System.Convert.ToString); + } + if (content.Contains("IdentityMsiObjectId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).IdentityMsiObjectId = (string) content.GetValueForProperty("IdentityMsiObjectId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).IdentityMsiObjectId, global::System.Convert.ToString); + } + if (content.Contains("ConnectivityEndpointBootstrapServerEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ConnectivityEndpointBootstrapServerEndpoint = (string) content.GetValueForProperty("ConnectivityEndpointBootstrapServerEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ConnectivityEndpointBootstrapServerEndpoint, global::System.Convert.ToString); + } + if (content.Contains("ConnectivityEndpointBrokerEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ConnectivityEndpointBrokerEndpoint = (System.Collections.Generic.List) content.GetValueForProperty("ConnectivityEndpointBrokerEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ConnectivityEndpointBrokerEndpoint, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } if (content.Contains("CoordinatorDebug")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).CoordinatorDebug = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoDebugConfig) content.GetValueForProperty("CoordinatorDebug",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).CoordinatorDebug, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoDebugConfigTypeConverter.ConvertFrom); @@ -472,6 +580,26 @@ internal Cluster(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).FlinkProfileCatalogOptionsHive = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOption) content.GetValueForProperty("FlinkProfileCatalogOptionsHive",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).FlinkProfileCatalogOptionsHive, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkHiveCatalogOptionTypeConverter.ConvertFrom); } + if (content.Contains("JobSpecJobJarDirectory")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecJobJarDirectory = (string) content.GetValueForProperty("JobSpecJobJarDirectory",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecJobJarDirectory, global::System.Convert.ToString); + } + if (content.Contains("JobSpecJarName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecJarName = (string) content.GetValueForProperty("JobSpecJarName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecJarName, global::System.Convert.ToString); + } + if (content.Contains("JobSpecEntryClass")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecEntryClass = (string) content.GetValueForProperty("JobSpecEntryClass",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecEntryClass, global::System.Convert.ToString); + } + if (content.Contains("JobSpecArg")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecArg = (string) content.GetValueForProperty("JobSpecArg",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecArg, global::System.Convert.ToString); + } + if (content.Contains("JobSpecSavePointName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecSavePointName = (string) content.GetValueForProperty("JobSpecSavePointName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecSavePointName, global::System.Convert.ToString); + } if (content.Contains("MetastoreSpecDbServerHost")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).MetastoreSpecDbServerHost = (string) content.GetValueForProperty("MetastoreSpecDbServerHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).MetastoreSpecDbServerHost, global::System.Convert.ToString); @@ -480,6 +608,10 @@ internal Cluster(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).MetastoreSpecDbName = (string) content.GetValueForProperty("MetastoreSpecDbName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).MetastoreSpecDbName, global::System.Convert.ToString); } + if (content.Contains("MetastoreSpecDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).MetastoreSpecDbConnectionAuthenticationMode = (string) content.GetValueForProperty("MetastoreSpecDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).MetastoreSpecDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("MetastoreSpecDbUserName")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).MetastoreSpecDbUserName = (string) content.GetValueForProperty("MetastoreSpecDbUserName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).MetastoreSpecDbUserName, global::System.Convert.ToString); @@ -500,6 +632,34 @@ internal Cluster(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).SparkProfileUserPluginsSpecPlugin = (System.Collections.Generic.List) content.GetValueForProperty("SparkProfileUserPluginsSpecPlugin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).SparkProfileUserPluginsSpecPlugin, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkUserPluginTypeConverter.ConvertFrom)); } + if (content.Contains("RangerAdminDatabase")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerAdminDatabase = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase) content.GetValueForProperty("RangerAdminDatabase",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerAdminDatabase, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabaseTypeConverter.ConvertFrom); + } + if (content.Contains("RangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerAdmin = (System.Collections.Generic.List) content.GetValueForProperty("RangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerAdmin, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerAuditStorageAccount")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerAuditStorageAccount = (string) content.GetValueForProperty("RangerAuditStorageAccount",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerAuditStorageAccount, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerUsersyncEnabled = (bool?) content.GetValueForProperty("RangerUsersyncEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerUsersyncEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RangerUsersyncGroup")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerUsersyncGroup = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncGroup",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerUsersyncGroup, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerUsersyncUserMappingLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerUsersyncUserMappingLocation = (string) content.GetValueForProperty("RangerUsersyncUserMappingLocation",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerUsersyncUserMappingLocation, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncUser")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerUsersyncUser = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncUser",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerUsersyncUser, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } if (content.Contains("CoordinatorDebugEnable")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).CoordinatorDebugEnable = (bool?) content.GetValueForProperty("CoordinatorDebugEnable",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).CoordinatorDebugEnable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); @@ -540,6 +700,10 @@ internal Cluster(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).WorkerDebugSuspend = (bool?) content.GetValueForProperty("WorkerDebugSuspend",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).WorkerDebugSuspend, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("HiveMetastoreDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).HiveMetastoreDbConnectionAuthenticationMode = (string) content.GetValueForProperty("HiveMetastoreDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).HiveMetastoreDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("HiveMetastoreDbConnectionPasswordSecret")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).HiveMetastoreDbConnectionPasswordSecret = (string) content.GetValueForProperty("HiveMetastoreDbConnectionPasswordSecret",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).HiveMetastoreDbConnectionPasswordSecret, global::System.Convert.ToString); @@ -552,6 +716,22 @@ internal Cluster(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).HiveMetastoreDbConnectionUserName = (string) content.GetValueForProperty("HiveMetastoreDbConnectionUserName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).HiveMetastoreDbConnectionUserName, global::System.Convert.ToString); } + if (content.Contains("DatabaseHost")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DatabaseHost = (string) content.GetValueForProperty("DatabaseHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DatabaseHost, global::System.Convert.ToString); + } + if (content.Contains("DatabaseName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DatabaseName, global::System.Convert.ToString); + } + if (content.Contains("DatabasePasswordSecretRef")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DatabasePasswordSecretRef = (string) content.GetValueForProperty("DatabasePasswordSecretRef",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DatabasePasswordSecretRef, global::System.Convert.ToString); + } + if (content.Contains("DatabaseUsername")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DatabaseUsername = (string) content.GetValueForProperty("DatabaseUsername",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DatabaseUsername, global::System.Convert.ToString); + } AfterDeserializeDictionary(content); } @@ -673,6 +853,10 @@ internal Cluster(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileAutoscaleProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IAutoscaleProfile) content.GetValueForProperty("ProfileAutoscaleProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileAutoscaleProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AutoscaleProfileTypeConverter.ConvertFrom); } + if (content.Contains("ProfileKafkaProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileKafkaProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile) content.GetValueForProperty("ProfileKafkaProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileKafkaProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaProfileTypeConverter.ConvertFrom); + } if (content.Contains("ProfileTrinoProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileTrinoProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoProfile) content.GetValueForProperty("ProfileTrinoProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileTrinoProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoProfileTypeConverter.ConvertFrom); @@ -685,9 +869,9 @@ internal Cluster(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileSparkProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfile) content.GetValueForProperty("ProfileSparkProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileSparkProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkProfileTypeConverter.ConvertFrom); } - if (content.Contains("ProfileKafkaProfile")) + if (content.Contains("ProfileRangerProfile")) { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileKafkaProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile) content.GetValueForProperty("ProfileKafkaProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileKafkaProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfileKafkaProfileTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileRangerProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile) content.GetValueForProperty("ProfileRangerProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileRangerProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerProfileTypeConverter.ConvertFrom); } if (content.Contains("ProfileLlapProfile")) { @@ -697,6 +881,10 @@ internal Cluster(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileStubProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileStubProfile) content.GetValueForProperty("ProfileStubProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileStubProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfileStubProfileTypeConverter.ConvertFrom); } + if (content.Contains("ProfileClusterAccessProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileClusterAccessProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile) content.GetValueForProperty("ProfileClusterAccessProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileClusterAccessProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAccessProfileTypeConverter.ConvertFrom); + } if (content.Contains("ProfileLogAnalyticsProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileLogAnalyticsProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsProfile) content.GetValueForProperty("ProfileLogAnalyticsProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileLogAnalyticsProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsProfileTypeConverter.ConvertFrom); @@ -705,6 +893,10 @@ internal Cluster(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfilePrometheusProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile) content.GetValueForProperty("ProfilePrometheusProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfilePrometheusProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfileTypeConverter.ConvertFrom); } + if (content.Contains("ProfileRangerPluginProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileRangerPluginProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile) content.GetValueForProperty("ProfileRangerPluginProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileRangerPluginProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfileTypeConverter.ConvertFrom); + } if (content.Contains("ProfileClusterVersion")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileClusterVersion = (string) content.GetValueForProperty("ProfileClusterVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ProfileClusterVersion, global::System.Convert.ToString); @@ -765,6 +957,10 @@ internal Cluster(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).FlinkProfileNumReplica = (int?) content.GetValueForProperty("FlinkProfileNumReplica",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).FlinkProfileNumReplica, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } + if (content.Contains("FlinkProfileDeploymentMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).FlinkProfileDeploymentMode = (string) content.GetValueForProperty("FlinkProfileDeploymentMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).FlinkProfileDeploymentMode, global::System.Convert.ToString); + } if (content.Contains("IdentityProfileMsiResourceId")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).IdentityProfileMsiResourceId = (string) content.GetValueForProperty("IdentityProfileMsiResourceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).IdentityProfileMsiResourceId, global::System.Convert.ToString); @@ -781,6 +977,14 @@ internal Cluster(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).SecretProfileKeyVaultResourceId = (string) content.GetValueForProperty("SecretProfileKeyVaultResourceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).SecretProfileKeyVaultResourceId, global::System.Convert.ToString); } + if (content.Contains("AccessProfileEnableInternalIngress")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).AccessProfileEnableInternalIngress = (bool) content.GetValueForProperty("AccessProfileEnableInternalIngress",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).AccessProfileEnableInternalIngress, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("AccessProfilePrivateLinkServiceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).AccessProfilePrivateLinkServiceId = (string) content.GetValueForProperty("AccessProfilePrivateLinkServiceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).AccessProfilePrivateLinkServiceId, global::System.Convert.ToString); + } if (content.Contains("LogAnalyticProfileApplicationLog")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).LogAnalyticProfileApplicationLog = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsApplicationLogs) content.GetValueForProperty("LogAnalyticProfileApplicationLog",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).LogAnalyticProfileApplicationLog, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsApplicationLogsTypeConverter.ConvertFrom); @@ -845,6 +1049,34 @@ internal Cluster(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).LoadBasedConfigScalingRule = (System.Collections.Generic.List) content.GetValueForProperty("LoadBasedConfigScalingRule",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).LoadBasedConfigScalingRule, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ScalingRuleTypeConverter.ConvertFrom)); } + if (content.Contains("RangerPluginProfileEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerPluginProfileEnabled = (bool) content.GetValueForProperty("RangerPluginProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerPluginProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("KafkaProfileDiskStorage")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileDiskStorage = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile) content.GetValueForProperty("KafkaProfileDiskStorage",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileDiskStorage, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.DiskStorageProfileTypeConverter.ConvertFrom); + } + if (content.Contains("KafkaProfileClusterIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileClusterIdentity = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile) content.GetValueForProperty("KafkaProfileClusterIdentity",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileClusterIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IdentityProfileTypeConverter.ConvertFrom); + } + if (content.Contains("KafkaProfileConnectivityEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileConnectivityEndpoint = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints) content.GetValueForProperty("KafkaProfileConnectivityEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileConnectivityEndpoint, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaConnectivityEndpointsTypeConverter.ConvertFrom); + } + if (content.Contains("KafkaProfileEnableKRaft")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileEnableKRaft = (bool?) content.GetValueForProperty("KafkaProfileEnableKRaft",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileEnableKRaft, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("KafkaProfileEnablePublicEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileEnablePublicEndpoint = (bool?) content.GetValueForProperty("KafkaProfileEnablePublicEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileEnablePublicEndpoint, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("KafkaProfileRemoteStorageUri")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileRemoteStorageUri = (string) content.GetValueForProperty("KafkaProfileRemoteStorageUri",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).KafkaProfileRemoteStorageUri, global::System.Convert.ToString); + } if (content.Contains("TrinoProfileCoordinator")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).TrinoProfileCoordinator = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoCoordinator) content.GetValueForProperty("TrinoProfileCoordinator",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).TrinoProfileCoordinator, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoCoordinatorTypeConverter.ConvertFrom); @@ -885,6 +1117,14 @@ internal Cluster(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).FlinkProfileCatalogOption = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptions) content.GetValueForProperty("FlinkProfileCatalogOption",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).FlinkProfileCatalogOption, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkCatalogOptionsTypeConverter.ConvertFrom); } + if (content.Contains("FlinkProfileJobSpec")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).FlinkProfileJobSpec = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile) content.GetValueForProperty("FlinkProfileJobSpec",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).FlinkProfileJobSpec, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkJobProfileTypeConverter.ConvertFrom); + } + if (content.Contains("JobSpecUpgradeMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecUpgradeMode = (string) content.GetValueForProperty("JobSpecUpgradeMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecUpgradeMode, global::System.Convert.ToString); + } if (content.Contains("SparkProfileMetastoreSpec")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).SparkProfileMetastoreSpec = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpec) content.GetValueForProperty("SparkProfileMetastoreSpec",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).SparkProfileMetastoreSpec, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkMetastoreSpecTypeConverter.ConvertFrom); @@ -897,10 +1137,30 @@ internal Cluster(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).SparkProfileDefaultStorageUrl = (string) content.GetValueForProperty("SparkProfileDefaultStorageUrl",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).SparkProfileDefaultStorageUrl, global::System.Convert.ToString); } + if (content.Contains("RangerProfileRangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerProfileRangerAdmin = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec) content.GetValueForProperty("RangerProfileRangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerProfileRangerAdmin, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerAudit")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerProfileRangerAudit = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec) content.GetValueForProperty("RangerProfileRangerAudit",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerProfileRangerAudit, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAuditSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerUsersync")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerProfileRangerUsersync = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec) content.GetValueForProperty("RangerProfileRangerUsersync",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerProfileRangerUsersync, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerUsersyncSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerUsersyncMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerUsersyncMode = (string) content.GetValueForProperty("RangerUsersyncMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerUsersyncMode, global::System.Convert.ToString); + } if (content.Contains("WebFqdn")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).WebFqdn = (string) content.GetValueForProperty("WebFqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).WebFqdn, global::System.Convert.ToString); } + if (content.Contains("WebPrivateFqdn")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).WebPrivateFqdn = (string) content.GetValueForProperty("WebPrivateFqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).WebPrivateFqdn, global::System.Convert.ToString); + } if (content.Contains("ApplicationLogStdOutEnabled")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ApplicationLogStdOutEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdOutEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ApplicationLogStdOutEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); @@ -909,6 +1169,34 @@ internal Cluster(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ApplicationLogStdErrorEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdErrorEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ApplicationLogStdErrorEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("DiskStorageDataDiskSize")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DiskStorageDataDiskSize = (int) content.GetValueForProperty("DiskStorageDataDiskSize",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DiskStorageDataDiskSize, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("DiskStorageDataDiskType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DiskStorageDataDiskType = (string) content.GetValueForProperty("DiskStorageDataDiskType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DiskStorageDataDiskType, global::System.Convert.ToString); + } + if (content.Contains("IdentityMsiResourceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).IdentityMsiResourceId = (string) content.GetValueForProperty("IdentityMsiResourceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).IdentityMsiResourceId, global::System.Convert.ToString); + } + if (content.Contains("IdentityMsiClientId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).IdentityMsiClientId = (string) content.GetValueForProperty("IdentityMsiClientId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).IdentityMsiClientId, global::System.Convert.ToString); + } + if (content.Contains("IdentityMsiObjectId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).IdentityMsiObjectId = (string) content.GetValueForProperty("IdentityMsiObjectId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).IdentityMsiObjectId, global::System.Convert.ToString); + } + if (content.Contains("ConnectivityEndpointBootstrapServerEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ConnectivityEndpointBootstrapServerEndpoint = (string) content.GetValueForProperty("ConnectivityEndpointBootstrapServerEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ConnectivityEndpointBootstrapServerEndpoint, global::System.Convert.ToString); + } + if (content.Contains("ConnectivityEndpointBrokerEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ConnectivityEndpointBrokerEndpoint = (System.Collections.Generic.List) content.GetValueForProperty("ConnectivityEndpointBrokerEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).ConnectivityEndpointBrokerEndpoint, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } if (content.Contains("CoordinatorDebug")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).CoordinatorDebug = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoDebugConfig) content.GetValueForProperty("CoordinatorDebug",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).CoordinatorDebug, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoDebugConfigTypeConverter.ConvertFrom); @@ -965,6 +1253,26 @@ internal Cluster(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).FlinkProfileCatalogOptionsHive = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOption) content.GetValueForProperty("FlinkProfileCatalogOptionsHive",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).FlinkProfileCatalogOptionsHive, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkHiveCatalogOptionTypeConverter.ConvertFrom); } + if (content.Contains("JobSpecJobJarDirectory")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecJobJarDirectory = (string) content.GetValueForProperty("JobSpecJobJarDirectory",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecJobJarDirectory, global::System.Convert.ToString); + } + if (content.Contains("JobSpecJarName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecJarName = (string) content.GetValueForProperty("JobSpecJarName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecJarName, global::System.Convert.ToString); + } + if (content.Contains("JobSpecEntryClass")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecEntryClass = (string) content.GetValueForProperty("JobSpecEntryClass",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecEntryClass, global::System.Convert.ToString); + } + if (content.Contains("JobSpecArg")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecArg = (string) content.GetValueForProperty("JobSpecArg",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecArg, global::System.Convert.ToString); + } + if (content.Contains("JobSpecSavePointName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecSavePointName = (string) content.GetValueForProperty("JobSpecSavePointName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).JobSpecSavePointName, global::System.Convert.ToString); + } if (content.Contains("MetastoreSpecDbServerHost")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).MetastoreSpecDbServerHost = (string) content.GetValueForProperty("MetastoreSpecDbServerHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).MetastoreSpecDbServerHost, global::System.Convert.ToString); @@ -973,6 +1281,10 @@ internal Cluster(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).MetastoreSpecDbName = (string) content.GetValueForProperty("MetastoreSpecDbName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).MetastoreSpecDbName, global::System.Convert.ToString); } + if (content.Contains("MetastoreSpecDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).MetastoreSpecDbConnectionAuthenticationMode = (string) content.GetValueForProperty("MetastoreSpecDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).MetastoreSpecDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("MetastoreSpecDbUserName")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).MetastoreSpecDbUserName = (string) content.GetValueForProperty("MetastoreSpecDbUserName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).MetastoreSpecDbUserName, global::System.Convert.ToString); @@ -993,6 +1305,34 @@ internal Cluster(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).SparkProfileUserPluginsSpecPlugin = (System.Collections.Generic.List) content.GetValueForProperty("SparkProfileUserPluginsSpecPlugin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).SparkProfileUserPluginsSpecPlugin, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkUserPluginTypeConverter.ConvertFrom)); } + if (content.Contains("RangerAdminDatabase")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerAdminDatabase = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase) content.GetValueForProperty("RangerAdminDatabase",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerAdminDatabase, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabaseTypeConverter.ConvertFrom); + } + if (content.Contains("RangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerAdmin = (System.Collections.Generic.List) content.GetValueForProperty("RangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerAdmin, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerAuditStorageAccount")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerAuditStorageAccount = (string) content.GetValueForProperty("RangerAuditStorageAccount",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerAuditStorageAccount, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerUsersyncEnabled = (bool?) content.GetValueForProperty("RangerUsersyncEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerUsersyncEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RangerUsersyncGroup")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerUsersyncGroup = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncGroup",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerUsersyncGroup, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerUsersyncUserMappingLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerUsersyncUserMappingLocation = (string) content.GetValueForProperty("RangerUsersyncUserMappingLocation",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerUsersyncUserMappingLocation, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncUser")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerUsersyncUser = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncUser",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).RangerUsersyncUser, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } if (content.Contains("CoordinatorDebugEnable")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).CoordinatorDebugEnable = (bool?) content.GetValueForProperty("CoordinatorDebugEnable",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).CoordinatorDebugEnable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); @@ -1033,6 +1373,10 @@ internal Cluster(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).WorkerDebugSuspend = (bool?) content.GetValueForProperty("WorkerDebugSuspend",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).WorkerDebugSuspend, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("HiveMetastoreDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).HiveMetastoreDbConnectionAuthenticationMode = (string) content.GetValueForProperty("HiveMetastoreDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).HiveMetastoreDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("HiveMetastoreDbConnectionPasswordSecret")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).HiveMetastoreDbConnectionPasswordSecret = (string) content.GetValueForProperty("HiveMetastoreDbConnectionPasswordSecret",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).HiveMetastoreDbConnectionPasswordSecret, global::System.Convert.ToString); @@ -1045,6 +1389,22 @@ internal Cluster(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).HiveMetastoreDbConnectionUserName = (string) content.GetValueForProperty("HiveMetastoreDbConnectionUserName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).HiveMetastoreDbConnectionUserName, global::System.Convert.ToString); } + if (content.Contains("DatabaseHost")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DatabaseHost = (string) content.GetValueForProperty("DatabaseHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DatabaseHost, global::System.Convert.ToString); + } + if (content.Contains("DatabaseName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DatabaseName, global::System.Convert.ToString); + } + if (content.Contains("DatabasePasswordSecretRef")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DatabasePasswordSecretRef = (string) content.GetValueForProperty("DatabasePasswordSecretRef",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DatabasePasswordSecretRef, global::System.Convert.ToString); + } + if (content.Contains("DatabaseUsername")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DatabaseUsername = (string) content.GetValueForProperty("DatabaseUsername",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal)this).DatabaseUsername, global::System.Convert.ToString); + } AfterDeserializePSObject(content); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Cluster.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Cluster.cs index 08123fc26095..2fb999a895d9 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Cluster.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Cluster.cs @@ -20,6 +20,18 @@ public partial class Cluster : /// private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResource __trackedResource = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrackedResource(); + /// + /// Whether to create cluster using private IP instead of public IP. This property must be set at create time. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? AccessProfileEnableInternalIngress { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterAccessProfileEnableInternalIngress; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterAccessProfileEnableInternalIngress = value ?? default(bool); } + + /// + /// Private link service resource ID. Only when enableInternalIngress is true, this property will be returned. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string AccessProfilePrivateLinkServiceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterAccessProfilePrivateLinkServiceId; } + /// True if stderror is enabled, otherwise false. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public bool? ApplicationLogStdErrorEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ApplicationLogStdErrorEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ApplicationLogStdErrorEnabled = value ?? default(bool); } @@ -62,6 +74,14 @@ public partial class Cluster : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public System.Collections.Generic.List ComputeProfileNode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ComputeProfileNode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ComputeProfileNode = value ?? null /* arrayOf */; } + /// bootstrap server connectivity endpoint. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string ConnectivityEndpointBootstrapServerEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ConnectivityEndpointBootstrapServerEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ConnectivityEndpointBootstrapServerEndpoint = value ?? null; } + + /// Kafka broker endpoint list. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List ConnectivityEndpointBrokerEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ConnectivityEndpointBrokerEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ConnectivityEndpointBrokerEndpoint = value ?? null /* arrayOf */; } + /// List of SSH connectivity endpoints. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public System.Collections.Generic.List ConnectivityProfileSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ConnectivityProfileSsh; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ConnectivityProfileSsh = value ?? null /* arrayOf */; } @@ -85,10 +105,44 @@ public partial class Cluster : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public bool? CoordinatorHighAvailabilityEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).CoordinatorHighAvailabilityEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).CoordinatorHighAvailabilityEnabled = value ?? default(bool); } + /// The database URL + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseHost { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).DatabaseHost; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).DatabaseHost = value ?? null; } + + /// The database name + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseName { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).DatabaseName; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).DatabaseName = value ?? null; } + + /// Reference for the database password + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabasePasswordSecretRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).DatabasePasswordSecretRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).DatabasePasswordSecretRef = value ?? null; } + + /// The name of the database user + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseUsername { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).DatabaseUsername; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).DatabaseUsername = value ?? null; } + /// A unique id generated by the RP to identify the resource. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public string DeploymentId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).DeploymentId; } + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public int? DiskStorageDataDiskSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).DiskStorageDataDiskSize; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).DiskStorageDataDiskSize = value ?? default(int); } + + /// Managed Disk Type. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DiskStorageDataDiskType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).DiskStorageDataDiskType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).DiskStorageDataDiskType = value ?? null; } + + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string FlinkProfileDeploymentMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).FlinkProfileDeploymentMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).FlinkProfileDeploymentMode = value ?? null; } + /// The number of task managers. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public int? FlinkProfileNumReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).FlinkProfileNumReplica; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).FlinkProfileNumReplica = value ?? default(int); } @@ -101,6 +155,12 @@ public partial class Cluster : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public long? HistoryServerMemory { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).HistoryServerMemory; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).HistoryServerMemory = value ?? default(long); } + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string HiveMetastoreDbConnectionAuthenticationMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).HiveMetastoreDbConnectionAuthenticationMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).HiveMetastoreDbConnectionAuthenticationMode = value ?? null; } + /// /// Secret reference name from secretsProfile.secrets containing password for database connection. /// @@ -121,6 +181,18 @@ public partial class Cluster : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).Id; } + /// ClientId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string IdentityMsiClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterIdentityMsiClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterIdentityMsiClientId = value ?? null; } + + /// ObjectId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string IdentityMsiObjectId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterIdentityMsiObjectId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterIdentityMsiObjectId = value ?? null; } + + /// ResourceId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string IdentityMsiResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterIdentityMsiResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterIdentityMsiResourceId = value ?? null; } + /// ClientId of the MSI. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public string IdentityProfileMsiClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).IdentityProfileMsiClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).IdentityProfileMsiClientId = value ?? null; } @@ -141,6 +213,50 @@ public partial class Cluster : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public long? JobManagerMemory { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).JobManagerMemory; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).JobManagerMemory = value ?? default(long); } + /// + /// A string property representing additional JVM arguments for the Flink job. It should be space separated value. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecArg { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).JobSpecArg; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).JobSpecArg = value ?? null; } + + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecEntryClass { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).JobSpecEntryClass; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).JobSpecEntryClass = value ?? null; } + + /// A string property that represents the name of the job JAR. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecJarName { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).JobSpecJarName; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).JobSpecJarName = value ?? null; } + + /// A string property that specifies the directory where the job JAR is located. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecJobJarDirectory { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).JobSpecJobJarDirectory; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).JobSpecJobJarDirectory = value ?? null; } + + /// A string property that represents the name of the savepoint for the Flink job + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecSavePointName { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).JobSpecSavePointName; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).JobSpecSavePointName = value ?? null; } + + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecUpgradeMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).JobSpecUpgradeMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).JobSpecUpgradeMode = value ?? null; } + + /// Expose Kafka cluster in KRaft mode. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? KafkaProfileEnableKRaft { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).KafkaProfileEnableKRaft; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).KafkaProfileEnableKRaft = value ?? default(bool); } + + /// Expose worker nodes as public endpoints. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? KafkaProfileEnablePublicEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).KafkaProfileEnablePublicEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).KafkaProfileEnablePublicEndpoint = value ?? default(bool); } + + /// Fully qualified path of Azure Storage container used for Tiered Storage. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string KafkaProfileRemoteStorageUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).KafkaProfileRemoteStorageUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).KafkaProfileRemoteStorageUri = value ?? null; } + /// /// 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 @@ -186,6 +302,12 @@ public partial class Cluster : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public bool? LogAnalyticProfileMetricsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).LogAnalyticProfileMetricsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).LogAnalyticProfileMetricsEnabled = value ?? default(bool); } + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string MetastoreSpecDbConnectionAuthenticationMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).MetastoreSpecDbConnectionAuthenticationMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).MetastoreSpecDbConnectionAuthenticationMode = value ?? null; } + /// The database name. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public string MetastoreSpecDbName { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).MetastoreSpecDbName; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).MetastoreSpecDbName = value ?? null; } @@ -210,6 +332,9 @@ public partial class Cluster : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public string MetastoreSpecThriftUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).MetastoreSpecThriftUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).MetastoreSpecThriftUrl = value ?? null; } + /// Internal Acessors for AccessProfilePrivateLinkServiceId + string Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.AccessProfilePrivateLinkServiceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterAccessProfilePrivateLinkServiceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterAccessProfilePrivateLinkServiceId = value; } + /// Internal Acessors for AutoscaleProfileLoadBasedConfig Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ILoadBasedConfig Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.AutoscaleProfileLoadBasedConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).AutoscaleProfileLoadBasedConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).AutoscaleProfileLoadBasedConfig = value; } @@ -240,12 +365,24 @@ public partial class Cluster : /// Internal Acessors for FlinkProfileJobManager Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeResourceDefinition Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.FlinkProfileJobManager { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).FlinkProfileJobManager; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).FlinkProfileJobManager = value; } + /// Internal Acessors for FlinkProfileJobSpec + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.FlinkProfileJobSpec { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).FlinkProfileJobSpec; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).FlinkProfileJobSpec = value; } + /// Internal Acessors for FlinkProfileStorage Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkStorageProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.FlinkProfileStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).FlinkProfileStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).FlinkProfileStorage = value; } /// Internal Acessors for FlinkProfileTaskManager Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeResourceDefinition Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.FlinkProfileTaskManager { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).FlinkProfileTaskManager; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).FlinkProfileTaskManager = value; } + /// Internal Acessors for KafkaProfileClusterIdentity + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.KafkaProfileClusterIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).KafkaProfileClusterIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).KafkaProfileClusterIdentity = value; } + + /// Internal Acessors for KafkaProfileConnectivityEndpoint + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.KafkaProfileConnectivityEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).KafkaProfileConnectivityEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).KafkaProfileConnectivityEndpoint = value; } + + /// Internal Acessors for KafkaProfileDiskStorage + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.KafkaProfileDiskStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).KafkaProfileDiskStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).KafkaProfileDiskStorage = value; } + /// Internal Acessors for LogAnalyticProfileApplicationLog Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsApplicationLogs Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.LogAnalyticProfileApplicationLog { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).LogAnalyticProfileApplicationLog; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).LogAnalyticProfileApplicationLog = value; } @@ -258,6 +395,9 @@ public partial class Cluster : /// Internal Acessors for ProfileAutoscaleProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IAutoscaleProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.ProfileAutoscaleProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileAutoscaleProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileAutoscaleProfile = value; } + /// Internal Acessors for ProfileClusterAccessProfile + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.ProfileClusterAccessProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileClusterAccessProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileClusterAccessProfile = value; } + /// Internal Acessors for ProfileComponent System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.ProfileComponent { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileComponent; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileComponent = value; } @@ -270,12 +410,21 @@ public partial class Cluster : /// Internal Acessors for ProfileIdentityProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.ProfileIdentityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileIdentityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileIdentityProfile = value; } + /// Internal Acessors for ProfileKafkaProfile + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.ProfileKafkaProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileKafkaProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileKafkaProfile = value; } + /// Internal Acessors for ProfileLogAnalyticsProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.ProfileLogAnalyticsProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileLogAnalyticsProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileLogAnalyticsProfile = value; } /// Internal Acessors for ProfilePrometheusProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.ProfilePrometheusProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfilePrometheusProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfilePrometheusProfile = value; } + /// Internal Acessors for ProfileRangerPluginProfile + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.ProfileRangerPluginProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileRangerPluginProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileRangerPluginProfile = value; } + + /// Internal Acessors for ProfileRangerProfile + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.ProfileRangerProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileRangerProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileRangerProfile = value; } + /// Internal Acessors for ProfileSecretsProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISecretsProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.ProfileSecretsProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileSecretsProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileSecretsProfile = value; } @@ -294,6 +443,18 @@ public partial class Cluster : /// Internal Acessors for ProvisioningState string Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ProvisioningState = value; } + /// Internal Acessors for RangerAdminDatabase + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.RangerAdminDatabase { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerAdminDatabase; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerAdminDatabase = value; } + + /// Internal Acessors for RangerProfileRangerAdmin + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.RangerProfileRangerAdmin { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerProfileRangerAdmin; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerProfileRangerAdmin = value; } + + /// Internal Acessors for RangerProfileRangerAudit + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.RangerProfileRangerAudit { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerProfileRangerAudit; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerProfileRangerAudit = value; } + + /// Internal Acessors for RangerProfileRangerUsersync + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.RangerProfileRangerUsersync { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerProfileRangerUsersync; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerProfileRangerUsersync = value; } + /// Internal Acessors for SparkProfileMetastoreSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInternal.SparkProfileMetastoreSpec { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).SparkProfileMetastoreSpec; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).SparkProfileMetastoreSpec = value; } @@ -351,10 +512,6 @@ public partial class Cluster : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public System.Collections.Generic.List ProfileComponent { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileComponent; } - /// Kafka cluster profile. - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile ProfileKafkaProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileKafkaProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileKafkaProfile = value ?? null /* model class */; } - /// LLAP cluster profile. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileLlapProfile ProfileLlapProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileLlapProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ClusterProfileLlapProfile = value ?? null /* model class */; } @@ -390,6 +547,49 @@ public partial class Cluster : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public string ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).ProvisioningState; } + /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerAdmin { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerAdmin; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerAdmin = value ?? null /* arrayOf */; } + + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerAuditStorageAccount { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerAuditStorageAccount; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerAuditStorageAccount = value ?? null; } + + /// Enable Ranger for cluster or not. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? RangerPluginProfileEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerPluginProfileEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerPluginProfileEnabled = value ?? default(bool); } + + /// Denotes whether usersync service should be enabled + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? RangerUsersyncEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerUsersyncEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerUsersyncEnabled = value ?? default(bool); } + + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerUsersyncGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerUsersyncGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerUsersyncGroup = value ?? null /* arrayOf */; } + + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerUsersyncMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerUsersyncMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerUsersyncMode = value ?? null; } + + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerUsersyncUser { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerUsersyncUser; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerUsersyncUser = value ?? null /* arrayOf */; } + + /// Azure storage location of a mapping file that lists user & group associations. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerUsersyncUserMappingLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerUsersyncUserMappingLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).RangerUsersyncUserMappingLocation = value ?? null; } + /// Gets the resource group name [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] public string ResourceGroupName { get => (new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Success ? new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Groups["resourceGroupName"].Value : null); } @@ -538,6 +738,12 @@ public partial class Cluster : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public string WebFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).WebFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).WebFqdn = value ?? null; } + /// + /// Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string WebPrivateFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).WebPrivateFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).WebPrivateFqdn = value ?? null; } + /// The flag that if enable debug or not. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public bool? WorkerDebugEnable { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).WorkerDebugEnable; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)Property).WorkerDebugEnable = value ?? default(bool); } @@ -573,6 +779,32 @@ public partial interface ICluster : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResource { + /// + /// Whether to create cluster using private IP instead of public IP. This property must be set at create time. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = false, + Description = @"Whether to create cluster using private IP instead of public IP. This property must be set at create time.", + SerializedName = @"enableInternalIngress", + PossibleTypes = new [] { typeof(bool) })] + bool? AccessProfileEnableInternalIngress { get; set; } + /// + /// Private link service resource ID. Only when enableInternalIngress is true, this property will be returned. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"Private link service resource ID. Only when enableInternalIngress is true, this property will be returned.", + SerializedName = @"privateLinkServiceId", + PossibleTypes = new [] { typeof(string) })] + string AccessProfilePrivateLinkServiceId { get; } /// True if stderror is enabled, otherwise false. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -679,6 +911,28 @@ public partial interface ICluster : SerializedName = @"nodes", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INodeProfile) })] System.Collections.Generic.List ComputeProfileNode { get; set; } + /// bootstrap server connectivity endpoint. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"bootstrap server connectivity endpoint.", + SerializedName = @"bootstrapServerEndpoint", + PossibleTypes = new [] { typeof(string) })] + string ConnectivityEndpointBootstrapServerEndpoint { get; } + /// Kafka broker endpoint list. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"Kafka broker endpoint list.", + SerializedName = @"brokerEndpoints", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List ConnectivityEndpointBrokerEndpoint { get; } /// List of SSH connectivity endpoints. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -737,6 +991,50 @@ public partial interface ICluster : SerializedName = @"highAvailabilityEnabled", PossibleTypes = new [] { typeof(bool) })] bool? CoordinatorHighAvailabilityEnabled { get; set; } + /// The database URL + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The database URL", + SerializedName = @"host", + PossibleTypes = new [] { typeof(string) })] + string DatabaseHost { get; set; } + /// The database name + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The database name", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + string DatabaseName { get; set; } + /// Reference for the database password + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Reference for the database password", + SerializedName = @"passwordSecretRef", + PossibleTypes = new [] { typeof(string) })] + string DatabasePasswordSecretRef { get; set; } + /// The name of the database user + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The name of the database user", + SerializedName = @"username", + PossibleTypes = new [] { typeof(string) })] + string DatabaseUsername { get; set; } /// A unique id generated by the RP to identify the resource. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -748,6 +1046,47 @@ public partial interface ICluster : SerializedName = @"deploymentId", PossibleTypes = new [] { typeof(string) })] string DeploymentId { get; } + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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.", + SerializedName = @"dataDiskSize", + PossibleTypes = new [] { typeof(int) })] + int? DiskStorageDataDiskSize { get; set; } + /// Managed Disk Type. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Managed Disk Type.", + SerializedName = @"dataDiskType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Standard_HDD_LRS", "Standard_SSD_LRS", "Standard_SSD_ZRS", "Premium_SSD_LRS", "Premium_SSD_ZRS", "Premium_SSD_v2_LRS")] + string DiskStorageDataDiskType { get; set; } + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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", + SerializedName = @"deploymentMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Application", "Session")] + string FlinkProfileDeploymentMode { get; set; } /// The number of task managers. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -782,6 +1121,20 @@ public partial interface ICluster : PossibleTypes = new [] { typeof(long) })] long? HistoryServerMemory { get; set; } /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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", + SerializedName = @"metastoreDbConnectionAuthenticationMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string HiveMetastoreDbConnectionAuthenticationMode { get; set; } + /// /// Secret reference name from secretsProfile.secrets containing password for database connection. /// [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( @@ -819,6 +1172,39 @@ public partial interface ICluster : /// ClientId of the MSI. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"ClientId of the MSI.", + SerializedName = @"msiClientId", + PossibleTypes = new [] { typeof(string) })] + string IdentityMsiClientId { get; } + /// ObjectId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"ObjectId of the MSI.", + SerializedName = @"msiObjectId", + PossibleTypes = new [] { typeof(string) })] + string IdentityMsiObjectId { get; } + /// ResourceId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"ResourceId of the MSI.", + SerializedName = @"msiResourceId", + PossibleTypes = new [] { typeof(string) })] + string IdentityMsiResourceId { get; } + /// ClientId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, ReadOnly = false, Read = true, Create = true, @@ -872,6 +1258,114 @@ public partial interface ICluster : PossibleTypes = new [] { typeof(long) })] long? JobManagerMemory { get; set; } /// + /// A string property representing additional JVM arguments for the Flink job. It should be space separated value. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"A string property representing additional JVM arguments for the Flink job. It should be space separated value.", + SerializedName = @"args", + PossibleTypes = new [] { typeof(string) })] + string JobSpecArg { get; set; } + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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.", + SerializedName = @"entryClass", + PossibleTypes = new [] { typeof(string) })] + string JobSpecEntryClass { get; set; } + /// A string property that represents the name of the job JAR. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"A string property that represents the name of the job JAR.", + SerializedName = @"jarName", + PossibleTypes = new [] { typeof(string) })] + string JobSpecJarName { get; set; } + /// A string property that specifies the directory where the job JAR is located. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"A string property that specifies the directory where the job JAR is located.", + SerializedName = @"jobJarDirectory", + PossibleTypes = new [] { typeof(string) })] + string JobSpecJobJarDirectory { get; set; } + /// A string property that represents the name of the savepoint for the Flink job + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"A string property that represents the name of the savepoint for the Flink job", + SerializedName = @"savePointName", + PossibleTypes = new [] { typeof(string) })] + string JobSpecSavePointName { get; set; } + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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.", + SerializedName = @"upgradeMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("STATELESS_UPDATE", "UPDATE", "LAST_STATE_UPDATE")] + string JobSpecUpgradeMode { get; set; } + /// Expose Kafka cluster in KRaft mode. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Expose Kafka cluster in KRaft mode.", + SerializedName = @"enableKRaft", + PossibleTypes = new [] { typeof(bool) })] + bool? KafkaProfileEnableKRaft { get; set; } + /// Expose worker nodes as public endpoints. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Expose worker nodes as public endpoints.", + SerializedName = @"enablePublicEndpoints", + PossibleTypes = new [] { typeof(bool) })] + bool? KafkaProfileEnablePublicEndpoint { get; set; } + /// Fully qualified path of Azure Storage container used for Tiered Storage. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Fully qualified path of Azure Storage container used for Tiered Storage.", + SerializedName = @"remoteStorageUri", + PossibleTypes = new [] { typeof(string) })] + string KafkaProfileRemoteStorageUri { get; set; } + /// /// 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. @@ -961,6 +1455,20 @@ public partial interface ICluster : SerializedName = @"metricsEnabled", PossibleTypes = new [] { typeof(bool) })] bool? LogAnalyticProfileMetricsEnabled { get; set; } + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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", + SerializedName = @"dbConnectionAuthenticationMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string MetastoreSpecDbConnectionAuthenticationMode { get; set; } /// The database name. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -1049,17 +1557,6 @@ public partial interface ICluster : SerializedName = @"components", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterComponentsItem) })] System.Collections.Generic.List ProfileComponent { get; } - /// Kafka cluster profile. - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Kafka cluster profile.", - SerializedName = @"kafkaProfile", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile) })] - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile ProfileKafkaProfile { get; set; } /// LLAP cluster profile. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -1139,6 +1636,106 @@ public partial interface ICluster : [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Accepted", "Succeeded", "Canceled", "Failed")] string ProvisioningState { get; } /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.", + SerializedName = @"admins", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerAdmin { get; set; } + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Azure storage location of the blobs. MSI should have read/write access to this Storage account.", + SerializedName = @"storageAccount", + PossibleTypes = new [] { typeof(string) })] + string RangerAuditStorageAccount { get; set; } + /// Enable Ranger for cluster or not. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Enable Ranger for cluster or not.", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(bool) })] + bool? RangerPluginProfileEnabled { get; set; } + /// Denotes whether usersync service should be enabled + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Denotes whether usersync service should be enabled", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(bool) })] + bool? RangerUsersyncEnabled { get; set; } + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of groups that should be synced. These group names should match the object id of the respective AAD groups.", + SerializedName = @"groups", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerUsersyncGroup { get; set; } + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"User & groups can be synced automatically or via a static list that's refreshed.", + SerializedName = @"mode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + string RangerUsersyncMode { get; set; } + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.", + SerializedName = @"users", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerUsersyncUser { get; set; } + /// Azure storage location of a mapping file that lists user & group associations. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Azure storage location of a mapping file that lists user & group associations.", + SerializedName = @"userMappingLocation", + PossibleTypes = new [] { typeof(string) })] + string RangerUsersyncUserMappingLocation { get; set; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) /// @@ -1389,6 +1986,19 @@ public partial interface ICluster : SerializedName = @"fqdn", PossibleTypes = new [] { typeof(string) })] string WebFqdn { get; } + /// + /// Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true.", + SerializedName = @"privateFqdn", + PossibleTypes = new [] { typeof(string) })] + string WebPrivateFqdn { get; } /// The flag that if enable debug or not. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -1428,6 +2038,14 @@ public partial interface ICluster : internal partial interface IClusterInternal : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceInternal { + /// + /// Whether to create cluster using private IP instead of public IP. This property must be set at create time. + /// + bool? AccessProfileEnableInternalIngress { get; set; } + /// + /// Private link service resource ID. Only when enableInternalIngress is true, this property will be returned. + /// + string AccessProfilePrivateLinkServiceId { get; set; } /// True if stderror is enabled, otherwise false. bool? ApplicationLogStdErrorEnabled { get; set; } /// True if stdout is enabled, otherwise false. @@ -1459,6 +2077,10 @@ internal partial interface IClusterInternal : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeProfile ComputeProfile { get; set; } /// The nodes definitions. System.Collections.Generic.List ComputeProfileNode { get; set; } + /// bootstrap server connectivity endpoint. + string ConnectivityEndpointBootstrapServerEndpoint { get; set; } + /// Kafka broker endpoint list. + System.Collections.Generic.List ConnectivityEndpointBrokerEndpoint { get; set; } /// List of SSH connectivity endpoints. System.Collections.Generic.List ConnectivityProfileSsh { get; set; } /// Web connectivity endpoint details. @@ -1476,16 +2098,43 @@ internal partial interface IClusterInternal : /// Default: true. /// bool? CoordinatorHighAvailabilityEnabled { get; set; } + /// The database URL + string DatabaseHost { get; set; } + /// The database name + string DatabaseName { get; set; } + /// Reference for the database password + string DatabasePasswordSecretRef { get; set; } + /// The name of the database user + string DatabaseUsername { get; set; } /// A unique id generated by the RP to identify the resource. string DeploymentId { get; set; } + /// + /// 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. + /// + int? DiskStorageDataDiskSize { get; set; } + /// Managed Disk Type. + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Standard_HDD_LRS", "Standard_SSD_LRS", "Standard_SSD_ZRS", "Premium_SSD_LRS", "Premium_SSD_ZRS", "Premium_SSD_v2_LRS")] + string DiskStorageDataDiskType { get; set; } /// Flink cluster catalog options. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptions FlinkProfileCatalogOption { get; set; } /// Hive Catalog Option for Flink cluster. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOption FlinkProfileCatalogOptionsHive { get; set; } + /// + /// 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 + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Application", "Session")] + string FlinkProfileDeploymentMode { get; set; } /// History Server container/ process CPU and memory requirements Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeResourceDefinition FlinkProfileHistoryServer { get; set; } /// Job Manager container/ process CPU and memory requirements Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeResourceDefinition FlinkProfileJobManager { get; set; } + /// + /// Job specifications for flink clusters in application deployment mode. The specification is immutable even if job properties + /// are changed by calling the RunJob API, please use the ListJob API to get the latest job information. + /// + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile FlinkProfileJobSpec { get; set; } /// The number of task managers. int? FlinkProfileNumReplica { get; set; } /// The storage profile @@ -1497,6 +2146,11 @@ internal partial interface IClusterInternal : /// The required memory in MB, Container memory will be 110 percentile long? HistoryServerMemory { get; set; } /// + /// 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 + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string HiveMetastoreDbConnectionAuthenticationMode { get; set; } + /// /// Secret reference name from secretsProfile.secrets containing password for database connection. /// string HiveMetastoreDbConnectionPasswordSecret { get; set; } @@ -1505,6 +2159,12 @@ internal partial interface IClusterInternal : /// User name for database connection. string HiveMetastoreDbConnectionUserName { get; set; } /// ClientId of the MSI. + string IdentityMsiClientId { get; set; } + /// ObjectId of the MSI. + string IdentityMsiObjectId { get; set; } + /// ResourceId of the MSI. + string IdentityMsiResourceId { get; set; } + /// ClientId of the MSI. string IdentityProfileMsiClientId { get; set; } /// ObjectId of the MSI. string IdentityProfileMsiObjectId { get; set; } @@ -1515,6 +2175,39 @@ internal partial interface IClusterInternal : /// The required memory in MB, Container memory will be 110 percentile long? JobManagerMemory { get; set; } /// + /// A string property representing additional JVM arguments for the Flink job. It should be space separated value. + /// + string JobSpecArg { get; set; } + /// + /// 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. + /// + string JobSpecEntryClass { get; set; } + /// A string property that represents the name of the job JAR. + string JobSpecJarName { get; set; } + /// A string property that specifies the directory where the job JAR is located. + string JobSpecJobJarDirectory { get; set; } + /// A string property that represents the name of the savepoint for the Flink job + string JobSpecSavePointName { get; set; } + /// + /// 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. + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("STATELESS_UPDATE", "UPDATE", "LAST_STATE_UPDATE")] + string JobSpecUpgradeMode { get; set; } + /// Identity of the internal service components inside the Kafka cluster. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile KafkaProfileClusterIdentity { get; set; } + /// Kafka bootstrap server and brokers related connectivity endpoints. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints KafkaProfileConnectivityEndpoint { get; set; } + /// Kafka disk storage profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile KafkaProfileDiskStorage { get; set; } + /// Expose Kafka cluster in KRaft mode. + bool? KafkaProfileEnableKRaft { get; set; } + /// Expose worker nodes as public endpoints. + bool? KafkaProfileEnablePublicEndpoint { get; set; } + /// Fully qualified path of Azure Storage container used for Tiered Storage. + string KafkaProfileRemoteStorageUri { get; set; } + /// /// 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. @@ -1543,6 +2236,11 @@ internal partial interface IClusterInternal : bool? LogAnalyticProfileEnabled { get; set; } /// True if metrics are enabled, otherwise false. bool? LogAnalyticProfileMetricsEnabled { get; set; } + /// + /// 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 + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string MetastoreSpecDbConnectionAuthenticationMode { get; set; } /// The database name. string MetastoreSpecDbName { get; set; } /// The secret name which contains the database user password. @@ -1565,6 +2263,8 @@ internal partial interface IClusterInternal : /// This is the Autoscale profile for the cluster. This will allow customer to create cluster enabled with Autoscale. /// Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IAutoscaleProfile ProfileAutoscaleProfile { get; set; } + /// Cluster access profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile ProfileClusterAccessProfile { get; set; } /// Version with 3/4 part. string ProfileClusterVersion { get; set; } /// Component list of this cluster type and version. @@ -1573,10 +2273,12 @@ internal partial interface IClusterInternal : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IConnectivityProfile ProfileConnectivityProfile { get; set; } /// The Flink cluster profile. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfile ProfileFlinkProfile { get; set; } - /// Identity Profile with details of an MSI. + /// + /// This property is required by Trino, Spark and Flink cluster but is optional for Kafka cluster. + /// Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile ProfileIdentityProfile { get; set; } - /// Kafka cluster profile. - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile ProfileKafkaProfile { get; set; } + /// The Kafka cluster profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile ProfileKafkaProfile { get; set; } /// LLAP cluster profile. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileLlapProfile ProfileLlapProfile { get; set; } /// Cluster log analytics profile to enable or disable OMS agent for cluster. @@ -1585,6 +2287,10 @@ internal partial interface IClusterInternal : string ProfileOssVersion { get; set; } /// Cluster Prometheus profile. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile ProfilePrometheusProfile { get; set; } + /// Cluster Ranger plugin profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile ProfileRangerPluginProfile { get; set; } + /// The ranger cluster profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile ProfileRangerProfile { get; set; } /// The script action profile list. System.Collections.Generic.List ProfileScriptActionProfile { get; set; } /// The cluster secret profile. @@ -1607,6 +2313,42 @@ internal partial interface IClusterInternal : [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Accepted", "Succeeded", "Canceled", "Failed")] string ProvisioningState { get; set; } /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + System.Collections.Generic.List RangerAdmin { get; set; } + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase RangerAdminDatabase { get; set; } + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + string RangerAuditStorageAccount { get; set; } + /// Enable Ranger for cluster or not. + bool? RangerPluginProfileEnabled { get; set; } + /// Specification for the Ranger Admin service. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec RangerProfileRangerAdmin { get; set; } + /// Properties required to describe audit log storage. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec RangerProfileRangerAudit { get; set; } + /// Specification for the Ranger Usersync service + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec RangerProfileRangerUsersync { get; set; } + /// Denotes whether usersync service should be enabled + bool? RangerUsersyncEnabled { get; set; } + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + System.Collections.Generic.List RangerUsersyncGroup { get; set; } + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + string RangerUsersyncMode { get; set; } + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + System.Collections.Generic.List RangerUsersyncUser { get; set; } + /// Azure storage location of a mapping file that lists user & group associations. + string RangerUsersyncUserMappingLocation { get; set; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) /// @@ -1684,6 +2426,10 @@ internal partial interface IClusterInternal : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoTelemetryConfig UserTelemetrySpecStorage { get; set; } /// Web connectivity endpoint. string WebFqdn { get; set; } + /// + /// Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true. + /// + string WebPrivateFqdn { get; set; } /// Trino debug configuration. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoDebugConfig WorkerDebug { get; set; } /// The flag that if enable debug or not. diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Cluster.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Cluster.json.cs index 72df2c8a4605..68e3d7c2f1c0 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Cluster.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Cluster.json.cs @@ -66,7 +66,7 @@ internal Cluster(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json. return; } __trackedResource = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrackedResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterResourceProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterResourceProperties.FromJson(__jsonProperties) : _property;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAccessProfile.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAccessProfile.PowerShell.cs new file mode 100644 index 000000000000..50d6cef2968d --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAccessProfile.PowerShell.cs @@ -0,0 +1,172 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Cluster access profile. + [System.ComponentModel.TypeConverter(typeof(ClusterAccessProfileTypeConverter))] + public partial class ClusterAccessProfile + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterAccessProfile(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("EnableInternalIngress")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfileInternal)this).EnableInternalIngress = (bool) content.GetValueForProperty("EnableInternalIngress",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfileInternal)this).EnableInternalIngress, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("PrivateLinkServiceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfileInternal)this).PrivateLinkServiceId = (string) content.GetValueForProperty("PrivateLinkServiceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfileInternal)this).PrivateLinkServiceId, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterAccessProfile(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("EnableInternalIngress")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfileInternal)this).EnableInternalIngress = (bool) content.GetValueForProperty("EnableInternalIngress",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfileInternal)this).EnableInternalIngress, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("PrivateLinkServiceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfileInternal)this).PrivateLinkServiceId = (string) content.GetValueForProperty("PrivateLinkServiceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfileInternal)this).PrivateLinkServiceId, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterAccessProfile(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterAccessProfile(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Cluster access profile. + [System.ComponentModel.TypeConverter(typeof(ClusterAccessProfileTypeConverter))] + public partial interface IClusterAccessProfile + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAccessProfile.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAccessProfile.TypeConverter.cs new file mode 100644 index 000000000000..aa8637ed864d --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAccessProfile.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ClusterAccessProfileTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ClusterAccessProfile.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ClusterAccessProfile.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ClusterAccessProfile.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAccessProfile.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAccessProfile.cs new file mode 100644 index 000000000000..e9f9b5710f09 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAccessProfile.cs @@ -0,0 +1,89 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster access profile. + public partial class ClusterAccessProfile : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfileInternal + { + + /// Backing field for property. + private bool _enableInternalIngress; + + /// + /// Whether to create cluster using private IP instead of public IP. This property must be set at create time. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public bool EnableInternalIngress { get => this._enableInternalIngress; set => this._enableInternalIngress = value; } + + /// Internal Acessors for PrivateLinkServiceId + string Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfileInternal.PrivateLinkServiceId { get => this._privateLinkServiceId; set { {_privateLinkServiceId = value;} } } + + /// Backing field for property. + private string _privateLinkServiceId; + + /// + /// Private link service resource ID. Only when enableInternalIngress is true, this property will be returned. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string PrivateLinkServiceId { get => this._privateLinkServiceId; } + + /// Creates an new instance. + public ClusterAccessProfile() + { + + } + } + /// Cluster access profile. + public partial interface IClusterAccessProfile : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable + { + /// + /// Whether to create cluster using private IP instead of public IP. This property must be set at create time. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = false, + Description = @"Whether to create cluster using private IP instead of public IP. This property must be set at create time.", + SerializedName = @"enableInternalIngress", + PossibleTypes = new [] { typeof(bool) })] + bool EnableInternalIngress { get; set; } + /// + /// Private link service resource ID. Only when enableInternalIngress is true, this property will be returned. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"Private link service resource ID. Only when enableInternalIngress is true, this property will be returned.", + SerializedName = @"privateLinkServiceId", + PossibleTypes = new [] { typeof(string) })] + string PrivateLinkServiceId { get; } + + } + /// Cluster access profile. + internal partial interface IClusterAccessProfileInternal + + { + /// + /// Whether to create cluster using private IP instead of public IP. This property must be set at create time. + /// + bool EnableInternalIngress { get; set; } + /// + /// Private link service resource ID. Only when enableInternalIngress is true, this property will be returned. + /// + string PrivateLinkServiceId { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAccessProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAccessProfile.json.cs new file mode 100644 index 000000000000..fe1aac76d4de --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAccessProfile.json.cs @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster access profile. + public partial class ClusterAccessProfile + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal ClusterAccessProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_enableInternalIngress = If( json?.PropertyT("enableInternalIngress"), out var __jsonEnableInternalIngress) ? (bool)__jsonEnableInternalIngress : _enableInternalIngress;} + {_privateLinkServiceId = If( json?.PropertyT("privateLinkServiceId"), out var __jsonPrivateLinkServiceId) ? (string)__jsonPrivateLinkServiceId : (string)_privateLinkServiceId;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new ClusterAccessProfile(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeRead)||serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate)) + { + AddIf( (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonBoolean(this._enableInternalIngress), "enableInternalIngress" ,container.Add ); + } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeRead)) + { + AddIf( null != (((object)this._privateLinkServiceId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._privateLinkServiceId.ToString()) : null, "privateLinkServiceId" ,container.Add ); + } + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAksPatchVersionUpgradeProperties.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAksPatchVersionUpgradeProperties.PowerShell.cs new file mode 100644 index 000000000000..9c9fc5f082ba --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAksPatchVersionUpgradeProperties.PowerShell.cs @@ -0,0 +1,169 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Properties of upgrading cluster's AKS patch version. + [System.ComponentModel.TypeConverter(typeof(ClusterAksPatchVersionUpgradePropertiesTypeConverter))] + public partial class ClusterAksPatchVersionUpgradeProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterAksPatchVersionUpgradeProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterAksPatchVersionUpgradeProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAksPatchVersionUpgradeProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterAksPatchVersionUpgradeProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAksPatchVersionUpgradeProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterAksPatchVersionUpgradeProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json + /// string. + /// + /// a string containing a JSON serialized instance of this model. + /// + /// an instance of the model class. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAksPatchVersionUpgradeProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Properties of upgrading cluster's AKS patch version. + [System.ComponentModel.TypeConverter(typeof(ClusterAksPatchVersionUpgradePropertiesTypeConverter))] + public partial interface IClusterAksPatchVersionUpgradeProperties + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAksPatchVersionUpgradeProperties.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAksPatchVersionUpgradeProperties.TypeConverter.cs new file mode 100644 index 000000000000..dd8c263dba25 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAksPatchVersionUpgradeProperties.TypeConverter.cs @@ -0,0 +1,151 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ClusterAksPatchVersionUpgradePropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise + /// false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAksPatchVersionUpgradeProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAksPatchVersionUpgradeProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ClusterAksPatchVersionUpgradeProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ClusterAksPatchVersionUpgradeProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ClusterAksPatchVersionUpgradeProperties.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAksPatchVersionUpgradeProperties.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAksPatchVersionUpgradeProperties.cs new file mode 100644 index 000000000000..55a8327bb6e6 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAksPatchVersionUpgradeProperties.cs @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Properties of upgrading cluster's AKS patch version. + public partial class ClusterAksPatchVersionUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAksPatchVersionUpgradeProperties, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAksPatchVersionUpgradePropertiesInternal, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IValidates + { + /// + /// Backing field for Inherited model + /// + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeProperties __clusterUpgradeProperties = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradeProperties(); + + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Constant] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string UpgradeType { get => "AKSPatchUpgrade"; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradePropertiesInternal)__clusterUpgradeProperties).UpgradeType = "AKSPatchUpgrade"; } + + /// Creates an new instance. + public ClusterAksPatchVersionUpgradeProperties() + { + this.__clusterUpgradeProperties.UpgradeType = "AKSPatchUpgrade"; + } + + /// Validates that this object meets the validation criteria. + /// an instance that will receive validation + /// events. + /// + /// A that will be complete when validation is completed. + /// + public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + { + await eventListener.AssertNotNull(nameof(__clusterUpgradeProperties), __clusterUpgradeProperties); + await eventListener.AssertObjectIsValid(nameof(__clusterUpgradeProperties), __clusterUpgradeProperties); + } + } + /// Properties of upgrading cluster's AKS patch version. + public partial interface IClusterAksPatchVersionUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeProperties + { + + } + /// Properties of upgrading cluster's AKS patch version. + internal partial interface IClusterAksPatchVersionUpgradePropertiesInternal : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradePropertiesInternal + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAksPatchVersionUpgradeProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAksPatchVersionUpgradeProperties.json.cs new file mode 100644 index 000000000000..3f04db0ed052 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAksPatchVersionUpgradeProperties.json.cs @@ -0,0 +1,110 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Properties of upgrading cluster's AKS patch version. + public partial class ClusterAksPatchVersionUpgradeProperties + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal ClusterAksPatchVersionUpgradeProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + __clusterUpgradeProperties = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradeProperties(json); + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAksPatchVersionUpgradeProperties. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAksPatchVersionUpgradeProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAksPatchVersionUpgradeProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new ClusterAksPatchVersionUpgradeProperties(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + __clusterUpgradeProperties?.ToJson(container, serializationMode); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgrade.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgrade.PowerShell.cs new file mode 100644 index 000000000000..a01710174e6e --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgrade.PowerShell.cs @@ -0,0 +1,252 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Cluster available upgrade. + [System.ComponentModel.TypeConverter(typeof(ClusterAvailableUpgradeTypeConverter))] + public partial class ClusterAvailableUpgrade + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterAvailableUpgrade(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradePropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("SystemDataCreatedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataCreatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("SystemDataCreatedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedByType = (string) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedByType, global::System.Convert.ToString); + } + if (content.Contains("SystemDataLastModifiedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataLastModifiedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedByType = (string) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedByType, global::System.Convert.ToString); + } + if (content.Contains("SystemDataLastModifiedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("SystemData")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SystemDataTypeConverter.ConvertFrom); + } + if (content.Contains("Id")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Id, global::System.Convert.ToString); + } + if (content.Contains("Name")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("Type")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Type, global::System.Convert.ToString); + } + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterAvailableUpgrade(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradePropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("SystemDataCreatedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataCreatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("SystemDataCreatedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedByType = (string) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedByType, global::System.Convert.ToString); + } + if (content.Contains("SystemDataLastModifiedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataLastModifiedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedByType = (string) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedByType, global::System.Convert.ToString); + } + if (content.Contains("SystemDataLastModifiedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("SystemData")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SystemDataTypeConverter.ConvertFrom); + } + if (content.Contains("Id")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Id, global::System.Convert.ToString); + } + if (content.Contains("Name")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("Type")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Type, global::System.Convert.ToString); + } + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgrade DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterAvailableUpgrade(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgrade DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterAvailableUpgrade(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgrade FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Cluster available upgrade. + [System.ComponentModel.TypeConverter(typeof(ClusterAvailableUpgradeTypeConverter))] + public partial interface IClusterAvailableUpgrade + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgrade.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgrade.TypeConverter.cs new file mode 100644 index 000000000000..bbacf6a2ca50 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgrade.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ClusterAvailableUpgradeTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgrade ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgrade).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ClusterAvailableUpgrade.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ClusterAvailableUpgrade.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ClusterAvailableUpgrade.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgrade.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgrade.cs new file mode 100644 index 000000000000..17b381a41b09 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgrade.cs @@ -0,0 +1,142 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster available upgrade. + public partial class ClusterAvailableUpgrade : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgrade, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeInternal, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IValidates + { + /// + /// Backing field for Inherited model + /// + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IProxyResource __proxyResource = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ProxyResource(); + + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).Id; } + + /// Internal Acessors for Property + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeProperties Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeProperties()); set { {_property = value;} } } + + /// Internal Acessors for Id + string Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).Id = value; } + + /// Internal Acessors for Name + string Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).Name = value; } + + /// Internal Acessors for SystemData + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemData = value; } + + /// Internal Acessors for Type + string Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).Type = value; } + + /// The name of the resource + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).Name; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeProperties _property; + + /// Gets or sets the properties. Define cluster upgrade specific properties. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeProperties()); set => this._property = value; } + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemData; } + + /// The timestamp of resource creation (UTC). + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + + /// The identity that created the resource. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; } + + /// The type of identity that created the resource. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; } + + /// The timestamp of resource last modification (UTC) + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + + /// The identity that last modified the resource. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; } + + /// The type of identity that last modified the resource. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; } + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).Type; } + + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string UpgradeType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradePropertiesInternal)Property).UpgradeType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradePropertiesInternal)Property).UpgradeType = value ?? null; } + + /// Creates an new instance. + public ClusterAvailableUpgrade() + { + + } + + /// Validates that this object meets the validation criteria. + /// an instance that will receive validation + /// events. + /// + /// A that will be complete when validation is completed. + /// + public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + { + await eventListener.AssertNotNull(nameof(__proxyResource), __proxyResource); + await eventListener.AssertObjectIsValid(nameof(__proxyResource), __proxyResource); + } + } + /// Cluster available upgrade. + public partial interface IClusterAvailableUpgrade : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IProxyResource + { + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Type of upgrade.", + SerializedName = @"upgradeType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "HotfixUpgrade")] + string UpgradeType { get; set; } + + } + /// Cluster available upgrade. + internal partial interface IClusterAvailableUpgradeInternal : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IProxyResourceInternal + { + /// Gets or sets the properties. Define cluster upgrade specific properties. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeProperties Property { get; set; } + /// Type of upgrade. + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "HotfixUpgrade")] + string UpgradeType { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgrade.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgrade.json.cs new file mode 100644 index 000000000000..be4560a9da37 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgrade.json.cs @@ -0,0 +1,110 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster available upgrade. + public partial class ClusterAvailableUpgrade + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal ClusterAvailableUpgrade(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + __proxyResource = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ProxyResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeProperties.FromJson(__jsonProperties) : _property;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgrade. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgrade. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgrade FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new ClusterAvailableUpgrade(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + __proxyResource?.ToJson(container, serializationMode); + AddIf( null != this._property ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._property.ToJson(null,serializationMode) : null, "properties" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeAksPatchUpgradeProperties.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeAksPatchUpgradeProperties.PowerShell.cs new file mode 100644 index 000000000000..f6473cd8af41 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeAksPatchUpgradeProperties.PowerShell.cs @@ -0,0 +1,193 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Cluster available AKS patch version upgrade. + [System.ComponentModel.TypeConverter(typeof(ClusterAvailableUpgradeAksPatchUpgradePropertiesTypeConverter))] + public partial class ClusterAvailableUpgradeAksPatchUpgradeProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterAvailableUpgradeAksPatchUpgradeProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("CurrentVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradePropertiesInternal)this).CurrentVersion = (string) content.GetValueForProperty("CurrentVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradePropertiesInternal)this).CurrentVersion, global::System.Convert.ToString); + } + if (content.Contains("CurrentVersionStatus")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradePropertiesInternal)this).CurrentVersionStatus = (string) content.GetValueForProperty("CurrentVersionStatus",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradePropertiesInternal)this).CurrentVersionStatus, global::System.Convert.ToString); + } + if (content.Contains("LatestVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradePropertiesInternal)this).LatestVersion = (string) content.GetValueForProperty("LatestVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradePropertiesInternal)this).LatestVersion, global::System.Convert.ToString); + } + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterAvailableUpgradeAksPatchUpgradeProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("CurrentVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradePropertiesInternal)this).CurrentVersion = (string) content.GetValueForProperty("CurrentVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradePropertiesInternal)this).CurrentVersion, global::System.Convert.ToString); + } + if (content.Contains("CurrentVersionStatus")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradePropertiesInternal)this).CurrentVersionStatus = (string) content.GetValueForProperty("CurrentVersionStatus",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradePropertiesInternal)this).CurrentVersionStatus, global::System.Convert.ToString); + } + if (content.Contains("LatestVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradePropertiesInternal)this).LatestVersion = (string) content.GetValueForProperty("LatestVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradePropertiesInternal)this).LatestVersion, global::System.Convert.ToString); + } + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradeProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterAvailableUpgradeAksPatchUpgradeProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradeProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterAvailableUpgradeAksPatchUpgradeProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content from + /// a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// + /// an instance of the model class. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradeProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Cluster available AKS patch version upgrade. + [System.ComponentModel.TypeConverter(typeof(ClusterAvailableUpgradeAksPatchUpgradePropertiesTypeConverter))] + public partial interface IClusterAvailableUpgradeAksPatchUpgradeProperties + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeAksPatchUpgradeProperties.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeAksPatchUpgradeProperties.TypeConverter.cs new file mode 100644 index 000000000000..15e6392f3d13 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeAksPatchUpgradeProperties.TypeConverter.cs @@ -0,0 +1,153 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ClusterAvailableUpgradeAksPatchUpgradePropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, + /// otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable + /// conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable + /// conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradeProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradeProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ClusterAvailableUpgradeAksPatchUpgradeProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ClusterAvailableUpgradeAksPatchUpgradeProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ClusterAvailableUpgradeAksPatchUpgradeProperties.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeAksPatchUpgradeProperties.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeAksPatchUpgradeProperties.cs new file mode 100644 index 000000000000..593dfa2142d4 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeAksPatchUpgradeProperties.cs @@ -0,0 +1,128 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster available AKS patch version upgrade. + public partial class ClusterAvailableUpgradeAksPatchUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradeProperties, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradePropertiesInternal, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IValidates + { + /// + /// Backing field for Inherited model + /// + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeProperties __clusterAvailableUpgradeProperties = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeProperties(); + + /// Backing field for property. + private string _currentVersion; + + /// Current node pool version. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string CurrentVersion { get => this._currentVersion; set => this._currentVersion = value; } + + /// Backing field for property. + private string _currentVersionStatus; + + /// Current AKS version's status: whether it is deprecated or supported + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string CurrentVersionStatus { get => this._currentVersionStatus; set => this._currentVersionStatus = value; } + + /// Backing field for property. + private string _latestVersion; + + /// + /// Latest available version, which should be equal to AKS control plane version if it's not deprecated. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string LatestVersion { get => this._latestVersion; set => this._latestVersion = value; } + + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Constant] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string UpgradeType { get => "AKSPatchUpgrade"; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradePropertiesInternal)__clusterAvailableUpgradeProperties).UpgradeType = "AKSPatchUpgrade"; } + + /// + /// Creates an new instance. + /// + public ClusterAvailableUpgradeAksPatchUpgradeProperties() + { + this.__clusterAvailableUpgradeProperties.UpgradeType = "AKSPatchUpgrade"; + } + + /// Validates that this object meets the validation criteria. + /// an instance that will receive validation + /// events. + /// + /// A that will be complete when validation is completed. + /// + public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + { + await eventListener.AssertNotNull(nameof(__clusterAvailableUpgradeProperties), __clusterAvailableUpgradeProperties); + await eventListener.AssertObjectIsValid(nameof(__clusterAvailableUpgradeProperties), __clusterAvailableUpgradeProperties); + } + } + /// Cluster available AKS patch version upgrade. + public partial interface IClusterAvailableUpgradeAksPatchUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeProperties + { + /// Current node pool version. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Current node pool version.", + SerializedName = @"currentVersion", + PossibleTypes = new [] { typeof(string) })] + string CurrentVersion { get; set; } + /// Current AKS version's status: whether it is deprecated or supported + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Current AKS version's status: whether it is deprecated or supported", + SerializedName = @"currentVersionStatus", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Deprecated", "Supported")] + string CurrentVersionStatus { get; set; } + /// + /// Latest available version, which should be equal to AKS control plane version if it's not deprecated. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Latest available version, which should be equal to AKS control plane version if it's not deprecated.", + SerializedName = @"latestVersion", + PossibleTypes = new [] { typeof(string) })] + string LatestVersion { get; set; } + + } + /// Cluster available AKS patch version upgrade. + internal partial interface IClusterAvailableUpgradeAksPatchUpgradePropertiesInternal : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradePropertiesInternal + { + /// Current node pool version. + string CurrentVersion { get; set; } + /// Current AKS version's status: whether it is deprecated or supported + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Deprecated", "Supported")] + string CurrentVersionStatus { get; set; } + /// + /// Latest available version, which should be equal to AKS control plane version if it's not deprecated. + /// + string LatestVersion { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeAksPatchUpgradeProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeAksPatchUpgradeProperties.json.cs new file mode 100644 index 000000000000..f112abc1a63d --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeAksPatchUpgradeProperties.json.cs @@ -0,0 +1,117 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster available AKS patch version upgrade. + public partial class ClusterAvailableUpgradeAksPatchUpgradeProperties + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal ClusterAvailableUpgradeAksPatchUpgradeProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + __clusterAvailableUpgradeProperties = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeProperties(json); + {_currentVersion = If( json?.PropertyT("currentVersion"), out var __jsonCurrentVersion) ? (string)__jsonCurrentVersion : (string)_currentVersion;} + {_currentVersionStatus = If( json?.PropertyT("currentVersionStatus"), out var __jsonCurrentVersionStatus) ? (string)__jsonCurrentVersionStatus : (string)_currentVersionStatus;} + {_latestVersion = If( json?.PropertyT("latestVersion"), out var __jsonLatestVersion) ? (string)__jsonLatestVersion : (string)_latestVersion;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradeProperties. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradeProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeAksPatchUpgradeProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new ClusterAvailableUpgradeAksPatchUpgradeProperties(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + __clusterAvailableUpgradeProperties?.ToJson(container, serializationMode); + AddIf( null != (((object)this._currentVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._currentVersion.ToString()) : null, "currentVersion" ,container.Add ); + AddIf( null != (((object)this._currentVersionStatus)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._currentVersionStatus.ToString()) : null, "currentVersionStatus" ,container.Add ); + AddIf( null != (((object)this._latestVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._latestVersion.ToString()) : null, "latestVersion" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeHotfixUpgradeProperties.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeHotfixUpgradeProperties.PowerShell.cs new file mode 100644 index 000000000000..a223af5b45bb --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeHotfixUpgradeProperties.PowerShell.cs @@ -0,0 +1,257 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Cluster available hotfix version upgrade. + [System.ComponentModel.TypeConverter(typeof(ClusterAvailableUpgradeHotfixUpgradePropertiesTypeConverter))] + public partial class ClusterAvailableUpgradeHotfixUpgradeProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterAvailableUpgradeHotfixUpgradeProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Description")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).Description, global::System.Convert.ToString); + } + if (content.Contains("SourceOssVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).SourceOssVersion = (string) content.GetValueForProperty("SourceOssVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).SourceOssVersion, global::System.Convert.ToString); + } + if (content.Contains("SourceClusterVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).SourceClusterVersion = (string) content.GetValueForProperty("SourceClusterVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).SourceClusterVersion, global::System.Convert.ToString); + } + if (content.Contains("SourceBuildNumber")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).SourceBuildNumber = (string) content.GetValueForProperty("SourceBuildNumber",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).SourceBuildNumber, global::System.Convert.ToString); + } + if (content.Contains("TargetOssVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).TargetOssVersion = (string) content.GetValueForProperty("TargetOssVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).TargetOssVersion, global::System.Convert.ToString); + } + if (content.Contains("TargetClusterVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).TargetClusterVersion = (string) content.GetValueForProperty("TargetClusterVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).TargetClusterVersion, global::System.Convert.ToString); + } + if (content.Contains("TargetBuildNumber")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).TargetBuildNumber = (string) content.GetValueForProperty("TargetBuildNumber",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).TargetBuildNumber, global::System.Convert.ToString); + } + if (content.Contains("ComponentName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).ComponentName = (string) content.GetValueForProperty("ComponentName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).ComponentName, global::System.Convert.ToString); + } + if (content.Contains("Severity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).Severity = (string) content.GetValueForProperty("Severity",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).Severity, global::System.Convert.ToString); + } + if (content.Contains("ExtendedProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).ExtendedProperty = (string) content.GetValueForProperty("ExtendedProperty",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).ExtendedProperty, global::System.Convert.ToString); + } + if (content.Contains("CreatedTime")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).CreatedTime = (global::System.DateTime?) content.GetValueForProperty("CreatedTime",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).CreatedTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterAvailableUpgradeHotfixUpgradeProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Description")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).Description, global::System.Convert.ToString); + } + if (content.Contains("SourceOssVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).SourceOssVersion = (string) content.GetValueForProperty("SourceOssVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).SourceOssVersion, global::System.Convert.ToString); + } + if (content.Contains("SourceClusterVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).SourceClusterVersion = (string) content.GetValueForProperty("SourceClusterVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).SourceClusterVersion, global::System.Convert.ToString); + } + if (content.Contains("SourceBuildNumber")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).SourceBuildNumber = (string) content.GetValueForProperty("SourceBuildNumber",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).SourceBuildNumber, global::System.Convert.ToString); + } + if (content.Contains("TargetOssVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).TargetOssVersion = (string) content.GetValueForProperty("TargetOssVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).TargetOssVersion, global::System.Convert.ToString); + } + if (content.Contains("TargetClusterVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).TargetClusterVersion = (string) content.GetValueForProperty("TargetClusterVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).TargetClusterVersion, global::System.Convert.ToString); + } + if (content.Contains("TargetBuildNumber")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).TargetBuildNumber = (string) content.GetValueForProperty("TargetBuildNumber",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).TargetBuildNumber, global::System.Convert.ToString); + } + if (content.Contains("ComponentName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).ComponentName = (string) content.GetValueForProperty("ComponentName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).ComponentName, global::System.Convert.ToString); + } + if (content.Contains("Severity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).Severity = (string) content.GetValueForProperty("Severity",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).Severity, global::System.Convert.ToString); + } + if (content.Contains("ExtendedProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).ExtendedProperty = (string) content.GetValueForProperty("ExtendedProperty",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).ExtendedProperty, global::System.Convert.ToString); + } + if (content.Contains("CreatedTime")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).CreatedTime = (global::System.DateTime?) content.GetValueForProperty("CreatedTime",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal)this).CreatedTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradeProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterAvailableUpgradeHotfixUpgradeProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradeProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterAvailableUpgradeHotfixUpgradeProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content from + /// a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// + /// an instance of the model class. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradeProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Cluster available hotfix version upgrade. + [System.ComponentModel.TypeConverter(typeof(ClusterAvailableUpgradeHotfixUpgradePropertiesTypeConverter))] + public partial interface IClusterAvailableUpgradeHotfixUpgradeProperties + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeHotfixUpgradeProperties.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeHotfixUpgradeProperties.TypeConverter.cs new file mode 100644 index 000000000000..d9c609d13f55 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeHotfixUpgradeProperties.TypeConverter.cs @@ -0,0 +1,151 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ClusterAvailableUpgradeHotfixUpgradePropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, + /// otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradeProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradeProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ClusterAvailableUpgradeHotfixUpgradeProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ClusterAvailableUpgradeHotfixUpgradeProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ClusterAvailableUpgradeHotfixUpgradeProperties.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeHotfixUpgradeProperties.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeHotfixUpgradeProperties.cs new file mode 100644 index 000000000000..382a819bc0c5 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeHotfixUpgradeProperties.cs @@ -0,0 +1,282 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster available hotfix version upgrade. + public partial class ClusterAvailableUpgradeHotfixUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradeProperties, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradePropertiesInternal, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IValidates + { + /// + /// Backing field for Inherited model + /// + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeProperties __clusterAvailableUpgradeProperties = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeProperties(); + + /// Backing field for property. + private string _componentName; + + /// Name of component to be upgraded. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string ComponentName { get => this._componentName; set => this._componentName = value; } + + /// Backing field for property. + private global::System.DateTime? _createdTime; + + /// Created time of current available upgrade version + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public global::System.DateTime? CreatedTime { get => this._createdTime; set => this._createdTime = value; } + + /// Backing field for property. + private string _description; + + /// Hotfix version upgrade description. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string Description { get => this._description; set => this._description = value; } + + /// Backing field for property. + private string _extendedProperty; + + /// Extended properties of current available upgrade version + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string ExtendedProperty { get => this._extendedProperty; set => this._extendedProperty = value; } + + /// Backing field for property. + private string _severity; + + /// Severity of this upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string Severity { get => this._severity; set => this._severity = value; } + + /// Backing field for property. + private string _sourceBuildNumber; + + /// Source build number of current cluster component. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string SourceBuildNumber { get => this._sourceBuildNumber; set => this._sourceBuildNumber = value; } + + /// Backing field for property. + private string _sourceClusterVersion; + + /// Source cluster version of current cluster component. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string SourceClusterVersion { get => this._sourceClusterVersion; set => this._sourceClusterVersion = value; } + + /// Backing field for property. + private string _sourceOssVersion; + + /// Source OSS version of current cluster component. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string SourceOssVersion { get => this._sourceOssVersion; set => this._sourceOssVersion = value; } + + /// Backing field for property. + private string _targetBuildNumber; + + /// Target build number of component to be upgraded. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string TargetBuildNumber { get => this._targetBuildNumber; set => this._targetBuildNumber = value; } + + /// Backing field for property. + private string _targetClusterVersion; + + /// Target cluster version of component to be upgraded. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string TargetClusterVersion { get => this._targetClusterVersion; set => this._targetClusterVersion = value; } + + /// Backing field for property. + private string _targetOssVersion; + + /// Target OSS version of component to be upgraded. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string TargetOssVersion { get => this._targetOssVersion; set => this._targetOssVersion = value; } + + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Constant] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string UpgradeType { get => "HotfixUpgrade"; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradePropertiesInternal)__clusterAvailableUpgradeProperties).UpgradeType = "HotfixUpgrade"; } + + /// + /// Creates an new instance. + /// + public ClusterAvailableUpgradeHotfixUpgradeProperties() + { + this.__clusterAvailableUpgradeProperties.UpgradeType = "HotfixUpgrade"; + } + + /// Validates that this object meets the validation criteria. + /// an instance that will receive validation + /// events. + /// + /// A that will be complete when validation is completed. + /// + public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + { + await eventListener.AssertNotNull(nameof(__clusterAvailableUpgradeProperties), __clusterAvailableUpgradeProperties); + await eventListener.AssertObjectIsValid(nameof(__clusterAvailableUpgradeProperties), __clusterAvailableUpgradeProperties); + } + } + /// Cluster available hotfix version upgrade. + public partial interface IClusterAvailableUpgradeHotfixUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeProperties + { + /// Name of component to be upgraded. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Name of component to be upgraded.", + SerializedName = @"componentName", + PossibleTypes = new [] { typeof(string) })] + string ComponentName { get; set; } + /// Created time of current available upgrade version + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Created time of current available upgrade version", + SerializedName = @"createdTime", + PossibleTypes = new [] { typeof(global::System.DateTime) })] + global::System.DateTime? CreatedTime { get; set; } + /// Hotfix version upgrade description. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Hotfix version upgrade description.", + SerializedName = @"description", + PossibleTypes = new [] { typeof(string) })] + string Description { get; set; } + /// Extended properties of current available upgrade version + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Extended properties of current available upgrade version", + SerializedName = @"extendedProperties", + PossibleTypes = new [] { typeof(string) })] + string ExtendedProperty { get; set; } + /// Severity of this upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Severity of this upgrade.", + SerializedName = @"severity", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("low", "medium", "high", "critical")] + string Severity { get; set; } + /// Source build number of current cluster component. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Source build number of current cluster component.", + SerializedName = @"sourceBuildNumber", + PossibleTypes = new [] { typeof(string) })] + string SourceBuildNumber { get; set; } + /// Source cluster version of current cluster component. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Source cluster version of current cluster component.", + SerializedName = @"sourceClusterVersion", + PossibleTypes = new [] { typeof(string) })] + string SourceClusterVersion { get; set; } + /// Source OSS version of current cluster component. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Source OSS version of current cluster component.", + SerializedName = @"sourceOssVersion", + PossibleTypes = new [] { typeof(string) })] + string SourceOssVersion { get; set; } + /// Target build number of component to be upgraded. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Target build number of component to be upgraded.", + SerializedName = @"targetBuildNumber", + PossibleTypes = new [] { typeof(string) })] + string TargetBuildNumber { get; set; } + /// Target cluster version of component to be upgraded. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Target cluster version of component to be upgraded.", + SerializedName = @"targetClusterVersion", + PossibleTypes = new [] { typeof(string) })] + string TargetClusterVersion { get; set; } + /// Target OSS version of component to be upgraded. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Target OSS version of component to be upgraded.", + SerializedName = @"targetOssVersion", + PossibleTypes = new [] { typeof(string) })] + string TargetOssVersion { get; set; } + + } + /// Cluster available hotfix version upgrade. + internal partial interface IClusterAvailableUpgradeHotfixUpgradePropertiesInternal : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradePropertiesInternal + { + /// Name of component to be upgraded. + string ComponentName { get; set; } + /// Created time of current available upgrade version + global::System.DateTime? CreatedTime { get; set; } + /// Hotfix version upgrade description. + string Description { get; set; } + /// Extended properties of current available upgrade version + string ExtendedProperty { get; set; } + /// Severity of this upgrade. + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("low", "medium", "high", "critical")] + string Severity { get; set; } + /// Source build number of current cluster component. + string SourceBuildNumber { get; set; } + /// Source cluster version of current cluster component. + string SourceClusterVersion { get; set; } + /// Source OSS version of current cluster component. + string SourceOssVersion { get; set; } + /// Target build number of component to be upgraded. + string TargetBuildNumber { get; set; } + /// Target cluster version of component to be upgraded. + string TargetClusterVersion { get; set; } + /// Target OSS version of component to be upgraded. + string TargetOssVersion { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeHotfixUpgradeProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeHotfixUpgradeProperties.json.cs new file mode 100644 index 000000000000..b9a2c1387be7 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeHotfixUpgradeProperties.json.cs @@ -0,0 +1,133 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster available hotfix version upgrade. + public partial class ClusterAvailableUpgradeHotfixUpgradeProperties + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal ClusterAvailableUpgradeHotfixUpgradeProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + __clusterAvailableUpgradeProperties = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeProperties(json); + {_description = If( json?.PropertyT("description"), out var __jsonDescription) ? (string)__jsonDescription : (string)_description;} + {_sourceOssVersion = If( json?.PropertyT("sourceOssVersion"), out var __jsonSourceOssVersion) ? (string)__jsonSourceOssVersion : (string)_sourceOssVersion;} + {_sourceClusterVersion = If( json?.PropertyT("sourceClusterVersion"), out var __jsonSourceClusterVersion) ? (string)__jsonSourceClusterVersion : (string)_sourceClusterVersion;} + {_sourceBuildNumber = If( json?.PropertyT("sourceBuildNumber"), out var __jsonSourceBuildNumber) ? (string)__jsonSourceBuildNumber : (string)_sourceBuildNumber;} + {_targetOssVersion = If( json?.PropertyT("targetOssVersion"), out var __jsonTargetOssVersion) ? (string)__jsonTargetOssVersion : (string)_targetOssVersion;} + {_targetClusterVersion = If( json?.PropertyT("targetClusterVersion"), out var __jsonTargetClusterVersion) ? (string)__jsonTargetClusterVersion : (string)_targetClusterVersion;} + {_targetBuildNumber = If( json?.PropertyT("targetBuildNumber"), out var __jsonTargetBuildNumber) ? (string)__jsonTargetBuildNumber : (string)_targetBuildNumber;} + {_componentName = If( json?.PropertyT("componentName"), out var __jsonComponentName) ? (string)__jsonComponentName : (string)_componentName;} + {_severity = If( json?.PropertyT("severity"), out var __jsonSeverity) ? (string)__jsonSeverity : (string)_severity;} + {_extendedProperty = If( json?.PropertyT("extendedProperties"), out var __jsonExtendedProperties) ? (string)__jsonExtendedProperties : (string)_extendedProperty;} + {_createdTime = If( json?.PropertyT("createdTime"), out var __jsonCreatedTime) ? global::System.DateTime.TryParse((string)__jsonCreatedTime, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonCreatedTimeValue) ? __jsonCreatedTimeValue : _createdTime : _createdTime;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradeProperties. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradeProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeHotfixUpgradeProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new ClusterAvailableUpgradeHotfixUpgradeProperties(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + __clusterAvailableUpgradeProperties?.ToJson(container, serializationMode); + AddIf( null != (((object)this._description)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._description.ToString()) : null, "description" ,container.Add ); + AddIf( null != (((object)this._sourceOssVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._sourceOssVersion.ToString()) : null, "sourceOssVersion" ,container.Add ); + AddIf( null != (((object)this._sourceClusterVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._sourceClusterVersion.ToString()) : null, "sourceClusterVersion" ,container.Add ); + AddIf( null != (((object)this._sourceBuildNumber)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._sourceBuildNumber.ToString()) : null, "sourceBuildNumber" ,container.Add ); + AddIf( null != (((object)this._targetOssVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._targetOssVersion.ToString()) : null, "targetOssVersion" ,container.Add ); + AddIf( null != (((object)this._targetClusterVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._targetClusterVersion.ToString()) : null, "targetClusterVersion" ,container.Add ); + AddIf( null != (((object)this._targetBuildNumber)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._targetBuildNumber.ToString()) : null, "targetBuildNumber" ,container.Add ); + AddIf( null != (((object)this._componentName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._componentName.ToString()) : null, "componentName" ,container.Add ); + AddIf( null != (((object)this._severity)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._severity.ToString()) : null, "severity" ,container.Add ); + AddIf( null != (((object)this._extendedProperty)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._extendedProperty.ToString()) : null, "extendedProperties" ,container.Add ); + AddIf( null != this._createdTime ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._createdTime?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "createdTime" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeList.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeList.PowerShell.cs new file mode 100644 index 000000000000..f6bf980c170d --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeList.PowerShell.cs @@ -0,0 +1,172 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Collection of cluster available upgrade. + [System.ComponentModel.TypeConverter(typeof(ClusterAvailableUpgradeListTypeConverter))] + public partial class ClusterAvailableUpgradeList + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterAvailableUpgradeList(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Value")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeListInternal)this).Value = (System.Collections.Generic.List) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeListInternal)this).Value, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeTypeConverter.ConvertFrom)); + } + if (content.Contains("NextLink")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeListInternal)this).NextLink, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterAvailableUpgradeList(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Value")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeListInternal)this).Value = (System.Collections.Generic.List) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeListInternal)this).Value, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgradeTypeConverter.ConvertFrom)); + } + if (content.Contains("NextLink")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeListInternal)this).NextLink, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeList DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterAvailableUpgradeList(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterAvailableUpgradeList(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Collection of cluster available upgrade. + [System.ComponentModel.TypeConverter(typeof(ClusterAvailableUpgradeListTypeConverter))] + public partial interface IClusterAvailableUpgradeList + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeList.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeList.TypeConverter.cs new file mode 100644 index 000000000000..3e60fde0927e --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeList.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ClusterAvailableUpgradeListTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeList ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeList).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ClusterAvailableUpgradeList.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ClusterAvailableUpgradeList.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ClusterAvailableUpgradeList.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeList.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeList.cs new file mode 100644 index 000000000000..4f39e3e53cb8 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeList.cs @@ -0,0 +1,74 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Collection of cluster available upgrade. + public partial class ClusterAvailableUpgradeList : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeList, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeListInternal + { + + /// Backing field for property. + private string _nextLink; + + /// The URL of next result page. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string NextLink { get => this._nextLink; set => this._nextLink = value; } + + /// Backing field for property. + private System.Collections.Generic.List _value; + + /// Collection of Cluster available upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public System.Collections.Generic.List Value { get => this._value; set => this._value = value; } + + /// Creates an new instance. + public ClusterAvailableUpgradeList() + { + + } + } + /// Collection of cluster available upgrade. + public partial interface IClusterAvailableUpgradeList : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable + { + /// The URL of next result page. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The URL of next result page.", + SerializedName = @"nextLink", + PossibleTypes = new [] { typeof(string) })] + string NextLink { get; set; } + /// Collection of Cluster available upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Collection of Cluster available upgrade.", + SerializedName = @"value", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgrade) })] + System.Collections.Generic.List Value { get; set; } + + } + /// Collection of cluster available upgrade. + internal partial interface IClusterAvailableUpgradeListInternal + + { + /// The URL of next result page. + string NextLink { get; set; } + /// Collection of Cluster available upgrade. + System.Collections.Generic.List Value { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeList.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeList.json.cs new file mode 100644 index 000000000000..8f92b06a232f --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeList.json.cs @@ -0,0 +1,118 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Collection of cluster available upgrade. + public partial class ClusterAvailableUpgradeList + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal ClusterAvailableUpgradeList(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgrade) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAvailableUpgrade.FromJson(__u) )) ))() : null : _value;} + {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)_nextLink;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeList. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeList. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeList FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new ClusterAvailableUpgradeList(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + if (null != this._value) + { + var __w = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.XNodeArray(); + foreach( var __x in this._value ) + { + AddIf(__x?.ToJson(null, serializationMode) ,__w.Add); + } + container.Add("value",__w); + } + AddIf( null != (((object)this._nextLink)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._nextLink.ToString()) : null, "nextLink" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeProperties.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeProperties.PowerShell.cs new file mode 100644 index 000000000000..3d5875e08006 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeProperties.PowerShell.cs @@ -0,0 +1,168 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Cluster available upgrade properties. + [System.ComponentModel.TypeConverter(typeof(ClusterAvailableUpgradePropertiesTypeConverter))] + public partial class ClusterAvailableUpgradeProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterAvailableUpgradeProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterAvailableUpgradeProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterAvailableUpgradeProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterAvailableUpgradeProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// + /// an instance of the model class. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Cluster available upgrade properties. + [System.ComponentModel.TypeConverter(typeof(ClusterAvailableUpgradePropertiesTypeConverter))] + public partial interface IClusterAvailableUpgradeProperties + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeProperties.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeProperties.TypeConverter.cs new file mode 100644 index 000000000000..4f77e6cefca1 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeProperties.TypeConverter.cs @@ -0,0 +1,148 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ClusterAvailableUpgradePropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ClusterAvailableUpgradeProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ClusterAvailableUpgradeProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ClusterAvailableUpgradeProperties.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeProperties.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeProperties.cs new file mode 100644 index 000000000000..51eccb20c68d --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeProperties.cs @@ -0,0 +1,56 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster available upgrade properties. + public partial class ClusterAvailableUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeProperties, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradePropertiesInternal + { + + /// Backing field for property. + private string _upgradeType; + + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string UpgradeType { get => this._upgradeType; set => this._upgradeType = value; } + + /// Creates an new instance. + public ClusterAvailableUpgradeProperties() + { + + } + } + /// Cluster available upgrade properties. + public partial interface IClusterAvailableUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable + { + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Type of upgrade.", + SerializedName = @"upgradeType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "HotfixUpgrade")] + string UpgradeType { get; set; } + + } + /// Cluster available upgrade properties. + internal partial interface IClusterAvailableUpgradePropertiesInternal + + { + /// Type of upgrade. + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "HotfixUpgrade")] + string UpgradeType { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeProperties.json.cs new file mode 100644 index 000000000000..e4a23bbd47ed --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterAvailableUpgradeProperties.json.cs @@ -0,0 +1,127 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster available upgrade properties. + public partial class ClusterAvailableUpgradeProperties + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal ClusterAvailableUpgradeProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_upgradeType = If( json?.PropertyT("upgradeType"), out var __jsonUpgradeType) ? (string)__jsonUpgradeType : (string)_upgradeType;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeProperties. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeProperties interface is polymorphic, + /// and the precise model class that will get deserialized is determined at runtime based on the payload. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + if (!(node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json)) + { + return null; + } + // Polymorphic type -- select the appropriate constructor using the discriminator + + switch ( json.StringProperty("upgradeType") ) + { + case "AKSPatchUpgrade": + { + return new ClusterAvailableUpgradeAksPatchUpgradeProperties(json); + } + case "HotfixUpgrade": + { + return new ClusterAvailableUpgradeHotfixUpgradeProperties(json); + } + } + return new ClusterAvailableUpgradeProperties(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._upgradeType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._upgradeType.ToString()) : null, "upgradeType" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterComponentsItem.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterComponentsItem.json.cs index 3255ec7d75f1..80dd24b98172 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterComponentsItem.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterComponentsItem.json.cs @@ -64,8 +64,8 @@ internal ClusterComponentsItem(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks { return; } - {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} - {_version = If( json?.PropertyT("version"), out var __jsonVersion) ? (string)__jsonVersion : (string)Version;} + {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)_name;} + {_version = If( json?.PropertyT("version"), out var __jsonVersion) ? (string)__jsonVersion : (string)_version;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterConfigFile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterConfigFile.json.cs index 264d027eb8f2..f5ad0a3e9625 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterConfigFile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterConfigFile.json.cs @@ -65,11 +65,11 @@ internal ClusterConfigFile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Run { return; } - {_fileName = If( json?.PropertyT("fileName"), out var __jsonFileName) ? (string)__jsonFileName : (string)FileName;} - {_content = If( json?.PropertyT("content"), out var __jsonContent) ? (string)__jsonContent : (string)Content;} - {_encoding = If( json?.PropertyT("encoding"), out var __jsonEncoding) ? (string)__jsonEncoding : (string)Encoding;} - {_path = If( json?.PropertyT("path"), out var __jsonPath) ? (string)__jsonPath : (string)Path;} - {_value = If( json?.PropertyT("values"), out var __jsonValues) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterConfigFileValues.FromJson(__jsonValues) : Value;} + {_fileName = If( json?.PropertyT("fileName"), out var __jsonFileName) ? (string)__jsonFileName : (string)_fileName;} + {_content = If( json?.PropertyT("content"), out var __jsonContent) ? (string)__jsonContent : (string)_content;} + {_encoding = If( json?.PropertyT("encoding"), out var __jsonEncoding) ? (string)__jsonEncoding : (string)_encoding;} + {_path = If( json?.PropertyT("path"), out var __jsonPath) ? (string)__jsonPath : (string)_path;} + {_value = If( json?.PropertyT("values"), out var __jsonValues) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterConfigFileValues.FromJson(__jsonValues) : _value;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterHotfixUpgradeProperties.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterHotfixUpgradeProperties.PowerShell.cs new file mode 100644 index 000000000000..3ecc688f7b50 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterHotfixUpgradeProperties.PowerShell.cs @@ -0,0 +1,196 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Properties of upgrading cluster's hotfix. + [System.ComponentModel.TypeConverter(typeof(ClusterHotfixUpgradePropertiesTypeConverter))] + public partial class ClusterHotfixUpgradeProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterHotfixUpgradeProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("TargetOssVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradePropertiesInternal)this).TargetOssVersion = (string) content.GetValueForProperty("TargetOssVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradePropertiesInternal)this).TargetOssVersion, global::System.Convert.ToString); + } + if (content.Contains("TargetClusterVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradePropertiesInternal)this).TargetClusterVersion = (string) content.GetValueForProperty("TargetClusterVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradePropertiesInternal)this).TargetClusterVersion, global::System.Convert.ToString); + } + if (content.Contains("TargetBuildNumber")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradePropertiesInternal)this).TargetBuildNumber = (string) content.GetValueForProperty("TargetBuildNumber",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradePropertiesInternal)this).TargetBuildNumber, global::System.Convert.ToString); + } + if (content.Contains("ComponentName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradePropertiesInternal)this).ComponentName = (string) content.GetValueForProperty("ComponentName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradePropertiesInternal)this).ComponentName, global::System.Convert.ToString); + } + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterHotfixUpgradeProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("TargetOssVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradePropertiesInternal)this).TargetOssVersion = (string) content.GetValueForProperty("TargetOssVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradePropertiesInternal)this).TargetOssVersion, global::System.Convert.ToString); + } + if (content.Contains("TargetClusterVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradePropertiesInternal)this).TargetClusterVersion = (string) content.GetValueForProperty("TargetClusterVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradePropertiesInternal)this).TargetClusterVersion, global::System.Convert.ToString); + } + if (content.Contains("TargetBuildNumber")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradePropertiesInternal)this).TargetBuildNumber = (string) content.GetValueForProperty("TargetBuildNumber",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradePropertiesInternal)this).TargetBuildNumber, global::System.Convert.ToString); + } + if (content.Contains("ComponentName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradePropertiesInternal)this).ComponentName = (string) content.GetValueForProperty("ComponentName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradePropertiesInternal)this).ComponentName, global::System.Convert.ToString); + } + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradeProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterHotfixUpgradeProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradeProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterHotfixUpgradeProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradeProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Properties of upgrading cluster's hotfix. + [System.ComponentModel.TypeConverter(typeof(ClusterHotfixUpgradePropertiesTypeConverter))] + public partial interface IClusterHotfixUpgradeProperties + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterHotfixUpgradeProperties.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterHotfixUpgradeProperties.TypeConverter.cs new file mode 100644 index 000000000000..e1f943956037 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterHotfixUpgradeProperties.TypeConverter.cs @@ -0,0 +1,148 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ClusterHotfixUpgradePropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradeProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradeProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ClusterHotfixUpgradeProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ClusterHotfixUpgradeProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ClusterHotfixUpgradeProperties.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterHotfixUpgradeProperties.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterHotfixUpgradeProperties.cs new file mode 100644 index 000000000000..df836c63f2ce --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterHotfixUpgradeProperties.cs @@ -0,0 +1,138 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Properties of upgrading cluster's hotfix. + public partial class ClusterHotfixUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradeProperties, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradePropertiesInternal, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IValidates + { + /// + /// Backing field for Inherited model + /// + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeProperties __clusterUpgradeProperties = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradeProperties(); + + /// Backing field for property. + private string _componentName; + + /// Name of component to be upgraded. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string ComponentName { get => this._componentName; set => this._componentName = value; } + + /// Backing field for property. + private string _targetBuildNumber; + + /// Target build number of component to be upgraded. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string TargetBuildNumber { get => this._targetBuildNumber; set => this._targetBuildNumber = value; } + + /// Backing field for property. + private string _targetClusterVersion; + + /// Target cluster version of component to be upgraded. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string TargetClusterVersion { get => this._targetClusterVersion; set => this._targetClusterVersion = value; } + + /// Backing field for property. + private string _targetOssVersion; + + /// Target OSS version of component to be upgraded. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string TargetOssVersion { get => this._targetOssVersion; set => this._targetOssVersion = value; } + + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Constant] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string UpgradeType { get => "HotfixUpgrade"; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradePropertiesInternal)__clusterUpgradeProperties).UpgradeType = "HotfixUpgrade"; } + + /// Creates an new instance. + public ClusterHotfixUpgradeProperties() + { + this.__clusterUpgradeProperties.UpgradeType = "HotfixUpgrade"; + } + + /// Validates that this object meets the validation criteria. + /// an instance that will receive validation + /// events. + /// + /// A that will be complete when validation is completed. + /// + public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + { + await eventListener.AssertNotNull(nameof(__clusterUpgradeProperties), __clusterUpgradeProperties); + await eventListener.AssertObjectIsValid(nameof(__clusterUpgradeProperties), __clusterUpgradeProperties); + } + } + /// Properties of upgrading cluster's hotfix. + public partial interface IClusterHotfixUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeProperties + { + /// Name of component to be upgraded. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Name of component to be upgraded.", + SerializedName = @"componentName", + PossibleTypes = new [] { typeof(string) })] + string ComponentName { get; set; } + /// Target build number of component to be upgraded. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Target build number of component to be upgraded.", + SerializedName = @"targetBuildNumber", + PossibleTypes = new [] { typeof(string) })] + string TargetBuildNumber { get; set; } + /// Target cluster version of component to be upgraded. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Target cluster version of component to be upgraded.", + SerializedName = @"targetClusterVersion", + PossibleTypes = new [] { typeof(string) })] + string TargetClusterVersion { get; set; } + /// Target OSS version of component to be upgraded. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Target OSS version of component to be upgraded.", + SerializedName = @"targetOssVersion", + PossibleTypes = new [] { typeof(string) })] + string TargetOssVersion { get; set; } + + } + /// Properties of upgrading cluster's hotfix. + internal partial interface IClusterHotfixUpgradePropertiesInternal : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradePropertiesInternal + { + /// Name of component to be upgraded. + string ComponentName { get; set; } + /// Target build number of component to be upgraded. + string TargetBuildNumber { get; set; } + /// Target cluster version of component to be upgraded. + string TargetClusterVersion { get; set; } + /// Target OSS version of component to be upgraded. + string TargetOssVersion { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterHotfixUpgradeProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterHotfixUpgradeProperties.json.cs new file mode 100644 index 000000000000..84f06e250fb3 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterHotfixUpgradeProperties.json.cs @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Properties of upgrading cluster's hotfix. + public partial class ClusterHotfixUpgradeProperties + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal ClusterHotfixUpgradeProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + __clusterUpgradeProperties = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradeProperties(json); + {_targetOssVersion = If( json?.PropertyT("targetOssVersion"), out var __jsonTargetOssVersion) ? (string)__jsonTargetOssVersion : (string)_targetOssVersion;} + {_targetClusterVersion = If( json?.PropertyT("targetClusterVersion"), out var __jsonTargetClusterVersion) ? (string)__jsonTargetClusterVersion : (string)_targetClusterVersion;} + {_targetBuildNumber = If( json?.PropertyT("targetBuildNumber"), out var __jsonTargetBuildNumber) ? (string)__jsonTargetBuildNumber : (string)_targetBuildNumber;} + {_componentName = If( json?.PropertyT("componentName"), out var __jsonComponentName) ? (string)__jsonComponentName : (string)_componentName;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradeProperties. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradeProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterHotfixUpgradeProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new ClusterHotfixUpgradeProperties(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + __clusterUpgradeProperties?.ToJson(container, serializationMode); + AddIf( null != (((object)this._targetOssVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._targetOssVersion.ToString()) : null, "targetOssVersion" ,container.Add ); + AddIf( null != (((object)this._targetClusterVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._targetClusterVersion.ToString()) : null, "targetClusterVersion" ,container.Add ); + AddIf( null != (((object)this._targetBuildNumber)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._targetBuildNumber.ToString()) : null, "targetBuildNumber" ,container.Add ); + AddIf( null != (((object)this._componentName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._componentName.ToString()) : null, "componentName" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewProperties.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewProperties.cs index 95a8783aee88..a8d803fbc20e 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewProperties.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewProperties.cs @@ -20,7 +20,7 @@ public partial class ClusterInstanceViewProperties : private System.Collections.Generic.List _serviceStatuses; /// - /// List of statuses of relevant services that make up the HDInsight on aks cluster to surface to the customer. + /// List of statuses of relevant services that make up the HDInsight on AKS cluster to surface to the customer. /// [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] public System.Collections.Generic.List ServiceStatuses { get => this._serviceStatuses; set => this._serviceStatuses = value; } @@ -55,7 +55,7 @@ public partial interface IClusterInstanceViewProperties : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable { /// - /// List of statuses of relevant services that make up the HDInsight on aks cluster to surface to the customer. + /// List of statuses of relevant services that make up the HDInsight on AKS cluster to surface to the customer. /// [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = true, @@ -63,7 +63,7 @@ public partial interface IClusterInstanceViewProperties : Read = true, Create = true, Update = true, - Description = @"List of statuses of relevant services that make up the HDInsight on aks cluster to surface to the customer.", + Description = @"List of statuses of relevant services that make up the HDInsight on AKS cluster to surface to the customer.", SerializedName = @"serviceStatuses", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IServiceStatus) })] System.Collections.Generic.List ServiceStatuses { get; set; } @@ -107,7 +107,7 @@ internal partial interface IClusterInstanceViewPropertiesInternal { /// - /// List of statuses of relevant services that make up the HDInsight on aks cluster to surface to the customer. + /// List of statuses of relevant services that make up the HDInsight on AKS cluster to surface to the customer. /// System.Collections.Generic.List ServiceStatuses { get; set; } /// Status of the instance view. diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewProperties.json.cs index 64c2b82a0210..7e710c594c6c 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewProperties.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewProperties.json.cs @@ -65,8 +65,8 @@ internal ClusterInstanceViewProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsi { return; } - {_status = If( json?.PropertyT("status"), out var __jsonStatus) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewPropertiesStatus.FromJson(__jsonStatus) : Status;} - {_serviceStatuses = If( json?.PropertyT("serviceStatuses"), out var __jsonServiceStatuses) ? If( __jsonServiceStatuses as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IServiceStatus) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceStatus.FromJson(__u) )) ))() : null : ServiceStatuses;} + {_status = If( json?.PropertyT("status"), out var __jsonStatus) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewPropertiesStatus.FromJson(__jsonStatus) : _status;} + {_serviceStatuses = If( json?.PropertyT("serviceStatuses"), out var __jsonServiceStatuses) ? If( __jsonServiceStatuses as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IServiceStatus) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceStatus.FromJson(__u) )) ))() : null : _serviceStatuses;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewResult.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewResult.cs index 04da5ec35924..3be8ece5af9b 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewResult.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewResult.cs @@ -35,7 +35,7 @@ public partial class ClusterInstanceViewResult : internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewResultProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewResultProperties()); set => this._property = value; } /// - /// List of statuses of relevant services that make up the HDInsight on aks cluster to surface to the customer. + /// List of statuses of relevant services that make up the HDInsight on AKS cluster to surface to the customer. /// [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public System.Collections.Generic.List ServiceStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewPropertiesInternal)Property).ServiceStatuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewPropertiesInternal)Property).ServiceStatuses = value ; } @@ -74,7 +74,7 @@ public partial interface IClusterInstanceViewResult : PossibleTypes = new [] { typeof(string) })] string Name { get; set; } /// - /// List of statuses of relevant services that make up the HDInsight on aks cluster to surface to the customer. + /// List of statuses of relevant services that make up the HDInsight on AKS cluster to surface to the customer. /// [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = true, @@ -82,7 +82,7 @@ public partial interface IClusterInstanceViewResult : Read = true, Create = true, Update = true, - Description = @"List of statuses of relevant services that make up the HDInsight on aks cluster to surface to the customer.", + Description = @"List of statuses of relevant services that make up the HDInsight on AKS cluster to surface to the customer.", SerializedName = @"serviceStatuses", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IServiceStatus) })] System.Collections.Generic.List ServiceStatuses { get; set; } @@ -130,7 +130,7 @@ internal partial interface IClusterInstanceViewResultInternal /// Properties of the instance view. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewResultProperties Property { get; set; } /// - /// List of statuses of relevant services that make up the HDInsight on aks cluster to surface to the customer. + /// List of statuses of relevant services that make up the HDInsight on AKS cluster to surface to the customer. /// System.Collections.Generic.List ServiceStatuses { get; set; } /// Status of the instance view. diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewResult.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewResult.json.cs index f811ec081e50..639925bd6e3f 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewResult.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewResult.json.cs @@ -65,8 +65,8 @@ internal ClusterInstanceViewResult(Microsoft.Azure.PowerShell.Cmdlets.HdInsightO { return; } - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewResultProperties.FromJson(__jsonProperties) : Property;} - {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewResultProperties.FromJson(__jsonProperties) : _property;} + {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)_name;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewResultProperties.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewResultProperties.cs index a489c65767f0..73f334453320 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewResultProperties.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewResultProperties.cs @@ -23,7 +23,7 @@ public partial class ClusterInstanceViewResultProperties : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewPropertiesStatus Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewPropertiesInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewPropertiesInternal)__clusterInstanceViewProperties).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewPropertiesInternal)__clusterInstanceViewProperties).Status = value; } /// - /// List of statuses of relevant services that make up the HDInsight on aks cluster to surface to the customer. + /// List of statuses of relevant services that make up the HDInsight on AKS cluster to surface to the customer. /// [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] public System.Collections.Generic.List ServiceStatuses { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewPropertiesInternal)__clusterInstanceViewProperties).ServiceStatuses; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewPropertiesInternal)__clusterInstanceViewProperties).ServiceStatuses = value ; } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewStatus.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewStatus.json.cs index e7de8bfa3f03..6b5c4bfef9ba 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewStatus.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewStatus.json.cs @@ -65,9 +65,9 @@ internal ClusterInstanceViewStatus(Microsoft.Azure.PowerShell.Cmdlets.HdInsightO { return; } - {_ready = If( json?.PropertyT("ready"), out var __jsonReady) ? (string)__jsonReady : (string)Ready;} - {_reason = If( json?.PropertyT("reason"), out var __jsonReason) ? (string)__jsonReason : (string)Reason;} - {_message = If( json?.PropertyT("message"), out var __jsonMessage) ? (string)__jsonMessage : (string)Message;} + {_ready = If( json?.PropertyT("ready"), out var __jsonReady) ? (string)__jsonReady : (string)_ready;} + {_reason = If( json?.PropertyT("reason"), out var __jsonReason) ? (string)__jsonReason : (string)_reason;} + {_message = If( json?.PropertyT("message"), out var __jsonMessage) ? (string)__jsonMessage : (string)_message;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewsResult.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewsResult.json.cs index ad14fff54378..a2fbd05f1111 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewsResult.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterInstanceViewsResult.json.cs @@ -65,8 +65,8 @@ internal ClusterInstanceViewsResult(Microsoft.Azure.PowerShell.Cmdlets.HdInsight { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewResult) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewResult.FromJson(__u) )) ))() : null : Value;} - {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewResult) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterInstanceViewResult.FromJson(__u) )) ))() : null : _value;} + {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)_nextLink;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterJob.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterJob.json.cs index 878f81e5eda4..e8a99a3b702a 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterJob.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterJob.json.cs @@ -66,7 +66,7 @@ internal ClusterJob(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Js return; } __proxyResource = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ProxyResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterJobProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterJobProperties.FromJson(__jsonProperties) : _property;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterJobList.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterJobList.json.cs index 7107e8737faf..ce9a48d9211b 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterJobList.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterJobList.json.cs @@ -65,8 +65,8 @@ internal ClusterJobList(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtim { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterJob.FromJson(__u) )) ))() : null : Value;} - {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterJob.FromJson(__u) )) ))() : null : _value;} + {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)_nextLink;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterJobProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterJobProperties.json.cs index 4a1b3484bc84..36b2ef475e38 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterJobProperties.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterJobProperties.json.cs @@ -65,7 +65,7 @@ internal ClusterJobProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks. { return; } - {_jobType = If( json?.PropertyT("jobType"), out var __jsonJobType) ? (string)__jsonJobType : (string)JobType;} + {_jobType = If( json?.PropertyT("jobType"), out var __jsonJobType) ? (string)__jsonJobType : (string)_jobType;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterListResult.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterListResult.json.cs index 237b56d81946..67efa3c53ec9 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterListResult.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterListResult.json.cs @@ -65,8 +65,8 @@ internal ClusterListResult(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Run { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Cluster.FromJson(__u) )) ))() : null : Value;} - {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Cluster.FromJson(__u) )) ))() : null : _value;} + {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)_nextLink;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterLogAnalyticsApplicationLogs.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterLogAnalyticsApplicationLogs.json.cs index 6973d3b8dc0e..de157cbacd74 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterLogAnalyticsApplicationLogs.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterLogAnalyticsApplicationLogs.json.cs @@ -65,8 +65,8 @@ internal ClusterLogAnalyticsApplicationLogs(Microsoft.Azure.PowerShell.Cmdlets.H { return; } - {_stdOutEnabled = If( json?.PropertyT("stdOutEnabled"), out var __jsonStdOutEnabled) ? (bool?)__jsonStdOutEnabled : StdOutEnabled;} - {_stdErrorEnabled = If( json?.PropertyT("stdErrorEnabled"), out var __jsonStdErrorEnabled) ? (bool?)__jsonStdErrorEnabled : StdErrorEnabled;} + {_stdOutEnabled = If( json?.PropertyT("stdOutEnabled"), out var __jsonStdOutEnabled) ? (bool?)__jsonStdOutEnabled : _stdOutEnabled;} + {_stdErrorEnabled = If( json?.PropertyT("stdErrorEnabled"), out var __jsonStdErrorEnabled) ? (bool?)__jsonStdErrorEnabled : _stdErrorEnabled;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterLogAnalyticsProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterLogAnalyticsProfile.json.cs index f6266bd04d0b..2220fccffce4 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterLogAnalyticsProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterLogAnalyticsProfile.json.cs @@ -65,9 +65,9 @@ internal ClusterLogAnalyticsProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsight { return; } - {_applicationLog = If( json?.PropertyT("applicationLogs"), out var __jsonApplicationLogs) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsApplicationLogs.FromJson(__jsonApplicationLogs) : ApplicationLog;} - {_enabled = If( json?.PropertyT("enabled"), out var __jsonEnabled) ? (bool)__jsonEnabled : Enabled;} - {_metricsEnabled = If( json?.PropertyT("metricsEnabled"), out var __jsonMetricsEnabled) ? (bool?)__jsonMetricsEnabled : MetricsEnabled;} + {_applicationLog = If( json?.PropertyT("applicationLogs"), out var __jsonApplicationLogs) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsApplicationLogs.FromJson(__jsonApplicationLogs) : _applicationLog;} + {_enabled = If( json?.PropertyT("enabled"), out var __jsonEnabled) ? (bool)__jsonEnabled : _enabled;} + {_metricsEnabled = If( json?.PropertyT("metricsEnabled"), out var __jsonMetricsEnabled) ? (bool?)__jsonMetricsEnabled : _metricsEnabled;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatch.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatch.PowerShell.cs index a22ff495bc8d..db1d879eb098 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatch.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatch.PowerShell.cs @@ -80,53 +80,9 @@ internal ClusterPatch(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchPropertiesTypeConverter.ConvertFrom); } - if (content.Contains("SystemDataCreatedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataCreatedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemDataCreatedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedByType = (string) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedBy")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedByType")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedByType = (string) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedByType, global::System.Convert.ToString); - } - if (content.Contains("SystemDataLastModifiedAt")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); - } - if (content.Contains("SystemData")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SystemDataTypeConverter.ConvertFrom); - } - if (content.Contains("Id")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Id, global::System.Convert.ToString); - } - if (content.Contains("Name")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Name, global::System.Convert.ToString); - } - if (content.Contains("Type")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Type, global::System.Convert.ToString); - } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrackedResourceTagsTypeConverter.ConvertFrom); - } - if (content.Contains("Location")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchTagsTypeConverter.ConvertFrom); } if (content.Contains("ClusterProfile")) { @@ -144,6 +100,10 @@ internal ClusterPatch(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfileAuthorizationProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IAuthorizationProfile) content.GetValueForProperty("ClusterProfileAuthorizationProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfileAuthorizationProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AuthorizationProfileTypeConverter.ConvertFrom); } + if (content.Contains("ClusterProfileRangerProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfileRangerProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile) content.GetValueForProperty("ClusterProfileRangerProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfileRangerProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerProfileTypeConverter.ConvertFrom); + } if (content.Contains("ClusterProfileLogAnalyticsProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfileLogAnalyticsProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsProfile) content.GetValueForProperty("ClusterProfileLogAnalyticsProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfileLogAnalyticsProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsProfileTypeConverter.ConvertFrom); @@ -152,6 +112,10 @@ internal ClusterPatch(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfilePrometheusProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile) content.GetValueForProperty("ClusterProfilePrometheusProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfilePrometheusProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfileTypeConverter.ConvertFrom); } + if (content.Contains("ClusterProfileRangerPluginProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfileRangerPluginProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile) content.GetValueForProperty("ClusterProfileRangerPluginProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfileRangerPluginProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfileTypeConverter.ConvertFrom); + } if (content.Contains("ClusterProfileServiceConfigsProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfileServiceConfigsProfile = (System.Collections.Generic.List) content.GetValueForProperty("ClusterProfileServiceConfigsProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfileServiceConfigsProfile, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterServiceConfigsProfileTypeConverter.ConvertFrom)); @@ -244,6 +208,26 @@ internal ClusterPatch(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).PrometheuProfileEnabled = (bool) content.GetValueForProperty("PrometheuProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).PrometheuProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("RangerPluginProfileEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerPluginProfileEnabled = (bool) content.GetValueForProperty("RangerPluginProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerPluginProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RangerProfileRangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerProfileRangerAdmin = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec) content.GetValueForProperty("RangerProfileRangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerProfileRangerAdmin, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerAudit")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerProfileRangerAudit = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec) content.GetValueForProperty("RangerProfileRangerAudit",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerProfileRangerAudit, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAuditSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerUsersync")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerProfileRangerUsersync = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec) content.GetValueForProperty("RangerProfileRangerUsersync",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerProfileRangerUsersync, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerUsersyncSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerUsersyncMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerUsersyncMode = (string) content.GetValueForProperty("RangerUsersyncMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerUsersyncMode, global::System.Convert.ToString); + } if (content.Contains("ApplicationLogStdOutEnabled")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ApplicationLogStdOutEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdOutEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ApplicationLogStdOutEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); @@ -252,74 +236,74 @@ internal ClusterPatch(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ApplicationLogStdErrorEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdErrorEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ApplicationLogStdErrorEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal ClusterPatch(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) + if (content.Contains("RangerAdminDatabase")) { - return; + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerAdminDatabase = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase) content.GetValueForProperty("RangerAdminDatabase",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerAdminDatabase, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabaseTypeConverter.ConvertFrom); } - // actually deserialize - if (content.Contains("Property")) + if (content.Contains("RangerAdmin")) { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerAdmin = (System.Collections.Generic.List) content.GetValueForProperty("RangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerAdmin, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); } - if (content.Contains("SystemDataCreatedBy")) + if (content.Contains("RangerAuditStorageAccount")) { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerAuditStorageAccount = (string) content.GetValueForProperty("RangerAuditStorageAccount",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerAuditStorageAccount, global::System.Convert.ToString); } - if (content.Contains("SystemDataCreatedAt")) + if (content.Contains("RangerUsersyncEnabled")) { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerUsersyncEnabled = (bool?) content.GetValueForProperty("RangerUsersyncEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerUsersyncEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } - if (content.Contains("SystemDataCreatedByType")) + if (content.Contains("RangerUsersyncGroup")) { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedByType = (string) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedByType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerUsersyncGroup = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncGroup",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerUsersyncGroup, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); } - if (content.Contains("SystemDataLastModifiedBy")) + if (content.Contains("RangerUsersyncUserMappingLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerUsersyncUserMappingLocation = (string) content.GetValueForProperty("RangerUsersyncUserMappingLocation",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerUsersyncUserMappingLocation, global::System.Convert.ToString); } - if (content.Contains("SystemDataLastModifiedByType")) + if (content.Contains("RangerUsersyncUser")) { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedByType = (string) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedByType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerUsersyncUser = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncUser",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerUsersyncUser, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); } - if (content.Contains("SystemDataLastModifiedAt")) + if (content.Contains("DatabaseHost")) { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).DatabaseHost = (string) content.GetValueForProperty("DatabaseHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).DatabaseHost, global::System.Convert.ToString); } - if (content.Contains("SystemData")) + if (content.Contains("DatabaseName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).DatabaseName, global::System.Convert.ToString); } - if (content.Contains("Id")) + if (content.Contains("DatabasePasswordSecretRef")) { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).DatabasePasswordSecretRef = (string) content.GetValueForProperty("DatabasePasswordSecretRef",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).DatabasePasswordSecretRef, global::System.Convert.ToString); } - if (content.Contains("Name")) + if (content.Contains("DatabaseUsername")) { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).DatabaseUsername = (string) content.GetValueForProperty("DatabaseUsername",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).DatabaseUsername, global::System.Convert.ToString); } - if (content.Contains("Type")) + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterPatch(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Type, global::System.Convert.ToString); + return; } - if (content.Contains("Tag")) + // actually deserialize + if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrackedResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchPropertiesTypeConverter.ConvertFrom); } - if (content.Contains("Location")) + if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchTagsTypeConverter.ConvertFrom); } if (content.Contains("ClusterProfile")) { @@ -337,6 +321,10 @@ internal ClusterPatch(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfileAuthorizationProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IAuthorizationProfile) content.GetValueForProperty("ClusterProfileAuthorizationProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfileAuthorizationProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AuthorizationProfileTypeConverter.ConvertFrom); } + if (content.Contains("ClusterProfileRangerProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfileRangerProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile) content.GetValueForProperty("ClusterProfileRangerProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfileRangerProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerProfileTypeConverter.ConvertFrom); + } if (content.Contains("ClusterProfileLogAnalyticsProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfileLogAnalyticsProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsProfile) content.GetValueForProperty("ClusterProfileLogAnalyticsProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfileLogAnalyticsProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsProfileTypeConverter.ConvertFrom); @@ -345,6 +333,10 @@ internal ClusterPatch(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfilePrometheusProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile) content.GetValueForProperty("ClusterProfilePrometheusProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfilePrometheusProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfileTypeConverter.ConvertFrom); } + if (content.Contains("ClusterProfileRangerPluginProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfileRangerPluginProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile) content.GetValueForProperty("ClusterProfileRangerPluginProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfileRangerPluginProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfileTypeConverter.ConvertFrom); + } if (content.Contains("ClusterProfileServiceConfigsProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfileServiceConfigsProfile = (System.Collections.Generic.List) content.GetValueForProperty("ClusterProfileServiceConfigsProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ClusterProfileServiceConfigsProfile, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterServiceConfigsProfileTypeConverter.ConvertFrom)); @@ -437,6 +429,26 @@ internal ClusterPatch(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).PrometheuProfileEnabled = (bool) content.GetValueForProperty("PrometheuProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).PrometheuProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("RangerPluginProfileEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerPluginProfileEnabled = (bool) content.GetValueForProperty("RangerPluginProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerPluginProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RangerProfileRangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerProfileRangerAdmin = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec) content.GetValueForProperty("RangerProfileRangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerProfileRangerAdmin, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerAudit")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerProfileRangerAudit = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec) content.GetValueForProperty("RangerProfileRangerAudit",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerProfileRangerAudit, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAuditSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerUsersync")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerProfileRangerUsersync = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec) content.GetValueForProperty("RangerProfileRangerUsersync",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerProfileRangerUsersync, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerUsersyncSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerUsersyncMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerUsersyncMode = (string) content.GetValueForProperty("RangerUsersyncMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerUsersyncMode, global::System.Convert.ToString); + } if (content.Contains("ApplicationLogStdOutEnabled")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ApplicationLogStdOutEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdOutEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ApplicationLogStdOutEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); @@ -445,6 +457,50 @@ internal ClusterPatch(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ApplicationLogStdErrorEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdErrorEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).ApplicationLogStdErrorEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("RangerAdminDatabase")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerAdminDatabase = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase) content.GetValueForProperty("RangerAdminDatabase",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerAdminDatabase, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabaseTypeConverter.ConvertFrom); + } + if (content.Contains("RangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerAdmin = (System.Collections.Generic.List) content.GetValueForProperty("RangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerAdmin, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerAuditStorageAccount")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerAuditStorageAccount = (string) content.GetValueForProperty("RangerAuditStorageAccount",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerAuditStorageAccount, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerUsersyncEnabled = (bool?) content.GetValueForProperty("RangerUsersyncEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerUsersyncEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RangerUsersyncGroup")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerUsersyncGroup = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncGroup",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerUsersyncGroup, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerUsersyncUserMappingLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerUsersyncUserMappingLocation = (string) content.GetValueForProperty("RangerUsersyncUserMappingLocation",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerUsersyncUserMappingLocation, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncUser")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerUsersyncUser = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncUser",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).RangerUsersyncUser, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("DatabaseHost")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).DatabaseHost = (string) content.GetValueForProperty("DatabaseHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).DatabaseHost, global::System.Convert.ToString); + } + if (content.Contains("DatabaseName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).DatabaseName, global::System.Convert.ToString); + } + if (content.Contains("DatabasePasswordSecretRef")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).DatabasePasswordSecretRef = (string) content.GetValueForProperty("DatabasePasswordSecretRef",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).DatabasePasswordSecretRef, global::System.Convert.ToString); + } + if (content.Contains("DatabaseUsername")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).DatabaseUsername = (string) content.GetValueForProperty("DatabaseUsername",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal)this).DatabaseUsername, global::System.Convert.ToString); + } AfterDeserializePSObject(content); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatch.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatch.cs index fa3ddf2758a0..f8d905e15b05 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatch.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatch.cs @@ -10,14 +10,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models /// The patch for a cluster. public partial class ClusterPatch : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatch, - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal, - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IValidates + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal { - /// - /// Backing field for Inherited model - /// - private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResource __trackedResource = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrackedResource(); /// True if stderror is enabled, otherwise false. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] @@ -61,11 +55,21 @@ public partial class ClusterPatch : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public System.Collections.Generic.List ClusterProfileServiceConfigsProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).ClusterProfileServiceConfigsProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).ClusterProfileServiceConfigsProfile = value ?? null /* arrayOf */; } - /// - /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" - /// - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] - public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).Id; } + /// The database URL + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseHost { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).DatabaseHost; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).DatabaseHost = value ?? null; } + + /// The database name + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseName { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).DatabaseName; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).DatabaseName = value ?? null; } + + /// Reference for the database password + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabasePasswordSecretRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).DatabasePasswordSecretRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).DatabasePasswordSecretRef = value ?? null; } + + /// The name of the database user + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseUsername { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).DatabaseUsername; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).DatabaseUsername = value ?? null; } /// /// This is a cool down period, this is a time period in seconds, which determines the amount of time that must elapse between @@ -100,10 +104,6 @@ public partial class ClusterPatch : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public System.Collections.Generic.List LoadBasedConfigScalingRule { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).LoadBasedConfigScalingRule; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).LoadBasedConfigScalingRule = value ?? null /* arrayOf */; } - /// The geo-location where the resource lives - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceInternal)__trackedResource).Location = value ; } - /// True if log analytics is enabled for the cluster, otherwise false. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public bool? LogAnalyticProfileEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).LogAnalyticProfileEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).LogAnalyticProfileEnabled = value ?? default(bool); } @@ -133,6 +133,12 @@ public partial class ClusterPatch : /// Internal Acessors for ClusterProfilePrometheusProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal.ClusterProfilePrometheusProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).ClusterProfilePrometheusProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).ClusterProfilePrometheusProfile = value; } + /// Internal Acessors for ClusterProfileRangerPluginProfile + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal.ClusterProfileRangerPluginProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).ClusterProfileRangerPluginProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).ClusterProfileRangerPluginProfile = value; } + + /// Internal Acessors for ClusterProfileRangerProfile + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal.ClusterProfileRangerProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).ClusterProfileRangerProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).ClusterProfileRangerProfile = value; } + /// Internal Acessors for ClusterProfileSshProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISshProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal.ClusterProfileSshProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).ClusterProfileSshProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).ClusterProfileSshProfile = value; } @@ -142,24 +148,20 @@ public partial class ClusterPatch : /// Internal Acessors for Property Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchProperties Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchProperties()); set { {_property = value;} } } - /// Internal Acessors for SshProfilePodPrefix - string Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal.SshProfilePodPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).SshProfilePodPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).SshProfilePodPrefix = value; } - - /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).Id = value; } + /// Internal Acessors for RangerAdminDatabase + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal.RangerAdminDatabase { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerAdminDatabase; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerAdminDatabase = value; } - /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).Name = value; } + /// Internal Acessors for RangerProfileRangerAdmin + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal.RangerProfileRangerAdmin { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerProfileRangerAdmin; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerProfileRangerAdmin = value; } - /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).SystemData = value; } + /// Internal Acessors for RangerProfileRangerAudit + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal.RangerProfileRangerAudit { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerProfileRangerAudit; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerProfileRangerAudit = value; } - /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).Type = value; } + /// Internal Acessors for RangerProfileRangerUsersync + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal.RangerProfileRangerUsersync { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerProfileRangerUsersync; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerProfileRangerUsersync = value; } - /// The name of the resource - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).Name; } + /// Internal Acessors for SshProfilePodPrefix + string Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchInternal.SshProfilePodPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).SshProfilePodPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).SshProfilePodPrefix = value; } /// Enable Prometheus for cluster or not. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] @@ -172,6 +174,49 @@ public partial class ClusterPatch : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchProperties()); set => this._property = value; } + /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerAdmin { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerAdmin; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerAdmin = value ?? null /* arrayOf */; } + + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerAuditStorageAccount { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerAuditStorageAccount; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerAuditStorageAccount = value ?? null; } + + /// Enable Ranger for cluster or not. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? RangerPluginProfileEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerPluginProfileEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerPluginProfileEnabled = value ?? default(bool); } + + /// Denotes whether usersync service should be enabled + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? RangerUsersyncEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerUsersyncEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerUsersyncEnabled = value ?? default(bool); } + + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerUsersyncGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerUsersyncGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerUsersyncGroup = value ?? null /* arrayOf */; } + + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerUsersyncMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerUsersyncMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerUsersyncMode = value ?? null; } + + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerUsersyncUser { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerUsersyncUser; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerUsersyncUser = value ?? null /* arrayOf */; } + + /// Azure storage location of a mapping file that lists user & group associations. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerUsersyncUserMappingLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerUsersyncUserMappingLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).RangerUsersyncUserMappingLocation = value ?? null; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) @@ -203,68 +248,22 @@ public partial class ClusterPatch : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public string SshProfilePodPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)Property).SshProfilePodPrefix; } - /// - /// Azure Resource Manager metadata containing createdBy and modifiedBy information. - /// - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] - internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).SystemData; } - - /// The timestamp of resource creation (UTC). - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } - - /// The identity that created the resource. - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] - public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).SystemDataCreatedBy = value ?? null; } - - /// The type of identity that created the resource. - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] - public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).SystemDataCreatedByType = value ?? null; } - - /// The timestamp of resource last modification (UTC) - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] - public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } - - /// The identity that last modified the resource. - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedBy = value ?? null; } - - /// The type of identity that last modified the resource. - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] - public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).SystemDataLastModifiedByType = value ?? null; } + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags _tag; /// Resource tags. - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceInternal)__trackedResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceInternal)__trackedResource).Tag = value ?? null /* model class */; } - - /// - /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" - /// - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] - public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).Type; } + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchTags()); set => this._tag = value; } /// Creates an new instance. public ClusterPatch() { } - - /// Validates that this object meets the validation criteria. - /// an instance that will receive validation - /// events. - /// - /// A that will be complete when validation is completed. - /// - public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) - { - await eventListener.AssertNotNull(nameof(__trackedResource), __trackedResource); - await eventListener.AssertObjectIsValid(nameof(__trackedResource), __trackedResource); - } } /// The patch for a cluster. public partial interface IClusterPatch : - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResource + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable { /// True if stderror is enabled, otherwise false. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( @@ -372,6 +371,50 @@ public partial interface IClusterPatch : SerializedName = @"serviceConfigsProfiles", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile) })] System.Collections.Generic.List ClusterProfileServiceConfigsProfile { get; set; } + /// The database URL + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The database URL", + SerializedName = @"host", + PossibleTypes = new [] { typeof(string) })] + string DatabaseHost { get; set; } + /// The database name + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The database name", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + string DatabaseName { get; set; } + /// Reference for the database password + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Reference for the database password", + SerializedName = @"passwordSecretRef", + PossibleTypes = new [] { typeof(string) })] + string DatabasePasswordSecretRef { get; set; } + /// The name of the database user + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The name of the database user", + SerializedName = @"username", + PossibleTypes = new [] { typeof(string) })] + string DatabaseUsername { get; set; } /// /// 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 @@ -474,6 +517,106 @@ public partial interface IClusterPatch : PossibleTypes = new [] { typeof(bool) })] bool? PrometheuProfileEnabled { get; set; } /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.", + SerializedName = @"admins", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerAdmin { get; set; } + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Azure storage location of the blobs. MSI should have read/write access to this Storage account.", + SerializedName = @"storageAccount", + PossibleTypes = new [] { typeof(string) })] + string RangerAuditStorageAccount { get; set; } + /// Enable Ranger for cluster or not. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Enable Ranger for cluster or not.", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(bool) })] + bool? RangerPluginProfileEnabled { get; set; } + /// Denotes whether usersync service should be enabled + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Denotes whether usersync service should be enabled", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(bool) })] + bool? RangerUsersyncEnabled { get; set; } + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of groups that should be synced. These group names should match the object id of the respective AAD groups.", + SerializedName = @"groups", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerUsersyncGroup { get; set; } + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"User & groups can be synced automatically or via a static list that's refreshed.", + SerializedName = @"mode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + string RangerUsersyncMode { get; set; } + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.", + SerializedName = @"users", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerUsersyncUser { get; set; } + /// Azure storage location of a mapping file that lists user & group associations. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Azure storage location of a mapping file that lists user & group associations.", + SerializedName = @"userMappingLocation", + PossibleTypes = new [] { typeof(string) })] + string RangerUsersyncUserMappingLocation { get; set; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) /// @@ -539,11 +682,22 @@ public partial interface IClusterPatch : SerializedName = @"podPrefix", PossibleTypes = new [] { typeof(string) })] string SshProfilePodPrefix { get; } + /// Resource tags. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Resource tags.", + SerializedName = @"tags", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags) })] + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags Tag { get; set; } } /// The patch for a cluster. - internal partial interface IClusterPatchInternal : - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceInternal + internal partial interface IClusterPatchInternal + { /// True if stderror is enabled, otherwise false. bool? ApplicationLogStdErrorEnabled { get; set; } @@ -584,12 +738,24 @@ internal partial interface IClusterPatchInternal : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsProfile ClusterProfileLogAnalyticsProfile { get; set; } /// Cluster Prometheus profile. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile ClusterProfilePrometheusProfile { get; set; } + /// Cluster Ranger plugin profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile ClusterProfileRangerPluginProfile { get; set; } + /// The ranger cluster profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile ClusterProfileRangerProfile { get; set; } /// The script action profile list. System.Collections.Generic.List ClusterProfileScriptActionProfile { get; set; } /// The service configs profiles. System.Collections.Generic.List ClusterProfileServiceConfigsProfile { get; set; } /// Ssh profile for the cluster. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISshProfile ClusterProfileSshProfile { get; set; } + /// The database URL + string DatabaseHost { get; set; } + /// The database name + string DatabaseName { get; set; } + /// Reference for the database password + string DatabasePasswordSecretRef { get; set; } + /// The name of the database user + string DatabaseUsername { get; set; } /// /// 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 @@ -624,6 +790,42 @@ internal partial interface IClusterPatchInternal : /// Define cluster patch specific properties. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchProperties Property { get; set; } /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + System.Collections.Generic.List RangerAdmin { get; set; } + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase RangerAdminDatabase { get; set; } + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + string RangerAuditStorageAccount { get; set; } + /// Enable Ranger for cluster or not. + bool? RangerPluginProfileEnabled { get; set; } + /// Specification for the Ranger Admin service. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec RangerProfileRangerAdmin { get; set; } + /// Properties required to describe audit log storage. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec RangerProfileRangerAudit { get; set; } + /// Specification for the Ranger Usersync service + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec RangerProfileRangerUsersync { get; set; } + /// Denotes whether usersync service should be enabled + bool? RangerUsersyncEnabled { get; set; } + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + System.Collections.Generic.List RangerUsersyncGroup { get; set; } + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + string RangerUsersyncMode { get; set; } + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + System.Collections.Generic.List RangerUsersyncUser { get; set; } + /// Azure storage location of a mapping file that lists user & group associations. + string RangerUsersyncUserMappingLocation { get; set; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) /// @@ -644,6 +846,8 @@ internal partial interface IClusterPatchInternal : /// //- /// string SshProfilePodPrefix { get; set; } + /// Resource tags. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags Tag { get; set; } } } \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatch.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatch.json.cs index ab9485ddcb15..2b8908d9c6e0 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatch.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatch.json.cs @@ -65,8 +65,8 @@ internal ClusterPatch(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime. { return; } - __trackedResource = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrackedResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchProperties.FromJson(__jsonProperties) : _property;} + {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchTags.FromJson(__jsonTags) : _tag;} AfterFromJson(json); } @@ -101,8 +101,8 @@ public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode T { return container; } - __trackedResource?.ToJson(container, serializationMode); AddIf( null != this._property ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._property.ToJson(null,serializationMode) : null, "properties" ,container.Add ); + AddIf( null != this._tag ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._tag.ToJson(null,serializationMode) : null, "tags" ,container.Add ); AfterToJson(ref container); return container; } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchProperties.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchProperties.PowerShell.cs index a73d4f3c6432..8ee636e6ddf3 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchProperties.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchProperties.PowerShell.cs @@ -92,6 +92,10 @@ internal ClusterPatchProperties(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfileAuthorizationProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IAuthorizationProfile) content.GetValueForProperty("ClusterProfileAuthorizationProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfileAuthorizationProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AuthorizationProfileTypeConverter.ConvertFrom); } + if (content.Contains("ClusterProfileRangerProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfileRangerProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile) content.GetValueForProperty("ClusterProfileRangerProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfileRangerProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerProfileTypeConverter.ConvertFrom); + } if (content.Contains("ClusterProfileLogAnalyticsProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfileLogAnalyticsProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsProfile) content.GetValueForProperty("ClusterProfileLogAnalyticsProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfileLogAnalyticsProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsProfileTypeConverter.ConvertFrom); @@ -100,6 +104,10 @@ internal ClusterPatchProperties(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfilePrometheusProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile) content.GetValueForProperty("ClusterProfilePrometheusProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfilePrometheusProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfileTypeConverter.ConvertFrom); } + if (content.Contains("ClusterProfileRangerPluginProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfileRangerPluginProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile) content.GetValueForProperty("ClusterProfileRangerPluginProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfileRangerPluginProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfileTypeConverter.ConvertFrom); + } if (content.Contains("ClusterProfileServiceConfigsProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfileServiceConfigsProfile = (System.Collections.Generic.List) content.GetValueForProperty("ClusterProfileServiceConfigsProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfileServiceConfigsProfile, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterServiceConfigsProfileTypeConverter.ConvertFrom)); @@ -192,6 +200,26 @@ internal ClusterPatchProperties(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).PrometheuProfileEnabled = (bool) content.GetValueForProperty("PrometheuProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).PrometheuProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("RangerPluginProfileEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerPluginProfileEnabled = (bool) content.GetValueForProperty("RangerPluginProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerPluginProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RangerProfileRangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerProfileRangerAdmin = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec) content.GetValueForProperty("RangerProfileRangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerProfileRangerAdmin, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerAudit")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerProfileRangerAudit = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec) content.GetValueForProperty("RangerProfileRangerAudit",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerProfileRangerAudit, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAuditSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerUsersync")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerProfileRangerUsersync = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec) content.GetValueForProperty("RangerProfileRangerUsersync",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerProfileRangerUsersync, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerUsersyncSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerUsersyncMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerUsersyncMode = (string) content.GetValueForProperty("RangerUsersyncMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerUsersyncMode, global::System.Convert.ToString); + } if (content.Contains("ApplicationLogStdOutEnabled")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ApplicationLogStdOutEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdOutEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ApplicationLogStdOutEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); @@ -200,6 +228,50 @@ internal ClusterPatchProperties(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ApplicationLogStdErrorEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdErrorEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ApplicationLogStdErrorEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("RangerAdminDatabase")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerAdminDatabase = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase) content.GetValueForProperty("RangerAdminDatabase",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerAdminDatabase, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabaseTypeConverter.ConvertFrom); + } + if (content.Contains("RangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerAdmin = (System.Collections.Generic.List) content.GetValueForProperty("RangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerAdmin, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerAuditStorageAccount")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerAuditStorageAccount = (string) content.GetValueForProperty("RangerAuditStorageAccount",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerAuditStorageAccount, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerUsersyncEnabled = (bool?) content.GetValueForProperty("RangerUsersyncEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerUsersyncEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RangerUsersyncGroup")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerUsersyncGroup = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncGroup",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerUsersyncGroup, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerUsersyncUserMappingLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerUsersyncUserMappingLocation = (string) content.GetValueForProperty("RangerUsersyncUserMappingLocation",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerUsersyncUserMappingLocation, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncUser")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerUsersyncUser = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncUser",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerUsersyncUser, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("DatabaseHost")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).DatabaseHost = (string) content.GetValueForProperty("DatabaseHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).DatabaseHost, global::System.Convert.ToString); + } + if (content.Contains("DatabaseName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).DatabaseName, global::System.Convert.ToString); + } + if (content.Contains("DatabasePasswordSecretRef")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).DatabasePasswordSecretRef = (string) content.GetValueForProperty("DatabasePasswordSecretRef",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).DatabasePasswordSecretRef, global::System.Convert.ToString); + } + if (content.Contains("DatabaseUsername")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).DatabaseUsername = (string) content.GetValueForProperty("DatabaseUsername",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).DatabaseUsername, global::System.Convert.ToString); + } AfterDeserializeDictionary(content); } @@ -233,6 +305,10 @@ internal ClusterPatchProperties(global::System.Management.Automation.PSObject co { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfileAuthorizationProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IAuthorizationProfile) content.GetValueForProperty("ClusterProfileAuthorizationProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfileAuthorizationProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AuthorizationProfileTypeConverter.ConvertFrom); } + if (content.Contains("ClusterProfileRangerProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfileRangerProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile) content.GetValueForProperty("ClusterProfileRangerProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfileRangerProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerProfileTypeConverter.ConvertFrom); + } if (content.Contains("ClusterProfileLogAnalyticsProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfileLogAnalyticsProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsProfile) content.GetValueForProperty("ClusterProfileLogAnalyticsProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfileLogAnalyticsProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsProfileTypeConverter.ConvertFrom); @@ -241,6 +317,10 @@ internal ClusterPatchProperties(global::System.Management.Automation.PSObject co { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfilePrometheusProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile) content.GetValueForProperty("ClusterProfilePrometheusProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfilePrometheusProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfileTypeConverter.ConvertFrom); } + if (content.Contains("ClusterProfileRangerPluginProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfileRangerPluginProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile) content.GetValueForProperty("ClusterProfileRangerPluginProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfileRangerPluginProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfileTypeConverter.ConvertFrom); + } if (content.Contains("ClusterProfileServiceConfigsProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfileServiceConfigsProfile = (System.Collections.Generic.List) content.GetValueForProperty("ClusterProfileServiceConfigsProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ClusterProfileServiceConfigsProfile, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterServiceConfigsProfileTypeConverter.ConvertFrom)); @@ -333,6 +413,26 @@ internal ClusterPatchProperties(global::System.Management.Automation.PSObject co { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).PrometheuProfileEnabled = (bool) content.GetValueForProperty("PrometheuProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).PrometheuProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("RangerPluginProfileEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerPluginProfileEnabled = (bool) content.GetValueForProperty("RangerPluginProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerPluginProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RangerProfileRangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerProfileRangerAdmin = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec) content.GetValueForProperty("RangerProfileRangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerProfileRangerAdmin, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerAudit")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerProfileRangerAudit = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec) content.GetValueForProperty("RangerProfileRangerAudit",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerProfileRangerAudit, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAuditSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerUsersync")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerProfileRangerUsersync = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec) content.GetValueForProperty("RangerProfileRangerUsersync",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerProfileRangerUsersync, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerUsersyncSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerUsersyncMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerUsersyncMode = (string) content.GetValueForProperty("RangerUsersyncMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerUsersyncMode, global::System.Convert.ToString); + } if (content.Contains("ApplicationLogStdOutEnabled")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ApplicationLogStdOutEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdOutEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ApplicationLogStdOutEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); @@ -341,6 +441,50 @@ internal ClusterPatchProperties(global::System.Management.Automation.PSObject co { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ApplicationLogStdErrorEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdErrorEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).ApplicationLogStdErrorEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("RangerAdminDatabase")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerAdminDatabase = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase) content.GetValueForProperty("RangerAdminDatabase",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerAdminDatabase, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabaseTypeConverter.ConvertFrom); + } + if (content.Contains("RangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerAdmin = (System.Collections.Generic.List) content.GetValueForProperty("RangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerAdmin, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerAuditStorageAccount")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerAuditStorageAccount = (string) content.GetValueForProperty("RangerAuditStorageAccount",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerAuditStorageAccount, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerUsersyncEnabled = (bool?) content.GetValueForProperty("RangerUsersyncEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerUsersyncEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RangerUsersyncGroup")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerUsersyncGroup = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncGroup",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerUsersyncGroup, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerUsersyncUserMappingLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerUsersyncUserMappingLocation = (string) content.GetValueForProperty("RangerUsersyncUserMappingLocation",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerUsersyncUserMappingLocation, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncUser")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerUsersyncUser = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncUser",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).RangerUsersyncUser, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("DatabaseHost")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).DatabaseHost = (string) content.GetValueForProperty("DatabaseHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).DatabaseHost, global::System.Convert.ToString); + } + if (content.Contains("DatabaseName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).DatabaseName, global::System.Convert.ToString); + } + if (content.Contains("DatabasePasswordSecretRef")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).DatabasePasswordSecretRef = (string) content.GetValueForProperty("DatabasePasswordSecretRef",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).DatabasePasswordSecretRef, global::System.Convert.ToString); + } + if (content.Contains("DatabaseUsername")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).DatabaseUsername = (string) content.GetValueForProperty("DatabaseUsername",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal)this).DatabaseUsername, global::System.Convert.ToString); + } AfterDeserializePSObject(content); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchProperties.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchProperties.cs index 4dc911514746..63645db74fbd 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchProperties.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchProperties.cs @@ -62,6 +62,22 @@ public partial class ClusterPatchProperties : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public System.Collections.Generic.List ClusterProfileServiceConfigsProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).ServiceConfigsProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).ServiceConfigsProfile = value ?? null /* arrayOf */; } + /// The database URL + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseHost { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).DatabaseHost; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).DatabaseHost = value ?? null; } + + /// The database name + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseName { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).DatabaseName; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).DatabaseName = value ?? null; } + + /// Reference for the database password + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabasePasswordSecretRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).DatabasePasswordSecretRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).DatabasePasswordSecretRef = value ?? null; } + + /// The name of the database user + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseUsername { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).DatabaseUsername; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).DatabaseUsername = value ?? null; } + /// /// 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 @@ -124,12 +140,30 @@ public partial class ClusterPatchProperties : /// Internal Acessors for ClusterProfilePrometheusProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal.ClusterProfilePrometheusProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).PrometheusProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).PrometheusProfile = value; } + /// Internal Acessors for ClusterProfileRangerPluginProfile + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal.ClusterProfileRangerPluginProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerPluginProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerPluginProfile = value; } + + /// Internal Acessors for ClusterProfileRangerProfile + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal.ClusterProfileRangerProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerProfile = value; } + /// Internal Acessors for ClusterProfileSshProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISshProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal.ClusterProfileSshProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).SshProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).SshProfile = value; } /// Internal Acessors for LogAnalyticProfileApplicationLog Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsApplicationLogs Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal.LogAnalyticProfileApplicationLog { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).LogAnalyticProfileApplicationLog; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).LogAnalyticProfileApplicationLog = value; } + /// Internal Acessors for RangerAdminDatabase + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal.RangerAdminDatabase { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerAdminDatabase; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerAdminDatabase = value; } + + /// Internal Acessors for RangerProfileRangerAdmin + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal.RangerProfileRangerAdmin { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerProfileRangerAdmin; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerProfileRangerAdmin = value; } + + /// Internal Acessors for RangerProfileRangerAudit + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal.RangerProfileRangerAudit { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerProfileRangerAudit; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerProfileRangerAudit = value; } + + /// Internal Acessors for RangerProfileRangerUsersync + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal.RangerProfileRangerUsersync { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerProfileRangerUsersync; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerProfileRangerUsersync = value; } + /// Internal Acessors for SshProfilePodPrefix string Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchPropertiesInternal.SshProfilePodPrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).SshProfilePodPrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).SshProfilePodPrefix = value; } @@ -137,6 +171,49 @@ public partial class ClusterPatchProperties : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public bool? PrometheuProfileEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).PrometheuProfileEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).PrometheuProfileEnabled = value ?? default(bool); } + /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerAdmin { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerAdmin; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerAdmin = value ?? null /* arrayOf */; } + + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerAuditStorageAccount { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerAuditStorageAccount; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerAuditStorageAccount = value ?? null; } + + /// Enable Ranger for cluster or not. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? RangerPluginProfileEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerPluginProfileEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerPluginProfileEnabled = value ?? default(bool); } + + /// Denotes whether usersync service should be enabled + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? RangerUsersyncEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerUsersyncEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerUsersyncEnabled = value ?? default(bool); } + + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerUsersyncGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerUsersyncGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerUsersyncGroup = value ?? null /* arrayOf */; } + + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerUsersyncMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerUsersyncMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerUsersyncMode = value ?? null; } + + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerUsersyncUser { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerUsersyncUser; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerUsersyncUser = value ?? null /* arrayOf */; } + + /// Azure storage location of a mapping file that lists user & group associations. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerUsersyncUserMappingLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerUsersyncUserMappingLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)ClusterProfile).RangerUsersyncUserMappingLocation = value ?? null; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) @@ -284,6 +361,50 @@ public partial interface IClusterPatchProperties : SerializedName = @"serviceConfigsProfiles", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile) })] System.Collections.Generic.List ClusterProfileServiceConfigsProfile { get; set; } + /// The database URL + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The database URL", + SerializedName = @"host", + PossibleTypes = new [] { typeof(string) })] + string DatabaseHost { get; set; } + /// The database name + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The database name", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + string DatabaseName { get; set; } + /// Reference for the database password + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Reference for the database password", + SerializedName = @"passwordSecretRef", + PossibleTypes = new [] { typeof(string) })] + string DatabasePasswordSecretRef { get; set; } + /// The name of the database user + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The name of the database user", + SerializedName = @"username", + PossibleTypes = new [] { typeof(string) })] + string DatabaseUsername { get; set; } /// /// 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 @@ -386,6 +507,106 @@ public partial interface IClusterPatchProperties : PossibleTypes = new [] { typeof(bool) })] bool? PrometheuProfileEnabled { get; set; } /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.", + SerializedName = @"admins", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerAdmin { get; set; } + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Azure storage location of the blobs. MSI should have read/write access to this Storage account.", + SerializedName = @"storageAccount", + PossibleTypes = new [] { typeof(string) })] + string RangerAuditStorageAccount { get; set; } + /// Enable Ranger for cluster or not. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Enable Ranger for cluster or not.", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(bool) })] + bool? RangerPluginProfileEnabled { get; set; } + /// Denotes whether usersync service should be enabled + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Denotes whether usersync service should be enabled", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(bool) })] + bool? RangerUsersyncEnabled { get; set; } + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of groups that should be synced. These group names should match the object id of the respective AAD groups.", + SerializedName = @"groups", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerUsersyncGroup { get; set; } + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"User & groups can be synced automatically or via a static list that's refreshed.", + SerializedName = @"mode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + string RangerUsersyncMode { get; set; } + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.", + SerializedName = @"users", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerUsersyncUser { get; set; } + /// Azure storage location of a mapping file that lists user & group associations. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Azure storage location of a mapping file that lists user & group associations.", + SerializedName = @"userMappingLocation", + PossibleTypes = new [] { typeof(string) })] + string RangerUsersyncUserMappingLocation { get; set; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) /// @@ -496,12 +717,24 @@ internal partial interface IClusterPatchPropertiesInternal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsProfile ClusterProfileLogAnalyticsProfile { get; set; } /// Cluster Prometheus profile. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile ClusterProfilePrometheusProfile { get; set; } + /// Cluster Ranger plugin profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile ClusterProfileRangerPluginProfile { get; set; } + /// The ranger cluster profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile ClusterProfileRangerProfile { get; set; } /// The script action profile list. System.Collections.Generic.List ClusterProfileScriptActionProfile { get; set; } /// The service configs profiles. System.Collections.Generic.List ClusterProfileServiceConfigsProfile { get; set; } /// Ssh profile for the cluster. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISshProfile ClusterProfileSshProfile { get; set; } + /// The database URL + string DatabaseHost { get; set; } + /// The database name + string DatabaseName { get; set; } + /// Reference for the database password + string DatabasePasswordSecretRef { get; set; } + /// The name of the database user + string DatabaseUsername { get; set; } /// /// 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 @@ -534,6 +767,42 @@ internal partial interface IClusterPatchPropertiesInternal /// Enable Prometheus for cluster or not. bool? PrometheuProfileEnabled { get; set; } /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + System.Collections.Generic.List RangerAdmin { get; set; } + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase RangerAdminDatabase { get; set; } + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + string RangerAuditStorageAccount { get; set; } + /// Enable Ranger for cluster or not. + bool? RangerPluginProfileEnabled { get; set; } + /// Specification for the Ranger Admin service. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec RangerProfileRangerAdmin { get; set; } + /// Properties required to describe audit log storage. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec RangerProfileRangerAudit { get; set; } + /// Specification for the Ranger Usersync service + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec RangerProfileRangerUsersync { get; set; } + /// Denotes whether usersync service should be enabled + bool? RangerUsersyncEnabled { get; set; } + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + System.Collections.Generic.List RangerUsersyncGroup { get; set; } + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + string RangerUsersyncMode { get; set; } + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + System.Collections.Generic.List RangerUsersyncUser { get; set; } + /// Azure storage location of a mapping file that lists user & group associations. + string RangerUsersyncUserMappingLocation { get; set; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchProperties.json.cs index b7439e23b8ba..843c2556d304 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchProperties.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchProperties.json.cs @@ -65,7 +65,7 @@ internal ClusterPatchProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAk { return; } - {_clusterProfile = If( json?.PropertyT("clusterProfile"), out var __jsonClusterProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.UpdatableClusterProfile.FromJson(__jsonClusterProfile) : ClusterProfile;} + {_clusterProfile = If( json?.PropertyT("clusterProfile"), out var __jsonClusterProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.UpdatableClusterProfile.FromJson(__jsonClusterProfile) : _clusterProfile;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfileKafkaProfile.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchTags.PowerShell.cs similarity index 79% rename from src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfileKafkaProfile.PowerShell.cs rename to src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchTags.PowerShell.cs index 7f6f7451f8a6..3ef32f6daebf 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfileKafkaProfile.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchTags.PowerShell.cs @@ -7,9 +7,9 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models { using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; - /// Kafka cluster profile. - [System.ComponentModel.TypeConverter(typeof(ClusterProfileKafkaProfileTypeConverter))] - public partial class ClusterProfileKafkaProfile + /// Resource tags. + [System.ComponentModel.TypeConverter(typeof(ClusterPatchTagsTypeConverter))] + public partial class ClusterPatchTags { /// @@ -63,11 +63,11 @@ public partial class ClusterProfileKafkaProfile partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. - internal ClusterProfileKafkaProfile(global::System.Collections.IDictionary content) + internal ClusterPatchTags(global::System.Collections.IDictionary content) { bool returnNow = false; BeforeDeserializeDictionary(content, ref returnNow); @@ -82,11 +82,11 @@ internal ClusterProfileKafkaProfile(global::System.Collections.IDictionary conte } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. - internal ClusterProfileKafkaProfile(global::System.Management.Automation.PSObject content) + internal ClusterPatchTags(global::System.Management.Automation.PSObject content) { bool returnNow = false; BeforeDeserializePSObject(content, ref returnNow); @@ -101,37 +101,37 @@ internal ClusterProfileKafkaProfile(global::System.Management.Automation.PSObjec } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags DeserializeFromDictionary(global::System.Collections.IDictionary content) { - return new ClusterProfileKafkaProfile(content); + return new ClusterPatchTags(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { - return new ClusterProfileKafkaProfile(content); + return new ClusterPatchTags(content); } /// - /// Creates a new instance of , deserializing the content from a json string. + /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -150,9 +150,9 @@ public override string ToString() return ToJsonString(); } } - /// Kafka cluster profile. - [System.ComponentModel.TypeConverter(typeof(ClusterProfileKafkaProfileTypeConverter))] - public partial interface IClusterProfileKafkaProfile + /// Resource tags. + [System.ComponentModel.TypeConverter(typeof(ClusterPatchTagsTypeConverter))] + public partial interface IClusterPatchTags { diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchTags.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchTags.TypeConverter.cs new file mode 100644 index 000000000000..f2024051cbca --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchTags.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ClusterPatchTagsTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ClusterPatchTags.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ClusterPatchTags.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ClusterPatchTags.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfileKafkaProfile.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchTags.cs similarity index 59% rename from src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfileKafkaProfile.cs rename to src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchTags.cs index 1c674a6ca6d9..e76e638fe065 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfileKafkaProfile.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchTags.cs @@ -7,27 +7,27 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models { using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; - /// Kafka cluster profile. - public partial class ClusterProfileKafkaProfile : - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile, - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfileInternal + /// Resource tags. + public partial class ClusterPatchTags : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTagsInternal { - /// Creates an new instance. - public ClusterProfileKafkaProfile() + /// Creates an new instance. + public ClusterPatchTags() { } } - /// Kafka cluster profile. - public partial interface IClusterProfileKafkaProfile : + /// Resource tags. + public partial interface IClusterPatchTags : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IAssociativeArray + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IAssociativeArray { } - /// Kafka cluster profile. - internal partial interface IClusterProfileKafkaProfileInternal + /// Resource tags. + internal partial interface IClusterPatchTagsInternal { diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfileKafkaProfile.dictionary.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchTags.dictionary.cs similarity index 64% rename from src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfileKafkaProfile.dictionary.cs rename to src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchTags.dictionary.cs index 5ea070647164..f29a2da6d23d 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfileKafkaProfile.dictionary.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchTags.dictionary.cs @@ -7,24 +7,24 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models { using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; - public partial class ClusterProfileKafkaProfile : - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IAssociativeArray + public partial class ClusterPatchTags : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IAssociativeArray { - protected global::System.Collections.Generic.Dictionary __additionalProperties = new global::System.Collections.Generic.Dictionary(); + protected global::System.Collections.Generic.Dictionary __additionalProperties = new global::System.Collections.Generic.Dictionary(); - global::System.Collections.Generic.IDictionary Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IAssociativeArray.AdditionalProperties { get => __additionalProperties; } + global::System.Collections.Generic.IDictionary Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IAssociativeArray.AdditionalProperties { get => __additionalProperties; } - int Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IAssociativeArray.Count { get => __additionalProperties.Count; } + int Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IAssociativeArray.Count { get => __additionalProperties.Count; } - global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IAssociativeArray.Keys { get => __additionalProperties.Keys; } + global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IAssociativeArray.Keys { get => __additionalProperties.Keys; } - global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IAssociativeArray.Values { get => __additionalProperties.Values; } + global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IAssociativeArray.Values { get => __additionalProperties.Values; } - public global::System.Object this[global::System.String index] { get => __additionalProperties[index]; set => __additionalProperties[index] = value; } + public string this[global::System.String index] { get => __additionalProperties[index]; set => __additionalProperties[index] = value; } /// /// - public void Add(global::System.String key, global::System.Object value) => __additionalProperties.Add( key, value); + public void Add(global::System.String key, string value) => __additionalProperties.Add( key, value); public void Clear() => __additionalProperties.Clear(); @@ -40,7 +40,7 @@ public void CopyFrom(global::System.Collections.IDictionary source) { if ((null != property.Key && null != property.Value)) { - this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value)); + this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value)); } } } @@ -55,7 +55,7 @@ public void CopyFrom(global::System.Management.Automation.PSObject source) { if ((null != property.Key && null != property.Value)) { - this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value)); + this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value)); } } } @@ -66,10 +66,10 @@ public void CopyFrom(global::System.Management.Automation.PSObject source) /// /// - public bool TryGetValue(global::System.String key, out global::System.Object value) => __additionalProperties.TryGetValue( key, out value); + public bool TryGetValue(global::System.String key, out string value) => __additionalProperties.TryGetValue( key, out value); /// - public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfileKafkaProfile source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPatchTags source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfileKafkaProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchTags.json.cs similarity index 81% rename from src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfileKafkaProfile.json.cs rename to src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchTags.json.cs index 740af1e8d746..41563a05f489 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfileKafkaProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPatchTags.json.cs @@ -7,8 +7,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models { using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; - /// Kafka cluster profile. - public partial class ClusterProfileKafkaProfile + /// Resource tags. + public partial class ClusterPatchTags { /// @@ -54,11 +54,11 @@ public partial class ClusterProfileKafkaProfile partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . /// /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. /// - internal ClusterProfileKafkaProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, global::System.Collections.Generic.HashSet exclusions = null) + internal ClusterPatchTags(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, global::System.Collections.Generic.HashSet exclusions = null) { bool returnNow = false; BeforeFromJson(json, ref returnNow); @@ -66,30 +66,30 @@ internal ClusterProfileKafkaProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsight { return; } - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.JsonSerializable.FromJson( json, ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IAssociativeArray)this).AdditionalProperties, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.JsonSerializable.DeserializeDictionary(()=>new global::System.Collections.Generic.Dictionary()),exclusions ); + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.JsonSerializable.FromJson( json, ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IAssociativeArray)this).AdditionalProperties, null ,exclusions ); AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags. /// - public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) { - return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new ClusterProfileKafkaProfile(json) : null; + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new ClusterPatchTags(json) : null; } /// - /// Serializes this instance of into a . + /// Serializes this instance of into a . /// /// The container to serialize this object into. If the caller /// passes in null, a new instance will be created and returned to the caller. /// Allows the caller to choose the depth of the serialization. See . /// - /// a serialized instance of as a . + /// a serialized instance of as a . /// public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) { @@ -101,7 +101,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode T { return container; } - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.JsonSerializable.ToJson( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IAssociativeArray)this).AdditionalProperties, container); + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.JsonSerializable.ToJson( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IAssociativeArray)this).AdditionalProperties, container); AfterToJson(ref container); return container; } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPool.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPool.PowerShell.cs index 1f99ee818c4e..d61e6eba4afd 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPool.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPool.PowerShell.cs @@ -172,6 +172,10 @@ internal ClusterPool(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).AkClusterProfileAksVersion = (string) content.GetValueForProperty("AkClusterProfileAksVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).AkClusterProfileAksVersion, global::System.Convert.ToString); } + if (content.Contains("NetworkProfileOutboundType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).NetworkProfileOutboundType = (string) content.GetValueForProperty("NetworkProfileOutboundType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).NetworkProfileOutboundType, global::System.Convert.ToString); + } if (content.Contains("ProfileClusterPoolVersion")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).ProfileClusterPoolVersion = (string) content.GetValueForProperty("ProfileClusterPoolVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).ProfileClusterPoolVersion, global::System.Convert.ToString); @@ -196,6 +200,14 @@ internal ClusterPool(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).NetworkProfileSubnetId = (string) content.GetValueForProperty("NetworkProfileSubnetId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).NetworkProfileSubnetId, global::System.Convert.ToString); } + if (content.Contains("NetworkProfileEnablePrivateApiServer")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).NetworkProfileEnablePrivateApiServer = (bool?) content.GetValueForProperty("NetworkProfileEnablePrivateApiServer",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).NetworkProfileEnablePrivateApiServer, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("NetworkProfileApiServerAuthorizedIPRange")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).NetworkProfileApiServerAuthorizedIPRange = (System.Collections.Generic.List) content.GetValueForProperty("NetworkProfileApiServerAuthorizedIPRange",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).NetworkProfileApiServerAuthorizedIPRange, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } if (content.Contains("LogAnalyticProfileEnabled")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).LogAnalyticProfileEnabled = (bool) content.GetValueForProperty("LogAnalyticProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).LogAnalyticProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); @@ -329,6 +341,10 @@ internal ClusterPool(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).AkClusterProfileAksVersion = (string) content.GetValueForProperty("AkClusterProfileAksVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).AkClusterProfileAksVersion, global::System.Convert.ToString); } + if (content.Contains("NetworkProfileOutboundType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).NetworkProfileOutboundType = (string) content.GetValueForProperty("NetworkProfileOutboundType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).NetworkProfileOutboundType, global::System.Convert.ToString); + } if (content.Contains("ProfileClusterPoolVersion")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).ProfileClusterPoolVersion = (string) content.GetValueForProperty("ProfileClusterPoolVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).ProfileClusterPoolVersion, global::System.Convert.ToString); @@ -353,6 +369,14 @@ internal ClusterPool(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).NetworkProfileSubnetId = (string) content.GetValueForProperty("NetworkProfileSubnetId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).NetworkProfileSubnetId, global::System.Convert.ToString); } + if (content.Contains("NetworkProfileEnablePrivateApiServer")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).NetworkProfileEnablePrivateApiServer = (bool?) content.GetValueForProperty("NetworkProfileEnablePrivateApiServer",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).NetworkProfileEnablePrivateApiServer, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("NetworkProfileApiServerAuthorizedIPRange")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).NetworkProfileApiServerAuthorizedIPRange = (System.Collections.Generic.List) content.GetValueForProperty("NetworkProfileApiServerAuthorizedIPRange",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).NetworkProfileApiServerAuthorizedIPRange, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } if (content.Contains("LogAnalyticProfileEnabled")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).LogAnalyticProfileEnabled = (bool) content.GetValueForProperty("LogAnalyticProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolInternal)this).LogAnalyticProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPool.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPool.cs index d2f876422192..d23163a51b31 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPool.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPool.cs @@ -140,6 +140,27 @@ public partial class ClusterPool : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__trackedResource).Name; } + /// + /// IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. + /// So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List NetworkProfileApiServerAuthorizedIPRange { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)Property).NetworkProfileApiServerAuthorizedIPRange; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)Property).NetworkProfileApiServerAuthorizedIPRange = value ?? null /* arrayOf */; } + + /// + /// ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this + /// property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public + /// internet. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? NetworkProfileEnablePrivateApiServer { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)Property).NetworkProfileEnablePrivateApiServer; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)Property).NetworkProfileEnablePrivateApiServer = value ?? default(bool); } + + /// + /// This can only be set at cluster pool creation time and cannot be changed later. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string NetworkProfileOutboundType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)Property).NetworkProfileOutboundType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)Property).NetworkProfileOutboundType = value ?? null; } + /// Cluster pool subnet resource id. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public string NetworkProfileSubnetId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)Property).NetworkProfileSubnetId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)Property).NetworkProfileSubnetId = value ?? null; } @@ -369,6 +390,49 @@ public partial interface IClusterPool : SerializedName = @"managedResourceGroupName", PossibleTypes = new [] { typeof(string) })] string ManagedResourceGroupName { get; set; } + /// + /// IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. + /// So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time.", + SerializedName = @"apiServerAuthorizedIpRanges", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List NetworkProfileApiServerAuthorizedIPRange { get; set; } + /// + /// ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this + /// property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public + /// internet. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = false, + Description = @"ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet.", + SerializedName = @"enablePrivateApiServer", + PossibleTypes = new [] { typeof(bool) })] + bool? NetworkProfileEnablePrivateApiServer { get; set; } + /// + /// This can only be set at cluster pool creation time and cannot be changed later. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"This can only be set at cluster pool creation time and cannot be changed later. ", + SerializedName = @"outboundType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("loadBalancer", "userDefinedRouting")] + string NetworkProfileOutboundType { get; set; } /// Cluster pool subnet resource id. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -461,6 +525,22 @@ internal partial interface IClusterPoolInternal : string ManagedResourceGroupName { get; set; } /// Cluster pool network profile. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesNetworkProfile NetworkProfile { get; set; } + /// + /// IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. + /// So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + /// + System.Collections.Generic.List NetworkProfileApiServerAuthorizedIPRange { get; set; } + /// + /// ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this + /// property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public + /// internet. + /// + bool? NetworkProfileEnablePrivateApiServer { get; set; } + /// + /// This can only be set at cluster pool creation time and cannot be changed later. + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("loadBalancer", "userDefinedRouting")] + string NetworkProfileOutboundType { get; set; } /// Cluster pool subnet resource id. string NetworkProfileSubnetId { get; set; } /// CLuster pool profile. diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPool.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPool.json.cs index aa6b7753eb7e..838c8cc032cb 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPool.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPool.json.cs @@ -66,7 +66,7 @@ internal ClusterPool(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.J return; } __trackedResource = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrackedResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourceProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourceProperties.FromJson(__jsonProperties) : _property;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAksPatchVersionUpgradeProperties.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAksPatchVersionUpgradeProperties.PowerShell.cs new file mode 100644 index 000000000000..90982007c53d --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAksPatchVersionUpgradeProperties.PowerShell.cs @@ -0,0 +1,193 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Properties of upgrading cluster pool's AKS patch version. + [System.ComponentModel.TypeConverter(typeof(ClusterPoolAksPatchVersionUpgradePropertiesTypeConverter))] + public partial class ClusterPoolAksPatchVersionUpgradeProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterPoolAksPatchVersionUpgradeProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("UpgradeClusterPool")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradePropertiesInternal)this).UpgradeClusterPool = (bool?) content.GetValueForProperty("UpgradeClusterPool",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradePropertiesInternal)this).UpgradeClusterPool, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("UpgradeAllClusterNode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradePropertiesInternal)this).UpgradeAllClusterNode = (bool?) content.GetValueForProperty("UpgradeAllClusterNode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradePropertiesInternal)this).UpgradeAllClusterNode, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("TargetAksVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradePropertiesInternal)this).TargetAksVersion = (string) content.GetValueForProperty("TargetAksVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradePropertiesInternal)this).TargetAksVersion, global::System.Convert.ToString); + } + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterPoolAksPatchVersionUpgradeProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("UpgradeClusterPool")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradePropertiesInternal)this).UpgradeClusterPool = (bool?) content.GetValueForProperty("UpgradeClusterPool",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradePropertiesInternal)this).UpgradeClusterPool, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("UpgradeAllClusterNode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradePropertiesInternal)this).UpgradeAllClusterNode = (bool?) content.GetValueForProperty("UpgradeAllClusterNode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradePropertiesInternal)this).UpgradeAllClusterNode, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("TargetAksVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradePropertiesInternal)this).TargetAksVersion = (string) content.GetValueForProperty("TargetAksVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradePropertiesInternal)this).TargetAksVersion, global::System.Convert.ToString); + } + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradeProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterPoolAksPatchVersionUpgradeProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradeProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterPoolAksPatchVersionUpgradeProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content from a + /// json string. + /// + /// a string containing a JSON serialized instance of this model. + /// + /// an instance of the model class. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradeProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Properties of upgrading cluster pool's AKS patch version. + [System.ComponentModel.TypeConverter(typeof(ClusterPoolAksPatchVersionUpgradePropertiesTypeConverter))] + public partial interface IClusterPoolAksPatchVersionUpgradeProperties + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAksPatchVersionUpgradeProperties.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAksPatchVersionUpgradeProperties.TypeConverter.cs new file mode 100644 index 000000000000..7c193e20b3e6 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAksPatchVersionUpgradeProperties.TypeConverter.cs @@ -0,0 +1,151 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ClusterPoolAksPatchVersionUpgradePropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise + /// false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradeProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradeProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ClusterPoolAksPatchVersionUpgradeProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ClusterPoolAksPatchVersionUpgradeProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ClusterPoolAksPatchVersionUpgradeProperties.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAksPatchVersionUpgradeProperties.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAksPatchVersionUpgradeProperties.cs new file mode 100644 index 000000000000..6ecdf17e8a30 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAksPatchVersionUpgradeProperties.cs @@ -0,0 +1,144 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Properties of upgrading cluster pool's AKS patch version. + public partial class ClusterPoolAksPatchVersionUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradeProperties, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradePropertiesInternal, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IValidates + { + /// + /// Backing field for Inherited model + /// + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeProperties __clusterPoolUpgradeProperties = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgradeProperties(); + + /// Backing field for property. + private string _targetAksVersion; + + /// + /// Target AKS version. When it's not set, latest version will be used. When upgradeClusterPool is true and upgradeAllClusterNodes + /// is false, target version should be greater or equal to current version. When upgradeClusterPool is false and upgradeAllClusterNodes + /// is true, target version should be equal to AKS version of cluster pool. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string TargetAksVersion { get => this._targetAksVersion; set => this._targetAksVersion = value; } + + /// Backing field for property. + private bool? _upgradeAllClusterNode; + + /// + /// whether upgrade all clusters' nodes. If it's true, upgradeClusterPool should be false. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public bool? UpgradeAllClusterNode { get => this._upgradeAllClusterNode; set => this._upgradeAllClusterNode = value; } + + /// Backing field for property. + private bool? _upgradeClusterPool; + + /// + /// whether upgrade cluster pool or not. If it's true, upgradeAllClusterNodes should be false. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public bool? UpgradeClusterPool { get => this._upgradeClusterPool; set => this._upgradeClusterPool = value; } + + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Constant] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string UpgradeType { get => "AKSPatchUpgrade"; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradePropertiesInternal)__clusterPoolUpgradeProperties).UpgradeType = "AKSPatchUpgrade"; } + + /// + /// Creates an new instance. + /// + public ClusterPoolAksPatchVersionUpgradeProperties() + { + this.__clusterPoolUpgradeProperties.UpgradeType = "AKSPatchUpgrade"; + } + + /// Validates that this object meets the validation criteria. + /// an instance that will receive validation + /// events. + /// + /// A that will be complete when validation is completed. + /// + public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + { + await eventListener.AssertNotNull(nameof(__clusterPoolUpgradeProperties), __clusterPoolUpgradeProperties); + await eventListener.AssertObjectIsValid(nameof(__clusterPoolUpgradeProperties), __clusterPoolUpgradeProperties); + } + } + /// Properties of upgrading cluster pool's AKS patch version. + public partial interface IClusterPoolAksPatchVersionUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeProperties + { + /// + /// Target AKS version. When it's not set, latest version will be used. When upgradeClusterPool is true and upgradeAllClusterNodes + /// is false, target version should be greater or equal to current version. When upgradeClusterPool is false and upgradeAllClusterNodes + /// is true, target version should be equal to AKS version of cluster pool. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Target AKS version. When it's not set, latest version will be used. When upgradeClusterPool is true and upgradeAllClusterNodes is false, target version should be greater or equal to current version. When upgradeClusterPool is false and upgradeAllClusterNodes is true, target version should be equal to AKS version of cluster pool.", + SerializedName = @"targetAksVersion", + PossibleTypes = new [] { typeof(string) })] + string TargetAksVersion { get; set; } + /// + /// whether upgrade all clusters' nodes. If it's true, upgradeClusterPool should be false. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"whether upgrade all clusters' nodes. If it's true, upgradeClusterPool should be false.", + SerializedName = @"upgradeAllClusterNodes", + PossibleTypes = new [] { typeof(bool) })] + bool? UpgradeAllClusterNode { get; set; } + /// + /// whether upgrade cluster pool or not. If it's true, upgradeAllClusterNodes should be false. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"whether upgrade cluster pool or not. If it's true, upgradeAllClusterNodes should be false.", + SerializedName = @"upgradeClusterPool", + PossibleTypes = new [] { typeof(bool) })] + bool? UpgradeClusterPool { get; set; } + + } + /// Properties of upgrading cluster pool's AKS patch version. + internal partial interface IClusterPoolAksPatchVersionUpgradePropertiesInternal : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradePropertiesInternal + { + /// + /// Target AKS version. When it's not set, latest version will be used. When upgradeClusterPool is true and upgradeAllClusterNodes + /// is false, target version should be greater or equal to current version. When upgradeClusterPool is false and upgradeAllClusterNodes + /// is true, target version should be equal to AKS version of cluster pool. + /// + string TargetAksVersion { get; set; } + /// + /// whether upgrade all clusters' nodes. If it's true, upgradeClusterPool should be false. + /// + bool? UpgradeAllClusterNode { get; set; } + /// + /// whether upgrade cluster pool or not. If it's true, upgradeAllClusterNodes should be false. + /// + bool? UpgradeClusterPool { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAksPatchVersionUpgradeProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAksPatchVersionUpgradeProperties.json.cs new file mode 100644 index 000000000000..2d738a58df25 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAksPatchVersionUpgradeProperties.json.cs @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Properties of upgrading cluster pool's AKS patch version. + public partial class ClusterPoolAksPatchVersionUpgradeProperties + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal ClusterPoolAksPatchVersionUpgradeProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + __clusterPoolUpgradeProperties = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgradeProperties(json); + {_upgradeClusterPool = If( json?.PropertyT("upgradeClusterPool"), out var __jsonUpgradeClusterPool) ? (bool?)__jsonUpgradeClusterPool : _upgradeClusterPool;} + {_upgradeAllClusterNode = If( json?.PropertyT("upgradeAllClusterNodes"), out var __jsonUpgradeAllClusterNodes) ? (bool?)__jsonUpgradeAllClusterNodes : _upgradeAllClusterNode;} + {_targetAksVersion = If( json?.PropertyT("targetAksVersion"), out var __jsonTargetAksVersion) ? (string)__jsonTargetAksVersion : (string)_targetAksVersion;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradeProperties. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradeProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAksPatchVersionUpgradeProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new ClusterPoolAksPatchVersionUpgradeProperties(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + __clusterPoolUpgradeProperties?.ToJson(container, serializationMode); + AddIf( null != this._upgradeClusterPool ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonBoolean((bool)this._upgradeClusterPool) : null, "upgradeClusterPool" ,container.Add ); + AddIf( null != this._upgradeAllClusterNode ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonBoolean((bool)this._upgradeAllClusterNode) : null, "upgradeAllClusterNodes" ,container.Add ); + AddIf( null != (((object)this._targetAksVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._targetAksVersion.ToString()) : null, "targetAksVersion" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgrade.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgrade.PowerShell.cs new file mode 100644 index 000000000000..d554897da82e --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgrade.PowerShell.cs @@ -0,0 +1,252 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Cluster pool available upgrade. + [System.ComponentModel.TypeConverter(typeof(ClusterPoolAvailableUpgradeTypeConverter))] + public partial class ClusterPoolAvailableUpgrade + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterPoolAvailableUpgrade(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradePropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("SystemDataCreatedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataCreatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("SystemDataCreatedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedByType = (string) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedByType, global::System.Convert.ToString); + } + if (content.Contains("SystemDataLastModifiedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataLastModifiedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedByType = (string) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedByType, global::System.Convert.ToString); + } + if (content.Contains("SystemDataLastModifiedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("SystemData")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SystemDataTypeConverter.ConvertFrom); + } + if (content.Contains("Id")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Id, global::System.Convert.ToString); + } + if (content.Contains("Name")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("Type")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Type, global::System.Convert.ToString); + } + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterPoolAvailableUpgrade(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradePropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("SystemDataCreatedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedBy = (string) content.GetValueForProperty("SystemDataCreatedBy",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataCreatedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataCreatedAt",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("SystemDataCreatedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedByType = (string) content.GetValueForProperty("SystemDataCreatedByType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataCreatedByType, global::System.Convert.ToString); + } + if (content.Contains("SystemDataLastModifiedBy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedBy = (string) content.GetValueForProperty("SystemDataLastModifiedBy",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedBy, global::System.Convert.ToString); + } + if (content.Contains("SystemDataLastModifiedByType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedByType = (string) content.GetValueForProperty("SystemDataLastModifiedByType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedByType, global::System.Convert.ToString); + } + if (content.Contains("SystemDataLastModifiedAt")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedAt = (global::System.DateTime?) content.GetValueForProperty("SystemDataLastModifiedAt",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemDataLastModifiedAt, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("SystemData")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SystemDataTypeConverter.ConvertFrom); + } + if (content.Contains("Id")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Id, global::System.Convert.ToString); + } + if (content.Contains("Name")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("Type")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)this).Type, global::System.Convert.ToString); + } + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgrade DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterPoolAvailableUpgrade(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgrade DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterPoolAvailableUpgrade(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgrade FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Cluster pool available upgrade. + [System.ComponentModel.TypeConverter(typeof(ClusterPoolAvailableUpgradeTypeConverter))] + public partial interface IClusterPoolAvailableUpgrade + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgrade.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgrade.TypeConverter.cs new file mode 100644 index 000000000000..954d144c671a --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgrade.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ClusterPoolAvailableUpgradeTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgrade ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgrade).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ClusterPoolAvailableUpgrade.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ClusterPoolAvailableUpgrade.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ClusterPoolAvailableUpgrade.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgrade.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgrade.cs new file mode 100644 index 000000000000..2421dc3c49ba --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgrade.cs @@ -0,0 +1,142 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster pool available upgrade. + public partial class ClusterPoolAvailableUpgrade : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgrade, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeInternal, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IValidates + { + /// + /// Backing field for Inherited model + /// + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IProxyResource __proxyResource = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ProxyResource(); + + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).Id; } + + /// Internal Acessors for Property + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeProperties Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradeProperties()); set { {_property = value;} } } + + /// Internal Acessors for Id + string Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).Id = value; } + + /// Internal Acessors for Name + string Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).Name = value; } + + /// Internal Acessors for SystemData + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISystemData Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemData = value; } + + /// Internal Acessors for Type + string Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).Type = value; } + + /// The name of the resource + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).Name; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeProperties _property; + + /// Gets or sets the properties. Define cluster pool upgrade specific properties. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradeProperties()); set => this._property = value; } + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemData; } + + /// The timestamp of resource creation (UTC). + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public global::System.DateTime? SystemDataCreatedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataCreatedAt = value ?? default(global::System.DateTime); } + + /// The identity that created the resource. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string SystemDataCreatedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataCreatedBy = value ?? null; } + + /// The type of identity that created the resource. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string SystemDataCreatedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataCreatedByType = value ?? null; } + + /// The timestamp of resource last modification (UTC) + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public global::System.DateTime? SystemDataLastModifiedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedAt = value ?? default(global::System.DateTime); } + + /// The identity that last modified the resource. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string SystemDataLastModifiedBy { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedBy = value ?? null; } + + /// The type of identity that last modified the resource. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).SystemDataLastModifiedByType = value ?? null; } + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IResourceInternal)__proxyResource).Type; } + + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string UpgradeType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradePropertiesInternal)Property).UpgradeType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradePropertiesInternal)Property).UpgradeType = value ?? null; } + + /// Creates an new instance. + public ClusterPoolAvailableUpgrade() + { + + } + + /// Validates that this object meets the validation criteria. + /// an instance that will receive validation + /// events. + /// + /// A that will be complete when validation is completed. + /// + public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + { + await eventListener.AssertNotNull(nameof(__proxyResource), __proxyResource); + await eventListener.AssertObjectIsValid(nameof(__proxyResource), __proxyResource); + } + } + /// Cluster pool available upgrade. + public partial interface IClusterPoolAvailableUpgrade : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IProxyResource + { + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Type of upgrade.", + SerializedName = @"upgradeType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "NodeOsUpgrade")] + string UpgradeType { get; set; } + + } + /// Cluster pool available upgrade. + internal partial interface IClusterPoolAvailableUpgradeInternal : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IProxyResourceInternal + { + /// Gets or sets the properties. Define cluster pool upgrade specific properties. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeProperties Property { get; set; } + /// Type of upgrade. + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "NodeOsUpgrade")] + string UpgradeType { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgrade.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgrade.json.cs new file mode 100644 index 000000000000..5b6db9cc63a0 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgrade.json.cs @@ -0,0 +1,110 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster pool available upgrade. + public partial class ClusterPoolAvailableUpgrade + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal ClusterPoolAvailableUpgrade(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + __proxyResource = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ProxyResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradeProperties.FromJson(__jsonProperties) : _property;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgrade. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgrade. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgrade FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new ClusterPoolAvailableUpgrade(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + __proxyResource?.ToJson(container, serializationMode); + AddIf( null != this._property ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._property.ToJson(null,serializationMode) : null, "properties" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeAksPatchUpgradeProperties.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeAksPatchUpgradeProperties.PowerShell.cs new file mode 100644 index 000000000000..33d200c654d8 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeAksPatchUpgradeProperties.PowerShell.cs @@ -0,0 +1,193 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Cluster pool available AKS patch version upgrade. + [System.ComponentModel.TypeConverter(typeof(ClusterPoolAvailableUpgradeAksPatchUpgradePropertiesTypeConverter))] + public partial class ClusterPoolAvailableUpgradeAksPatchUpgradeProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterPoolAvailableUpgradeAksPatchUpgradeProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("CurrentVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradePropertiesInternal)this).CurrentVersion = (string) content.GetValueForProperty("CurrentVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradePropertiesInternal)this).CurrentVersion, global::System.Convert.ToString); + } + if (content.Contains("CurrentVersionStatus")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradePropertiesInternal)this).CurrentVersionStatus = (string) content.GetValueForProperty("CurrentVersionStatus",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradePropertiesInternal)this).CurrentVersionStatus, global::System.Convert.ToString); + } + if (content.Contains("LatestVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradePropertiesInternal)this).LatestVersion = (string) content.GetValueForProperty("LatestVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradePropertiesInternal)this).LatestVersion, global::System.Convert.ToString); + } + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterPoolAvailableUpgradeAksPatchUpgradeProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("CurrentVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradePropertiesInternal)this).CurrentVersion = (string) content.GetValueForProperty("CurrentVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradePropertiesInternal)this).CurrentVersion, global::System.Convert.ToString); + } + if (content.Contains("CurrentVersionStatus")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradePropertiesInternal)this).CurrentVersionStatus = (string) content.GetValueForProperty("CurrentVersionStatus",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradePropertiesInternal)this).CurrentVersionStatus, global::System.Convert.ToString); + } + if (content.Contains("LatestVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradePropertiesInternal)this).LatestVersion = (string) content.GetValueForProperty("LatestVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradePropertiesInternal)this).LatestVersion, global::System.Convert.ToString); + } + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradeProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterPoolAvailableUpgradeAksPatchUpgradeProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradeProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterPoolAvailableUpgradeAksPatchUpgradeProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content + /// from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// + /// an instance of the model class. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradeProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Cluster pool available AKS patch version upgrade. + [System.ComponentModel.TypeConverter(typeof(ClusterPoolAvailableUpgradeAksPatchUpgradePropertiesTypeConverter))] + public partial interface IClusterPoolAvailableUpgradeAksPatchUpgradeProperties + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeAksPatchUpgradeProperties.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeAksPatchUpgradeProperties.TypeConverter.cs new file mode 100644 index 000000000000..3ae2a3892930 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeAksPatchUpgradeProperties.TypeConverter.cs @@ -0,0 +1,153 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ClusterPoolAvailableUpgradeAksPatchUpgradePropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a + /// type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable + /// conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable + /// conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradeProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradeProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ClusterPoolAvailableUpgradeAksPatchUpgradeProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ClusterPoolAvailableUpgradeAksPatchUpgradeProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ClusterPoolAvailableUpgradeAksPatchUpgradeProperties.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeAksPatchUpgradeProperties.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeAksPatchUpgradeProperties.cs new file mode 100644 index 000000000000..0774e708ed59 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeAksPatchUpgradeProperties.cs @@ -0,0 +1,122 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster pool available AKS patch version upgrade. + public partial class ClusterPoolAvailableUpgradeAksPatchUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradeProperties, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradePropertiesInternal, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IValidates + { + /// + /// Backing field for Inherited model + /// + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeProperties __clusterPoolAvailableUpgradeProperties = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradeProperties(); + + /// Backing field for property. + private string _currentVersion; + + /// Current AKS version. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string CurrentVersion { get => this._currentVersion; set => this._currentVersion = value; } + + /// Backing field for property. + private string _currentVersionStatus; + + /// Current AKS version's status: whether it is deprecated or supported + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string CurrentVersionStatus { get => this._currentVersionStatus; set => this._currentVersionStatus = value; } + + /// Backing field for property. + private string _latestVersion; + + /// Latest AKS patch version. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string LatestVersion { get => this._latestVersion; set => this._latestVersion = value; } + + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Constant] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string UpgradeType { get => "AKSPatchUpgrade"; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradePropertiesInternal)__clusterPoolAvailableUpgradeProperties).UpgradeType = "AKSPatchUpgrade"; } + + /// + /// Creates an new instance. + /// + public ClusterPoolAvailableUpgradeAksPatchUpgradeProperties() + { + this.__clusterPoolAvailableUpgradeProperties.UpgradeType = "AKSPatchUpgrade"; + } + + /// Validates that this object meets the validation criteria. + /// an instance that will receive validation + /// events. + /// + /// A that will be complete when validation is completed. + /// + public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + { + await eventListener.AssertNotNull(nameof(__clusterPoolAvailableUpgradeProperties), __clusterPoolAvailableUpgradeProperties); + await eventListener.AssertObjectIsValid(nameof(__clusterPoolAvailableUpgradeProperties), __clusterPoolAvailableUpgradeProperties); + } + } + /// Cluster pool available AKS patch version upgrade. + public partial interface IClusterPoolAvailableUpgradeAksPatchUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeProperties + { + /// Current AKS version. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Current AKS version.", + SerializedName = @"currentVersion", + PossibleTypes = new [] { typeof(string) })] + string CurrentVersion { get; set; } + /// Current AKS version's status: whether it is deprecated or supported + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Current AKS version's status: whether it is deprecated or supported", + SerializedName = @"currentVersionStatus", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Deprecated", "Supported")] + string CurrentVersionStatus { get; set; } + /// Latest AKS patch version. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Latest AKS patch version.", + SerializedName = @"latestVersion", + PossibleTypes = new [] { typeof(string) })] + string LatestVersion { get; set; } + + } + /// Cluster pool available AKS patch version upgrade. + internal partial interface IClusterPoolAvailableUpgradeAksPatchUpgradePropertiesInternal : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradePropertiesInternal + { + /// Current AKS version. + string CurrentVersion { get; set; } + /// Current AKS version's status: whether it is deprecated or supported + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Deprecated", "Supported")] + string CurrentVersionStatus { get; set; } + /// Latest AKS patch version. + string LatestVersion { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeAksPatchUpgradeProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeAksPatchUpgradeProperties.json.cs new file mode 100644 index 000000000000..a42f92e688b9 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeAksPatchUpgradeProperties.json.cs @@ -0,0 +1,117 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster pool available AKS patch version upgrade. + public partial class ClusterPoolAvailableUpgradeAksPatchUpgradeProperties + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal ClusterPoolAvailableUpgradeAksPatchUpgradeProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + __clusterPoolAvailableUpgradeProperties = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradeProperties(json); + {_currentVersion = If( json?.PropertyT("currentVersion"), out var __jsonCurrentVersion) ? (string)__jsonCurrentVersion : (string)_currentVersion;} + {_currentVersionStatus = If( json?.PropertyT("currentVersionStatus"), out var __jsonCurrentVersionStatus) ? (string)__jsonCurrentVersionStatus : (string)_currentVersionStatus;} + {_latestVersion = If( json?.PropertyT("latestVersion"), out var __jsonLatestVersion) ? (string)__jsonLatestVersion : (string)_latestVersion;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradeProperties. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradeProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeAksPatchUpgradeProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new ClusterPoolAvailableUpgradeAksPatchUpgradeProperties(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + __clusterPoolAvailableUpgradeProperties?.ToJson(container, serializationMode); + AddIf( null != (((object)this._currentVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._currentVersion.ToString()) : null, "currentVersion" ,container.Add ); + AddIf( null != (((object)this._currentVersionStatus)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._currentVersionStatus.ToString()) : null, "currentVersionStatus" ,container.Add ); + AddIf( null != (((object)this._latestVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._latestVersion.ToString()) : null, "latestVersion" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeList.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeList.PowerShell.cs new file mode 100644 index 000000000000..511cac85ec43 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeList.PowerShell.cs @@ -0,0 +1,172 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// collection of cluster pool available upgrade. + [System.ComponentModel.TypeConverter(typeof(ClusterPoolAvailableUpgradeListTypeConverter))] + public partial class ClusterPoolAvailableUpgradeList + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterPoolAvailableUpgradeList(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Value")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeListInternal)this).Value = (System.Collections.Generic.List) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeListInternal)this).Value, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradeTypeConverter.ConvertFrom)); + } + if (content.Contains("NextLink")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeListInternal)this).NextLink, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterPoolAvailableUpgradeList(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Value")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeListInternal)this).Value = (System.Collections.Generic.List) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeListInternal)this).Value, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradeTypeConverter.ConvertFrom)); + } + if (content.Contains("NextLink")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeListInternal)this).NextLink, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeList DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterPoolAvailableUpgradeList(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterPoolAvailableUpgradeList(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// collection of cluster pool available upgrade. + [System.ComponentModel.TypeConverter(typeof(ClusterPoolAvailableUpgradeListTypeConverter))] + public partial interface IClusterPoolAvailableUpgradeList + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeList.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeList.TypeConverter.cs new file mode 100644 index 000000000000..7d591d69b030 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeList.TypeConverter.cs @@ -0,0 +1,148 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ClusterPoolAvailableUpgradeListTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeList ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeList).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ClusterPoolAvailableUpgradeList.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ClusterPoolAvailableUpgradeList.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ClusterPoolAvailableUpgradeList.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeList.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeList.cs new file mode 100644 index 000000000000..279621b06eeb --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeList.cs @@ -0,0 +1,74 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// collection of cluster pool available upgrade. + public partial class ClusterPoolAvailableUpgradeList : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeList, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeListInternal + { + + /// Backing field for property. + private string _nextLink; + + /// The Url of next result page. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string NextLink { get => this._nextLink; set => this._nextLink = value; } + + /// Backing field for property. + private System.Collections.Generic.List _value; + + /// Collection of cluster pool available upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public System.Collections.Generic.List Value { get => this._value; set => this._value = value; } + + /// Creates an new instance. + public ClusterPoolAvailableUpgradeList() + { + + } + } + /// collection of cluster pool available upgrade. + public partial interface IClusterPoolAvailableUpgradeList : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable + { + /// The Url of next result page. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The Url of next result page.", + SerializedName = @"nextLink", + PossibleTypes = new [] { typeof(string) })] + string NextLink { get; set; } + /// Collection of cluster pool available upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Collection of cluster pool available upgrade.", + SerializedName = @"value", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgrade) })] + System.Collections.Generic.List Value { get; set; } + + } + /// collection of cluster pool available upgrade. + internal partial interface IClusterPoolAvailableUpgradeListInternal + + { + /// The Url of next result page. + string NextLink { get; set; } + /// Collection of cluster pool available upgrade. + System.Collections.Generic.List Value { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeList.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeList.json.cs new file mode 100644 index 000000000000..f2ee483a72a2 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeList.json.cs @@ -0,0 +1,118 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// collection of cluster pool available upgrade. + public partial class ClusterPoolAvailableUpgradeList + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal ClusterPoolAvailableUpgradeList(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgrade) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgrade.FromJson(__u) )) ))() : null : _value;} + {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)_nextLink;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeList. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeList. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeList FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new ClusterPoolAvailableUpgradeList(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + if (null != this._value) + { + var __w = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.XNodeArray(); + foreach( var __x in this._value ) + { + AddIf(__x?.ToJson(null, serializationMode) ,__w.Add); + } + container.Add("value",__w); + } + AddIf( null != (((object)this._nextLink)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._nextLink.ToString()) : null, "nextLink" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeNodeOSUpgradeProperties.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeNodeOSUpgradeProperties.PowerShell.cs new file mode 100644 index 000000000000..adb1b4ad035b --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeNodeOSUpgradeProperties.PowerShell.cs @@ -0,0 +1,177 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Cluster pool available node OS update. + [System.ComponentModel.TypeConverter(typeof(ClusterPoolAvailableUpgradeNodeOSUpgradePropertiesTypeConverter))] + public partial class ClusterPoolAvailableUpgradeNodeOSUpgradeProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterPoolAvailableUpgradeNodeOSUpgradeProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("LatestVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeNodeOSUpgradePropertiesInternal)this).LatestVersion = (string) content.GetValueForProperty("LatestVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeNodeOSUpgradePropertiesInternal)this).LatestVersion, global::System.Convert.ToString); + } + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterPoolAvailableUpgradeNodeOSUpgradeProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("LatestVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeNodeOSUpgradePropertiesInternal)this).LatestVersion = (string) content.GetValueForProperty("LatestVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeNodeOSUpgradePropertiesInternal)this).LatestVersion, global::System.Convert.ToString); + } + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeNodeOSUpgradeProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterPoolAvailableUpgradeNodeOSUpgradeProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeNodeOSUpgradeProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterPoolAvailableUpgradeNodeOSUpgradeProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content + /// from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// + /// an instance of the model class. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeNodeOSUpgradeProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Cluster pool available node OS update. + [System.ComponentModel.TypeConverter(typeof(ClusterPoolAvailableUpgradeNodeOSUpgradePropertiesTypeConverter))] + public partial interface IClusterPoolAvailableUpgradeNodeOSUpgradeProperties + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeNodeOSUpgradeProperties.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeNodeOSUpgradeProperties.TypeConverter.cs new file mode 100644 index 000000000000..090359be1d60 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeNodeOSUpgradeProperties.TypeConverter.cs @@ -0,0 +1,153 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ClusterPoolAvailableUpgradeNodeOSUpgradePropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a + /// type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable + /// conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable + /// conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeNodeOSUpgradeProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeNodeOSUpgradeProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ClusterPoolAvailableUpgradeNodeOSUpgradeProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ClusterPoolAvailableUpgradeNodeOSUpgradeProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ClusterPoolAvailableUpgradeNodeOSUpgradeProperties.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeNodeOSUpgradeProperties.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeNodeOSUpgradeProperties.cs new file mode 100644 index 000000000000..ad2cbc021d8f --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeNodeOSUpgradeProperties.cs @@ -0,0 +1,80 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster pool available node OS update. + public partial class ClusterPoolAvailableUpgradeNodeOSUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeNodeOSUpgradeProperties, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeNodeOSUpgradePropertiesInternal, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IValidates + { + /// + /// Backing field for Inherited model + /// + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeProperties __clusterPoolAvailableUpgradeProperties = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradeProperties(); + + /// Backing field for property. + private string _latestVersion; + + /// The latest node OS version. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string LatestVersion { get => this._latestVersion; set => this._latestVersion = value; } + + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Constant] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string UpgradeType { get => "NodeOsUpgrade"; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradePropertiesInternal)__clusterPoolAvailableUpgradeProperties).UpgradeType = "NodeOsUpgrade"; } + + /// + /// Creates an new instance. + /// + public ClusterPoolAvailableUpgradeNodeOSUpgradeProperties() + { + this.__clusterPoolAvailableUpgradeProperties.UpgradeType = "NodeOsUpgrade"; + } + + /// Validates that this object meets the validation criteria. + /// an instance that will receive validation + /// events. + /// + /// A that will be complete when validation is completed. + /// + public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + { + await eventListener.AssertNotNull(nameof(__clusterPoolAvailableUpgradeProperties), __clusterPoolAvailableUpgradeProperties); + await eventListener.AssertObjectIsValid(nameof(__clusterPoolAvailableUpgradeProperties), __clusterPoolAvailableUpgradeProperties); + } + } + /// Cluster pool available node OS update. + public partial interface IClusterPoolAvailableUpgradeNodeOSUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeProperties + { + /// The latest node OS version. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The latest node OS version.", + SerializedName = @"latestVersion", + PossibleTypes = new [] { typeof(string) })] + string LatestVersion { get; set; } + + } + /// Cluster pool available node OS update. + internal partial interface IClusterPoolAvailableUpgradeNodeOSUpgradePropertiesInternal : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradePropertiesInternal + { + /// The latest node OS version. + string LatestVersion { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeNodeOSUpgradeProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeNodeOSUpgradeProperties.json.cs new file mode 100644 index 000000000000..a55a01b165c2 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeNodeOSUpgradeProperties.json.cs @@ -0,0 +1,113 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster pool available node OS update. + public partial class ClusterPoolAvailableUpgradeNodeOSUpgradeProperties + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal ClusterPoolAvailableUpgradeNodeOSUpgradeProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + __clusterPoolAvailableUpgradeProperties = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolAvailableUpgradeProperties(json); + {_latestVersion = If( json?.PropertyT("latestVersion"), out var __jsonLatestVersion) ? (string)__jsonLatestVersion : (string)_latestVersion;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeNodeOSUpgradeProperties. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeNodeOSUpgradeProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeNodeOSUpgradeProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new ClusterPoolAvailableUpgradeNodeOSUpgradeProperties(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + __clusterPoolAvailableUpgradeProperties?.ToJson(container, serializationMode); + AddIf( null != (((object)this._latestVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._latestVersion.ToString()) : null, "latestVersion" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeProperties.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeProperties.PowerShell.cs new file mode 100644 index 000000000000..4725014c6229 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeProperties.PowerShell.cs @@ -0,0 +1,169 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Cluster pool available upgrade properties. + [System.ComponentModel.TypeConverter(typeof(ClusterPoolAvailableUpgradePropertiesTypeConverter))] + public partial class ClusterPoolAvailableUpgradeProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterPoolAvailableUpgradeProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterPoolAvailableUpgradeProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterPoolAvailableUpgradeProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterPoolAvailableUpgradeProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json + /// string. + /// + /// a string containing a JSON serialized instance of this model. + /// + /// an instance of the model class. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Cluster pool available upgrade properties. + [System.ComponentModel.TypeConverter(typeof(ClusterPoolAvailableUpgradePropertiesTypeConverter))] + public partial interface IClusterPoolAvailableUpgradeProperties + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeProperties.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeProperties.TypeConverter.cs new file mode 100644 index 000000000000..55bdc1bc313a --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeProperties.TypeConverter.cs @@ -0,0 +1,150 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ClusterPoolAvailableUpgradePropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise + /// false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ClusterPoolAvailableUpgradeProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ClusterPoolAvailableUpgradeProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ClusterPoolAvailableUpgradeProperties.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeProperties.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeProperties.cs new file mode 100644 index 000000000000..9bdc06df4724 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeProperties.cs @@ -0,0 +1,56 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster pool available upgrade properties. + public partial class ClusterPoolAvailableUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeProperties, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradePropertiesInternal + { + + /// Backing field for property. + private string _upgradeType; + + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string UpgradeType { get => this._upgradeType; set => this._upgradeType = value; } + + /// Creates an new instance. + public ClusterPoolAvailableUpgradeProperties() + { + + } + } + /// Cluster pool available upgrade properties. + public partial interface IClusterPoolAvailableUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable + { + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Type of upgrade.", + SerializedName = @"upgradeType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "NodeOsUpgrade")] + string UpgradeType { get; set; } + + } + /// Cluster pool available upgrade properties. + internal partial interface IClusterPoolAvailableUpgradePropertiesInternal + + { + /// Type of upgrade. + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "NodeOsUpgrade")] + string UpgradeType { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeProperties.json.cs new file mode 100644 index 000000000000..7abed269ee22 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolAvailableUpgradeProperties.json.cs @@ -0,0 +1,128 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster pool available upgrade properties. + public partial class ClusterPoolAvailableUpgradeProperties + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal ClusterPoolAvailableUpgradeProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_upgradeType = If( json?.PropertyT("upgradeType"), out var __jsonUpgradeType) ? (string)__jsonUpgradeType : (string)_upgradeType;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeProperties. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeProperties interface is + /// polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + if (!(node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json)) + { + return null; + } + // Polymorphic type -- select the appropriate constructor using the discriminator + + switch ( json.StringProperty("upgradeType") ) + { + case "AKSPatchUpgrade": + { + return new ClusterPoolAvailableUpgradeAksPatchUpgradeProperties(json); + } + case "NodeOsUpgrade": + { + return new ClusterPoolAvailableUpgradeNodeOSUpgradeProperties(json); + } + } + return new ClusterPoolAvailableUpgradeProperties(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._upgradeType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._upgradeType.ToString()) : null, "upgradeType" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolComputeProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolComputeProfile.json.cs index ce0145e43f2c..91157f3aaea5 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolComputeProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolComputeProfile.json.cs @@ -65,8 +65,8 @@ internal ClusterPoolComputeProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightO { return; } - {_vMSize = If( json?.PropertyT("vmSize"), out var __jsonVMSize) ? (string)__jsonVMSize : (string)VMSize;} - {_count = If( json?.PropertyT("count"), out var __jsonCount) ? (int?)__jsonCount : Count;} + {_vMSize = If( json?.PropertyT("vmSize"), out var __jsonVMSize) ? (string)__jsonVMSize : (string)_vMSize;} + {_count = If( json?.PropertyT("count"), out var __jsonCount) ? (int?)__jsonCount : _count;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolListResult.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolListResult.json.cs index 5cf1a9b449af..2fd4299aa093 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolListResult.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolListResult.json.cs @@ -65,8 +65,8 @@ internal ClusterPoolListResult(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPool.FromJson(__u) )) ))() : null : Value;} - {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPool.FromJson(__u) )) ))() : null : _value;} + {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)_nextLink;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolLogAnalyticsProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolLogAnalyticsProfile.json.cs index 6ff3372f71a7..2b29cf0ac566 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolLogAnalyticsProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolLogAnalyticsProfile.json.cs @@ -67,8 +67,8 @@ internal ClusterPoolLogAnalyticsProfile(Microsoft.Azure.PowerShell.Cmdlets.HdIns { return; } - {_enabled = If( json?.PropertyT("enabled"), out var __jsonEnabled) ? (bool)__jsonEnabled : Enabled;} - {_workspaceId = If( json?.PropertyT("workspaceId"), out var __jsonWorkspaceId) ? (string)__jsonWorkspaceId : (string)WorkspaceId;} + {_enabled = If( json?.PropertyT("enabled"), out var __jsonEnabled) ? (bool)__jsonEnabled : _enabled;} + {_workspaceId = If( json?.PropertyT("workspaceId"), out var __jsonWorkspaceId) ? (string)__jsonWorkspaceId : (string)_workspaceId;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNetworkProfile.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNetworkProfile.PowerShell.cs index 5c85a0359411..5780414c7325 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNetworkProfile.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNetworkProfile.PowerShell.cs @@ -80,6 +80,18 @@ internal ClusterPoolNetworkProfile(global::System.Collections.IDictionary conten { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).SubnetId = (string) content.GetValueForProperty("SubnetId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).SubnetId, global::System.Convert.ToString); } + if (content.Contains("OutboundType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).OutboundType = (string) content.GetValueForProperty("OutboundType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).OutboundType, global::System.Convert.ToString); + } + if (content.Contains("EnablePrivateApiServer")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).EnablePrivateApiServer = (bool?) content.GetValueForProperty("EnablePrivateApiServer",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).EnablePrivateApiServer, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("ApiServerAuthorizedIPRange")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).ApiServerAuthorizedIPRange = (System.Collections.Generic.List) content.GetValueForProperty("ApiServerAuthorizedIPRange",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).ApiServerAuthorizedIPRange, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } AfterDeserializeDictionary(content); } @@ -101,6 +113,18 @@ internal ClusterPoolNetworkProfile(global::System.Management.Automation.PSObject { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).SubnetId = (string) content.GetValueForProperty("SubnetId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).SubnetId, global::System.Convert.ToString); } + if (content.Contains("OutboundType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).OutboundType = (string) content.GetValueForProperty("OutboundType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).OutboundType, global::System.Convert.ToString); + } + if (content.Contains("EnablePrivateApiServer")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).EnablePrivateApiServer = (bool?) content.GetValueForProperty("EnablePrivateApiServer",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).EnablePrivateApiServer, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("ApiServerAuthorizedIPRange")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).ApiServerAuthorizedIPRange = (System.Collections.Generic.List) content.GetValueForProperty("ApiServerAuthorizedIPRange",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).ApiServerAuthorizedIPRange, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } AfterDeserializePSObject(content); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNetworkProfile.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNetworkProfile.cs index dea99f2521e2..22203876689b 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNetworkProfile.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNetworkProfile.cs @@ -13,6 +13,36 @@ public partial class ClusterPoolNetworkProfile : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal { + /// Backing field for property. + private System.Collections.Generic.List _apiServerAuthorizedIPRange; + + /// + /// IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. + /// So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public System.Collections.Generic.List ApiServerAuthorizedIPRange { get => this._apiServerAuthorizedIPRange; set => this._apiServerAuthorizedIPRange = value; } + + /// Backing field for property. + private bool? _enablePrivateApiServer; + + /// + /// ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this + /// property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public + /// internet. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public bool? EnablePrivateApiServer { get => this._enablePrivateApiServer; set => this._enablePrivateApiServer = value; } + + /// Backing field for property. + private string _outboundType; + + /// + /// This can only be set at cluster pool creation time and cannot be changed later. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string OutboundType { get => this._outboundType; set => this._outboundType = value; } + /// Backing field for property. private string _subnetId; @@ -30,6 +60,49 @@ public ClusterPoolNetworkProfile() public partial interface IClusterPoolNetworkProfile : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable { + /// + /// IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. + /// So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time.", + SerializedName = @"apiServerAuthorizedIpRanges", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List ApiServerAuthorizedIPRange { get; set; } + /// + /// ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this + /// property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public + /// internet. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = false, + Description = @"ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet.", + SerializedName = @"enablePrivateApiServer", + PossibleTypes = new [] { typeof(bool) })] + bool? EnablePrivateApiServer { get; set; } + /// + /// This can only be set at cluster pool creation time and cannot be changed later. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"This can only be set at cluster pool creation time and cannot be changed later. ", + SerializedName = @"outboundType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("loadBalancer", "userDefinedRouting")] + string OutboundType { get; set; } /// Cluster pool subnet resource id. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = true, @@ -47,6 +120,22 @@ public partial interface IClusterPoolNetworkProfile : internal partial interface IClusterPoolNetworkProfileInternal { + /// + /// IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. + /// So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + /// + System.Collections.Generic.List ApiServerAuthorizedIPRange { get; set; } + /// + /// ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this + /// property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public + /// internet. + /// + bool? EnablePrivateApiServer { get; set; } + /// + /// This can only be set at cluster pool creation time and cannot be changed later. + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("loadBalancer", "userDefinedRouting")] + string OutboundType { get; set; } /// Cluster pool subnet resource id. string SubnetId { get; set; } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNetworkProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNetworkProfile.json.cs index 1176e426c402..c84651cad3ea 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNetworkProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNetworkProfile.json.cs @@ -65,7 +65,10 @@ internal ClusterPoolNetworkProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightO { return; } - {_subnetId = If( json?.PropertyT("subnetId"), out var __jsonSubnetId) ? (string)__jsonSubnetId : (string)SubnetId;} + {_subnetId = If( json?.PropertyT("subnetId"), out var __jsonSubnetId) ? (string)__jsonSubnetId : (string)_subnetId;} + {_outboundType = If( json?.PropertyT("outboundType"), out var __jsonOutboundType) ? (string)__jsonOutboundType : (string)_outboundType;} + {_enablePrivateApiServer = If( json?.PropertyT("enablePrivateApiServer"), out var __jsonEnablePrivateApiServer) ? (bool?)__jsonEnablePrivateApiServer : _enablePrivateApiServer;} + {_apiServerAuthorizedIPRange = If( json?.PropertyT("apiServerAuthorizedIpRanges"), out var __jsonApiServerAuthorizedIPRanges) ? If( __jsonApiServerAuthorizedIPRanges as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : _apiServerAuthorizedIPRange;} AfterFromJson(json); } @@ -101,6 +104,20 @@ public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode T return container; } AddIf( null != (((object)this._subnetId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._subnetId.ToString()) : null, "subnetId" ,container.Add ); + AddIf( null != (((object)this._outboundType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._outboundType.ToString()) : null, "outboundType" ,container.Add ); + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeRead)||serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate)) + { + AddIf( null != this._enablePrivateApiServer ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonBoolean((bool)this._enablePrivateApiServer) : null, "enablePrivateApiServer" ,container.Add ); + } + if (null != this._apiServerAuthorizedIPRange) + { + var __w = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.XNodeArray(); + foreach( var __x in this._apiServerAuthorizedIPRange ) + { + AddIf(null != (((object)__x)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(__x.ToString()) : null ,__w.Add); + } + container.Add("apiServerAuthorizedIpRanges",__w); + } AfterToJson(ref container); return container; } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNodeOSImageUpdateProperties.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNodeOSImageUpdateProperties.PowerShell.cs new file mode 100644 index 000000000000..2ecb3280c422 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNodeOSImageUpdateProperties.PowerShell.cs @@ -0,0 +1,169 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Properties of upgrading cluster pool's AKS patch version. + [System.ComponentModel.TypeConverter(typeof(ClusterPoolNodeOSImageUpdatePropertiesTypeConverter))] + public partial class ClusterPoolNodeOSImageUpdateProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterPoolNodeOSImageUpdateProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterPoolNodeOSImageUpdateProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNodeOSImageUpdateProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterPoolNodeOSImageUpdateProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNodeOSImageUpdateProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterPoolNodeOSImageUpdateProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json + /// string. + /// + /// a string containing a JSON serialized instance of this model. + /// + /// an instance of the model class. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNodeOSImageUpdateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Properties of upgrading cluster pool's AKS patch version. + [System.ComponentModel.TypeConverter(typeof(ClusterPoolNodeOSImageUpdatePropertiesTypeConverter))] + public partial interface IClusterPoolNodeOSImageUpdateProperties + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNodeOSImageUpdateProperties.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNodeOSImageUpdateProperties.TypeConverter.cs new file mode 100644 index 000000000000..387bdd5fa2d5 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNodeOSImageUpdateProperties.TypeConverter.cs @@ -0,0 +1,151 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ClusterPoolNodeOSImageUpdatePropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise + /// false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNodeOSImageUpdateProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNodeOSImageUpdateProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ClusterPoolNodeOSImageUpdateProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ClusterPoolNodeOSImageUpdateProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ClusterPoolNodeOSImageUpdateProperties.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNodeOSImageUpdateProperties.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNodeOSImageUpdateProperties.cs new file mode 100644 index 000000000000..787edfef232d --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNodeOSImageUpdateProperties.cs @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Properties of upgrading cluster pool's AKS patch version. + public partial class ClusterPoolNodeOSImageUpdateProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNodeOSImageUpdateProperties, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNodeOSImageUpdatePropertiesInternal, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IValidates + { + /// + /// Backing field for Inherited model + /// + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeProperties __clusterPoolUpgradeProperties = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgradeProperties(); + + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Constant] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string UpgradeType { get => "NodeOsUpgrade"; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradePropertiesInternal)__clusterPoolUpgradeProperties).UpgradeType = "NodeOsUpgrade"; } + + /// Creates an new instance. + public ClusterPoolNodeOSImageUpdateProperties() + { + this.__clusterPoolUpgradeProperties.UpgradeType = "NodeOsUpgrade"; + } + + /// Validates that this object meets the validation criteria. + /// an instance that will receive validation + /// events. + /// + /// A that will be complete when validation is completed. + /// + public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener eventListener) + { + await eventListener.AssertNotNull(nameof(__clusterPoolUpgradeProperties), __clusterPoolUpgradeProperties); + await eventListener.AssertObjectIsValid(nameof(__clusterPoolUpgradeProperties), __clusterPoolUpgradeProperties); + } + } + /// Properties of upgrading cluster pool's AKS patch version. + public partial interface IClusterPoolNodeOSImageUpdateProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeProperties + { + + } + /// Properties of upgrading cluster pool's AKS patch version. + internal partial interface IClusterPoolNodeOSImageUpdatePropertiesInternal : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradePropertiesInternal + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNodeOSImageUpdateProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNodeOSImageUpdateProperties.json.cs new file mode 100644 index 000000000000..f40a2abf189b --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolNodeOSImageUpdateProperties.json.cs @@ -0,0 +1,109 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Properties of upgrading cluster pool's AKS patch version. + public partial class ClusterPoolNodeOSImageUpdateProperties + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal ClusterPoolNodeOSImageUpdateProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + __clusterPoolUpgradeProperties = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgradeProperties(json); + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNodeOSImageUpdateProperties. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNodeOSImageUpdateProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNodeOSImageUpdateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new ClusterPoolNodeOSImageUpdateProperties(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + __clusterPoolUpgradeProperties?.ToJson(container, serializationMode); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolProfile.json.cs index 9df54312d881..4d25a85a46e1 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolProfile.json.cs @@ -65,7 +65,7 @@ internal ClusterPoolProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Ru { return; } - {_clusterPoolVersion = If( json?.PropertyT("clusterPoolVersion"), out var __jsonClusterPoolVersion) ? (string)__jsonClusterPoolVersion : (string)ClusterPoolVersion;} + {_clusterPoolVersion = If( json?.PropertyT("clusterPoolVersion"), out var __jsonClusterPoolVersion) ? (string)__jsonClusterPoolVersion : (string)_clusterPoolVersion;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolResourceProperties.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolResourceProperties.PowerShell.cs index 91ca8c29e22e..67230238a004 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolResourceProperties.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolResourceProperties.PowerShell.cs @@ -120,6 +120,10 @@ internal ClusterPoolResourceProperties(global::System.Collections.IDictionary co { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).AkClusterProfileAksVersion = (string) content.GetValueForProperty("AkClusterProfileAksVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).AkClusterProfileAksVersion, global::System.Convert.ToString); } + if (content.Contains("NetworkProfileOutboundType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).NetworkProfileOutboundType = (string) content.GetValueForProperty("NetworkProfileOutboundType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).NetworkProfileOutboundType, global::System.Convert.ToString); + } if (content.Contains("ClusterPoolProfileClusterPoolVersion")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).ClusterPoolProfileClusterPoolVersion = (string) content.GetValueForProperty("ClusterPoolProfileClusterPoolVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).ClusterPoolProfileClusterPoolVersion, global::System.Convert.ToString); @@ -144,6 +148,14 @@ internal ClusterPoolResourceProperties(global::System.Collections.IDictionary co { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).NetworkProfileSubnetId = (string) content.GetValueForProperty("NetworkProfileSubnetId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).NetworkProfileSubnetId, global::System.Convert.ToString); } + if (content.Contains("NetworkProfileEnablePrivateApiServer")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).NetworkProfileEnablePrivateApiServer = (bool?) content.GetValueForProperty("NetworkProfileEnablePrivateApiServer",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).NetworkProfileEnablePrivateApiServer, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("NetworkProfileApiServerAuthorizedIPRange")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).NetworkProfileApiServerAuthorizedIPRange = (System.Collections.Generic.List) content.GetValueForProperty("NetworkProfileApiServerAuthorizedIPRange",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).NetworkProfileApiServerAuthorizedIPRange, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } if (content.Contains("LogAnalyticProfileEnabled")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).LogAnalyticProfileEnabled = (bool) content.GetValueForProperty("LogAnalyticProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).LogAnalyticProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); @@ -225,6 +237,10 @@ internal ClusterPoolResourceProperties(global::System.Management.Automation.PSOb { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).AkClusterProfileAksVersion = (string) content.GetValueForProperty("AkClusterProfileAksVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).AkClusterProfileAksVersion, global::System.Convert.ToString); } + if (content.Contains("NetworkProfileOutboundType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).NetworkProfileOutboundType = (string) content.GetValueForProperty("NetworkProfileOutboundType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).NetworkProfileOutboundType, global::System.Convert.ToString); + } if (content.Contains("ClusterPoolProfileClusterPoolVersion")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).ClusterPoolProfileClusterPoolVersion = (string) content.GetValueForProperty("ClusterPoolProfileClusterPoolVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).ClusterPoolProfileClusterPoolVersion, global::System.Convert.ToString); @@ -249,6 +265,14 @@ internal ClusterPoolResourceProperties(global::System.Management.Automation.PSOb { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).NetworkProfileSubnetId = (string) content.GetValueForProperty("NetworkProfileSubnetId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).NetworkProfileSubnetId, global::System.Convert.ToString); } + if (content.Contains("NetworkProfileEnablePrivateApiServer")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).NetworkProfileEnablePrivateApiServer = (bool?) content.GetValueForProperty("NetworkProfileEnablePrivateApiServer",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).NetworkProfileEnablePrivateApiServer, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("NetworkProfileApiServerAuthorizedIPRange")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).NetworkProfileApiServerAuthorizedIPRange = (System.Collections.Generic.List) content.GetValueForProperty("NetworkProfileApiServerAuthorizedIPRange",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).NetworkProfileApiServerAuthorizedIPRange, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } if (content.Contains("LogAnalyticProfileEnabled")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).LogAnalyticProfileEnabled = (bool) content.GetValueForProperty("LogAnalyticProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesInternal)this).LogAnalyticProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolResourceProperties.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolResourceProperties.cs index ba6dee44432a..b9ab04a93af6 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolResourceProperties.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolResourceProperties.cs @@ -152,6 +152,27 @@ public partial class ClusterPoolResourceProperties : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesNetworkProfile NetworkProfile { get => (this._networkProfile = this._networkProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesNetworkProfile()); set => this._networkProfile = value; } + /// + /// IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. + /// So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List NetworkProfileApiServerAuthorizedIPRange { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)NetworkProfile).ApiServerAuthorizedIPRange; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)NetworkProfile).ApiServerAuthorizedIPRange = value ?? null /* arrayOf */; } + + /// + /// ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this + /// property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public + /// internet. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? NetworkProfileEnablePrivateApiServer { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)NetworkProfile).EnablePrivateApiServer; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)NetworkProfile).EnablePrivateApiServer = value ?? default(bool); } + + /// + /// This can only be set at cluster pool creation time and cannot be changed later. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string NetworkProfileOutboundType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)NetworkProfile).OutboundType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)NetworkProfile).OutboundType = value ?? null; } + /// Cluster pool subnet resource id. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public string NetworkProfileSubnetId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)NetworkProfile).SubnetId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)NetworkProfile).SubnetId = value ?? null; } @@ -330,6 +351,49 @@ public partial interface IClusterPoolResourceProperties : SerializedName = @"managedResourceGroupName", PossibleTypes = new [] { typeof(string) })] string ManagedResourceGroupName { get; set; } + /// + /// IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. + /// So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time.", + SerializedName = @"apiServerAuthorizedIpRanges", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List NetworkProfileApiServerAuthorizedIPRange { get; set; } + /// + /// ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this + /// property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public + /// internet. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = false, + Description = @"ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet.", + SerializedName = @"enablePrivateApiServer", + PossibleTypes = new [] { typeof(bool) })] + bool? NetworkProfileEnablePrivateApiServer { get; set; } + /// + /// This can only be set at cluster pool creation time and cannot be changed later. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"This can only be set at cluster pool creation time and cannot be changed later. ", + SerializedName = @"outboundType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("loadBalancer", "userDefinedRouting")] + string NetworkProfileOutboundType { get; set; } /// Cluster pool subnet resource id. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -415,6 +479,22 @@ internal partial interface IClusterPoolResourcePropertiesInternal string ManagedResourceGroupName { get; set; } /// Cluster pool network profile. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolResourcePropertiesNetworkProfile NetworkProfile { get; set; } + /// + /// IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. + /// So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + /// + System.Collections.Generic.List NetworkProfileApiServerAuthorizedIPRange { get; set; } + /// + /// ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this + /// property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public + /// internet. + /// + bool? NetworkProfileEnablePrivateApiServer { get; set; } + /// + /// This can only be set at cluster pool creation time and cannot be changed later. + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("loadBalancer", "userDefinedRouting")] + string NetworkProfileOutboundType { get; set; } /// Cluster pool subnet resource id. string NetworkProfileSubnetId { get; set; } /// Provisioning state of the resource. diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolResourceProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolResourceProperties.json.cs index ba50f5255208..4d4564d3cacd 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolResourceProperties.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolResourceProperties.json.cs @@ -65,16 +65,16 @@ internal ClusterPoolResourceProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsi { return; } - {_clusterPoolProfile = If( json?.PropertyT("clusterPoolProfile"), out var __jsonClusterPoolProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesClusterPoolProfile.FromJson(__jsonClusterPoolProfile) : ClusterPoolProfile;} - {_computeProfile = If( json?.PropertyT("computeProfile"), out var __jsonComputeProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesComputeProfile.FromJson(__jsonComputeProfile) : ComputeProfile;} - {_aksClusterProfile = If( json?.PropertyT("aksClusterProfile"), out var __jsonAksClusterProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesAksClusterProfile.FromJson(__jsonAksClusterProfile) : AksClusterProfile;} - {_networkProfile = If( json?.PropertyT("networkProfile"), out var __jsonNetworkProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesNetworkProfile.FromJson(__jsonNetworkProfile) : NetworkProfile;} - {_logAnalyticsProfile = If( json?.PropertyT("logAnalyticsProfile"), out var __jsonLogAnalyticsProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesLogAnalyticsProfile.FromJson(__jsonLogAnalyticsProfile) : LogAnalyticsProfile;} - {_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)ProvisioningState;} - {_deploymentId = If( json?.PropertyT("deploymentId"), out var __jsonDeploymentId) ? (string)__jsonDeploymentId : (string)DeploymentId;} - {_managedResourceGroupName = If( json?.PropertyT("managedResourceGroupName"), out var __jsonManagedResourceGroupName) ? (string)__jsonManagedResourceGroupName : (string)ManagedResourceGroupName;} - {_aksManagedResourceGroupName = If( json?.PropertyT("aksManagedResourceGroupName"), out var __jsonAksManagedResourceGroupName) ? (string)__jsonAksManagedResourceGroupName : (string)AksManagedResourceGroupName;} - {_status = If( json?.PropertyT("status"), out var __jsonStatus) ? (string)__jsonStatus : (string)Status;} + {_clusterPoolProfile = If( json?.PropertyT("clusterPoolProfile"), out var __jsonClusterPoolProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesClusterPoolProfile.FromJson(__jsonClusterPoolProfile) : _clusterPoolProfile;} + {_computeProfile = If( json?.PropertyT("computeProfile"), out var __jsonComputeProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesComputeProfile.FromJson(__jsonComputeProfile) : _computeProfile;} + {_aksClusterProfile = If( json?.PropertyT("aksClusterProfile"), out var __jsonAksClusterProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesAksClusterProfile.FromJson(__jsonAksClusterProfile) : _aksClusterProfile;} + {_networkProfile = If( json?.PropertyT("networkProfile"), out var __jsonNetworkProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesNetworkProfile.FromJson(__jsonNetworkProfile) : _networkProfile;} + {_logAnalyticsProfile = If( json?.PropertyT("logAnalyticsProfile"), out var __jsonLogAnalyticsProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolResourcePropertiesLogAnalyticsProfile.FromJson(__jsonLogAnalyticsProfile) : _logAnalyticsProfile;} + {_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)_provisioningState;} + {_deploymentId = If( json?.PropertyT("deploymentId"), out var __jsonDeploymentId) ? (string)__jsonDeploymentId : (string)_deploymentId;} + {_managedResourceGroupName = If( json?.PropertyT("managedResourceGroupName"), out var __jsonManagedResourceGroupName) ? (string)__jsonManagedResourceGroupName : (string)_managedResourceGroupName;} + {_aksManagedResourceGroupName = If( json?.PropertyT("aksManagedResourceGroupName"), out var __jsonAksManagedResourceGroupName) ? (string)__jsonAksManagedResourceGroupName : (string)_aksManagedResourceGroupName;} + {_status = If( json?.PropertyT("status"), out var __jsonStatus) ? (string)__jsonStatus : (string)_status;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolResourcePropertiesNetworkProfile.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolResourcePropertiesNetworkProfile.PowerShell.cs index 9ce7772a5241..41e1f869a2fc 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolResourcePropertiesNetworkProfile.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolResourcePropertiesNetworkProfile.PowerShell.cs @@ -80,6 +80,18 @@ internal ClusterPoolResourcePropertiesNetworkProfile(global::System.Collections. { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).SubnetId = (string) content.GetValueForProperty("SubnetId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).SubnetId, global::System.Convert.ToString); } + if (content.Contains("OutboundType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).OutboundType = (string) content.GetValueForProperty("OutboundType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).OutboundType, global::System.Convert.ToString); + } + if (content.Contains("EnablePrivateApiServer")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).EnablePrivateApiServer = (bool?) content.GetValueForProperty("EnablePrivateApiServer",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).EnablePrivateApiServer, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("ApiServerAuthorizedIPRange")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).ApiServerAuthorizedIPRange = (System.Collections.Generic.List) content.GetValueForProperty("ApiServerAuthorizedIPRange",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).ApiServerAuthorizedIPRange, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } AfterDeserializeDictionary(content); } @@ -101,6 +113,18 @@ internal ClusterPoolResourcePropertiesNetworkProfile(global::System.Management.A { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).SubnetId = (string) content.GetValueForProperty("SubnetId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).SubnetId, global::System.Convert.ToString); } + if (content.Contains("OutboundType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).OutboundType = (string) content.GetValueForProperty("OutboundType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).OutboundType, global::System.Convert.ToString); + } + if (content.Contains("EnablePrivateApiServer")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).EnablePrivateApiServer = (bool?) content.GetValueForProperty("EnablePrivateApiServer",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).EnablePrivateApiServer, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("ApiServerAuthorizedIPRange")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).ApiServerAuthorizedIPRange = (System.Collections.Generic.List) content.GetValueForProperty("ApiServerAuthorizedIPRange",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)this).ApiServerAuthorizedIPRange, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } AfterDeserializePSObject(content); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolResourcePropertiesNetworkProfile.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolResourcePropertiesNetworkProfile.cs index 215b7949a2e5..ff2747591ee4 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolResourcePropertiesNetworkProfile.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolResourcePropertiesNetworkProfile.cs @@ -19,6 +19,27 @@ public partial class ClusterPoolResourcePropertiesNetworkProfile : /// private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfile __clusterPoolNetworkProfile = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolNetworkProfile(); + /// + /// IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. + /// So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public System.Collections.Generic.List ApiServerAuthorizedIPRange { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)__clusterPoolNetworkProfile).ApiServerAuthorizedIPRange; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)__clusterPoolNetworkProfile).ApiServerAuthorizedIPRange = value ?? null /* arrayOf */; } + + /// + /// ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this + /// property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public + /// internet. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public bool? EnablePrivateApiServer { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)__clusterPoolNetworkProfile).EnablePrivateApiServer; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)__clusterPoolNetworkProfile).EnablePrivateApiServer = value ?? default(bool); } + + /// + /// This can only be set at cluster pool creation time and cannot be changed later. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string OutboundType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)__clusterPoolNetworkProfile).OutboundType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)__clusterPoolNetworkProfile).OutboundType = value ?? null; } + /// Cluster pool subnet resource id. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] public string SubnetId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)__clusterPoolNetworkProfile).SubnetId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolNetworkProfileInternal)__clusterPoolNetworkProfile).SubnetId = value ; } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgrade.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgrade.PowerShell.cs new file mode 100644 index 000000000000..55e9c99c4efe --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgrade.PowerShell.cs @@ -0,0 +1,172 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Cluster Pool Upgrade. + [System.ComponentModel.TypeConverter(typeof(ClusterPoolUpgradeTypeConverter))] + public partial class ClusterPoolUpgrade + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterPoolUpgrade(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgradePropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterPoolUpgrade(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgradePropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterPoolUpgrade(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterPoolUpgrade(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Cluster Pool Upgrade. + [System.ComponentModel.TypeConverter(typeof(ClusterPoolUpgradeTypeConverter))] + public partial interface IClusterPoolUpgrade + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgrade.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgrade.TypeConverter.cs new file mode 100644 index 000000000000..d13f903f29ba --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgrade.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ClusterPoolUpgradeTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ClusterPoolUpgrade.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ClusterPoolUpgrade.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ClusterPoolUpgrade.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgrade.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgrade.cs new file mode 100644 index 000000000000..c98704e8bf09 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgrade.cs @@ -0,0 +1,65 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster Pool Upgrade. + public partial class ClusterPoolUpgrade : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeInternal + { + + /// Internal Acessors for Property + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeProperties Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgradeProperties()); set { {_property = value;} } } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeProperties _property; + + /// Properties of upgrading cluster pool. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgradeProperties()); set => this._property = value; } + + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string UpgradeType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradePropertiesInternal)Property).UpgradeType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradePropertiesInternal)Property).UpgradeType = value ; } + + /// Creates an new instance. + public ClusterPoolUpgrade() + { + + } + } + /// Cluster Pool Upgrade. + public partial interface IClusterPoolUpgrade : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable + { + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Type of upgrade.", + SerializedName = @"upgradeType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "NodeOsUpgrade")] + string UpgradeType { get; set; } + + } + /// Cluster Pool Upgrade. + internal partial interface IClusterPoolUpgradeInternal + + { + /// Properties of upgrading cluster pool. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeProperties Property { get; set; } + /// Type of upgrade. + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "NodeOsUpgrade")] + string UpgradeType { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgrade.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgrade.json.cs new file mode 100644 index 000000000000..0be12e0e87e6 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgrade.json.cs @@ -0,0 +1,108 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster Pool Upgrade. + public partial class ClusterPoolUpgrade + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal ClusterPoolUpgrade(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgradeProperties.FromJson(__jsonProperties) : _property;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new ClusterPoolUpgrade(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != this._property ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._property.ToJson(null,serializationMode) : null, "properties" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgradeProperties.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgradeProperties.PowerShell.cs new file mode 100644 index 000000000000..330ac787db4a --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgradeProperties.PowerShell.cs @@ -0,0 +1,164 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Properties of upgrading cluster pool. + [System.ComponentModel.TypeConverter(typeof(ClusterPoolUpgradePropertiesTypeConverter))] + public partial class ClusterPoolUpgradeProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterPoolUpgradeProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterPoolUpgradeProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterPoolUpgradeProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterPoolUpgradeProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Properties of upgrading cluster pool. + [System.ComponentModel.TypeConverter(typeof(ClusterPoolUpgradePropertiesTypeConverter))] + public partial interface IClusterPoolUpgradeProperties + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgradeProperties.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgradeProperties.TypeConverter.cs new file mode 100644 index 000000000000..2e36e00490e3 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgradeProperties.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ClusterPoolUpgradePropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ClusterPoolUpgradeProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ClusterPoolUpgradeProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ClusterPoolUpgradeProperties.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgradeProperties.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgradeProperties.cs new file mode 100644 index 000000000000..da070326fb16 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgradeProperties.cs @@ -0,0 +1,56 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Properties of upgrading cluster pool. + public partial class ClusterPoolUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeProperties, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradePropertiesInternal + { + + /// Backing field for property. + private string _upgradeType; + + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string UpgradeType { get => this._upgradeType; set => this._upgradeType = value; } + + /// Creates an new instance. + public ClusterPoolUpgradeProperties() + { + + } + } + /// Properties of upgrading cluster pool. + public partial interface IClusterPoolUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable + { + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Type of upgrade.", + SerializedName = @"upgradeType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "NodeOsUpgrade")] + string UpgradeType { get; set; } + + } + /// Properties of upgrading cluster pool. + internal partial interface IClusterPoolUpgradePropertiesInternal + + { + /// Type of upgrade. + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "NodeOsUpgrade")] + string UpgradeType { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgradeProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgradeProperties.json.cs new file mode 100644 index 000000000000..bd54bde0d269 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolUpgradeProperties.json.cs @@ -0,0 +1,127 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Properties of upgrading cluster pool. + public partial class ClusterPoolUpgradeProperties + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal ClusterPoolUpgradeProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_upgradeType = If( json?.PropertyT("upgradeType"), out var __jsonUpgradeType) ? (string)__jsonUpgradeType : (string)_upgradeType;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeProperties. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeProperties interface is polymorphic, + /// and the precise model class that will get deserialized is determined at runtime based on the payload. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgradeProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + if (!(node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json)) + { + return null; + } + // Polymorphic type -- select the appropriate constructor using the discriminator + + switch ( json.StringProperty("upgradeType") ) + { + case "AKSPatchUpgrade": + { + return new ClusterPoolAksPatchVersionUpgradeProperties(json); + } + case "NodeOsUpgrade": + { + return new ClusterPoolNodeOSImageUpdateProperties(json); + } + } + return new ClusterPoolUpgradeProperties(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._upgradeType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._upgradeType.ToString()) : null, "upgradeType" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolVersion.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolVersion.json.cs index 1fdaa5318b8e..16a35aca16e3 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolVersion.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolVersion.json.cs @@ -66,7 +66,7 @@ internal ClusterPoolVersion(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Ru return; } __proxyResource = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ProxyResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolVersionProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolVersionProperties.FromJson(__jsonProperties) : _property;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolVersionProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolVersionProperties.json.cs index 638cde6453fb..b7a9c76162a8 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolVersionProperties.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolVersionProperties.json.cs @@ -65,9 +65,9 @@ internal ClusterPoolVersionProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsig { return; } - {_clusterPoolVersion = If( json?.PropertyT("clusterPoolVersion"), out var __jsonClusterPoolVersion) ? (string)__jsonClusterPoolVersion : (string)ClusterPoolVersion;} - {_aksVersion = If( json?.PropertyT("aksVersion"), out var __jsonAksVersion) ? (string)__jsonAksVersion : (string)AksVersion;} - {_isPreview = If( json?.PropertyT("isPreview"), out var __jsonIsPreview) ? (bool?)__jsonIsPreview : IsPreview;} + {_clusterPoolVersion = If( json?.PropertyT("clusterPoolVersion"), out var __jsonClusterPoolVersion) ? (string)__jsonClusterPoolVersion : (string)_clusterPoolVersion;} + {_aksVersion = If( json?.PropertyT("aksVersion"), out var __jsonAksVersion) ? (string)__jsonAksVersion : (string)_aksVersion;} + {_isPreview = If( json?.PropertyT("isPreview"), out var __jsonIsPreview) ? (bool?)__jsonIsPreview : _isPreview;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolVersionsListResult.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolVersionsListResult.json.cs index c637bda70c04..67d6773624d7 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolVersionsListResult.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPoolVersionsListResult.json.cs @@ -65,8 +65,8 @@ internal ClusterPoolVersionsListResult(Microsoft.Azure.PowerShell.Cmdlets.HdInsi { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolVersion) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolVersion.FromJson(__u) )) ))() : null : Value;} - {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolVersion) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolVersion.FromJson(__u) )) ))() : null : _value;} + {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)_nextLink;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfile.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfile.PowerShell.cs index b25e9f445106..358c1e45f339 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfile.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfile.PowerShell.cs @@ -92,6 +92,10 @@ internal ClusterProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ConnectivityProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IConnectivityProfile) content.GetValueForProperty("ConnectivityProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ConnectivityProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ConnectivityProfileTypeConverter.ConvertFrom); } + if (content.Contains("ClusterAccessProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterAccessProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile) content.GetValueForProperty("ClusterAccessProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterAccessProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAccessProfileTypeConverter.ConvertFrom); + } if (content.Contains("LogAnalyticsProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).LogAnalyticsProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsProfile) content.GetValueForProperty("LogAnalyticsProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).LogAnalyticsProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsProfileTypeConverter.ConvertFrom); @@ -108,6 +112,14 @@ internal ClusterProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).AutoscaleProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IAutoscaleProfile) content.GetValueForProperty("AutoscaleProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).AutoscaleProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AutoscaleProfileTypeConverter.ConvertFrom); } + if (content.Contains("RangerPluginProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerPluginProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile) content.GetValueForProperty("RangerPluginProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerPluginProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfileTypeConverter.ConvertFrom); + } + if (content.Contains("KafkaProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile) content.GetValueForProperty("KafkaProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaProfileTypeConverter.ConvertFrom); + } if (content.Contains("TrinoProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).TrinoProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoProfile) content.GetValueForProperty("TrinoProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).TrinoProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoProfileTypeConverter.ConvertFrom); @@ -120,6 +132,10 @@ internal ClusterProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).SparkProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfile) content.GetValueForProperty("SparkProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).SparkProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkProfileTypeConverter.ConvertFrom); } + if (content.Contains("RangerProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile) content.GetValueForProperty("RangerProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerProfileTypeConverter.ConvertFrom); + } if (content.Contains("ClusterVersion")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterVersion = (string) content.GetValueForProperty("ClusterVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterVersion, global::System.Convert.ToString); @@ -136,10 +152,6 @@ internal ClusterProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ServiceConfigsProfile = (System.Collections.Generic.List) content.GetValueForProperty("ServiceConfigsProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ServiceConfigsProfile, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterServiceConfigsProfileTypeConverter.ConvertFrom)); } - if (content.Contains("KafkaProfile")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile) content.GetValueForProperty("KafkaProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfileKafkaProfileTypeConverter.ConvertFrom); - } if (content.Contains("LlapProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).LlapProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileLlapProfile) content.GetValueForProperty("LlapProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).LlapProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfileLlapProfileTypeConverter.ConvertFrom); @@ -192,6 +204,10 @@ internal ClusterProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).FlinkProfileNumReplica = (int?) content.GetValueForProperty("FlinkProfileNumReplica",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).FlinkProfileNumReplica, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } + if (content.Contains("FlinkProfileDeploymentMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).FlinkProfileDeploymentMode = (string) content.GetValueForProperty("FlinkProfileDeploymentMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).FlinkProfileDeploymentMode, global::System.Convert.ToString); + } if (content.Contains("IdentityProfileMsiResourceId")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).IdentityProfileMsiResourceId = (string) content.GetValueForProperty("IdentityProfileMsiResourceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).IdentityProfileMsiResourceId, global::System.Convert.ToString); @@ -208,6 +224,14 @@ internal ClusterProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).SecretProfileKeyVaultResourceId = (string) content.GetValueForProperty("SecretProfileKeyVaultResourceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).SecretProfileKeyVaultResourceId, global::System.Convert.ToString); } + if (content.Contains("ClusterAccessProfileEnableInternalIngress")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterAccessProfileEnableInternalIngress = (bool) content.GetValueForProperty("ClusterAccessProfileEnableInternalIngress",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterAccessProfileEnableInternalIngress, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("ClusterAccessProfilePrivateLinkServiceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterAccessProfilePrivateLinkServiceId = (string) content.GetValueForProperty("ClusterAccessProfilePrivateLinkServiceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterAccessProfilePrivateLinkServiceId, global::System.Convert.ToString); + } if (content.Contains("LogAnalyticProfileApplicationLog")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).LogAnalyticProfileApplicationLog = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsApplicationLogs) content.GetValueForProperty("LogAnalyticProfileApplicationLog",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).LogAnalyticProfileApplicationLog, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsApplicationLogsTypeConverter.ConvertFrom); @@ -272,6 +296,34 @@ internal ClusterProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).LoadBasedConfigScalingRule = (System.Collections.Generic.List) content.GetValueForProperty("LoadBasedConfigScalingRule",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).LoadBasedConfigScalingRule, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ScalingRuleTypeConverter.ConvertFrom)); } + if (content.Contains("RangerPluginProfileEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerPluginProfileEnabled = (bool) content.GetValueForProperty("RangerPluginProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerPluginProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("KafkaProfileDiskStorage")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileDiskStorage = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile) content.GetValueForProperty("KafkaProfileDiskStorage",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileDiskStorage, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.DiskStorageProfileTypeConverter.ConvertFrom); + } + if (content.Contains("KafkaProfileClusterIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileClusterIdentity = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile) content.GetValueForProperty("KafkaProfileClusterIdentity",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileClusterIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IdentityProfileTypeConverter.ConvertFrom); + } + if (content.Contains("KafkaProfileConnectivityEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileConnectivityEndpoint = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints) content.GetValueForProperty("KafkaProfileConnectivityEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileConnectivityEndpoint, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaConnectivityEndpointsTypeConverter.ConvertFrom); + } + if (content.Contains("KafkaProfileEnableKRaft")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileEnableKRaft = (bool?) content.GetValueForProperty("KafkaProfileEnableKRaft",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileEnableKRaft, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("KafkaProfileEnablePublicEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileEnablePublicEndpoint = (bool?) content.GetValueForProperty("KafkaProfileEnablePublicEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileEnablePublicEndpoint, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("KafkaProfileRemoteStorageUri")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileRemoteStorageUri = (string) content.GetValueForProperty("KafkaProfileRemoteStorageUri",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileRemoteStorageUri, global::System.Convert.ToString); + } if (content.Contains("TrinoProfileCoordinator")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).TrinoProfileCoordinator = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoCoordinator) content.GetValueForProperty("TrinoProfileCoordinator",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).TrinoProfileCoordinator, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoCoordinatorTypeConverter.ConvertFrom); @@ -312,6 +364,14 @@ internal ClusterProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).FlinkProfileCatalogOption = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptions) content.GetValueForProperty("FlinkProfileCatalogOption",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).FlinkProfileCatalogOption, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkCatalogOptionsTypeConverter.ConvertFrom); } + if (content.Contains("FlinkProfileJobSpec")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).FlinkProfileJobSpec = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile) content.GetValueForProperty("FlinkProfileJobSpec",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).FlinkProfileJobSpec, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkJobProfileTypeConverter.ConvertFrom); + } + if (content.Contains("JobSpecUpgradeMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecUpgradeMode = (string) content.GetValueForProperty("JobSpecUpgradeMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecUpgradeMode, global::System.Convert.ToString); + } if (content.Contains("SparkProfileMetastoreSpec")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).SparkProfileMetastoreSpec = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpec) content.GetValueForProperty("SparkProfileMetastoreSpec",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).SparkProfileMetastoreSpec, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkMetastoreSpecTypeConverter.ConvertFrom); @@ -324,10 +384,30 @@ internal ClusterProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).SparkProfileDefaultStorageUrl = (string) content.GetValueForProperty("SparkProfileDefaultStorageUrl",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).SparkProfileDefaultStorageUrl, global::System.Convert.ToString); } + if (content.Contains("RangerProfileRangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerProfileRangerAdmin = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec) content.GetValueForProperty("RangerProfileRangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerProfileRangerAdmin, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerAudit")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerProfileRangerAudit = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec) content.GetValueForProperty("RangerProfileRangerAudit",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerProfileRangerAudit, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAuditSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerUsersync")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerProfileRangerUsersync = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec) content.GetValueForProperty("RangerProfileRangerUsersync",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerProfileRangerUsersync, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerUsersyncSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerUsersyncMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerUsersyncMode = (string) content.GetValueForProperty("RangerUsersyncMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerUsersyncMode, global::System.Convert.ToString); + } if (content.Contains("WebFqdn")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).WebFqdn = (string) content.GetValueForProperty("WebFqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).WebFqdn, global::System.Convert.ToString); } + if (content.Contains("WebPrivateFqdn")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).WebPrivateFqdn = (string) content.GetValueForProperty("WebPrivateFqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).WebPrivateFqdn, global::System.Convert.ToString); + } if (content.Contains("ApplicationLogStdOutEnabled")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ApplicationLogStdOutEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdOutEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ApplicationLogStdOutEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); @@ -336,6 +416,34 @@ internal ClusterProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ApplicationLogStdErrorEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdErrorEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ApplicationLogStdErrorEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("DiskStorageDataDiskSize")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DiskStorageDataDiskSize = (int) content.GetValueForProperty("DiskStorageDataDiskSize",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DiskStorageDataDiskSize, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("DiskStorageDataDiskType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DiskStorageDataDiskType = (string) content.GetValueForProperty("DiskStorageDataDiskType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DiskStorageDataDiskType, global::System.Convert.ToString); + } + if (content.Contains("ClusterIdentityMsiResourceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterIdentityMsiResourceId = (string) content.GetValueForProperty("ClusterIdentityMsiResourceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterIdentityMsiResourceId, global::System.Convert.ToString); + } + if (content.Contains("ClusterIdentityMsiClientId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterIdentityMsiClientId = (string) content.GetValueForProperty("ClusterIdentityMsiClientId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterIdentityMsiClientId, global::System.Convert.ToString); + } + if (content.Contains("ClusterIdentityMsiObjectId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterIdentityMsiObjectId = (string) content.GetValueForProperty("ClusterIdentityMsiObjectId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterIdentityMsiObjectId, global::System.Convert.ToString); + } + if (content.Contains("ConnectivityEndpointBootstrapServerEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ConnectivityEndpointBootstrapServerEndpoint = (string) content.GetValueForProperty("ConnectivityEndpointBootstrapServerEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ConnectivityEndpointBootstrapServerEndpoint, global::System.Convert.ToString); + } + if (content.Contains("ConnectivityEndpointBrokerEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ConnectivityEndpointBrokerEndpoint = (System.Collections.Generic.List) content.GetValueForProperty("ConnectivityEndpointBrokerEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ConnectivityEndpointBrokerEndpoint, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } if (content.Contains("CoordinatorDebug")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).CoordinatorDebug = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoDebugConfig) content.GetValueForProperty("CoordinatorDebug",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).CoordinatorDebug, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoDebugConfigTypeConverter.ConvertFrom); @@ -392,6 +500,26 @@ internal ClusterProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).FlinkProfileCatalogOptionsHive = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOption) content.GetValueForProperty("FlinkProfileCatalogOptionsHive",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).FlinkProfileCatalogOptionsHive, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkHiveCatalogOptionTypeConverter.ConvertFrom); } + if (content.Contains("JobSpecJobJarDirectory")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecJobJarDirectory = (string) content.GetValueForProperty("JobSpecJobJarDirectory",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecJobJarDirectory, global::System.Convert.ToString); + } + if (content.Contains("JobSpecJarName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecJarName = (string) content.GetValueForProperty("JobSpecJarName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecJarName, global::System.Convert.ToString); + } + if (content.Contains("JobSpecEntryClass")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecEntryClass = (string) content.GetValueForProperty("JobSpecEntryClass",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecEntryClass, global::System.Convert.ToString); + } + if (content.Contains("JobSpecArg")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecArg = (string) content.GetValueForProperty("JobSpecArg",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecArg, global::System.Convert.ToString); + } + if (content.Contains("JobSpecSavePointName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecSavePointName = (string) content.GetValueForProperty("JobSpecSavePointName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecSavePointName, global::System.Convert.ToString); + } if (content.Contains("MetastoreSpecDbServerHost")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).MetastoreSpecDbServerHost = (string) content.GetValueForProperty("MetastoreSpecDbServerHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).MetastoreSpecDbServerHost, global::System.Convert.ToString); @@ -400,6 +528,10 @@ internal ClusterProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).MetastoreSpecDbName = (string) content.GetValueForProperty("MetastoreSpecDbName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).MetastoreSpecDbName, global::System.Convert.ToString); } + if (content.Contains("MetastoreSpecDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).MetastoreSpecDbConnectionAuthenticationMode = (string) content.GetValueForProperty("MetastoreSpecDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).MetastoreSpecDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("MetastoreSpecDbUserName")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).MetastoreSpecDbUserName = (string) content.GetValueForProperty("MetastoreSpecDbUserName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).MetastoreSpecDbUserName, global::System.Convert.ToString); @@ -420,6 +552,34 @@ internal ClusterProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).SparkProfileUserPluginsSpecPlugin = (System.Collections.Generic.List) content.GetValueForProperty("SparkProfileUserPluginsSpecPlugin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).SparkProfileUserPluginsSpecPlugin, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkUserPluginTypeConverter.ConvertFrom)); } + if (content.Contains("RangerAdminDatabase")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerAdminDatabase = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase) content.GetValueForProperty("RangerAdminDatabase",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerAdminDatabase, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabaseTypeConverter.ConvertFrom); + } + if (content.Contains("RangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerAdmin = (System.Collections.Generic.List) content.GetValueForProperty("RangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerAdmin, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerAuditStorageAccount")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerAuditStorageAccount = (string) content.GetValueForProperty("RangerAuditStorageAccount",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerAuditStorageAccount, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerUsersyncEnabled = (bool?) content.GetValueForProperty("RangerUsersyncEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerUsersyncEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RangerUsersyncGroup")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerUsersyncGroup = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncGroup",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerUsersyncGroup, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerUsersyncUserMappingLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerUsersyncUserMappingLocation = (string) content.GetValueForProperty("RangerUsersyncUserMappingLocation",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerUsersyncUserMappingLocation, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncUser")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerUsersyncUser = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncUser",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerUsersyncUser, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } if (content.Contains("CoordinatorDebugEnable")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).CoordinatorDebugEnable = (bool?) content.GetValueForProperty("CoordinatorDebugEnable",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).CoordinatorDebugEnable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); @@ -460,6 +620,10 @@ internal ClusterProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).WorkerDebugSuspend = (bool?) content.GetValueForProperty("WorkerDebugSuspend",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).WorkerDebugSuspend, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("HiveMetastoreDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).HiveMetastoreDbConnectionAuthenticationMode = (string) content.GetValueForProperty("HiveMetastoreDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).HiveMetastoreDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("HiveMetastoreDbConnectionPasswordSecret")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).HiveMetastoreDbConnectionPasswordSecret = (string) content.GetValueForProperty("HiveMetastoreDbConnectionPasswordSecret",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).HiveMetastoreDbConnectionPasswordSecret, global::System.Convert.ToString); @@ -472,6 +636,22 @@ internal ClusterProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).HiveMetastoreDbConnectionUserName = (string) content.GetValueForProperty("HiveMetastoreDbConnectionUserName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).HiveMetastoreDbConnectionUserName, global::System.Convert.ToString); } + if (content.Contains("DatabaseHost")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DatabaseHost = (string) content.GetValueForProperty("DatabaseHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DatabaseHost, global::System.Convert.ToString); + } + if (content.Contains("DatabaseName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DatabaseName, global::System.Convert.ToString); + } + if (content.Contains("DatabasePasswordSecretRef")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DatabasePasswordSecretRef = (string) content.GetValueForProperty("DatabasePasswordSecretRef",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DatabasePasswordSecretRef, global::System.Convert.ToString); + } + if (content.Contains("DatabaseUsername")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DatabaseUsername = (string) content.GetValueForProperty("DatabaseUsername",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DatabaseUsername, global::System.Convert.ToString); + } AfterDeserializeDictionary(content); } @@ -505,6 +685,10 @@ internal ClusterProfile(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ConnectivityProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IConnectivityProfile) content.GetValueForProperty("ConnectivityProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ConnectivityProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ConnectivityProfileTypeConverter.ConvertFrom); } + if (content.Contains("ClusterAccessProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterAccessProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile) content.GetValueForProperty("ClusterAccessProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterAccessProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAccessProfileTypeConverter.ConvertFrom); + } if (content.Contains("LogAnalyticsProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).LogAnalyticsProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsProfile) content.GetValueForProperty("LogAnalyticsProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).LogAnalyticsProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsProfileTypeConverter.ConvertFrom); @@ -521,6 +705,14 @@ internal ClusterProfile(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).AutoscaleProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IAutoscaleProfile) content.GetValueForProperty("AutoscaleProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).AutoscaleProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AutoscaleProfileTypeConverter.ConvertFrom); } + if (content.Contains("RangerPluginProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerPluginProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile) content.GetValueForProperty("RangerPluginProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerPluginProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfileTypeConverter.ConvertFrom); + } + if (content.Contains("KafkaProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile) content.GetValueForProperty("KafkaProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaProfileTypeConverter.ConvertFrom); + } if (content.Contains("TrinoProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).TrinoProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoProfile) content.GetValueForProperty("TrinoProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).TrinoProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoProfileTypeConverter.ConvertFrom); @@ -533,6 +725,10 @@ internal ClusterProfile(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).SparkProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfile) content.GetValueForProperty("SparkProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).SparkProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkProfileTypeConverter.ConvertFrom); } + if (content.Contains("RangerProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile) content.GetValueForProperty("RangerProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerProfileTypeConverter.ConvertFrom); + } if (content.Contains("ClusterVersion")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterVersion = (string) content.GetValueForProperty("ClusterVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterVersion, global::System.Convert.ToString); @@ -549,10 +745,6 @@ internal ClusterProfile(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ServiceConfigsProfile = (System.Collections.Generic.List) content.GetValueForProperty("ServiceConfigsProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ServiceConfigsProfile, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterServiceConfigsProfileTypeConverter.ConvertFrom)); } - if (content.Contains("KafkaProfile")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile) content.GetValueForProperty("KafkaProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfileKafkaProfileTypeConverter.ConvertFrom); - } if (content.Contains("LlapProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).LlapProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileLlapProfile) content.GetValueForProperty("LlapProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).LlapProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfileLlapProfileTypeConverter.ConvertFrom); @@ -605,6 +797,10 @@ internal ClusterProfile(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).FlinkProfileNumReplica = (int?) content.GetValueForProperty("FlinkProfileNumReplica",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).FlinkProfileNumReplica, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } + if (content.Contains("FlinkProfileDeploymentMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).FlinkProfileDeploymentMode = (string) content.GetValueForProperty("FlinkProfileDeploymentMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).FlinkProfileDeploymentMode, global::System.Convert.ToString); + } if (content.Contains("IdentityProfileMsiResourceId")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).IdentityProfileMsiResourceId = (string) content.GetValueForProperty("IdentityProfileMsiResourceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).IdentityProfileMsiResourceId, global::System.Convert.ToString); @@ -621,6 +817,14 @@ internal ClusterProfile(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).SecretProfileKeyVaultResourceId = (string) content.GetValueForProperty("SecretProfileKeyVaultResourceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).SecretProfileKeyVaultResourceId, global::System.Convert.ToString); } + if (content.Contains("ClusterAccessProfileEnableInternalIngress")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterAccessProfileEnableInternalIngress = (bool) content.GetValueForProperty("ClusterAccessProfileEnableInternalIngress",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterAccessProfileEnableInternalIngress, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("ClusterAccessProfilePrivateLinkServiceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterAccessProfilePrivateLinkServiceId = (string) content.GetValueForProperty("ClusterAccessProfilePrivateLinkServiceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterAccessProfilePrivateLinkServiceId, global::System.Convert.ToString); + } if (content.Contains("LogAnalyticProfileApplicationLog")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).LogAnalyticProfileApplicationLog = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsApplicationLogs) content.GetValueForProperty("LogAnalyticProfileApplicationLog",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).LogAnalyticProfileApplicationLog, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsApplicationLogsTypeConverter.ConvertFrom); @@ -685,6 +889,34 @@ internal ClusterProfile(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).LoadBasedConfigScalingRule = (System.Collections.Generic.List) content.GetValueForProperty("LoadBasedConfigScalingRule",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).LoadBasedConfigScalingRule, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ScalingRuleTypeConverter.ConvertFrom)); } + if (content.Contains("RangerPluginProfileEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerPluginProfileEnabled = (bool) content.GetValueForProperty("RangerPluginProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerPluginProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("KafkaProfileDiskStorage")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileDiskStorage = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile) content.GetValueForProperty("KafkaProfileDiskStorage",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileDiskStorage, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.DiskStorageProfileTypeConverter.ConvertFrom); + } + if (content.Contains("KafkaProfileClusterIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileClusterIdentity = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile) content.GetValueForProperty("KafkaProfileClusterIdentity",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileClusterIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IdentityProfileTypeConverter.ConvertFrom); + } + if (content.Contains("KafkaProfileConnectivityEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileConnectivityEndpoint = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints) content.GetValueForProperty("KafkaProfileConnectivityEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileConnectivityEndpoint, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaConnectivityEndpointsTypeConverter.ConvertFrom); + } + if (content.Contains("KafkaProfileEnableKRaft")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileEnableKRaft = (bool?) content.GetValueForProperty("KafkaProfileEnableKRaft",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileEnableKRaft, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("KafkaProfileEnablePublicEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileEnablePublicEndpoint = (bool?) content.GetValueForProperty("KafkaProfileEnablePublicEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileEnablePublicEndpoint, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("KafkaProfileRemoteStorageUri")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileRemoteStorageUri = (string) content.GetValueForProperty("KafkaProfileRemoteStorageUri",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).KafkaProfileRemoteStorageUri, global::System.Convert.ToString); + } if (content.Contains("TrinoProfileCoordinator")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).TrinoProfileCoordinator = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoCoordinator) content.GetValueForProperty("TrinoProfileCoordinator",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).TrinoProfileCoordinator, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoCoordinatorTypeConverter.ConvertFrom); @@ -725,6 +957,14 @@ internal ClusterProfile(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).FlinkProfileCatalogOption = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptions) content.GetValueForProperty("FlinkProfileCatalogOption",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).FlinkProfileCatalogOption, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkCatalogOptionsTypeConverter.ConvertFrom); } + if (content.Contains("FlinkProfileJobSpec")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).FlinkProfileJobSpec = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile) content.GetValueForProperty("FlinkProfileJobSpec",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).FlinkProfileJobSpec, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkJobProfileTypeConverter.ConvertFrom); + } + if (content.Contains("JobSpecUpgradeMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecUpgradeMode = (string) content.GetValueForProperty("JobSpecUpgradeMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecUpgradeMode, global::System.Convert.ToString); + } if (content.Contains("SparkProfileMetastoreSpec")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).SparkProfileMetastoreSpec = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpec) content.GetValueForProperty("SparkProfileMetastoreSpec",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).SparkProfileMetastoreSpec, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkMetastoreSpecTypeConverter.ConvertFrom); @@ -737,10 +977,30 @@ internal ClusterProfile(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).SparkProfileDefaultStorageUrl = (string) content.GetValueForProperty("SparkProfileDefaultStorageUrl",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).SparkProfileDefaultStorageUrl, global::System.Convert.ToString); } + if (content.Contains("RangerProfileRangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerProfileRangerAdmin = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec) content.GetValueForProperty("RangerProfileRangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerProfileRangerAdmin, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerAudit")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerProfileRangerAudit = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec) content.GetValueForProperty("RangerProfileRangerAudit",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerProfileRangerAudit, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAuditSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerUsersync")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerProfileRangerUsersync = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec) content.GetValueForProperty("RangerProfileRangerUsersync",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerProfileRangerUsersync, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerUsersyncSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerUsersyncMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerUsersyncMode = (string) content.GetValueForProperty("RangerUsersyncMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerUsersyncMode, global::System.Convert.ToString); + } if (content.Contains("WebFqdn")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).WebFqdn = (string) content.GetValueForProperty("WebFqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).WebFqdn, global::System.Convert.ToString); } + if (content.Contains("WebPrivateFqdn")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).WebPrivateFqdn = (string) content.GetValueForProperty("WebPrivateFqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).WebPrivateFqdn, global::System.Convert.ToString); + } if (content.Contains("ApplicationLogStdOutEnabled")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ApplicationLogStdOutEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdOutEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ApplicationLogStdOutEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); @@ -749,6 +1009,34 @@ internal ClusterProfile(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ApplicationLogStdErrorEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdErrorEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ApplicationLogStdErrorEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("DiskStorageDataDiskSize")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DiskStorageDataDiskSize = (int) content.GetValueForProperty("DiskStorageDataDiskSize",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DiskStorageDataDiskSize, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("DiskStorageDataDiskType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DiskStorageDataDiskType = (string) content.GetValueForProperty("DiskStorageDataDiskType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DiskStorageDataDiskType, global::System.Convert.ToString); + } + if (content.Contains("ClusterIdentityMsiResourceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterIdentityMsiResourceId = (string) content.GetValueForProperty("ClusterIdentityMsiResourceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterIdentityMsiResourceId, global::System.Convert.ToString); + } + if (content.Contains("ClusterIdentityMsiClientId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterIdentityMsiClientId = (string) content.GetValueForProperty("ClusterIdentityMsiClientId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterIdentityMsiClientId, global::System.Convert.ToString); + } + if (content.Contains("ClusterIdentityMsiObjectId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterIdentityMsiObjectId = (string) content.GetValueForProperty("ClusterIdentityMsiObjectId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ClusterIdentityMsiObjectId, global::System.Convert.ToString); + } + if (content.Contains("ConnectivityEndpointBootstrapServerEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ConnectivityEndpointBootstrapServerEndpoint = (string) content.GetValueForProperty("ConnectivityEndpointBootstrapServerEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ConnectivityEndpointBootstrapServerEndpoint, global::System.Convert.ToString); + } + if (content.Contains("ConnectivityEndpointBrokerEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ConnectivityEndpointBrokerEndpoint = (System.Collections.Generic.List) content.GetValueForProperty("ConnectivityEndpointBrokerEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).ConnectivityEndpointBrokerEndpoint, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } if (content.Contains("CoordinatorDebug")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).CoordinatorDebug = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoDebugConfig) content.GetValueForProperty("CoordinatorDebug",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).CoordinatorDebug, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoDebugConfigTypeConverter.ConvertFrom); @@ -805,6 +1093,26 @@ internal ClusterProfile(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).FlinkProfileCatalogOptionsHive = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOption) content.GetValueForProperty("FlinkProfileCatalogOptionsHive",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).FlinkProfileCatalogOptionsHive, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkHiveCatalogOptionTypeConverter.ConvertFrom); } + if (content.Contains("JobSpecJobJarDirectory")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecJobJarDirectory = (string) content.GetValueForProperty("JobSpecJobJarDirectory",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecJobJarDirectory, global::System.Convert.ToString); + } + if (content.Contains("JobSpecJarName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecJarName = (string) content.GetValueForProperty("JobSpecJarName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecJarName, global::System.Convert.ToString); + } + if (content.Contains("JobSpecEntryClass")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecEntryClass = (string) content.GetValueForProperty("JobSpecEntryClass",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecEntryClass, global::System.Convert.ToString); + } + if (content.Contains("JobSpecArg")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecArg = (string) content.GetValueForProperty("JobSpecArg",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecArg, global::System.Convert.ToString); + } + if (content.Contains("JobSpecSavePointName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecSavePointName = (string) content.GetValueForProperty("JobSpecSavePointName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).JobSpecSavePointName, global::System.Convert.ToString); + } if (content.Contains("MetastoreSpecDbServerHost")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).MetastoreSpecDbServerHost = (string) content.GetValueForProperty("MetastoreSpecDbServerHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).MetastoreSpecDbServerHost, global::System.Convert.ToString); @@ -813,6 +1121,10 @@ internal ClusterProfile(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).MetastoreSpecDbName = (string) content.GetValueForProperty("MetastoreSpecDbName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).MetastoreSpecDbName, global::System.Convert.ToString); } + if (content.Contains("MetastoreSpecDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).MetastoreSpecDbConnectionAuthenticationMode = (string) content.GetValueForProperty("MetastoreSpecDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).MetastoreSpecDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("MetastoreSpecDbUserName")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).MetastoreSpecDbUserName = (string) content.GetValueForProperty("MetastoreSpecDbUserName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).MetastoreSpecDbUserName, global::System.Convert.ToString); @@ -833,6 +1145,34 @@ internal ClusterProfile(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).SparkProfileUserPluginsSpecPlugin = (System.Collections.Generic.List) content.GetValueForProperty("SparkProfileUserPluginsSpecPlugin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).SparkProfileUserPluginsSpecPlugin, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkUserPluginTypeConverter.ConvertFrom)); } + if (content.Contains("RangerAdminDatabase")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerAdminDatabase = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase) content.GetValueForProperty("RangerAdminDatabase",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerAdminDatabase, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabaseTypeConverter.ConvertFrom); + } + if (content.Contains("RangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerAdmin = (System.Collections.Generic.List) content.GetValueForProperty("RangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerAdmin, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerAuditStorageAccount")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerAuditStorageAccount = (string) content.GetValueForProperty("RangerAuditStorageAccount",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerAuditStorageAccount, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerUsersyncEnabled = (bool?) content.GetValueForProperty("RangerUsersyncEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerUsersyncEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RangerUsersyncGroup")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerUsersyncGroup = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncGroup",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerUsersyncGroup, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerUsersyncUserMappingLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerUsersyncUserMappingLocation = (string) content.GetValueForProperty("RangerUsersyncUserMappingLocation",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerUsersyncUserMappingLocation, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncUser")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerUsersyncUser = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncUser",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).RangerUsersyncUser, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } if (content.Contains("CoordinatorDebugEnable")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).CoordinatorDebugEnable = (bool?) content.GetValueForProperty("CoordinatorDebugEnable",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).CoordinatorDebugEnable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); @@ -873,6 +1213,10 @@ internal ClusterProfile(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).WorkerDebugSuspend = (bool?) content.GetValueForProperty("WorkerDebugSuspend",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).WorkerDebugSuspend, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("HiveMetastoreDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).HiveMetastoreDbConnectionAuthenticationMode = (string) content.GetValueForProperty("HiveMetastoreDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).HiveMetastoreDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("HiveMetastoreDbConnectionPasswordSecret")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).HiveMetastoreDbConnectionPasswordSecret = (string) content.GetValueForProperty("HiveMetastoreDbConnectionPasswordSecret",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).HiveMetastoreDbConnectionPasswordSecret, global::System.Convert.ToString); @@ -885,6 +1229,22 @@ internal ClusterProfile(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).HiveMetastoreDbConnectionUserName = (string) content.GetValueForProperty("HiveMetastoreDbConnectionUserName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).HiveMetastoreDbConnectionUserName, global::System.Convert.ToString); } + if (content.Contains("DatabaseHost")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DatabaseHost = (string) content.GetValueForProperty("DatabaseHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DatabaseHost, global::System.Convert.ToString); + } + if (content.Contains("DatabaseName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DatabaseName, global::System.Convert.ToString); + } + if (content.Contains("DatabasePasswordSecretRef")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DatabasePasswordSecretRef = (string) content.GetValueForProperty("DatabasePasswordSecretRef",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DatabasePasswordSecretRef, global::System.Convert.ToString); + } + if (content.Contains("DatabaseUsername")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DatabaseUsername = (string) content.GetValueForProperty("DatabaseUsername",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)this).DatabaseUsername, global::System.Convert.ToString); + } AfterDeserializePSObject(content); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfile.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfile.cs index 8d8d0da63114..19b488776f91 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfile.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfile.cs @@ -65,6 +65,37 @@ public partial class ClusterProfile : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public int? AutoscaleProfileGracefulDecommissionTimeout { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IAutoscaleProfileInternal)AutoscaleProfile).GracefulDecommissionTimeout; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IAutoscaleProfileInternal)AutoscaleProfile).GracefulDecommissionTimeout = value ?? default(int); } + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile _clusterAccessProfile; + + /// Cluster access profile. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile ClusterAccessProfile { get => (this._clusterAccessProfile = this._clusterAccessProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAccessProfile()); set => this._clusterAccessProfile = value; } + + /// + /// Whether to create cluster using private IP instead of public IP. This property must be set at create time. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? ClusterAccessProfileEnableInternalIngress { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfileInternal)ClusterAccessProfile).EnableInternalIngress; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfileInternal)ClusterAccessProfile).EnableInternalIngress = value ?? default(bool); } + + /// + /// Private link service resource ID. Only when enableInternalIngress is true, this property will be returned. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string ClusterAccessProfilePrivateLinkServiceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfileInternal)ClusterAccessProfile).PrivateLinkServiceId; } + + /// ClientId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string ClusterIdentityMsiClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).ClusterIdentityMsiClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).ClusterIdentityMsiClientId = value ?? null; } + + /// ObjectId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string ClusterIdentityMsiObjectId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).ClusterIdentityMsiObjectId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).ClusterIdentityMsiObjectId = value ?? null; } + + /// ResourceId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string ClusterIdentityMsiResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).ClusterIdentityMsiResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).ClusterIdentityMsiResourceId = value ?? null; } + /// Backing field for property. private string _clusterVersion; @@ -79,6 +110,14 @@ public partial class ClusterProfile : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] public System.Collections.Generic.List Component { get => this._component; } + /// bootstrap server connectivity endpoint. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string ConnectivityEndpointBootstrapServerEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).ConnectivityEndpointBootstrapServerEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).ConnectivityEndpointBootstrapServerEndpoint = value ?? null; } + + /// Kafka broker endpoint list. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List ConnectivityEndpointBrokerEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).ConnectivityEndpointBrokerEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).ConnectivityEndpointBrokerEndpoint = value ?? null /* arrayOf */; } + /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IConnectivityProfile _connectivityProfile; @@ -109,6 +148,33 @@ public partial class ClusterProfile : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public bool? CoordinatorHighAvailabilityEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoProfileInternal)TrinoProfile).CoordinatorHighAvailabilityEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoProfileInternal)TrinoProfile).CoordinatorHighAvailabilityEnabled = value ?? default(bool); } + /// The database URL + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseHost { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).DatabaseHost; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).DatabaseHost = value ?? null; } + + /// The database name + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseName { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).DatabaseName; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).DatabaseName = value ?? null; } + + /// Reference for the database password + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabasePasswordSecretRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).DatabasePasswordSecretRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).DatabasePasswordSecretRef = value ?? null; } + + /// The name of the database user + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseUsername { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).DatabaseUsername; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).DatabaseUsername = value ?? null; } + + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public int? DiskStorageDataDiskSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).DiskStorageDataDiskSize; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).DiskStorageDataDiskSize = value ?? default(int); } + + /// Managed Disk Type. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DiskStorageDataDiskType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).DiskStorageDataDiskType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).DiskStorageDataDiskType = value ?? null; } + /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfile _flinkProfile; @@ -116,6 +182,13 @@ public partial class ClusterProfile : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfile FlinkProfile { get => (this._flinkProfile = this._flinkProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkProfile()); set => this._flinkProfile = value; } + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string FlinkProfileDeploymentMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).DeploymentMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).DeploymentMode = value ?? null; } + /// The number of task managers. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public int? FlinkProfileNumReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).NumReplica; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).NumReplica = value ?? default(int); } @@ -128,6 +201,12 @@ public partial class ClusterProfile : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public long? HistoryServerMemory { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).HistoryServerMemory; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).HistoryServerMemory = value ?? default(long); } + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string HiveMetastoreDbConnectionAuthenticationMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).HiveMetastoreDbConnectionAuthenticationMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).HiveMetastoreDbConnectionAuthenticationMode = value ?? null; } + /// /// Secret reference name from secretsProfile.secrets containing password for database connection. /// @@ -145,21 +224,23 @@ public partial class ClusterProfile : /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile _identityProfile; - /// Identity Profile with details of an MSI. + /// + /// This property is required by Trino, Spark and Flink cluster but is optional for Kafka cluster. + /// [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile IdentityProfile { get => (this._identityProfile = this._identityProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IdentityProfile()); set => this._identityProfile = value; } /// ClientId of the MSI. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] - public string IdentityProfileMsiClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfileInternal)IdentityProfile).MsiClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfileInternal)IdentityProfile).MsiClientId = value ; } + public string IdentityProfileMsiClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfileInternal)IdentityProfile).MsiClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfileInternal)IdentityProfile).MsiClientId = value ?? null; } /// ObjectId of the MSI. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] - public string IdentityProfileMsiObjectId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfileInternal)IdentityProfile).MsiObjectId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfileInternal)IdentityProfile).MsiObjectId = value ; } + public string IdentityProfileMsiObjectId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfileInternal)IdentityProfile).MsiObjectId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfileInternal)IdentityProfile).MsiObjectId = value ?? null; } /// ResourceId of the MSI. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] - public string IdentityProfileMsiResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfileInternal)IdentityProfile).MsiResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfileInternal)IdentityProfile).MsiResourceId = value ; } + public string IdentityProfileMsiResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfileInternal)IdentityProfile).MsiResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfileInternal)IdentityProfile).MsiResourceId = value ?? null; } /// The required CPU. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] @@ -169,12 +250,56 @@ public partial class ClusterProfile : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public long? JobManagerMemory { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).JobManagerMemory; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).JobManagerMemory = value ?? default(long); } + /// + /// A string property representing additional JVM arguments for the Flink job. It should be space separated value. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecArg { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).JobSpecArg; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).JobSpecArg = value ?? null; } + + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecEntryClass { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).JobSpecEntryClass; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).JobSpecEntryClass = value ?? null; } + + /// A string property that represents the name of the job JAR. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecJarName { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).JobSpecJarName; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).JobSpecJarName = value ?? null; } + + /// A string property that specifies the directory where the job JAR is located. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecJobJarDirectory { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).JobSpecJobJarDirectory; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).JobSpecJobJarDirectory = value ?? null; } + + /// A string property that represents the name of the savepoint for the Flink job + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecSavePointName { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).JobSpecSavePointName; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).JobSpecSavePointName = value ?? null; } + + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecUpgradeMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).JobSpecUpgradeMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).JobSpecUpgradeMode = value ?? null; } + /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile _kafkaProfile; + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile _kafkaProfile; - /// Kafka cluster profile. + /// The Kafka cluster profile. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile KafkaProfile { get => (this._kafkaProfile = this._kafkaProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfileKafkaProfile()); set => this._kafkaProfile = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile KafkaProfile { get => (this._kafkaProfile = this._kafkaProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaProfile()); set => this._kafkaProfile = value; } + + /// Expose Kafka cluster in KRaft mode. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? KafkaProfileEnableKRaft { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).EnableKRaft; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).EnableKRaft = value ?? default(bool); } + + /// Expose worker nodes as public endpoints. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? KafkaProfileEnablePublicEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).EnablePublicEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).EnablePublicEndpoint = value ?? default(bool); } + + /// Fully qualified path of Azure Storage container used for Tiered Storage. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string KafkaProfileRemoteStorageUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).RemoteStorageUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).RemoteStorageUri = value ?? null; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileLlapProfile _llapProfile; @@ -231,6 +356,12 @@ public partial class ClusterProfile : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsProfile LogAnalyticsProfile { get => (this._logAnalyticsProfile = this._logAnalyticsProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsProfile()); set => this._logAnalyticsProfile = value; } + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string MetastoreSpecDbConnectionAuthenticationMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfileInternal)SparkProfile).MetastoreSpecDbConnectionAuthenticationMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfileInternal)SparkProfile).MetastoreSpecDbConnectionAuthenticationMode = value ?? null; } + /// The database name. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public string MetastoreSpecDbName { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfileInternal)SparkProfile).MetastoreSpecDbName; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfileInternal)SparkProfile).MetastoreSpecDbName = value ?? null; } @@ -267,6 +398,12 @@ public partial class ClusterProfile : /// Internal Acessors for AutoscaleProfileScheduleBasedConfig Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScheduleBasedConfig Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.AutoscaleProfileScheduleBasedConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IAutoscaleProfileInternal)AutoscaleProfile).ScheduleBasedConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IAutoscaleProfileInternal)AutoscaleProfile).ScheduleBasedConfig = value; } + /// Internal Acessors for ClusterAccessProfile + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.ClusterAccessProfile { get => (this._clusterAccessProfile = this._clusterAccessProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAccessProfile()); set { {_clusterAccessProfile = value;} } } + + /// Internal Acessors for ClusterAccessProfilePrivateLinkServiceId + string Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.ClusterAccessProfilePrivateLinkServiceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfileInternal)ClusterAccessProfile).PrivateLinkServiceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfileInternal)ClusterAccessProfile).PrivateLinkServiceId = value; } + /// Internal Acessors for Component System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.Component { get => this._component; set { {_component = value;} } } @@ -294,6 +431,9 @@ public partial class ClusterProfile : /// Internal Acessors for FlinkProfileJobManager Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeResourceDefinition Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.FlinkProfileJobManager { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).JobManager; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).JobManager = value; } + /// Internal Acessors for FlinkProfileJobSpec + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.FlinkProfileJobSpec { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).JobSpec; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).JobSpec = value; } + /// Internal Acessors for FlinkProfileStorage Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkStorageProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.FlinkProfileStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).Storage; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)FlinkProfile).Storage = value; } @@ -303,6 +443,18 @@ public partial class ClusterProfile : /// Internal Acessors for IdentityProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.IdentityProfile { get => (this._identityProfile = this._identityProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IdentityProfile()); set { {_identityProfile = value;} } } + /// Internal Acessors for KafkaProfile + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.KafkaProfile { get => (this._kafkaProfile = this._kafkaProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaProfile()); set { {_kafkaProfile = value;} } } + + /// Internal Acessors for KafkaProfileClusterIdentity + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.KafkaProfileClusterIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).ClusterIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).ClusterIdentity = value; } + + /// Internal Acessors for KafkaProfileConnectivityEndpoint + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.KafkaProfileConnectivityEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).ConnectivityEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).ConnectivityEndpoint = value; } + + /// Internal Acessors for KafkaProfileDiskStorage + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.KafkaProfileDiskStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).DiskStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)KafkaProfile).DiskStorage = value; } + /// Internal Acessors for LogAnalyticProfileApplicationLog Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsApplicationLogs Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.LogAnalyticProfileApplicationLog { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsProfileInternal)LogAnalyticsProfile).ApplicationLog; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsProfileInternal)LogAnalyticsProfile).ApplicationLog = value; } @@ -312,6 +464,24 @@ public partial class ClusterProfile : /// Internal Acessors for PrometheusProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.PrometheusProfile { get => (this._prometheusProfile = this._prometheusProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfile()); set { {_prometheusProfile = value;} } } + /// Internal Acessors for RangerAdminDatabase + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.RangerAdminDatabase { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerAdminDatabase; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerAdminDatabase = value; } + + /// Internal Acessors for RangerPluginProfile + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.RangerPluginProfile { get => (this._rangerPluginProfile = this._rangerPluginProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfile()); set { {_rangerPluginProfile = value;} } } + + /// Internal Acessors for RangerProfile + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.RangerProfile { get => (this._rangerProfile = this._rangerProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerProfile()); set { {_rangerProfile = value;} } } + + /// Internal Acessors for RangerProfileRangerAdmin + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.RangerProfileRangerAdmin { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerAdmin; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerAdmin = value; } + + /// Internal Acessors for RangerProfileRangerAudit + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.RangerProfileRangerAudit { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerAudit; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerAudit = value; } + + /// Internal Acessors for RangerProfileRangerUsersync + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.RangerProfileRangerUsersync { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersync; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersync = value; } + /// Internal Acessors for SecretsProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISecretsProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal.SecretsProfile { get => (this._secretsProfile = this._secretsProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SecretsProfile()); set { {_secretsProfile = value;} } } @@ -372,6 +542,63 @@ public partial class ClusterProfile : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile PrometheusProfile { get => (this._prometheusProfile = this._prometheusProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfile()); set => this._prometheusProfile = value; } + /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerAdmin { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerAdminAdmins; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerAdminAdmins = value ?? null /* arrayOf */; } + + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerAuditStorageAccount { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerAuditStorageAccount; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerAuditStorageAccount = value ?? null; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile _rangerPluginProfile; + + /// Cluster Ranger plugin profile. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile RangerPluginProfile { get => (this._rangerPluginProfile = this._rangerPluginProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfile()); set => this._rangerPluginProfile = value; } + + /// Enable Ranger for cluster or not. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? RangerPluginProfileEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfileInternal)RangerPluginProfile).Enabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfileInternal)RangerPluginProfile).Enabled = value ?? default(bool); } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile _rangerProfile; + + /// The ranger cluster profile. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile RangerProfile { get => (this._rangerProfile = this._rangerProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerProfile()); set => this._rangerProfile = value; } + + /// Denotes whether usersync service should be enabled + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? RangerUsersyncEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersyncEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersyncEnabled = value ?? default(bool); } + + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerUsersyncGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersyncGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersyncGroup = value ?? null /* arrayOf */; } + + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerUsersyncMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersyncMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersyncMode = value ?? null; } + + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerUsersyncUser { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersyncUser; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersyncUser = value ?? null /* arrayOf */; } + + /// Azure storage location of a mapping file that lists user & group associations. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerUsersyncUserMappingLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersyncUserMappingLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersyncUserMappingLocation = value ?? null; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) @@ -521,6 +748,12 @@ public partial class ClusterProfile : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public string WebFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IConnectivityProfileInternal)ConnectivityProfile).WebFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IConnectivityProfileInternal)ConnectivityProfile).WebFqdn = value ?? null; } + /// + /// Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string WebPrivateFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IConnectivityProfileInternal)ConnectivityProfile).WebPrivateFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IConnectivityProfileInternal)ConnectivityProfile).WebPrivateFqdn = value ?? null; } + /// The flag that if enable debug or not. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public bool? WorkerDebugEnable { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoProfileInternal)TrinoProfile).WorkerDebugEnable; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoProfileInternal)TrinoProfile).WorkerDebugEnable = value ?? default(bool); } @@ -627,6 +860,65 @@ public partial interface IClusterProfile : SerializedName = @"gracefulDecommissionTimeout", PossibleTypes = new [] { typeof(int) })] int? AutoscaleProfileGracefulDecommissionTimeout { get; set; } + /// + /// Whether to create cluster using private IP instead of public IP. This property must be set at create time. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = false, + Description = @"Whether to create cluster using private IP instead of public IP. This property must be set at create time.", + SerializedName = @"enableInternalIngress", + PossibleTypes = new [] { typeof(bool) })] + bool? ClusterAccessProfileEnableInternalIngress { get; set; } + /// + /// Private link service resource ID. Only when enableInternalIngress is true, this property will be returned. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"Private link service resource ID. Only when enableInternalIngress is true, this property will be returned.", + SerializedName = @"privateLinkServiceId", + PossibleTypes = new [] { typeof(string) })] + string ClusterAccessProfilePrivateLinkServiceId { get; } + /// ClientId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"ClientId of the MSI.", + SerializedName = @"msiClientId", + PossibleTypes = new [] { typeof(string) })] + string ClusterIdentityMsiClientId { get; } + /// ObjectId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"ObjectId of the MSI.", + SerializedName = @"msiObjectId", + PossibleTypes = new [] { typeof(string) })] + string ClusterIdentityMsiObjectId { get; } + /// ResourceId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"ResourceId of the MSI.", + SerializedName = @"msiResourceId", + PossibleTypes = new [] { typeof(string) })] + string ClusterIdentityMsiResourceId { get; } /// Version with 3/4 part. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = true, @@ -649,6 +941,28 @@ public partial interface IClusterProfile : SerializedName = @"components", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterComponentsItem) })] System.Collections.Generic.List Component { get; } + /// bootstrap server connectivity endpoint. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"bootstrap server connectivity endpoint.", + SerializedName = @"bootstrapServerEndpoint", + PossibleTypes = new [] { typeof(string) })] + string ConnectivityEndpointBootstrapServerEndpoint { get; } + /// Kafka broker endpoint list. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"Kafka broker endpoint list.", + SerializedName = @"brokerEndpoints", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List ConnectivityEndpointBrokerEndpoint { get; } /// List of SSH connectivity endpoints. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -707,6 +1021,91 @@ public partial interface IClusterProfile : SerializedName = @"highAvailabilityEnabled", PossibleTypes = new [] { typeof(bool) })] bool? CoordinatorHighAvailabilityEnabled { get; set; } + /// The database URL + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The database URL", + SerializedName = @"host", + PossibleTypes = new [] { typeof(string) })] + string DatabaseHost { get; set; } + /// The database name + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The database name", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + string DatabaseName { get; set; } + /// Reference for the database password + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Reference for the database password", + SerializedName = @"passwordSecretRef", + PossibleTypes = new [] { typeof(string) })] + string DatabasePasswordSecretRef { get; set; } + /// The name of the database user + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The name of the database user", + SerializedName = @"username", + PossibleTypes = new [] { typeof(string) })] + string DatabaseUsername { get; set; } + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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.", + SerializedName = @"dataDiskSize", + PossibleTypes = new [] { typeof(int) })] + int? DiskStorageDataDiskSize { get; set; } + /// Managed Disk Type. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Managed Disk Type.", + SerializedName = @"dataDiskType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Standard_HDD_LRS", "Standard_SSD_LRS", "Standard_SSD_ZRS", "Premium_SSD_LRS", "Premium_SSD_ZRS", "Premium_SSD_v2_LRS")] + string DiskStorageDataDiskType { get; set; } + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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", + SerializedName = @"deploymentMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Application", "Session")] + string FlinkProfileDeploymentMode { get; set; } /// The number of task managers. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -741,6 +1140,20 @@ public partial interface IClusterProfile : PossibleTypes = new [] { typeof(long) })] long? HistoryServerMemory { get; set; } /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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", + SerializedName = @"metastoreDbConnectionAuthenticationMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string HiveMetastoreDbConnectionAuthenticationMode { get; set; } + /// /// Secret reference name from secretsProfile.secrets containing password for database connection. /// [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( @@ -777,7 +1190,7 @@ public partial interface IClusterProfile : string HiveMetastoreDbConnectionUserName { get; set; } /// ClientId of the MSI. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Read = true, Create = true, @@ -788,7 +1201,7 @@ public partial interface IClusterProfile : string IdentityProfileMsiClientId { get; set; } /// ObjectId of the MSI. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Read = true, Create = true, @@ -799,7 +1212,7 @@ public partial interface IClusterProfile : string IdentityProfileMsiObjectId { get; set; } /// ResourceId of the MSI. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Read = true, Create = true, @@ -830,17 +1243,114 @@ public partial interface IClusterProfile : SerializedName = @"memory", PossibleTypes = new [] { typeof(long) })] long? JobManagerMemory { get; set; } - /// Kafka cluster profile. + /// + /// A string property representing additional JVM arguments for the Flink job. It should be space separated value. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"A string property representing additional JVM arguments for the Flink job. It should be space separated value.", + SerializedName = @"args", + PossibleTypes = new [] { typeof(string) })] + string JobSpecArg { get; set; } + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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.", + SerializedName = @"entryClass", + PossibleTypes = new [] { typeof(string) })] + string JobSpecEntryClass { get; set; } + /// A string property that represents the name of the job JAR. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, - Description = @"Kafka cluster profile.", - SerializedName = @"kafkaProfile", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile) })] - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile KafkaProfile { get; set; } + Description = @"A string property that represents the name of the job JAR.", + SerializedName = @"jarName", + PossibleTypes = new [] { typeof(string) })] + string JobSpecJarName { get; set; } + /// A string property that specifies the directory where the job JAR is located. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"A string property that specifies the directory where the job JAR is located.", + SerializedName = @"jobJarDirectory", + PossibleTypes = new [] { typeof(string) })] + string JobSpecJobJarDirectory { get; set; } + /// A string property that represents the name of the savepoint for the Flink job + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"A string property that represents the name of the savepoint for the Flink job", + SerializedName = @"savePointName", + PossibleTypes = new [] { typeof(string) })] + string JobSpecSavePointName { get; set; } + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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.", + SerializedName = @"upgradeMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("STATELESS_UPDATE", "UPDATE", "LAST_STATE_UPDATE")] + string JobSpecUpgradeMode { get; set; } + /// Expose Kafka cluster in KRaft mode. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Expose Kafka cluster in KRaft mode.", + SerializedName = @"enableKRaft", + PossibleTypes = new [] { typeof(bool) })] + bool? KafkaProfileEnableKRaft { get; set; } + /// Expose worker nodes as public endpoints. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Expose worker nodes as public endpoints.", + SerializedName = @"enablePublicEndpoints", + PossibleTypes = new [] { typeof(bool) })] + bool? KafkaProfileEnablePublicEndpoint { get; set; } + /// Fully qualified path of Azure Storage container used for Tiered Storage. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Fully qualified path of Azure Storage container used for Tiered Storage.", + SerializedName = @"remoteStorageUri", + PossibleTypes = new [] { typeof(string) })] + string KafkaProfileRemoteStorageUri { get; set; } /// LLAP cluster profile. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -942,6 +1452,20 @@ public partial interface IClusterProfile : SerializedName = @"metricsEnabled", PossibleTypes = new [] { typeof(bool) })] bool? LogAnalyticProfileMetricsEnabled { get; set; } + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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", + SerializedName = @"dbConnectionAuthenticationMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string MetastoreSpecDbConnectionAuthenticationMode { get; set; } /// The database name. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -1031,6 +1555,106 @@ public partial interface IClusterProfile : PossibleTypes = new [] { typeof(bool) })] bool? PrometheuProfileEnabled { get; set; } /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.", + SerializedName = @"admins", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerAdmin { get; set; } + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Azure storage location of the blobs. MSI should have read/write access to this Storage account.", + SerializedName = @"storageAccount", + PossibleTypes = new [] { typeof(string) })] + string RangerAuditStorageAccount { get; set; } + /// Enable Ranger for cluster or not. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Enable Ranger for cluster or not.", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(bool) })] + bool? RangerPluginProfileEnabled { get; set; } + /// Denotes whether usersync service should be enabled + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Denotes whether usersync service should be enabled", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(bool) })] + bool? RangerUsersyncEnabled { get; set; } + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of groups that should be synced. These group names should match the object id of the respective AAD groups.", + SerializedName = @"groups", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerUsersyncGroup { get; set; } + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"User & groups can be synced automatically or via a static list that's refreshed.", + SerializedName = @"mode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + string RangerUsersyncMode { get; set; } + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.", + SerializedName = @"users", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerUsersyncUser { get; set; } + /// Azure storage location of a mapping file that lists user & group associations. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Azure storage location of a mapping file that lists user & group associations.", + SerializedName = @"userMappingLocation", + PossibleTypes = new [] { typeof(string) })] + string RangerUsersyncUserMappingLocation { get; set; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) /// @@ -1303,6 +1927,19 @@ public partial interface IClusterProfile : SerializedName = @"fqdn", PossibleTypes = new [] { typeof(string) })] string WebFqdn { get; } + /// + /// Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true.", + SerializedName = @"privateFqdn", + PossibleTypes = new [] { typeof(string) })] + string WebPrivateFqdn { get; } /// The flag that if enable debug or not. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -1375,10 +2012,30 @@ internal partial interface IClusterProfileInternal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ILoadBasedConfig AutoscaleProfileLoadBasedConfig { get; set; } /// Profiles of schedule based Autoscale. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScheduleBasedConfig AutoscaleProfileScheduleBasedConfig { get; set; } + /// Cluster access profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile ClusterAccessProfile { get; set; } + /// + /// Whether to create cluster using private IP instead of public IP. This property must be set at create time. + /// + bool? ClusterAccessProfileEnableInternalIngress { get; set; } + /// + /// Private link service resource ID. Only when enableInternalIngress is true, this property will be returned. + /// + string ClusterAccessProfilePrivateLinkServiceId { get; set; } + /// ClientId of the MSI. + string ClusterIdentityMsiClientId { get; set; } + /// ObjectId of the MSI. + string ClusterIdentityMsiObjectId { get; set; } + /// ResourceId of the MSI. + string ClusterIdentityMsiResourceId { get; set; } /// Version with 3/4 part. string ClusterVersion { get; set; } /// Component list of this cluster type and version. System.Collections.Generic.List Component { get; set; } + /// bootstrap server connectivity endpoint. + string ConnectivityEndpointBootstrapServerEndpoint { get; set; } + /// Kafka broker endpoint list. + System.Collections.Generic.List ConnectivityEndpointBrokerEndpoint { get; set; } /// Cluster connectivity profile. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IConnectivityProfile ConnectivityProfile { get; set; } /// List of SSH connectivity endpoints. @@ -1398,16 +2055,43 @@ internal partial interface IClusterProfileInternal /// Default: true. /// bool? CoordinatorHighAvailabilityEnabled { get; set; } + /// The database URL + string DatabaseHost { get; set; } + /// The database name + string DatabaseName { get; set; } + /// Reference for the database password + string DatabasePasswordSecretRef { get; set; } + /// The name of the database user + string DatabaseUsername { get; set; } + /// + /// 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. + /// + int? DiskStorageDataDiskSize { get; set; } + /// Managed Disk Type. + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Standard_HDD_LRS", "Standard_SSD_LRS", "Standard_SSD_ZRS", "Premium_SSD_LRS", "Premium_SSD_ZRS", "Premium_SSD_v2_LRS")] + string DiskStorageDataDiskType { get; set; } /// The Flink cluster profile. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfile FlinkProfile { get; set; } /// Flink cluster catalog options. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptions FlinkProfileCatalogOption { get; set; } /// Hive Catalog Option for Flink cluster. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOption FlinkProfileCatalogOptionsHive { get; set; } + /// + /// 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 + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Application", "Session")] + string FlinkProfileDeploymentMode { get; set; } /// History Server container/ process CPU and memory requirements Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeResourceDefinition FlinkProfileHistoryServer { get; set; } /// Job Manager container/ process CPU and memory requirements Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeResourceDefinition FlinkProfileJobManager { get; set; } + /// + /// Job specifications for flink clusters in application deployment mode. The specification is immutable even if job properties + /// are changed by calling the RunJob API, please use the ListJob API to get the latest job information. + /// + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile FlinkProfileJobSpec { get; set; } /// The number of task managers. int? FlinkProfileNumReplica { get; set; } /// The storage profile @@ -1419,6 +2103,11 @@ internal partial interface IClusterProfileInternal /// The required memory in MB, Container memory will be 110 percentile long? HistoryServerMemory { get; set; } /// + /// 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 + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string HiveMetastoreDbConnectionAuthenticationMode { get; set; } + /// /// Secret reference name from secretsProfile.secrets containing password for database connection. /// string HiveMetastoreDbConnectionPasswordSecret { get; set; } @@ -1426,7 +2115,9 @@ internal partial interface IClusterProfileInternal string HiveMetastoreDbConnectionUrl { get; set; } /// User name for database connection. string HiveMetastoreDbConnectionUserName { get; set; } - /// Identity Profile with details of an MSI. + /// + /// This property is required by Trino, Spark and Flink cluster but is optional for Kafka cluster. + /// Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile IdentityProfile { get; set; } /// ClientId of the MSI. string IdentityProfileMsiClientId { get; set; } @@ -1438,8 +2129,41 @@ internal partial interface IClusterProfileInternal float? JobManagerCpu { get; set; } /// The required memory in MB, Container memory will be 110 percentile long? JobManagerMemory { get; set; } - /// Kafka cluster profile. - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile KafkaProfile { get; set; } + /// + /// A string property representing additional JVM arguments for the Flink job. It should be space separated value. + /// + string JobSpecArg { get; set; } + /// + /// 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. + /// + string JobSpecEntryClass { get; set; } + /// A string property that represents the name of the job JAR. + string JobSpecJarName { get; set; } + /// A string property that specifies the directory where the job JAR is located. + string JobSpecJobJarDirectory { get; set; } + /// A string property that represents the name of the savepoint for the Flink job + string JobSpecSavePointName { get; set; } + /// + /// 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. + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("STATELESS_UPDATE", "UPDATE", "LAST_STATE_UPDATE")] + string JobSpecUpgradeMode { get; set; } + /// The Kafka cluster profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile KafkaProfile { get; set; } + /// Identity of the internal service components inside the Kafka cluster. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile KafkaProfileClusterIdentity { get; set; } + /// Kafka bootstrap server and brokers related connectivity endpoints. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints KafkaProfileConnectivityEndpoint { get; set; } + /// Kafka disk storage profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile KafkaProfileDiskStorage { get; set; } + /// Expose Kafka cluster in KRaft mode. + bool? KafkaProfileEnableKRaft { get; set; } + /// Expose worker nodes as public endpoints. + bool? KafkaProfileEnablePublicEndpoint { get; set; } + /// Fully qualified path of Azure Storage container used for Tiered Storage. + string KafkaProfileRemoteStorageUri { get; set; } /// LLAP cluster profile. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileLlapProfile LlapProfile { get; set; } /// @@ -1473,6 +2197,11 @@ internal partial interface IClusterProfileInternal bool? LogAnalyticProfileMetricsEnabled { get; set; } /// Cluster log analytics profile to enable or disable OMS agent for cluster. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsProfile LogAnalyticsProfile { get; set; } + /// + /// 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 + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string MetastoreSpecDbConnectionAuthenticationMode { get; set; } /// The database name. string MetastoreSpecDbName { get; set; } /// The secret name which contains the database user password. @@ -1492,6 +2221,46 @@ internal partial interface IClusterProfileInternal /// Cluster Prometheus profile. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile PrometheusProfile { get; set; } /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + System.Collections.Generic.List RangerAdmin { get; set; } + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase RangerAdminDatabase { get; set; } + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + string RangerAuditStorageAccount { get; set; } + /// Cluster Ranger plugin profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile RangerPluginProfile { get; set; } + /// Enable Ranger for cluster or not. + bool? RangerPluginProfileEnabled { get; set; } + /// The ranger cluster profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile RangerProfile { get; set; } + /// Specification for the Ranger Admin service. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec RangerProfileRangerAdmin { get; set; } + /// Properties required to describe audit log storage. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec RangerProfileRangerAudit { get; set; } + /// Specification for the Ranger Usersync service + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec RangerProfileRangerUsersync { get; set; } + /// Denotes whether usersync service should be enabled + bool? RangerUsersyncEnabled { get; set; } + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + System.Collections.Generic.List RangerUsersyncGroup { get; set; } + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + string RangerUsersyncMode { get; set; } + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + System.Collections.Generic.List RangerUsersyncUser { get; set; } + /// Azure storage location of a mapping file that lists user & group associations. + string RangerUsersyncUserMappingLocation { get; set; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) /// @@ -1581,6 +2350,10 @@ internal partial interface IClusterProfileInternal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoTelemetryConfig UserTelemetrySpecStorage { get; set; } /// Web connectivity endpoint. string WebFqdn { get; set; } + /// + /// Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true. + /// + string WebPrivateFqdn { get; set; } /// Trino debug configuration. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoDebugConfig WorkerDebug { get; set; } /// The flag that if enable debug or not. diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfile.json.cs index 66b193ccfb85..664d07b41fef 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfile.json.cs @@ -65,25 +65,28 @@ internal ClusterProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtim { return; } - {_identityProfile = If( json?.PropertyT("identityProfile"), out var __jsonIdentityProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IdentityProfile.FromJson(__jsonIdentityProfile) : IdentityProfile;} - {_authorizationProfile = If( json?.PropertyT("authorizationProfile"), out var __jsonAuthorizationProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AuthorizationProfile.FromJson(__jsonAuthorizationProfile) : AuthorizationProfile;} - {_secretsProfile = If( json?.PropertyT("secretsProfile"), out var __jsonSecretsProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SecretsProfile.FromJson(__jsonSecretsProfile) : SecretsProfile;} - {_connectivityProfile = If( json?.PropertyT("connectivityProfile"), out var __jsonConnectivityProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ConnectivityProfile.FromJson(__jsonConnectivityProfile) : ConnectivityProfile;} - {_logAnalyticsProfile = If( json?.PropertyT("logAnalyticsProfile"), out var __jsonLogAnalyticsProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsProfile.FromJson(__jsonLogAnalyticsProfile) : LogAnalyticsProfile;} - {_prometheusProfile = If( json?.PropertyT("prometheusProfile"), out var __jsonPrometheusProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfile.FromJson(__jsonPrometheusProfile) : PrometheusProfile;} - {_sshProfile = If( json?.PropertyT("sshProfile"), out var __jsonSshProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SshProfile.FromJson(__jsonSshProfile) : SshProfile;} - {_autoscaleProfile = If( json?.PropertyT("autoscaleProfile"), out var __jsonAutoscaleProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AutoscaleProfile.FromJson(__jsonAutoscaleProfile) : AutoscaleProfile;} - {_trinoProfile = If( json?.PropertyT("trinoProfile"), out var __jsonTrinoProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoProfile.FromJson(__jsonTrinoProfile) : TrinoProfile;} - {_flinkProfile = If( json?.PropertyT("flinkProfile"), out var __jsonFlinkProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkProfile.FromJson(__jsonFlinkProfile) : FlinkProfile;} - {_sparkProfile = If( json?.PropertyT("sparkProfile"), out var __jsonSparkProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkProfile.FromJson(__jsonSparkProfile) : SparkProfile;} - {_clusterVersion = If( json?.PropertyT("clusterVersion"), out var __jsonClusterVersion) ? (string)__jsonClusterVersion : (string)ClusterVersion;} - {_ossVersion = If( json?.PropertyT("ossVersion"), out var __jsonOssVersion) ? (string)__jsonOssVersion : (string)OssVersion;} - {_component = If( json?.PropertyT("components"), out var __jsonComponents) ? If( __jsonComponents as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterComponentsItem) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterComponentsItem.FromJson(__u) )) ))() : null : Component;} - {_serviceConfigsProfile = If( json?.PropertyT("serviceConfigsProfiles"), out var __jsonServiceConfigsProfiles) ? If( __jsonServiceConfigsProfiles as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __q) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterServiceConfigsProfile.FromJson(__p) )) ))() : null : ServiceConfigsProfile;} - {_kafkaProfile = If( json?.PropertyT("kafkaProfile"), out var __jsonKafkaProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfileKafkaProfile.FromJson(__jsonKafkaProfile) : KafkaProfile;} - {_llapProfile = If( json?.PropertyT("llapProfile"), out var __jsonLlapProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfileLlapProfile.FromJson(__jsonLlapProfile) : LlapProfile;} - {_stubProfile = If( json?.PropertyT("stubProfile"), out var __jsonStubProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfileStubProfile.FromJson(__jsonStubProfile) : StubProfile;} - {_scriptActionProfile = If( json?.PropertyT("scriptActionProfiles"), out var __jsonScriptActionProfiles) ? If( __jsonScriptActionProfiles as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __l) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__l, (__k)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScriptActionProfile) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ScriptActionProfile.FromJson(__k) )) ))() : null : ScriptActionProfile;} + {_identityProfile = If( json?.PropertyT("identityProfile"), out var __jsonIdentityProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IdentityProfile.FromJson(__jsonIdentityProfile) : _identityProfile;} + {_authorizationProfile = If( json?.PropertyT("authorizationProfile"), out var __jsonAuthorizationProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AuthorizationProfile.FromJson(__jsonAuthorizationProfile) : _authorizationProfile;} + {_secretsProfile = If( json?.PropertyT("secretsProfile"), out var __jsonSecretsProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SecretsProfile.FromJson(__jsonSecretsProfile) : _secretsProfile;} + {_connectivityProfile = If( json?.PropertyT("connectivityProfile"), out var __jsonConnectivityProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ConnectivityProfile.FromJson(__jsonConnectivityProfile) : _connectivityProfile;} + {_clusterAccessProfile = If( json?.PropertyT("clusterAccessProfile"), out var __jsonClusterAccessProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAccessProfile.FromJson(__jsonClusterAccessProfile) : _clusterAccessProfile;} + {_logAnalyticsProfile = If( json?.PropertyT("logAnalyticsProfile"), out var __jsonLogAnalyticsProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsProfile.FromJson(__jsonLogAnalyticsProfile) : _logAnalyticsProfile;} + {_prometheusProfile = If( json?.PropertyT("prometheusProfile"), out var __jsonPrometheusProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfile.FromJson(__jsonPrometheusProfile) : _prometheusProfile;} + {_sshProfile = If( json?.PropertyT("sshProfile"), out var __jsonSshProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SshProfile.FromJson(__jsonSshProfile) : _sshProfile;} + {_autoscaleProfile = If( json?.PropertyT("autoscaleProfile"), out var __jsonAutoscaleProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AutoscaleProfile.FromJson(__jsonAutoscaleProfile) : _autoscaleProfile;} + {_rangerPluginProfile = If( json?.PropertyT("rangerPluginProfile"), out var __jsonRangerPluginProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfile.FromJson(__jsonRangerPluginProfile) : _rangerPluginProfile;} + {_kafkaProfile = If( json?.PropertyT("kafkaProfile"), out var __jsonKafkaProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaProfile.FromJson(__jsonKafkaProfile) : _kafkaProfile;} + {_trinoProfile = If( json?.PropertyT("trinoProfile"), out var __jsonTrinoProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoProfile.FromJson(__jsonTrinoProfile) : _trinoProfile;} + {_flinkProfile = If( json?.PropertyT("flinkProfile"), out var __jsonFlinkProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkProfile.FromJson(__jsonFlinkProfile) : _flinkProfile;} + {_sparkProfile = If( json?.PropertyT("sparkProfile"), out var __jsonSparkProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkProfile.FromJson(__jsonSparkProfile) : _sparkProfile;} + {_rangerProfile = If( json?.PropertyT("rangerProfile"), out var __jsonRangerProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerProfile.FromJson(__jsonRangerProfile) : _rangerProfile;} + {_clusterVersion = If( json?.PropertyT("clusterVersion"), out var __jsonClusterVersion) ? (string)__jsonClusterVersion : (string)_clusterVersion;} + {_ossVersion = If( json?.PropertyT("ossVersion"), out var __jsonOssVersion) ? (string)__jsonOssVersion : (string)_ossVersion;} + {_component = If( json?.PropertyT("components"), out var __jsonComponents) ? If( __jsonComponents as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterComponentsItem) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterComponentsItem.FromJson(__u) )) ))() : null : _component;} + {_serviceConfigsProfile = If( json?.PropertyT("serviceConfigsProfiles"), out var __jsonServiceConfigsProfiles) ? If( __jsonServiceConfigsProfiles as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __q) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterServiceConfigsProfile.FromJson(__p) )) ))() : null : _serviceConfigsProfile;} + {_llapProfile = If( json?.PropertyT("llapProfile"), out var __jsonLlapProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfileLlapProfile.FromJson(__jsonLlapProfile) : _llapProfile;} + {_stubProfile = If( json?.PropertyT("stubProfile"), out var __jsonStubProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfileStubProfile.FromJson(__jsonStubProfile) : _stubProfile;} + {_scriptActionProfile = If( json?.PropertyT("scriptActionProfiles"), out var __jsonScriptActionProfiles) ? If( __jsonScriptActionProfiles as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __l) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__l, (__k)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScriptActionProfile) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ScriptActionProfile.FromJson(__k) )) ))() : null : _scriptActionProfile;} AfterFromJson(json); } @@ -125,13 +128,17 @@ public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode T { AddIf( null != this._connectivityProfile ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._connectivityProfile.ToJson(null,serializationMode) : null, "connectivityProfile" ,container.Add ); } + AddIf( null != this._clusterAccessProfile ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._clusterAccessProfile.ToJson(null,serializationMode) : null, "clusterAccessProfile" ,container.Add ); AddIf( null != this._logAnalyticsProfile ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._logAnalyticsProfile.ToJson(null,serializationMode) : null, "logAnalyticsProfile" ,container.Add ); AddIf( null != this._prometheusProfile ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._prometheusProfile.ToJson(null,serializationMode) : null, "prometheusProfile" ,container.Add ); AddIf( null != this._sshProfile ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._sshProfile.ToJson(null,serializationMode) : null, "sshProfile" ,container.Add ); AddIf( null != this._autoscaleProfile ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._autoscaleProfile.ToJson(null,serializationMode) : null, "autoscaleProfile" ,container.Add ); + AddIf( null != this._rangerPluginProfile ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._rangerPluginProfile.ToJson(null,serializationMode) : null, "rangerPluginProfile" ,container.Add ); + AddIf( null != this._kafkaProfile ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._kafkaProfile.ToJson(null,serializationMode) : null, "kafkaProfile" ,container.Add ); AddIf( null != this._trinoProfile ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._trinoProfile.ToJson(null,serializationMode) : null, "trinoProfile" ,container.Add ); AddIf( null != this._flinkProfile ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._flinkProfile.ToJson(null,serializationMode) : null, "flinkProfile" ,container.Add ); AddIf( null != this._sparkProfile ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._sparkProfile.ToJson(null,serializationMode) : null, "sparkProfile" ,container.Add ); + AddIf( null != this._rangerProfile ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._rangerProfile.ToJson(null,serializationMode) : null, "rangerProfile" ,container.Add ); AddIf( null != (((object)this._clusterVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._clusterVersion.ToString()) : null, "clusterVersion" ,container.Add ); AddIf( null != (((object)this._ossVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._ossVersion.ToString()) : null, "ossVersion" ,container.Add ); if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeRead)) @@ -155,7 +162,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode T } container.Add("serviceConfigsProfiles",__r); } - AddIf( null != this._kafkaProfile ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._kafkaProfile.ToJson(null,serializationMode) : null, "kafkaProfile" ,container.Add ); AddIf( null != this._llapProfile ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._llapProfile.ToJson(null,serializationMode) : null, "llapProfile" ,container.Add ); AddIf( null != this._stubProfile ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._stubProfile.ToJson(null,serializationMode) : null, "stubProfile" ,container.Add ); if (null != this._scriptActionProfile) diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPrometheusProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPrometheusProfile.json.cs index 6e139185872f..77b62703973b 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPrometheusProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterPrometheusProfile.json.cs @@ -65,7 +65,7 @@ internal ClusterPrometheusProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOn { return; } - {_enabled = If( json?.PropertyT("enabled"), out var __jsonEnabled) ? (bool)__jsonEnabled : Enabled;} + {_enabled = If( json?.PropertyT("enabled"), out var __jsonEnabled) ? (bool)__jsonEnabled : _enabled;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterRangerPluginProfile.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterRangerPluginProfile.PowerShell.cs new file mode 100644 index 000000000000..2d2079301870 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterRangerPluginProfile.PowerShell.cs @@ -0,0 +1,164 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Cluster Ranger plugin profile. + [System.ComponentModel.TypeConverter(typeof(ClusterRangerPluginProfileTypeConverter))] + public partial class ClusterRangerPluginProfile + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterRangerPluginProfile(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Enabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfileInternal)this).Enabled = (bool) content.GetValueForProperty("Enabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfileInternal)this).Enabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterRangerPluginProfile(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Enabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfileInternal)this).Enabled = (bool) content.GetValueForProperty("Enabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfileInternal)this).Enabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterRangerPluginProfile(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterRangerPluginProfile(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Cluster Ranger plugin profile. + [System.ComponentModel.TypeConverter(typeof(ClusterRangerPluginProfileTypeConverter))] + public partial interface IClusterRangerPluginProfile + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfileKafkaProfile.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterRangerPluginProfile.TypeConverter.cs similarity index 88% rename from src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfileKafkaProfile.TypeConverter.cs rename to src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterRangerPluginProfile.TypeConverter.cs index 83c9fb9c4765..e34a23c77302 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterProfileKafkaProfile.TypeConverter.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterRangerPluginProfile.TypeConverter.cs @@ -8,9 +8,9 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; /// - /// A PowerShell PSTypeConverter to support converting to an instance of + /// A PowerShell PSTypeConverter to support converting to an instance of /// - public partial class ClusterProfileKafkaProfileTypeConverter : global::System.Management.Automation.PSTypeConverter + public partial class ClusterRangerPluginProfileTypeConverter : global::System.Management.Automation.PSTypeConverter { /// @@ -26,13 +26,13 @@ public partial class ClusterProfileKafkaProfileTypeConverter : global::System.Ma public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the + /// Determines if the converter can convert the parameter to the /// type. /// - /// the instance to check if it can be converted to the the instance to check if it can be converted to the type. /// - /// true if the instance could be converted to a type, otherwise false + /// true if the instance could be converted to a type, otherwise false /// public static bool CanConvertFrom(dynamic sourceValue) { @@ -95,31 +95,31 @@ public static bool CanConvertFrom(dynamic sourceValue) /// not used by this TypeConverter. /// when set to true, will ignore the case when converting. /// - /// an instance of , or null if there is no suitable conversion. + /// an instance of , or null if there is no suitable conversion. /// public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter into an instance of + /// Converts the parameter into an instance of /// - /// the value to convert into an instance of . + /// the value to convert into an instance of . /// - /// an instance of , or null if there is no suitable conversion. + /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile).IsAssignableFrom(type)) { return sourceValue; } try { - return ClusterProfileKafkaProfile.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + return ClusterRangerPluginProfile.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; } catch { @@ -127,11 +127,11 @@ public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterP } if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) { - return ClusterProfileKafkaProfile.DeserializeFromPSObject(sourceValue); + return ClusterRangerPluginProfile.DeserializeFromPSObject(sourceValue); } if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) { - return ClusterProfileKafkaProfile.DeserializeFromDictionary(sourceValue); + return ClusterRangerPluginProfile.DeserializeFromDictionary(sourceValue); } return null; } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterRangerPluginProfile.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterRangerPluginProfile.cs new file mode 100644 index 000000000000..cacedfc50377 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterRangerPluginProfile.cs @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster Ranger plugin profile. + public partial class ClusterRangerPluginProfile : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfileInternal + { + + /// Backing field for property. + private bool _enabled; + + /// Enable Ranger for cluster or not. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public bool Enabled { get => this._enabled; set => this._enabled = value; } + + /// Creates an new instance. + public ClusterRangerPluginProfile() + { + + } + } + /// Cluster Ranger plugin profile. + public partial interface IClusterRangerPluginProfile : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable + { + /// Enable Ranger for cluster or not. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Enable Ranger for cluster or not.", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(bool) })] + bool Enabled { get; set; } + + } + /// Cluster Ranger plugin profile. + internal partial interface IClusterRangerPluginProfileInternal + + { + /// Enable Ranger for cluster or not. + bool Enabled { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterRangerPluginProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterRangerPluginProfile.json.cs new file mode 100644 index 000000000000..5e8de8e1db9e --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterRangerPluginProfile.json.cs @@ -0,0 +1,108 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster Ranger plugin profile. + public partial class ClusterRangerPluginProfile + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal ClusterRangerPluginProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_enabled = If( json?.PropertyT("enabled"), out var __jsonEnabled) ? (bool)__jsonEnabled : _enabled;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new ClusterRangerPluginProfile(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonBoolean(this._enabled), "enabled" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterResizeData.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterResizeData.json.cs index 4a5b3ec800e7..4c1470fbd0cf 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterResizeData.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterResizeData.json.cs @@ -66,7 +66,7 @@ internal ClusterResizeData(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Run return; } __trackedResource = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrackedResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterResizeProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterResizeProperties.FromJson(__jsonProperties) : _property;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterResizeProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterResizeProperties.json.cs index 03c9991bbb7f..77088e3dc5eb 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterResizeProperties.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterResizeProperties.json.cs @@ -65,7 +65,7 @@ internal ClusterResizeProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnA { return; } - {_targetWorkerNodeCount = If( json?.PropertyT("targetWorkerNodeCount"), out var __jsonTargetWorkerNodeCount) ? (int)__jsonTargetWorkerNodeCount : TargetWorkerNodeCount;} + {_targetWorkerNodeCount = If( json?.PropertyT("targetWorkerNodeCount"), out var __jsonTargetWorkerNodeCount) ? (int)__jsonTargetWorkerNodeCount : _targetWorkerNodeCount;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterResourceProperties.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterResourceProperties.PowerShell.cs index 75e696c70a14..1e01966d6b26 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterResourceProperties.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterResourceProperties.PowerShell.cs @@ -128,6 +128,10 @@ internal ClusterResourceProperties(global::System.Collections.IDictionary conten { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileAutoscaleProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IAutoscaleProfile) content.GetValueForProperty("ClusterProfileAutoscaleProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileAutoscaleProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AutoscaleProfileTypeConverter.ConvertFrom); } + if (content.Contains("ClusterProfileKafkaProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileKafkaProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile) content.GetValueForProperty("ClusterProfileKafkaProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileKafkaProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaProfileTypeConverter.ConvertFrom); + } if (content.Contains("ClusterProfileTrinoProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileTrinoProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoProfile) content.GetValueForProperty("ClusterProfileTrinoProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileTrinoProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoProfileTypeConverter.ConvertFrom); @@ -140,9 +144,9 @@ internal ClusterResourceProperties(global::System.Collections.IDictionary conten { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileSparkProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfile) content.GetValueForProperty("ClusterProfileSparkProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileSparkProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkProfileTypeConverter.ConvertFrom); } - if (content.Contains("ClusterProfileKafkaProfile")) + if (content.Contains("ClusterProfileRangerProfile")) { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileKafkaProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile) content.GetValueForProperty("ClusterProfileKafkaProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileKafkaProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfileKafkaProfileTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileRangerProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile) content.GetValueForProperty("ClusterProfileRangerProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileRangerProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerProfileTypeConverter.ConvertFrom); } if (content.Contains("ClusterProfileLlapProfile")) { @@ -152,6 +156,10 @@ internal ClusterResourceProperties(global::System.Collections.IDictionary conten { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileStubProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileStubProfile) content.GetValueForProperty("ClusterProfileStubProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileStubProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfileStubProfileTypeConverter.ConvertFrom); } + if (content.Contains("ClusterProfileClusterAccessProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileClusterAccessProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile) content.GetValueForProperty("ClusterProfileClusterAccessProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileClusterAccessProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAccessProfileTypeConverter.ConvertFrom); + } if (content.Contains("ClusterProfileLogAnalyticsProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileLogAnalyticsProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsProfile) content.GetValueForProperty("ClusterProfileLogAnalyticsProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileLogAnalyticsProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsProfileTypeConverter.ConvertFrom); @@ -160,6 +168,10 @@ internal ClusterResourceProperties(global::System.Collections.IDictionary conten { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfilePrometheusProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile) content.GetValueForProperty("ClusterProfilePrometheusProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfilePrometheusProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfileTypeConverter.ConvertFrom); } + if (content.Contains("ClusterProfileRangerPluginProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileRangerPluginProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile) content.GetValueForProperty("ClusterProfileRangerPluginProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileRangerPluginProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfileTypeConverter.ConvertFrom); + } if (content.Contains("ClusterProfileClusterVersion")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileClusterVersion = (string) content.GetValueForProperty("ClusterProfileClusterVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileClusterVersion, global::System.Convert.ToString); @@ -220,6 +232,10 @@ internal ClusterResourceProperties(global::System.Collections.IDictionary conten { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).FlinkProfileNumReplica = (int?) content.GetValueForProperty("FlinkProfileNumReplica",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).FlinkProfileNumReplica, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } + if (content.Contains("FlinkProfileDeploymentMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).FlinkProfileDeploymentMode = (string) content.GetValueForProperty("FlinkProfileDeploymentMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).FlinkProfileDeploymentMode, global::System.Convert.ToString); + } if (content.Contains("IdentityProfileMsiResourceId")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).IdentityProfileMsiResourceId = (string) content.GetValueForProperty("IdentityProfileMsiResourceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).IdentityProfileMsiResourceId, global::System.Convert.ToString); @@ -236,6 +252,14 @@ internal ClusterResourceProperties(global::System.Collections.IDictionary conten { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).SecretProfileKeyVaultResourceId = (string) content.GetValueForProperty("SecretProfileKeyVaultResourceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).SecretProfileKeyVaultResourceId, global::System.Convert.ToString); } + if (content.Contains("ClusterAccessProfileEnableInternalIngress")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterAccessProfileEnableInternalIngress = (bool) content.GetValueForProperty("ClusterAccessProfileEnableInternalIngress",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterAccessProfileEnableInternalIngress, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("ClusterAccessProfilePrivateLinkServiceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterAccessProfilePrivateLinkServiceId = (string) content.GetValueForProperty("ClusterAccessProfilePrivateLinkServiceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterAccessProfilePrivateLinkServiceId, global::System.Convert.ToString); + } if (content.Contains("LogAnalyticProfileApplicationLog")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).LogAnalyticProfileApplicationLog = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsApplicationLogs) content.GetValueForProperty("LogAnalyticProfileApplicationLog",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).LogAnalyticProfileApplicationLog, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsApplicationLogsTypeConverter.ConvertFrom); @@ -300,6 +324,34 @@ internal ClusterResourceProperties(global::System.Collections.IDictionary conten { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).LoadBasedConfigScalingRule = (System.Collections.Generic.List) content.GetValueForProperty("LoadBasedConfigScalingRule",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).LoadBasedConfigScalingRule, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ScalingRuleTypeConverter.ConvertFrom)); } + if (content.Contains("RangerPluginProfileEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerPluginProfileEnabled = (bool) content.GetValueForProperty("RangerPluginProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerPluginProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("KafkaProfileDiskStorage")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileDiskStorage = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile) content.GetValueForProperty("KafkaProfileDiskStorage",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileDiskStorage, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.DiskStorageProfileTypeConverter.ConvertFrom); + } + if (content.Contains("KafkaProfileClusterIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileClusterIdentity = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile) content.GetValueForProperty("KafkaProfileClusterIdentity",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileClusterIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IdentityProfileTypeConverter.ConvertFrom); + } + if (content.Contains("KafkaProfileConnectivityEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileConnectivityEndpoint = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints) content.GetValueForProperty("KafkaProfileConnectivityEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileConnectivityEndpoint, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaConnectivityEndpointsTypeConverter.ConvertFrom); + } + if (content.Contains("KafkaProfileEnableKRaft")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileEnableKRaft = (bool?) content.GetValueForProperty("KafkaProfileEnableKRaft",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileEnableKRaft, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("KafkaProfileEnablePublicEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileEnablePublicEndpoint = (bool?) content.GetValueForProperty("KafkaProfileEnablePublicEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileEnablePublicEndpoint, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("KafkaProfileRemoteStorageUri")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileRemoteStorageUri = (string) content.GetValueForProperty("KafkaProfileRemoteStorageUri",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileRemoteStorageUri, global::System.Convert.ToString); + } if (content.Contains("TrinoProfileCoordinator")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).TrinoProfileCoordinator = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoCoordinator) content.GetValueForProperty("TrinoProfileCoordinator",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).TrinoProfileCoordinator, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoCoordinatorTypeConverter.ConvertFrom); @@ -340,6 +392,14 @@ internal ClusterResourceProperties(global::System.Collections.IDictionary conten { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).FlinkProfileCatalogOption = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptions) content.GetValueForProperty("FlinkProfileCatalogOption",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).FlinkProfileCatalogOption, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkCatalogOptionsTypeConverter.ConvertFrom); } + if (content.Contains("FlinkProfileJobSpec")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).FlinkProfileJobSpec = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile) content.GetValueForProperty("FlinkProfileJobSpec",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).FlinkProfileJobSpec, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkJobProfileTypeConverter.ConvertFrom); + } + if (content.Contains("JobSpecUpgradeMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecUpgradeMode = (string) content.GetValueForProperty("JobSpecUpgradeMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecUpgradeMode, global::System.Convert.ToString); + } if (content.Contains("SparkProfileMetastoreSpec")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).SparkProfileMetastoreSpec = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpec) content.GetValueForProperty("SparkProfileMetastoreSpec",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).SparkProfileMetastoreSpec, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkMetastoreSpecTypeConverter.ConvertFrom); @@ -352,10 +412,30 @@ internal ClusterResourceProperties(global::System.Collections.IDictionary conten { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).SparkProfileDefaultStorageUrl = (string) content.GetValueForProperty("SparkProfileDefaultStorageUrl",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).SparkProfileDefaultStorageUrl, global::System.Convert.ToString); } + if (content.Contains("RangerProfileRangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerProfileRangerAdmin = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec) content.GetValueForProperty("RangerProfileRangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerProfileRangerAdmin, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerAudit")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerProfileRangerAudit = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec) content.GetValueForProperty("RangerProfileRangerAudit",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerProfileRangerAudit, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAuditSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerUsersync")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerProfileRangerUsersync = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec) content.GetValueForProperty("RangerProfileRangerUsersync",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerProfileRangerUsersync, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerUsersyncSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerUsersyncMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerUsersyncMode = (string) content.GetValueForProperty("RangerUsersyncMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerUsersyncMode, global::System.Convert.ToString); + } if (content.Contains("WebFqdn")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).WebFqdn = (string) content.GetValueForProperty("WebFqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).WebFqdn, global::System.Convert.ToString); } + if (content.Contains("WebPrivateFqdn")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).WebPrivateFqdn = (string) content.GetValueForProperty("WebPrivateFqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).WebPrivateFqdn, global::System.Convert.ToString); + } if (content.Contains("ApplicationLogStdOutEnabled")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ApplicationLogStdOutEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdOutEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ApplicationLogStdOutEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); @@ -364,6 +444,34 @@ internal ClusterResourceProperties(global::System.Collections.IDictionary conten { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ApplicationLogStdErrorEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdErrorEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ApplicationLogStdErrorEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("DiskStorageDataDiskSize")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DiskStorageDataDiskSize = (int) content.GetValueForProperty("DiskStorageDataDiskSize",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DiskStorageDataDiskSize, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("DiskStorageDataDiskType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DiskStorageDataDiskType = (string) content.GetValueForProperty("DiskStorageDataDiskType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DiskStorageDataDiskType, global::System.Convert.ToString); + } + if (content.Contains("ClusterIdentityMsiResourceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterIdentityMsiResourceId = (string) content.GetValueForProperty("ClusterIdentityMsiResourceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterIdentityMsiResourceId, global::System.Convert.ToString); + } + if (content.Contains("ClusterIdentityMsiClientId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterIdentityMsiClientId = (string) content.GetValueForProperty("ClusterIdentityMsiClientId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterIdentityMsiClientId, global::System.Convert.ToString); + } + if (content.Contains("ClusterIdentityMsiObjectId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterIdentityMsiObjectId = (string) content.GetValueForProperty("ClusterIdentityMsiObjectId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterIdentityMsiObjectId, global::System.Convert.ToString); + } + if (content.Contains("ConnectivityEndpointBootstrapServerEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ConnectivityEndpointBootstrapServerEndpoint = (string) content.GetValueForProperty("ConnectivityEndpointBootstrapServerEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ConnectivityEndpointBootstrapServerEndpoint, global::System.Convert.ToString); + } + if (content.Contains("ConnectivityEndpointBrokerEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ConnectivityEndpointBrokerEndpoint = (System.Collections.Generic.List) content.GetValueForProperty("ConnectivityEndpointBrokerEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ConnectivityEndpointBrokerEndpoint, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } if (content.Contains("CoordinatorDebug")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).CoordinatorDebug = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoDebugConfig) content.GetValueForProperty("CoordinatorDebug",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).CoordinatorDebug, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoDebugConfigTypeConverter.ConvertFrom); @@ -420,6 +528,26 @@ internal ClusterResourceProperties(global::System.Collections.IDictionary conten { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).FlinkProfileCatalogOptionsHive = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOption) content.GetValueForProperty("FlinkProfileCatalogOptionsHive",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).FlinkProfileCatalogOptionsHive, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkHiveCatalogOptionTypeConverter.ConvertFrom); } + if (content.Contains("JobSpecJobJarDirectory")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecJobJarDirectory = (string) content.GetValueForProperty("JobSpecJobJarDirectory",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecJobJarDirectory, global::System.Convert.ToString); + } + if (content.Contains("JobSpecJarName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecJarName = (string) content.GetValueForProperty("JobSpecJarName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecJarName, global::System.Convert.ToString); + } + if (content.Contains("JobSpecEntryClass")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecEntryClass = (string) content.GetValueForProperty("JobSpecEntryClass",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecEntryClass, global::System.Convert.ToString); + } + if (content.Contains("JobSpecArg")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecArg = (string) content.GetValueForProperty("JobSpecArg",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecArg, global::System.Convert.ToString); + } + if (content.Contains("JobSpecSavePointName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecSavePointName = (string) content.GetValueForProperty("JobSpecSavePointName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecSavePointName, global::System.Convert.ToString); + } if (content.Contains("MetastoreSpecDbServerHost")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).MetastoreSpecDbServerHost = (string) content.GetValueForProperty("MetastoreSpecDbServerHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).MetastoreSpecDbServerHost, global::System.Convert.ToString); @@ -428,6 +556,10 @@ internal ClusterResourceProperties(global::System.Collections.IDictionary conten { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).MetastoreSpecDbName = (string) content.GetValueForProperty("MetastoreSpecDbName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).MetastoreSpecDbName, global::System.Convert.ToString); } + if (content.Contains("MetastoreSpecDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).MetastoreSpecDbConnectionAuthenticationMode = (string) content.GetValueForProperty("MetastoreSpecDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).MetastoreSpecDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("MetastoreSpecDbUserName")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).MetastoreSpecDbUserName = (string) content.GetValueForProperty("MetastoreSpecDbUserName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).MetastoreSpecDbUserName, global::System.Convert.ToString); @@ -448,6 +580,34 @@ internal ClusterResourceProperties(global::System.Collections.IDictionary conten { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).SparkProfileUserPluginsSpecPlugin = (System.Collections.Generic.List) content.GetValueForProperty("SparkProfileUserPluginsSpecPlugin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).SparkProfileUserPluginsSpecPlugin, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkUserPluginTypeConverter.ConvertFrom)); } + if (content.Contains("RangerAdminDatabase")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerAdminDatabase = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase) content.GetValueForProperty("RangerAdminDatabase",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerAdminDatabase, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabaseTypeConverter.ConvertFrom); + } + if (content.Contains("RangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerAdmin = (System.Collections.Generic.List) content.GetValueForProperty("RangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerAdmin, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerAuditStorageAccount")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerAuditStorageAccount = (string) content.GetValueForProperty("RangerAuditStorageAccount",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerAuditStorageAccount, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerUsersyncEnabled = (bool?) content.GetValueForProperty("RangerUsersyncEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerUsersyncEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RangerUsersyncGroup")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerUsersyncGroup = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncGroup",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerUsersyncGroup, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerUsersyncUserMappingLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerUsersyncUserMappingLocation = (string) content.GetValueForProperty("RangerUsersyncUserMappingLocation",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerUsersyncUserMappingLocation, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncUser")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerUsersyncUser = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncUser",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerUsersyncUser, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } if (content.Contains("CoordinatorDebugEnable")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).CoordinatorDebugEnable = (bool?) content.GetValueForProperty("CoordinatorDebugEnable",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).CoordinatorDebugEnable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); @@ -488,6 +648,10 @@ internal ClusterResourceProperties(global::System.Collections.IDictionary conten { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).WorkerDebugSuspend = (bool?) content.GetValueForProperty("WorkerDebugSuspend",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).WorkerDebugSuspend, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("HiveMetastoreDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).HiveMetastoreDbConnectionAuthenticationMode = (string) content.GetValueForProperty("HiveMetastoreDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).HiveMetastoreDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("HiveMetastoreDbConnectionPasswordSecret")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).HiveMetastoreDbConnectionPasswordSecret = (string) content.GetValueForProperty("HiveMetastoreDbConnectionPasswordSecret",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).HiveMetastoreDbConnectionPasswordSecret, global::System.Convert.ToString); @@ -500,6 +664,22 @@ internal ClusterResourceProperties(global::System.Collections.IDictionary conten { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).HiveMetastoreDbConnectionUserName = (string) content.GetValueForProperty("HiveMetastoreDbConnectionUserName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).HiveMetastoreDbConnectionUserName, global::System.Convert.ToString); } + if (content.Contains("DatabaseHost")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DatabaseHost = (string) content.GetValueForProperty("DatabaseHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DatabaseHost, global::System.Convert.ToString); + } + if (content.Contains("DatabaseName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DatabaseName, global::System.Convert.ToString); + } + if (content.Contains("DatabasePasswordSecretRef")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DatabasePasswordSecretRef = (string) content.GetValueForProperty("DatabasePasswordSecretRef",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DatabasePasswordSecretRef, global::System.Convert.ToString); + } + if (content.Contains("DatabaseUsername")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DatabaseUsername = (string) content.GetValueForProperty("DatabaseUsername",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DatabaseUsername, global::System.Convert.ToString); + } AfterDeserializeDictionary(content); } @@ -569,6 +749,10 @@ internal ClusterResourceProperties(global::System.Management.Automation.PSObject { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileAutoscaleProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IAutoscaleProfile) content.GetValueForProperty("ClusterProfileAutoscaleProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileAutoscaleProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AutoscaleProfileTypeConverter.ConvertFrom); } + if (content.Contains("ClusterProfileKafkaProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileKafkaProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile) content.GetValueForProperty("ClusterProfileKafkaProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileKafkaProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaProfileTypeConverter.ConvertFrom); + } if (content.Contains("ClusterProfileTrinoProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileTrinoProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoProfile) content.GetValueForProperty("ClusterProfileTrinoProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileTrinoProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoProfileTypeConverter.ConvertFrom); @@ -581,9 +765,9 @@ internal ClusterResourceProperties(global::System.Management.Automation.PSObject { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileSparkProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfile) content.GetValueForProperty("ClusterProfileSparkProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileSparkProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkProfileTypeConverter.ConvertFrom); } - if (content.Contains("ClusterProfileKafkaProfile")) + if (content.Contains("ClusterProfileRangerProfile")) { - ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileKafkaProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile) content.GetValueForProperty("ClusterProfileKafkaProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileKafkaProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfileKafkaProfileTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileRangerProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile) content.GetValueForProperty("ClusterProfileRangerProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileRangerProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerProfileTypeConverter.ConvertFrom); } if (content.Contains("ClusterProfileLlapProfile")) { @@ -593,6 +777,10 @@ internal ClusterResourceProperties(global::System.Management.Automation.PSObject { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileStubProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileStubProfile) content.GetValueForProperty("ClusterProfileStubProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileStubProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfileStubProfileTypeConverter.ConvertFrom); } + if (content.Contains("ClusterProfileClusterAccessProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileClusterAccessProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile) content.GetValueForProperty("ClusterProfileClusterAccessProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileClusterAccessProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterAccessProfileTypeConverter.ConvertFrom); + } if (content.Contains("ClusterProfileLogAnalyticsProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileLogAnalyticsProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsProfile) content.GetValueForProperty("ClusterProfileLogAnalyticsProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileLogAnalyticsProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsProfileTypeConverter.ConvertFrom); @@ -601,6 +789,10 @@ internal ClusterResourceProperties(global::System.Management.Automation.PSObject { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfilePrometheusProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile) content.GetValueForProperty("ClusterProfilePrometheusProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfilePrometheusProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfileTypeConverter.ConvertFrom); } + if (content.Contains("ClusterProfileRangerPluginProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileRangerPluginProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile) content.GetValueForProperty("ClusterProfileRangerPluginProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileRangerPluginProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfileTypeConverter.ConvertFrom); + } if (content.Contains("ClusterProfileClusterVersion")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileClusterVersion = (string) content.GetValueForProperty("ClusterProfileClusterVersion",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterProfileClusterVersion, global::System.Convert.ToString); @@ -661,6 +853,10 @@ internal ClusterResourceProperties(global::System.Management.Automation.PSObject { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).FlinkProfileNumReplica = (int?) content.GetValueForProperty("FlinkProfileNumReplica",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).FlinkProfileNumReplica, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } + if (content.Contains("FlinkProfileDeploymentMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).FlinkProfileDeploymentMode = (string) content.GetValueForProperty("FlinkProfileDeploymentMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).FlinkProfileDeploymentMode, global::System.Convert.ToString); + } if (content.Contains("IdentityProfileMsiResourceId")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).IdentityProfileMsiResourceId = (string) content.GetValueForProperty("IdentityProfileMsiResourceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).IdentityProfileMsiResourceId, global::System.Convert.ToString); @@ -677,6 +873,14 @@ internal ClusterResourceProperties(global::System.Management.Automation.PSObject { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).SecretProfileKeyVaultResourceId = (string) content.GetValueForProperty("SecretProfileKeyVaultResourceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).SecretProfileKeyVaultResourceId, global::System.Convert.ToString); } + if (content.Contains("ClusterAccessProfileEnableInternalIngress")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterAccessProfileEnableInternalIngress = (bool) content.GetValueForProperty("ClusterAccessProfileEnableInternalIngress",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterAccessProfileEnableInternalIngress, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("ClusterAccessProfilePrivateLinkServiceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterAccessProfilePrivateLinkServiceId = (string) content.GetValueForProperty("ClusterAccessProfilePrivateLinkServiceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterAccessProfilePrivateLinkServiceId, global::System.Convert.ToString); + } if (content.Contains("LogAnalyticProfileApplicationLog")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).LogAnalyticProfileApplicationLog = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsApplicationLogs) content.GetValueForProperty("LogAnalyticProfileApplicationLog",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).LogAnalyticProfileApplicationLog, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsApplicationLogsTypeConverter.ConvertFrom); @@ -741,6 +945,34 @@ internal ClusterResourceProperties(global::System.Management.Automation.PSObject { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).LoadBasedConfigScalingRule = (System.Collections.Generic.List) content.GetValueForProperty("LoadBasedConfigScalingRule",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).LoadBasedConfigScalingRule, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ScalingRuleTypeConverter.ConvertFrom)); } + if (content.Contains("RangerPluginProfileEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerPluginProfileEnabled = (bool) content.GetValueForProperty("RangerPluginProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerPluginProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("KafkaProfileDiskStorage")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileDiskStorage = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile) content.GetValueForProperty("KafkaProfileDiskStorage",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileDiskStorage, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.DiskStorageProfileTypeConverter.ConvertFrom); + } + if (content.Contains("KafkaProfileClusterIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileClusterIdentity = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile) content.GetValueForProperty("KafkaProfileClusterIdentity",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileClusterIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IdentityProfileTypeConverter.ConvertFrom); + } + if (content.Contains("KafkaProfileConnectivityEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileConnectivityEndpoint = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints) content.GetValueForProperty("KafkaProfileConnectivityEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileConnectivityEndpoint, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaConnectivityEndpointsTypeConverter.ConvertFrom); + } + if (content.Contains("KafkaProfileEnableKRaft")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileEnableKRaft = (bool?) content.GetValueForProperty("KafkaProfileEnableKRaft",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileEnableKRaft, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("KafkaProfileEnablePublicEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileEnablePublicEndpoint = (bool?) content.GetValueForProperty("KafkaProfileEnablePublicEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileEnablePublicEndpoint, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("KafkaProfileRemoteStorageUri")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileRemoteStorageUri = (string) content.GetValueForProperty("KafkaProfileRemoteStorageUri",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).KafkaProfileRemoteStorageUri, global::System.Convert.ToString); + } if (content.Contains("TrinoProfileCoordinator")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).TrinoProfileCoordinator = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoCoordinator) content.GetValueForProperty("TrinoProfileCoordinator",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).TrinoProfileCoordinator, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoCoordinatorTypeConverter.ConvertFrom); @@ -781,6 +1013,14 @@ internal ClusterResourceProperties(global::System.Management.Automation.PSObject { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).FlinkProfileCatalogOption = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptions) content.GetValueForProperty("FlinkProfileCatalogOption",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).FlinkProfileCatalogOption, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkCatalogOptionsTypeConverter.ConvertFrom); } + if (content.Contains("FlinkProfileJobSpec")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).FlinkProfileJobSpec = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile) content.GetValueForProperty("FlinkProfileJobSpec",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).FlinkProfileJobSpec, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkJobProfileTypeConverter.ConvertFrom); + } + if (content.Contains("JobSpecUpgradeMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecUpgradeMode = (string) content.GetValueForProperty("JobSpecUpgradeMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecUpgradeMode, global::System.Convert.ToString); + } if (content.Contains("SparkProfileMetastoreSpec")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).SparkProfileMetastoreSpec = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpec) content.GetValueForProperty("SparkProfileMetastoreSpec",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).SparkProfileMetastoreSpec, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkMetastoreSpecTypeConverter.ConvertFrom); @@ -793,10 +1033,30 @@ internal ClusterResourceProperties(global::System.Management.Automation.PSObject { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).SparkProfileDefaultStorageUrl = (string) content.GetValueForProperty("SparkProfileDefaultStorageUrl",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).SparkProfileDefaultStorageUrl, global::System.Convert.ToString); } + if (content.Contains("RangerProfileRangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerProfileRangerAdmin = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec) content.GetValueForProperty("RangerProfileRangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerProfileRangerAdmin, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerAudit")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerProfileRangerAudit = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec) content.GetValueForProperty("RangerProfileRangerAudit",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerProfileRangerAudit, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAuditSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerUsersync")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerProfileRangerUsersync = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec) content.GetValueForProperty("RangerProfileRangerUsersync",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerProfileRangerUsersync, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerUsersyncSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerUsersyncMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerUsersyncMode = (string) content.GetValueForProperty("RangerUsersyncMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerUsersyncMode, global::System.Convert.ToString); + } if (content.Contains("WebFqdn")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).WebFqdn = (string) content.GetValueForProperty("WebFqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).WebFqdn, global::System.Convert.ToString); } + if (content.Contains("WebPrivateFqdn")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).WebPrivateFqdn = (string) content.GetValueForProperty("WebPrivateFqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).WebPrivateFqdn, global::System.Convert.ToString); + } if (content.Contains("ApplicationLogStdOutEnabled")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ApplicationLogStdOutEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdOutEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ApplicationLogStdOutEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); @@ -805,6 +1065,34 @@ internal ClusterResourceProperties(global::System.Management.Automation.PSObject { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ApplicationLogStdErrorEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdErrorEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ApplicationLogStdErrorEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("DiskStorageDataDiskSize")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DiskStorageDataDiskSize = (int) content.GetValueForProperty("DiskStorageDataDiskSize",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DiskStorageDataDiskSize, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("DiskStorageDataDiskType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DiskStorageDataDiskType = (string) content.GetValueForProperty("DiskStorageDataDiskType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DiskStorageDataDiskType, global::System.Convert.ToString); + } + if (content.Contains("ClusterIdentityMsiResourceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterIdentityMsiResourceId = (string) content.GetValueForProperty("ClusterIdentityMsiResourceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterIdentityMsiResourceId, global::System.Convert.ToString); + } + if (content.Contains("ClusterIdentityMsiClientId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterIdentityMsiClientId = (string) content.GetValueForProperty("ClusterIdentityMsiClientId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterIdentityMsiClientId, global::System.Convert.ToString); + } + if (content.Contains("ClusterIdentityMsiObjectId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterIdentityMsiObjectId = (string) content.GetValueForProperty("ClusterIdentityMsiObjectId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ClusterIdentityMsiObjectId, global::System.Convert.ToString); + } + if (content.Contains("ConnectivityEndpointBootstrapServerEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ConnectivityEndpointBootstrapServerEndpoint = (string) content.GetValueForProperty("ConnectivityEndpointBootstrapServerEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ConnectivityEndpointBootstrapServerEndpoint, global::System.Convert.ToString); + } + if (content.Contains("ConnectivityEndpointBrokerEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ConnectivityEndpointBrokerEndpoint = (System.Collections.Generic.List) content.GetValueForProperty("ConnectivityEndpointBrokerEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).ConnectivityEndpointBrokerEndpoint, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } if (content.Contains("CoordinatorDebug")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).CoordinatorDebug = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoDebugConfig) content.GetValueForProperty("CoordinatorDebug",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).CoordinatorDebug, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoDebugConfigTypeConverter.ConvertFrom); @@ -861,6 +1149,26 @@ internal ClusterResourceProperties(global::System.Management.Automation.PSObject { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).FlinkProfileCatalogOptionsHive = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOption) content.GetValueForProperty("FlinkProfileCatalogOptionsHive",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).FlinkProfileCatalogOptionsHive, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkHiveCatalogOptionTypeConverter.ConvertFrom); } + if (content.Contains("JobSpecJobJarDirectory")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecJobJarDirectory = (string) content.GetValueForProperty("JobSpecJobJarDirectory",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecJobJarDirectory, global::System.Convert.ToString); + } + if (content.Contains("JobSpecJarName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecJarName = (string) content.GetValueForProperty("JobSpecJarName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecJarName, global::System.Convert.ToString); + } + if (content.Contains("JobSpecEntryClass")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecEntryClass = (string) content.GetValueForProperty("JobSpecEntryClass",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecEntryClass, global::System.Convert.ToString); + } + if (content.Contains("JobSpecArg")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecArg = (string) content.GetValueForProperty("JobSpecArg",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecArg, global::System.Convert.ToString); + } + if (content.Contains("JobSpecSavePointName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecSavePointName = (string) content.GetValueForProperty("JobSpecSavePointName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).JobSpecSavePointName, global::System.Convert.ToString); + } if (content.Contains("MetastoreSpecDbServerHost")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).MetastoreSpecDbServerHost = (string) content.GetValueForProperty("MetastoreSpecDbServerHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).MetastoreSpecDbServerHost, global::System.Convert.ToString); @@ -869,6 +1177,10 @@ internal ClusterResourceProperties(global::System.Management.Automation.PSObject { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).MetastoreSpecDbName = (string) content.GetValueForProperty("MetastoreSpecDbName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).MetastoreSpecDbName, global::System.Convert.ToString); } + if (content.Contains("MetastoreSpecDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).MetastoreSpecDbConnectionAuthenticationMode = (string) content.GetValueForProperty("MetastoreSpecDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).MetastoreSpecDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("MetastoreSpecDbUserName")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).MetastoreSpecDbUserName = (string) content.GetValueForProperty("MetastoreSpecDbUserName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).MetastoreSpecDbUserName, global::System.Convert.ToString); @@ -889,6 +1201,34 @@ internal ClusterResourceProperties(global::System.Management.Automation.PSObject { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).SparkProfileUserPluginsSpecPlugin = (System.Collections.Generic.List) content.GetValueForProperty("SparkProfileUserPluginsSpecPlugin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).SparkProfileUserPluginsSpecPlugin, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkUserPluginTypeConverter.ConvertFrom)); } + if (content.Contains("RangerAdminDatabase")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerAdminDatabase = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase) content.GetValueForProperty("RangerAdminDatabase",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerAdminDatabase, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabaseTypeConverter.ConvertFrom); + } + if (content.Contains("RangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerAdmin = (System.Collections.Generic.List) content.GetValueForProperty("RangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerAdmin, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerAuditStorageAccount")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerAuditStorageAccount = (string) content.GetValueForProperty("RangerAuditStorageAccount",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerAuditStorageAccount, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerUsersyncEnabled = (bool?) content.GetValueForProperty("RangerUsersyncEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerUsersyncEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RangerUsersyncGroup")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerUsersyncGroup = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncGroup",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerUsersyncGroup, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerUsersyncUserMappingLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerUsersyncUserMappingLocation = (string) content.GetValueForProperty("RangerUsersyncUserMappingLocation",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerUsersyncUserMappingLocation, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncUser")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerUsersyncUser = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncUser",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).RangerUsersyncUser, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } if (content.Contains("CoordinatorDebugEnable")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).CoordinatorDebugEnable = (bool?) content.GetValueForProperty("CoordinatorDebugEnable",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).CoordinatorDebugEnable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); @@ -929,6 +1269,10 @@ internal ClusterResourceProperties(global::System.Management.Automation.PSObject { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).WorkerDebugSuspend = (bool?) content.GetValueForProperty("WorkerDebugSuspend",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).WorkerDebugSuspend, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("HiveMetastoreDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).HiveMetastoreDbConnectionAuthenticationMode = (string) content.GetValueForProperty("HiveMetastoreDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).HiveMetastoreDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("HiveMetastoreDbConnectionPasswordSecret")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).HiveMetastoreDbConnectionPasswordSecret = (string) content.GetValueForProperty("HiveMetastoreDbConnectionPasswordSecret",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).HiveMetastoreDbConnectionPasswordSecret, global::System.Convert.ToString); @@ -941,6 +1285,22 @@ internal ClusterResourceProperties(global::System.Management.Automation.PSObject { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).HiveMetastoreDbConnectionUserName = (string) content.GetValueForProperty("HiveMetastoreDbConnectionUserName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).HiveMetastoreDbConnectionUserName, global::System.Convert.ToString); } + if (content.Contains("DatabaseHost")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DatabaseHost = (string) content.GetValueForProperty("DatabaseHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DatabaseHost, global::System.Convert.ToString); + } + if (content.Contains("DatabaseName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DatabaseName, global::System.Convert.ToString); + } + if (content.Contains("DatabasePasswordSecretRef")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DatabasePasswordSecretRef = (string) content.GetValueForProperty("DatabasePasswordSecretRef",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DatabasePasswordSecretRef, global::System.Convert.ToString); + } + if (content.Contains("DatabaseUsername")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DatabaseUsername = (string) content.GetValueForProperty("DatabaseUsername",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal)this).DatabaseUsername, global::System.Convert.ToString); + } AfterDeserializePSObject(content); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterResourceProperties.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterResourceProperties.cs index dfdba4c96abc..fe5532854161 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterResourceProperties.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterResourceProperties.cs @@ -47,6 +47,30 @@ public partial class ClusterResourceProperties : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public int? AutoscaleProfileGracefulDecommissionTimeout { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).AutoscaleProfileGracefulDecommissionTimeout; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).AutoscaleProfileGracefulDecommissionTimeout = value ?? default(int); } + /// + /// Whether to create cluster using private IP instead of public IP. This property must be set at create time. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? ClusterAccessProfileEnableInternalIngress { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).ClusterAccessProfileEnableInternalIngress; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).ClusterAccessProfileEnableInternalIngress = value ?? default(bool); } + + /// + /// Private link service resource ID. Only when enableInternalIngress is true, this property will be returned. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string ClusterAccessProfilePrivateLinkServiceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).ClusterAccessProfilePrivateLinkServiceId; } + + /// ClientId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string ClusterIdentityMsiClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).ClusterIdentityMsiClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).ClusterIdentityMsiClientId = value ?? null; } + + /// ObjectId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string ClusterIdentityMsiObjectId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).ClusterIdentityMsiObjectId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).ClusterIdentityMsiObjectId = value ?? null; } + + /// ResourceId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string ClusterIdentityMsiResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).ClusterIdentityMsiResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).ClusterIdentityMsiResourceId = value ?? null; } + /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfile _clusterProfile; @@ -62,10 +86,6 @@ public partial class ClusterResourceProperties : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public System.Collections.Generic.List ClusterProfileComponent { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).Component; } - /// Kafka cluster profile. - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile ClusterProfileKafkaProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).KafkaProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).KafkaProfile = value ?? null /* model class */; } - /// LLAP cluster profile. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileLlapProfile ClusterProfileLlapProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).LlapProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).LlapProfile = value ?? null /* model class */; } @@ -104,6 +124,14 @@ public partial class ClusterResourceProperties : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public System.Collections.Generic.List ComputeProfileNode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeProfileInternal)ComputeProfile).Node; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeProfileInternal)ComputeProfile).Node = value ; } + /// bootstrap server connectivity endpoint. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string ConnectivityEndpointBootstrapServerEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).ConnectivityEndpointBootstrapServerEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).ConnectivityEndpointBootstrapServerEndpoint = value ?? null; } + + /// Kafka broker endpoint list. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List ConnectivityEndpointBrokerEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).ConnectivityEndpointBrokerEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).ConnectivityEndpointBrokerEndpoint = value ?? null /* arrayOf */; } + /// List of SSH connectivity endpoints. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public System.Collections.Generic.List ConnectivityProfileSsh { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).ConnectivityProfileSsh; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).ConnectivityProfileSsh = value ?? null /* arrayOf */; } @@ -127,6 +155,22 @@ public partial class ClusterResourceProperties : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public bool? CoordinatorHighAvailabilityEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).CoordinatorHighAvailabilityEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).CoordinatorHighAvailabilityEnabled = value ?? default(bool); } + /// The database URL + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseHost { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).DatabaseHost; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).DatabaseHost = value ?? null; } + + /// The database name + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseName { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).DatabaseName; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).DatabaseName = value ?? null; } + + /// Reference for the database password + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabasePasswordSecretRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).DatabasePasswordSecretRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).DatabasePasswordSecretRef = value ?? null; } + + /// The name of the database user + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseUsername { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).DatabaseUsername; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).DatabaseUsername = value ?? null; } + /// Backing field for property. private string _deploymentId; @@ -134,6 +178,24 @@ public partial class ClusterResourceProperties : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] public string DeploymentId { get => this._deploymentId; } + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public int? DiskStorageDataDiskSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).DiskStorageDataDiskSize; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).DiskStorageDataDiskSize = value ?? default(int); } + + /// Managed Disk Type. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DiskStorageDataDiskType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).DiskStorageDataDiskType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).DiskStorageDataDiskType = value ?? null; } + + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string FlinkProfileDeploymentMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).FlinkProfileDeploymentMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).FlinkProfileDeploymentMode = value ?? null; } + /// The number of task managers. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public int? FlinkProfileNumReplica { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).FlinkProfileNumReplica; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).FlinkProfileNumReplica = value ?? default(int); } @@ -146,6 +208,12 @@ public partial class ClusterResourceProperties : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public long? HistoryServerMemory { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).HistoryServerMemory; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).HistoryServerMemory = value ?? default(long); } + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string HiveMetastoreDbConnectionAuthenticationMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).HiveMetastoreDbConnectionAuthenticationMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).HiveMetastoreDbConnectionAuthenticationMode = value ?? null; } + /// /// Secret reference name from secretsProfile.secrets containing password for database connection. /// @@ -162,15 +230,15 @@ public partial class ClusterResourceProperties : /// ClientId of the MSI. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] - public string IdentityProfileMsiClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).IdentityProfileMsiClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).IdentityProfileMsiClientId = value ; } + public string IdentityProfileMsiClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).IdentityProfileMsiClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).IdentityProfileMsiClientId = value ?? null; } /// ObjectId of the MSI. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] - public string IdentityProfileMsiObjectId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).IdentityProfileMsiObjectId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).IdentityProfileMsiObjectId = value ; } + public string IdentityProfileMsiObjectId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).IdentityProfileMsiObjectId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).IdentityProfileMsiObjectId = value ?? null; } /// ResourceId of the MSI. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] - public string IdentityProfileMsiResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).IdentityProfileMsiResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).IdentityProfileMsiResourceId = value ; } + public string IdentityProfileMsiResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).IdentityProfileMsiResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).IdentityProfileMsiResourceId = value ?? null; } /// The required CPU. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] @@ -180,6 +248,50 @@ public partial class ClusterResourceProperties : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public long? JobManagerMemory { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).JobManagerMemory; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).JobManagerMemory = value ?? default(long); } + /// + /// A string property representing additional JVM arguments for the Flink job. It should be space separated value. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecArg { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).JobSpecArg; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).JobSpecArg = value ?? null; } + + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecEntryClass { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).JobSpecEntryClass; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).JobSpecEntryClass = value ?? null; } + + /// A string property that represents the name of the job JAR. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecJarName { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).JobSpecJarName; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).JobSpecJarName = value ?? null; } + + /// A string property that specifies the directory where the job JAR is located. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecJobJarDirectory { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).JobSpecJobJarDirectory; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).JobSpecJobJarDirectory = value ?? null; } + + /// A string property that represents the name of the savepoint for the Flink job + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecSavePointName { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).JobSpecSavePointName; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).JobSpecSavePointName = value ?? null; } + + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecUpgradeMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).JobSpecUpgradeMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).JobSpecUpgradeMode = value ?? null; } + + /// Expose Kafka cluster in KRaft mode. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? KafkaProfileEnableKRaft { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).KafkaProfileEnableKRaft; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).KafkaProfileEnableKRaft = value ?? default(bool); } + + /// Expose worker nodes as public endpoints. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? KafkaProfileEnablePublicEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).KafkaProfileEnablePublicEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).KafkaProfileEnablePublicEndpoint = value ?? default(bool); } + + /// Fully qualified path of Azure Storage container used for Tiered Storage. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string KafkaProfileRemoteStorageUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).KafkaProfileRemoteStorageUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).KafkaProfileRemoteStorageUri = value ?? null; } + /// /// 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 @@ -221,6 +333,12 @@ public partial class ClusterResourceProperties : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public bool? LogAnalyticProfileMetricsEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).LogAnalyticProfileMetricsEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).LogAnalyticProfileMetricsEnabled = value ?? default(bool); } + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string MetastoreSpecDbConnectionAuthenticationMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).MetastoreSpecDbConnectionAuthenticationMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).MetastoreSpecDbConnectionAuthenticationMode = value ?? null; } + /// The database name. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public string MetastoreSpecDbName { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).MetastoreSpecDbName; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).MetastoreSpecDbName = value ?? null; } @@ -251,6 +369,9 @@ public partial class ClusterResourceProperties : /// Internal Acessors for AutoscaleProfileScheduleBasedConfig Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScheduleBasedConfig Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.AutoscaleProfileScheduleBasedConfig { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).AutoscaleProfileScheduleBasedConfig; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).AutoscaleProfileScheduleBasedConfig = value; } + /// Internal Acessors for ClusterAccessProfilePrivateLinkServiceId + string Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.ClusterAccessProfilePrivateLinkServiceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).ClusterAccessProfilePrivateLinkServiceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).ClusterAccessProfilePrivateLinkServiceId = value; } + /// Internal Acessors for ClusterProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.ClusterProfile { get => (this._clusterProfile = this._clusterProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfile()); set { {_clusterProfile = value;} } } @@ -260,6 +381,9 @@ public partial class ClusterResourceProperties : /// Internal Acessors for ClusterProfileAutoscaleProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IAutoscaleProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.ClusterProfileAutoscaleProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).AutoscaleProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).AutoscaleProfile = value; } + /// Internal Acessors for ClusterProfileClusterAccessProfile + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.ClusterProfileClusterAccessProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).ClusterAccessProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).ClusterAccessProfile = value; } + /// Internal Acessors for ClusterProfileComponent System.Collections.Generic.List Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.ClusterProfileComponent { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).Component; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).Component = value; } @@ -272,12 +396,21 @@ public partial class ClusterResourceProperties : /// Internal Acessors for ClusterProfileIdentityProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.ClusterProfileIdentityProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).IdentityProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).IdentityProfile = value; } + /// Internal Acessors for ClusterProfileKafkaProfile + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.ClusterProfileKafkaProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).KafkaProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).KafkaProfile = value; } + /// Internal Acessors for ClusterProfileLogAnalyticsProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.ClusterProfileLogAnalyticsProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).LogAnalyticsProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).LogAnalyticsProfile = value; } /// Internal Acessors for ClusterProfilePrometheusProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.ClusterProfilePrometheusProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).PrometheusProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).PrometheusProfile = value; } + /// Internal Acessors for ClusterProfileRangerPluginProfile + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.ClusterProfileRangerPluginProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerPluginProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerPluginProfile = value; } + + /// Internal Acessors for ClusterProfileRangerProfile + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.ClusterProfileRangerProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerProfile = value; } + /// Internal Acessors for ClusterProfileSecretsProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISecretsProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.ClusterProfileSecretsProfile { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).SecretsProfile; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).SecretsProfile = value; } @@ -314,18 +447,42 @@ public partial class ClusterResourceProperties : /// Internal Acessors for FlinkProfileJobManager Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeResourceDefinition Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.FlinkProfileJobManager { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).FlinkProfileJobManager; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).FlinkProfileJobManager = value; } + /// Internal Acessors for FlinkProfileJobSpec + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.FlinkProfileJobSpec { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).FlinkProfileJobSpec; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).FlinkProfileJobSpec = value; } + /// Internal Acessors for FlinkProfileStorage Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkStorageProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.FlinkProfileStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).FlinkProfileStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).FlinkProfileStorage = value; } /// Internal Acessors for FlinkProfileTaskManager Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeResourceDefinition Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.FlinkProfileTaskManager { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).FlinkProfileTaskManager; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).FlinkProfileTaskManager = value; } + /// Internal Acessors for KafkaProfileClusterIdentity + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.KafkaProfileClusterIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).KafkaProfileClusterIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).KafkaProfileClusterIdentity = value; } + + /// Internal Acessors for KafkaProfileConnectivityEndpoint + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.KafkaProfileConnectivityEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).KafkaProfileConnectivityEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).KafkaProfileConnectivityEndpoint = value; } + + /// Internal Acessors for KafkaProfileDiskStorage + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.KafkaProfileDiskStorage { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).KafkaProfileDiskStorage; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).KafkaProfileDiskStorage = value; } + /// Internal Acessors for LogAnalyticProfileApplicationLog Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterLogAnalyticsApplicationLogs Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.LogAnalyticProfileApplicationLog { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).LogAnalyticProfileApplicationLog; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).LogAnalyticProfileApplicationLog = value; } /// Internal Acessors for ProvisioningState string Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + /// Internal Acessors for RangerAdminDatabase + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.RangerAdminDatabase { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerAdminDatabase; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerAdminDatabase = value; } + + /// Internal Acessors for RangerProfileRangerAdmin + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.RangerProfileRangerAdmin { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerProfileRangerAdmin; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerProfileRangerAdmin = value; } + + /// Internal Acessors for RangerProfileRangerAudit + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.RangerProfileRangerAudit { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerProfileRangerAudit; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerProfileRangerAudit = value; } + + /// Internal Acessors for RangerProfileRangerUsersync + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.RangerProfileRangerUsersync { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerProfileRangerUsersync; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerProfileRangerUsersync = value; } + /// Internal Acessors for SparkProfileMetastoreSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResourcePropertiesInternal.SparkProfileMetastoreSpec { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).SparkProfileMetastoreSpec; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).SparkProfileMetastoreSpec = value; } @@ -370,6 +527,49 @@ public partial class ClusterResourceProperties : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] public string ProvisioningState { get => this._provisioningState; } + /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerAdmin { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerAdmin; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerAdmin = value ?? null /* arrayOf */; } + + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerAuditStorageAccount { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerAuditStorageAccount; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerAuditStorageAccount = value ?? null; } + + /// Enable Ranger for cluster or not. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? RangerPluginProfileEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerPluginProfileEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerPluginProfileEnabled = value ?? default(bool); } + + /// Denotes whether usersync service should be enabled + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? RangerUsersyncEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerUsersyncEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerUsersyncEnabled = value ?? default(bool); } + + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerUsersyncGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerUsersyncGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerUsersyncGroup = value ?? null /* arrayOf */; } + + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerUsersyncMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerUsersyncMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerUsersyncMode = value ?? null; } + + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerUsersyncUser { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerUsersyncUser; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerUsersyncUser = value ?? null /* arrayOf */; } + + /// Azure storage location of a mapping file that lists user & group associations. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerUsersyncUserMappingLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerUsersyncUserMappingLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).RangerUsersyncUserMappingLocation = value ?? null; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) @@ -477,6 +677,12 @@ public partial class ClusterResourceProperties : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public string WebFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).WebFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).WebFqdn = value ?? null; } + /// + /// Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string WebPrivateFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).WebPrivateFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).WebPrivateFqdn = value ?? null; } + /// The flag that if enable debug or not. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public bool? WorkerDebugEnable { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).WorkerDebugEnable; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileInternal)ClusterProfile).WorkerDebugEnable = value ?? default(bool); } @@ -583,6 +789,65 @@ public partial interface IClusterResourceProperties : SerializedName = @"gracefulDecommissionTimeout", PossibleTypes = new [] { typeof(int) })] int? AutoscaleProfileGracefulDecommissionTimeout { get; set; } + /// + /// Whether to create cluster using private IP instead of public IP. This property must be set at create time. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = false, + Description = @"Whether to create cluster using private IP instead of public IP. This property must be set at create time.", + SerializedName = @"enableInternalIngress", + PossibleTypes = new [] { typeof(bool) })] + bool? ClusterAccessProfileEnableInternalIngress { get; set; } + /// + /// Private link service resource ID. Only when enableInternalIngress is true, this property will be returned. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"Private link service resource ID. Only when enableInternalIngress is true, this property will be returned.", + SerializedName = @"privateLinkServiceId", + PossibleTypes = new [] { typeof(string) })] + string ClusterAccessProfilePrivateLinkServiceId { get; } + /// ClientId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"ClientId of the MSI.", + SerializedName = @"msiClientId", + PossibleTypes = new [] { typeof(string) })] + string ClusterIdentityMsiClientId { get; } + /// ObjectId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"ObjectId of the MSI.", + SerializedName = @"msiObjectId", + PossibleTypes = new [] { typeof(string) })] + string ClusterIdentityMsiObjectId { get; } + /// ResourceId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"ResourceId of the MSI.", + SerializedName = @"msiResourceId", + PossibleTypes = new [] { typeof(string) })] + string ClusterIdentityMsiResourceId { get; } /// Version with 3/4 part. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = true, @@ -605,17 +870,6 @@ public partial interface IClusterResourceProperties : SerializedName = @"components", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterComponentsItem) })] System.Collections.Generic.List ClusterProfileComponent { get; } - /// Kafka cluster profile. - [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( - Required = false, - ReadOnly = false, - Read = true, - Create = true, - Update = true, - Description = @"Kafka cluster profile.", - SerializedName = @"kafkaProfile", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile) })] - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile ClusterProfileKafkaProfile { get; set; } /// LLAP cluster profile. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -693,6 +947,28 @@ public partial interface IClusterResourceProperties : SerializedName = @"nodes", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INodeProfile) })] System.Collections.Generic.List ComputeProfileNode { get; set; } + /// bootstrap server connectivity endpoint. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"bootstrap server connectivity endpoint.", + SerializedName = @"bootstrapServerEndpoint", + PossibleTypes = new [] { typeof(string) })] + string ConnectivityEndpointBootstrapServerEndpoint { get; } + /// Kafka broker endpoint list. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"Kafka broker endpoint list.", + SerializedName = @"brokerEndpoints", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List ConnectivityEndpointBrokerEndpoint { get; } /// List of SSH connectivity endpoints. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -751,6 +1027,50 @@ public partial interface IClusterResourceProperties : SerializedName = @"highAvailabilityEnabled", PossibleTypes = new [] { typeof(bool) })] bool? CoordinatorHighAvailabilityEnabled { get; set; } + /// The database URL + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The database URL", + SerializedName = @"host", + PossibleTypes = new [] { typeof(string) })] + string DatabaseHost { get; set; } + /// The database name + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The database name", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + string DatabaseName { get; set; } + /// Reference for the database password + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Reference for the database password", + SerializedName = @"passwordSecretRef", + PossibleTypes = new [] { typeof(string) })] + string DatabasePasswordSecretRef { get; set; } + /// The name of the database user + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The name of the database user", + SerializedName = @"username", + PossibleTypes = new [] { typeof(string) })] + string DatabaseUsername { get; set; } /// A unique id generated by the RP to identify the resource. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -762,6 +1082,47 @@ public partial interface IClusterResourceProperties : SerializedName = @"deploymentId", PossibleTypes = new [] { typeof(string) })] string DeploymentId { get; } + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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.", + SerializedName = @"dataDiskSize", + PossibleTypes = new [] { typeof(int) })] + int? DiskStorageDataDiskSize { get; set; } + /// Managed Disk Type. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Managed Disk Type.", + SerializedName = @"dataDiskType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Standard_HDD_LRS", "Standard_SSD_LRS", "Standard_SSD_ZRS", "Premium_SSD_LRS", "Premium_SSD_ZRS", "Premium_SSD_v2_LRS")] + string DiskStorageDataDiskType { get; set; } + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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", + SerializedName = @"deploymentMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Application", "Session")] + string FlinkProfileDeploymentMode { get; set; } /// The number of task managers. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -796,6 +1157,20 @@ public partial interface IClusterResourceProperties : PossibleTypes = new [] { typeof(long) })] long? HistoryServerMemory { get; set; } /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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", + SerializedName = @"metastoreDbConnectionAuthenticationMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string HiveMetastoreDbConnectionAuthenticationMode { get; set; } + /// /// Secret reference name from secretsProfile.secrets containing password for database connection. /// [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( @@ -832,7 +1207,7 @@ public partial interface IClusterResourceProperties : string HiveMetastoreDbConnectionUserName { get; set; } /// ClientId of the MSI. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Read = true, Create = true, @@ -843,7 +1218,7 @@ public partial interface IClusterResourceProperties : string IdentityProfileMsiClientId { get; set; } /// ObjectId of the MSI. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Read = true, Create = true, @@ -854,7 +1229,7 @@ public partial interface IClusterResourceProperties : string IdentityProfileMsiObjectId { get; set; } /// ResourceId of the MSI. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Read = true, Create = true, @@ -886,6 +1261,114 @@ public partial interface IClusterResourceProperties : PossibleTypes = new [] { typeof(long) })] long? JobManagerMemory { get; set; } /// + /// A string property representing additional JVM arguments for the Flink job. It should be space separated value. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"A string property representing additional JVM arguments for the Flink job. It should be space separated value.", + SerializedName = @"args", + PossibleTypes = new [] { typeof(string) })] + string JobSpecArg { get; set; } + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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.", + SerializedName = @"entryClass", + PossibleTypes = new [] { typeof(string) })] + string JobSpecEntryClass { get; set; } + /// A string property that represents the name of the job JAR. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"A string property that represents the name of the job JAR.", + SerializedName = @"jarName", + PossibleTypes = new [] { typeof(string) })] + string JobSpecJarName { get; set; } + /// A string property that specifies the directory where the job JAR is located. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"A string property that specifies the directory where the job JAR is located.", + SerializedName = @"jobJarDirectory", + PossibleTypes = new [] { typeof(string) })] + string JobSpecJobJarDirectory { get; set; } + /// A string property that represents the name of the savepoint for the Flink job + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"A string property that represents the name of the savepoint for the Flink job", + SerializedName = @"savePointName", + PossibleTypes = new [] { typeof(string) })] + string JobSpecSavePointName { get; set; } + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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.", + SerializedName = @"upgradeMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("STATELESS_UPDATE", "UPDATE", "LAST_STATE_UPDATE")] + string JobSpecUpgradeMode { get; set; } + /// Expose Kafka cluster in KRaft mode. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Expose Kafka cluster in KRaft mode.", + SerializedName = @"enableKRaft", + PossibleTypes = new [] { typeof(bool) })] + bool? KafkaProfileEnableKRaft { get; set; } + /// Expose worker nodes as public endpoints. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Expose worker nodes as public endpoints.", + SerializedName = @"enablePublicEndpoints", + PossibleTypes = new [] { typeof(bool) })] + bool? KafkaProfileEnablePublicEndpoint { get; set; } + /// Fully qualified path of Azure Storage container used for Tiered Storage. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Fully qualified path of Azure Storage container used for Tiered Storage.", + SerializedName = @"remoteStorageUri", + PossibleTypes = new [] { typeof(string) })] + string KafkaProfileRemoteStorageUri { get; set; } + /// /// 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. @@ -975,6 +1458,20 @@ public partial interface IClusterResourceProperties : SerializedName = @"metricsEnabled", PossibleTypes = new [] { typeof(bool) })] bool? LogAnalyticProfileMetricsEnabled { get; set; } + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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", + SerializedName = @"dbConnectionAuthenticationMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string MetastoreSpecDbConnectionAuthenticationMode { get; set; } /// The database name. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -1065,6 +1562,106 @@ public partial interface IClusterResourceProperties : [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Accepted", "Succeeded", "Canceled", "Failed")] string ProvisioningState { get; } /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.", + SerializedName = @"admins", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerAdmin { get; set; } + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Azure storage location of the blobs. MSI should have read/write access to this Storage account.", + SerializedName = @"storageAccount", + PossibleTypes = new [] { typeof(string) })] + string RangerAuditStorageAccount { get; set; } + /// Enable Ranger for cluster or not. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Enable Ranger for cluster or not.", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(bool) })] + bool? RangerPluginProfileEnabled { get; set; } + /// Denotes whether usersync service should be enabled + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Denotes whether usersync service should be enabled", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(bool) })] + bool? RangerUsersyncEnabled { get; set; } + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of groups that should be synced. These group names should match the object id of the respective AAD groups.", + SerializedName = @"groups", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerUsersyncGroup { get; set; } + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"User & groups can be synced automatically or via a static list that's refreshed.", + SerializedName = @"mode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + string RangerUsersyncMode { get; set; } + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.", + SerializedName = @"users", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerUsersyncUser { get; set; } + /// Azure storage location of a mapping file that lists user & group associations. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Azure storage location of a mapping file that lists user & group associations.", + SerializedName = @"userMappingLocation", + PossibleTypes = new [] { typeof(string) })] + string RangerUsersyncUserMappingLocation { get; set; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) /// @@ -1315,6 +1912,19 @@ public partial interface IClusterResourceProperties : SerializedName = @"fqdn", PossibleTypes = new [] { typeof(string) })] string WebFqdn { get; } + /// + /// Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true.", + SerializedName = @"privateFqdn", + PossibleTypes = new [] { typeof(string) })] + string WebPrivateFqdn { get; } /// The flag that if enable debug or not. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -1379,6 +1989,20 @@ internal partial interface IClusterResourcePropertiesInternal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ILoadBasedConfig AutoscaleProfileLoadBasedConfig { get; set; } /// Profiles of schedule based Autoscale. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScheduleBasedConfig AutoscaleProfileScheduleBasedConfig { get; set; } + /// + /// Whether to create cluster using private IP instead of public IP. This property must be set at create time. + /// + bool? ClusterAccessProfileEnableInternalIngress { get; set; } + /// + /// Private link service resource ID. Only when enableInternalIngress is true, this property will be returned. + /// + string ClusterAccessProfilePrivateLinkServiceId { get; set; } + /// ClientId of the MSI. + string ClusterIdentityMsiClientId { get; set; } + /// ObjectId of the MSI. + string ClusterIdentityMsiObjectId { get; set; } + /// ResourceId of the MSI. + string ClusterIdentityMsiResourceId { get; set; } /// Cluster profile. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfile ClusterProfile { get; set; } /// @@ -1389,6 +2013,8 @@ internal partial interface IClusterResourcePropertiesInternal /// This is the Autoscale profile for the cluster. This will allow customer to create cluster enabled with Autoscale. /// Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IAutoscaleProfile ClusterProfileAutoscaleProfile { get; set; } + /// Cluster access profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAccessProfile ClusterProfileClusterAccessProfile { get; set; } /// Version with 3/4 part. string ClusterProfileClusterVersion { get; set; } /// Component list of this cluster type and version. @@ -1397,10 +2023,12 @@ internal partial interface IClusterResourcePropertiesInternal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IConnectivityProfile ClusterProfileConnectivityProfile { get; set; } /// The Flink cluster profile. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfile ClusterProfileFlinkProfile { get; set; } - /// Identity Profile with details of an MSI. + /// + /// This property is required by Trino, Spark and Flink cluster but is optional for Kafka cluster. + /// Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile ClusterProfileIdentityProfile { get; set; } - /// Kafka cluster profile. - Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile ClusterProfileKafkaProfile { get; set; } + /// The Kafka cluster profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile ClusterProfileKafkaProfile { get; set; } /// LLAP cluster profile. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileLlapProfile ClusterProfileLlapProfile { get; set; } /// Cluster log analytics profile to enable or disable OMS agent for cluster. @@ -1409,6 +2037,10 @@ internal partial interface IClusterResourcePropertiesInternal string ClusterProfileOssVersion { get; set; } /// Cluster Prometheus profile. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile ClusterProfilePrometheusProfile { get; set; } + /// Cluster Ranger plugin profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile ClusterProfileRangerPluginProfile { get; set; } + /// The ranger cluster profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile ClusterProfileRangerProfile { get; set; } /// The script action profile list. System.Collections.Generic.List ClusterProfileScriptActionProfile { get; set; } /// The cluster secret profile. @@ -1429,6 +2061,10 @@ internal partial interface IClusterResourcePropertiesInternal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeProfile ComputeProfile { get; set; } /// The nodes definitions. System.Collections.Generic.List ComputeProfileNode { get; set; } + /// bootstrap server connectivity endpoint. + string ConnectivityEndpointBootstrapServerEndpoint { get; set; } + /// Kafka broker endpoint list. + System.Collections.Generic.List ConnectivityEndpointBrokerEndpoint { get; set; } /// List of SSH connectivity endpoints. System.Collections.Generic.List ConnectivityProfileSsh { get; set; } /// Web connectivity endpoint details. @@ -1446,16 +2082,43 @@ internal partial interface IClusterResourcePropertiesInternal /// Default: true. /// bool? CoordinatorHighAvailabilityEnabled { get; set; } + /// The database URL + string DatabaseHost { get; set; } + /// The database name + string DatabaseName { get; set; } + /// Reference for the database password + string DatabasePasswordSecretRef { get; set; } + /// The name of the database user + string DatabaseUsername { get; set; } /// A unique id generated by the RP to identify the resource. string DeploymentId { get; set; } + /// + /// 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. + /// + int? DiskStorageDataDiskSize { get; set; } + /// Managed Disk Type. + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Standard_HDD_LRS", "Standard_SSD_LRS", "Standard_SSD_ZRS", "Premium_SSD_LRS", "Premium_SSD_ZRS", "Premium_SSD_v2_LRS")] + string DiskStorageDataDiskType { get; set; } /// Flink cluster catalog options. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptions FlinkProfileCatalogOption { get; set; } /// Hive Catalog Option for Flink cluster. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOption FlinkProfileCatalogOptionsHive { get; set; } + /// + /// 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 + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Application", "Session")] + string FlinkProfileDeploymentMode { get; set; } /// History Server container/ process CPU and memory requirements Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeResourceDefinition FlinkProfileHistoryServer { get; set; } /// Job Manager container/ process CPU and memory requirements Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeResourceDefinition FlinkProfileJobManager { get; set; } + /// + /// Job specifications for flink clusters in application deployment mode. The specification is immutable even if job properties + /// are changed by calling the RunJob API, please use the ListJob API to get the latest job information. + /// + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile FlinkProfileJobSpec { get; set; } /// The number of task managers. int? FlinkProfileNumReplica { get; set; } /// The storage profile @@ -1467,6 +2130,11 @@ internal partial interface IClusterResourcePropertiesInternal /// The required memory in MB, Container memory will be 110 percentile long? HistoryServerMemory { get; set; } /// + /// 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 + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string HiveMetastoreDbConnectionAuthenticationMode { get; set; } + /// /// Secret reference name from secretsProfile.secrets containing password for database connection. /// string HiveMetastoreDbConnectionPasswordSecret { get; set; } @@ -1485,6 +2153,39 @@ internal partial interface IClusterResourcePropertiesInternal /// The required memory in MB, Container memory will be 110 percentile long? JobManagerMemory { get; set; } /// + /// A string property representing additional JVM arguments for the Flink job. It should be space separated value. + /// + string JobSpecArg { get; set; } + /// + /// 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. + /// + string JobSpecEntryClass { get; set; } + /// A string property that represents the name of the job JAR. + string JobSpecJarName { get; set; } + /// A string property that specifies the directory where the job JAR is located. + string JobSpecJobJarDirectory { get; set; } + /// A string property that represents the name of the savepoint for the Flink job + string JobSpecSavePointName { get; set; } + /// + /// 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. + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("STATELESS_UPDATE", "UPDATE", "LAST_STATE_UPDATE")] + string JobSpecUpgradeMode { get; set; } + /// Identity of the internal service components inside the Kafka cluster. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile KafkaProfileClusterIdentity { get; set; } + /// Kafka bootstrap server and brokers related connectivity endpoints. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints KafkaProfileConnectivityEndpoint { get; set; } + /// Kafka disk storage profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile KafkaProfileDiskStorage { get; set; } + /// Expose Kafka cluster in KRaft mode. + bool? KafkaProfileEnableKRaft { get; set; } + /// Expose worker nodes as public endpoints. + bool? KafkaProfileEnablePublicEndpoint { get; set; } + /// Fully qualified path of Azure Storage container used for Tiered Storage. + string KafkaProfileRemoteStorageUri { get; set; } + /// /// 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. @@ -1513,6 +2214,11 @@ internal partial interface IClusterResourcePropertiesInternal bool? LogAnalyticProfileEnabled { get; set; } /// True if metrics are enabled, otherwise false. bool? LogAnalyticProfileMetricsEnabled { get; set; } + /// + /// 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 + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string MetastoreSpecDbConnectionAuthenticationMode { get; set; } /// The database name. string MetastoreSpecDbName { get; set; } /// The secret name which contains the database user password. @@ -1531,6 +2237,42 @@ internal partial interface IClusterResourcePropertiesInternal [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Accepted", "Succeeded", "Canceled", "Failed")] string ProvisioningState { get; set; } /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + System.Collections.Generic.List RangerAdmin { get; set; } + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase RangerAdminDatabase { get; set; } + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + string RangerAuditStorageAccount { get; set; } + /// Enable Ranger for cluster or not. + bool? RangerPluginProfileEnabled { get; set; } + /// Specification for the Ranger Admin service. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec RangerProfileRangerAdmin { get; set; } + /// Properties required to describe audit log storage. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec RangerProfileRangerAudit { get; set; } + /// Specification for the Ranger Usersync service + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec RangerProfileRangerUsersync { get; set; } + /// Denotes whether usersync service should be enabled + bool? RangerUsersyncEnabled { get; set; } + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + System.Collections.Generic.List RangerUsersyncGroup { get; set; } + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + string RangerUsersyncMode { get; set; } + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + System.Collections.Generic.List RangerUsersyncUser { get; set; } + /// Azure storage location of a mapping file that lists user & group associations. + string RangerUsersyncUserMappingLocation { get; set; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) /// @@ -1608,6 +2350,10 @@ internal partial interface IClusterResourcePropertiesInternal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoTelemetryConfig UserTelemetrySpecStorage { get; set; } /// Web connectivity endpoint. string WebFqdn { get; set; } + /// + /// Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true. + /// + string WebPrivateFqdn { get; set; } /// Trino debug configuration. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoDebugConfig WorkerDebug { get; set; } /// The flag that if enable debug or not. diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterResourceProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterResourceProperties.json.cs index bad3dd520338..b0ce2e4fc974 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterResourceProperties.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterResourceProperties.json.cs @@ -65,12 +65,12 @@ internal ClusterResourceProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsightO { return; } - {_computeProfile = If( json?.PropertyT("computeProfile"), out var __jsonComputeProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ComputeProfile.FromJson(__jsonComputeProfile) : ComputeProfile;} - {_clusterProfile = If( json?.PropertyT("clusterProfile"), out var __jsonClusterProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfile.FromJson(__jsonClusterProfile) : ClusterProfile;} - {_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)ProvisioningState;} - {_clusterType = If( json?.PropertyT("clusterType"), out var __jsonClusterType) ? (string)__jsonClusterType : (string)ClusterType;} - {_deploymentId = If( json?.PropertyT("deploymentId"), out var __jsonDeploymentId) ? (string)__jsonDeploymentId : (string)DeploymentId;} - {_status = If( json?.PropertyT("status"), out var __jsonStatus) ? (string)__jsonStatus : (string)Status;} + {_computeProfile = If( json?.PropertyT("computeProfile"), out var __jsonComputeProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ComputeProfile.FromJson(__jsonComputeProfile) : _computeProfile;} + {_clusterProfile = If( json?.PropertyT("clusterProfile"), out var __jsonClusterProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterProfile.FromJson(__jsonClusterProfile) : _clusterProfile;} + {_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)_provisioningState;} + {_clusterType = If( json?.PropertyT("clusterType"), out var __jsonClusterType) ? (string)__jsonClusterType : (string)_clusterType;} + {_deploymentId = If( json?.PropertyT("deploymentId"), out var __jsonDeploymentId) ? (string)__jsonDeploymentId : (string)_deploymentId;} + {_status = If( json?.PropertyT("status"), out var __jsonStatus) ? (string)__jsonStatus : (string)_status;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterServiceConfig.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterServiceConfig.json.cs index df2da0ed142a..170144ed3164 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterServiceConfig.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterServiceConfig.json.cs @@ -65,8 +65,8 @@ internal ClusterServiceConfig(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks. { return; } - {_component = If( json?.PropertyT("component"), out var __jsonComponent) ? (string)__jsonComponent : (string)Component;} - {_file = If( json?.PropertyT("files"), out var __jsonFiles) ? If( __jsonFiles as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterConfigFile) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterConfigFile.FromJson(__u) )) ))() : null : File;} + {_component = If( json?.PropertyT("component"), out var __jsonComponent) ? (string)__jsonComponent : (string)_component;} + {_file = If( json?.PropertyT("files"), out var __jsonFiles) ? If( __jsonFiles as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterConfigFile) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterConfigFile.FromJson(__u) )) ))() : null : _file;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterServiceConfigsProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterServiceConfigsProfile.json.cs index 16818f219b5e..30983a175463 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterServiceConfigsProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterServiceConfigsProfile.json.cs @@ -65,8 +65,8 @@ internal ClusterServiceConfigsProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsig { return; } - {_serviceName = If( json?.PropertyT("serviceName"), out var __jsonServiceName) ? (string)__jsonServiceName : (string)ServiceName;} - {_config = If( json?.PropertyT("configs"), out var __jsonConfigs) ? If( __jsonConfigs as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfig) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterServiceConfig.FromJson(__u) )) ))() : null : Config;} + {_serviceName = If( json?.PropertyT("serviceName"), out var __jsonServiceName) ? (string)__jsonServiceName : (string)_serviceName;} + {_config = If( json?.PropertyT("configs"), out var __jsonConfigs) ? If( __jsonConfigs as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfig) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterServiceConfig.FromJson(__u) )) ))() : null : _config;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgrade.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgrade.PowerShell.cs new file mode 100644 index 000000000000..e87082c7a86a --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgrade.PowerShell.cs @@ -0,0 +1,172 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Cluster Upgrade. + [System.ComponentModel.TypeConverter(typeof(ClusterUpgradeTypeConverter))] + public partial class ClusterUpgrade + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterUpgrade(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradePropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterUpgrade(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradePropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterUpgrade(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterUpgrade(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Cluster Upgrade. + [System.ComponentModel.TypeConverter(typeof(ClusterUpgradeTypeConverter))] + public partial interface IClusterUpgrade + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgrade.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgrade.TypeConverter.cs new file mode 100644 index 000000000000..fe38ba55c236 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgrade.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ClusterUpgradeTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ClusterUpgrade.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ClusterUpgrade.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ClusterUpgrade.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgrade.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgrade.cs new file mode 100644 index 000000000000..67e5ef60517d --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgrade.cs @@ -0,0 +1,65 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster Upgrade. + public partial class ClusterUpgrade : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeInternal + { + + /// Internal Acessors for Property + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeProperties Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradeProperties()); set { {_property = value;} } } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeProperties _property; + + /// Properties of upgrading cluster. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradeProperties()); set => this._property = value; } + + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string UpgradeType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradePropertiesInternal)Property).UpgradeType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradePropertiesInternal)Property).UpgradeType = value ; } + + /// Creates an new instance. + public ClusterUpgrade() + { + + } + } + /// Cluster Upgrade. + public partial interface IClusterUpgrade : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable + { + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Type of upgrade.", + SerializedName = @"upgradeType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "HotfixUpgrade")] + string UpgradeType { get; set; } + + } + /// Cluster Upgrade. + internal partial interface IClusterUpgradeInternal + + { + /// Properties of upgrading cluster. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeProperties Property { get; set; } + /// Type of upgrade. + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "HotfixUpgrade")] + string UpgradeType { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgrade.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgrade.json.cs new file mode 100644 index 000000000000..fde0d3166d3d --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgrade.json.cs @@ -0,0 +1,108 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Cluster Upgrade. + public partial class ClusterUpgrade + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal ClusterUpgrade(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgradeProperties.FromJson(__jsonProperties) : _property;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new ClusterUpgrade(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != this._property ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._property.ToJson(null,serializationMode) : null, "properties" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgradeProperties.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgradeProperties.PowerShell.cs new file mode 100644 index 000000000000..182c57893956 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgradeProperties.PowerShell.cs @@ -0,0 +1,164 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Properties of upgrading cluster. + [System.ComponentModel.TypeConverter(typeof(ClusterUpgradePropertiesTypeConverter))] + public partial class ClusterUpgradeProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ClusterUpgradeProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ClusterUpgradeProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("UpgradeType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradePropertiesInternal)this).UpgradeType = (string) content.GetValueForProperty("UpgradeType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradePropertiesInternal)this).UpgradeType, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ClusterUpgradeProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ClusterUpgradeProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Properties of upgrading cluster. + [System.ComponentModel.TypeConverter(typeof(ClusterUpgradePropertiesTypeConverter))] + public partial interface IClusterUpgradeProperties + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgradeProperties.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgradeProperties.TypeConverter.cs new file mode 100644 index 000000000000..ab7740a9d2ad --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgradeProperties.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ClusterUpgradePropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ClusterUpgradeProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ClusterUpgradeProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ClusterUpgradeProperties.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgradeProperties.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgradeProperties.cs new file mode 100644 index 000000000000..736b262f4c77 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgradeProperties.cs @@ -0,0 +1,56 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Properties of upgrading cluster. + public partial class ClusterUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeProperties, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradePropertiesInternal + { + + /// Backing field for property. + private string _upgradeType; + + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string UpgradeType { get => this._upgradeType; set => this._upgradeType = value; } + + /// Creates an new instance. + public ClusterUpgradeProperties() + { + + } + } + /// Properties of upgrading cluster. + public partial interface IClusterUpgradeProperties : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable + { + /// Type of upgrade. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Type of upgrade.", + SerializedName = @"upgradeType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "HotfixUpgrade")] + string UpgradeType { get; set; } + + } + /// Properties of upgrading cluster. + internal partial interface IClusterUpgradePropertiesInternal + + { + /// Type of upgrade. + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "HotfixUpgrade")] + string UpgradeType { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgradeProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgradeProperties.json.cs new file mode 100644 index 000000000000..c3af519e0906 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterUpgradeProperties.json.cs @@ -0,0 +1,127 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Properties of upgrading cluster. + public partial class ClusterUpgradeProperties + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal ClusterUpgradeProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_upgradeType = If( json?.PropertyT("upgradeType"), out var __jsonUpgradeType) ? (string)__jsonUpgradeType : (string)_upgradeType;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeProperties. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeProperties interface is polymorphic, + /// and the precise model class that will get deserialized is determined at runtime based on the payload. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgradeProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + if (!(node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json)) + { + return null; + } + // Polymorphic type -- select the appropriate constructor using the discriminator + + switch ( json.StringProperty("upgradeType") ) + { + case "AKSPatchUpgrade": + { + return new ClusterAksPatchVersionUpgradeProperties(json); + } + case "HotfixUpgrade": + { + return new ClusterHotfixUpgradeProperties(json); + } + } + return new ClusterUpgradeProperties(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._upgradeType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._upgradeType.ToString()) : null, "upgradeType" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterVersion.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterVersion.json.cs index 6ac3d5606d21..9d57b5f69610 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterVersion.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterVersion.json.cs @@ -66,7 +66,7 @@ internal ClusterVersion(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtim return; } __proxyResource = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ProxyResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterVersionProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterVersionProperties.FromJson(__jsonProperties) : _property;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterVersionProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterVersionProperties.json.cs index b3e6fee51d98..9281453f0563 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterVersionProperties.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterVersionProperties.json.cs @@ -65,12 +65,12 @@ internal ClusterVersionProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOn { return; } - {_clusterType = If( json?.PropertyT("clusterType"), out var __jsonClusterType) ? (string)__jsonClusterType : (string)ClusterType;} - {_clusterVersion = If( json?.PropertyT("clusterVersion"), out var __jsonClusterVersion) ? (string)__jsonClusterVersion : (string)ClusterVersion;} - {_ossVersion = If( json?.PropertyT("ossVersion"), out var __jsonOssVersion) ? (string)__jsonOssVersion : (string)OssVersion;} - {_clusterPoolVersion = If( json?.PropertyT("clusterPoolVersion"), out var __jsonClusterPoolVersion) ? (string)__jsonClusterPoolVersion : (string)ClusterPoolVersion;} - {_isPreview = If( json?.PropertyT("isPreview"), out var __jsonIsPreview) ? (bool?)__jsonIsPreview : IsPreview;} - {_component = If( json?.PropertyT("components"), out var __jsonComponents) ? If( __jsonComponents as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterComponentsItem) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterComponentsItem.FromJson(__u) )) ))() : null : Component;} + {_clusterType = If( json?.PropertyT("clusterType"), out var __jsonClusterType) ? (string)__jsonClusterType : (string)_clusterType;} + {_clusterVersion = If( json?.PropertyT("clusterVersion"), out var __jsonClusterVersion) ? (string)__jsonClusterVersion : (string)_clusterVersion;} + {_ossVersion = If( json?.PropertyT("ossVersion"), out var __jsonOssVersion) ? (string)__jsonOssVersion : (string)_ossVersion;} + {_clusterPoolVersion = If( json?.PropertyT("clusterPoolVersion"), out var __jsonClusterPoolVersion) ? (string)__jsonClusterPoolVersion : (string)_clusterPoolVersion;} + {_isPreview = If( json?.PropertyT("isPreview"), out var __jsonIsPreview) ? (bool?)__jsonIsPreview : _isPreview;} + {_component = If( json?.PropertyT("components"), out var __jsonComponents) ? If( __jsonComponents as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterComponentsItem) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterComponentsItem.FromJson(__u) )) ))() : null : _component;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterVersionsListResult.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterVersionsListResult.json.cs index 0e3e34a0071f..84f200bf11dc 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterVersionsListResult.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ClusterVersionsListResult.json.cs @@ -65,8 +65,8 @@ internal ClusterVersionsListResult(Microsoft.Azure.PowerShell.Cmdlets.HdInsightO { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterVersion) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterVersion.FromJson(__u) )) ))() : null : Value;} - {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterVersion) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterVersion.FromJson(__u) )) ))() : null : _value;} + {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)_nextLink;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ComparisonRule.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ComparisonRule.json.cs index e426fef800ae..6b67e7bf37b0 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ComparisonRule.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ComparisonRule.json.cs @@ -65,8 +65,8 @@ internal ComparisonRule(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtim { return; } - {_operator = If( json?.PropertyT("operator"), out var __jsonOperator) ? (string)__jsonOperator : (string)Operator;} - {_threshold = If( json?.PropertyT("threshold"), out var __jsonThreshold) ? (float)__jsonThreshold : Threshold;} + {_operator = If( json?.PropertyT("operator"), out var __jsonOperator) ? (string)__jsonOperator : (string)_operator;} + {_threshold = If( json?.PropertyT("threshold"), out var __jsonThreshold) ? (float)__jsonThreshold : _threshold;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ComputeProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ComputeProfile.json.cs index 6d06e1e99f58..1109f4a62ea9 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ComputeProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ComputeProfile.json.cs @@ -65,7 +65,7 @@ internal ComputeProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtim { return; } - {_node = If( json?.PropertyT("nodes"), out var __jsonNodes) ? If( __jsonNodes as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INodeProfile) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProfile.FromJson(__u) )) ))() : null : Node;} + {_node = If( json?.PropertyT("nodes"), out var __jsonNodes) ? If( __jsonNodes as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INodeProfile) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProfile.FromJson(__u) )) ))() : null : _node;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ComputeResourceDefinition.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ComputeResourceDefinition.json.cs index fb275e901f21..b8855d78bca8 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ComputeResourceDefinition.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ComputeResourceDefinition.json.cs @@ -65,8 +65,8 @@ internal ComputeResourceDefinition(Microsoft.Azure.PowerShell.Cmdlets.HdInsightO { return; } - {_cpu = If( json?.PropertyT("cpu"), out var __jsonCpu) ? (float)__jsonCpu : Cpu;} - {_memory = If( json?.PropertyT("memory"), out var __jsonMemory) ? (long)__jsonMemory : Memory;} + {_cpu = If( json?.PropertyT("cpu"), out var __jsonCpu) ? (float)__jsonCpu : _cpu;} + {_memory = If( json?.PropertyT("memory"), out var __jsonMemory) ? (long)__jsonMemory : _memory;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ConnectivityProfile.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ConnectivityProfile.PowerShell.cs index b058a9d5679c..7f837b93c0be 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ConnectivityProfile.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ConnectivityProfile.PowerShell.cs @@ -88,6 +88,10 @@ internal ConnectivityProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IConnectivityProfileInternal)this).WebFqdn = (string) content.GetValueForProperty("WebFqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IConnectivityProfileInternal)this).WebFqdn, global::System.Convert.ToString); } + if (content.Contains("WebPrivateFqdn")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IConnectivityProfileInternal)this).WebPrivateFqdn = (string) content.GetValueForProperty("WebPrivateFqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IConnectivityProfileInternal)this).WebPrivateFqdn, global::System.Convert.ToString); + } AfterDeserializeDictionary(content); } @@ -117,6 +121,10 @@ internal ConnectivityProfile(global::System.Management.Automation.PSObject conte { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IConnectivityProfileInternal)this).WebFqdn = (string) content.GetValueForProperty("WebFqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IConnectivityProfileInternal)this).WebFqdn, global::System.Convert.ToString); } + if (content.Contains("WebPrivateFqdn")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IConnectivityProfileInternal)this).WebPrivateFqdn = (string) content.GetValueForProperty("WebPrivateFqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IConnectivityProfileInternal)this).WebPrivateFqdn, global::System.Convert.ToString); + } AfterDeserializePSObject(content); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ConnectivityProfile.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ConnectivityProfile.cs index 2802edb61b78..8081b6823a64 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ConnectivityProfile.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ConnectivityProfile.cs @@ -34,6 +34,12 @@ public partial class ConnectivityProfile : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public string WebFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)Web).Fqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)Web).Fqdn = value ; } + /// + /// Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string WebPrivateFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)Web).PrivateFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)Web).PrivateFqdn = value ?? null; } + /// Creates an new instance. public ConnectivityProfile() { @@ -66,6 +72,19 @@ public partial interface IConnectivityProfile : SerializedName = @"fqdn", PossibleTypes = new [] { typeof(string) })] string WebFqdn { get; set; } + /// + /// Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true.", + SerializedName = @"privateFqdn", + PossibleTypes = new [] { typeof(string) })] + string WebPrivateFqdn { get; set; } } /// Cluster connectivity profile. @@ -78,6 +97,10 @@ internal partial interface IConnectivityProfileInternal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IConnectivityProfileWeb Web { get; set; } /// Web connectivity endpoint. string WebFqdn { get; set; } + /// + /// Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true. + /// + string WebPrivateFqdn { get; set; } } } \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ConnectivityProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ConnectivityProfile.json.cs index 3895c7c809a2..11f32bc5ada0 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ConnectivityProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ConnectivityProfile.json.cs @@ -65,8 +65,8 @@ internal ConnectivityProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.R { return; } - {_web = If( json?.PropertyT("web"), out var __jsonWeb) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ConnectivityProfileWeb.FromJson(__jsonWeb) : Web;} - {_ssh = If( json?.PropertyT("ssh"), out var __jsonSsh) ? If( __jsonSsh as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISshConnectivityEndpoint) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SshConnectivityEndpoint.FromJson(__u) )) ))() : null : Ssh;} + {_web = If( json?.PropertyT("web"), out var __jsonWeb) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ConnectivityProfileWeb.FromJson(__jsonWeb) : _web;} + {_ssh = If( json?.PropertyT("ssh"), out var __jsonSsh) ? If( __jsonSsh as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISshConnectivityEndpoint) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SshConnectivityEndpoint.FromJson(__u) )) ))() : null : _ssh;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ConnectivityProfileWeb.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ConnectivityProfileWeb.PowerShell.cs index a5c57cd9b545..71a624ec7ba6 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ConnectivityProfileWeb.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ConnectivityProfileWeb.PowerShell.cs @@ -80,6 +80,10 @@ internal ConnectivityProfileWeb(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)this).Fqdn = (string) content.GetValueForProperty("Fqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)this).Fqdn, global::System.Convert.ToString); } + if (content.Contains("PrivateFqdn")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)this).PrivateFqdn = (string) content.GetValueForProperty("PrivateFqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)this).PrivateFqdn, global::System.Convert.ToString); + } AfterDeserializeDictionary(content); } @@ -101,6 +105,10 @@ internal ConnectivityProfileWeb(global::System.Management.Automation.PSObject co { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)this).Fqdn = (string) content.GetValueForProperty("Fqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)this).Fqdn, global::System.Convert.ToString); } + if (content.Contains("PrivateFqdn")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)this).PrivateFqdn = (string) content.GetValueForProperty("PrivateFqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)this).PrivateFqdn, global::System.Convert.ToString); + } AfterDeserializePSObject(content); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ConnectivityProfileWeb.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ConnectivityProfileWeb.cs index da3fe384f132..1e20672e91ec 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ConnectivityProfileWeb.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ConnectivityProfileWeb.cs @@ -23,6 +23,12 @@ public partial class ConnectivityProfileWeb : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] public string Fqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)__webConnectivityEndpoint).Fqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)__webConnectivityEndpoint).Fqdn = value ; } + /// + /// Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inherited)] + public string PrivateFqdn { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)__webConnectivityEndpoint).PrivateFqdn; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)__webConnectivityEndpoint).PrivateFqdn = value ?? null; } + /// Creates an new instance. public ConnectivityProfileWeb() { diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/DiskStorageProfile.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/DiskStorageProfile.PowerShell.cs new file mode 100644 index 000000000000..80e59a526214 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/DiskStorageProfile.PowerShell.cs @@ -0,0 +1,172 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Kafka disk storage profile. + [System.ComponentModel.TypeConverter(typeof(DiskStorageProfileTypeConverter))] + public partial class DiskStorageProfile + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new DiskStorageProfile(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new DiskStorageProfile(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal DiskStorageProfile(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("DataDiskSize")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfileInternal)this).DataDiskSize = (int) content.GetValueForProperty("DataDiskSize",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfileInternal)this).DataDiskSize, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("DataDiskType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfileInternal)this).DataDiskType = (string) content.GetValueForProperty("DataDiskType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfileInternal)this).DataDiskType, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal DiskStorageProfile(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("DataDiskSize")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfileInternal)this).DataDiskSize = (int) content.GetValueForProperty("DataDiskSize",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfileInternal)this).DataDiskSize, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("DataDiskType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfileInternal)this).DataDiskType = (string) content.GetValueForProperty("DataDiskType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfileInternal)this).DataDiskType, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Kafka disk storage profile. + [System.ComponentModel.TypeConverter(typeof(DiskStorageProfileTypeConverter))] + public partial interface IDiskStorageProfile + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/DiskStorageProfile.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/DiskStorageProfile.TypeConverter.cs new file mode 100644 index 000000000000..bdf0766b59d4 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/DiskStorageProfile.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class DiskStorageProfileTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return DiskStorageProfile.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return DiskStorageProfile.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return DiskStorageProfile.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/DiskStorageProfile.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/DiskStorageProfile.cs new file mode 100644 index 000000000000..fa8aca9278fc --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/DiskStorageProfile.cs @@ -0,0 +1,85 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Kafka disk storage profile. + public partial class DiskStorageProfile : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfileInternal + { + + /// Backing field for property. + private int _dataDiskSize; + + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public int DataDiskSize { get => this._dataDiskSize; set => this._dataDiskSize = value; } + + /// Backing field for property. + private string _dataDiskType; + + /// Managed Disk Type. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string DataDiskType { get => this._dataDiskType; set => this._dataDiskType = value; } + + /// Creates an new instance. + public DiskStorageProfile() + { + + } + } + /// Kafka disk storage profile. + public partial interface IDiskStorageProfile : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable + { + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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.", + SerializedName = @"dataDiskSize", + PossibleTypes = new [] { typeof(int) })] + int DataDiskSize { get; set; } + /// Managed Disk Type. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Managed Disk Type.", + SerializedName = @"dataDiskType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Standard_HDD_LRS", "Standard_SSD_LRS", "Standard_SSD_ZRS", "Premium_SSD_LRS", "Premium_SSD_ZRS", "Premium_SSD_v2_LRS")] + string DataDiskType { get; set; } + + } + /// Kafka disk storage profile. + internal partial interface IDiskStorageProfileInternal + + { + /// + /// 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. + /// + int DataDiskSize { get; set; } + /// Managed Disk Type. + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Standard_HDD_LRS", "Standard_SSD_LRS", "Standard_SSD_ZRS", "Premium_SSD_LRS", "Premium_SSD_ZRS", "Premium_SSD_v2_LRS")] + string DataDiskType { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/DiskStorageProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/DiskStorageProfile.json.cs new file mode 100644 index 000000000000..526bb8947859 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/DiskStorageProfile.json.cs @@ -0,0 +1,110 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Kafka disk storage profile. + public partial class DiskStorageProfile + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal DiskStorageProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_dataDiskSize = If( json?.PropertyT("dataDiskSize"), out var __jsonDataDiskSize) ? (int)__jsonDataDiskSize : _dataDiskSize;} + {_dataDiskType = If( json?.PropertyT("dataDiskType"), out var __jsonDataDiskType) ? (string)__jsonDataDiskType : (string)_dataDiskType;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new DiskStorageProfile(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNumber(this._dataDiskSize), "dataDiskSize" ,container.Add ); + AddIf( null != (((object)this._dataDiskType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._dataDiskType.ToString()) : null, "dataDiskType" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ErrorAdditionalInfo.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ErrorAdditionalInfo.json.cs index 0759de6f4f4c..3aa29256f20c 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ErrorAdditionalInfo.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ErrorAdditionalInfo.json.cs @@ -65,8 +65,8 @@ internal ErrorAdditionalInfo(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.R { return; } - {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)Type;} - {_info = If( json?.PropertyT("info"), out var __jsonInfo) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Any.FromJson(__jsonInfo) : Info;} + {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)_type;} + {_info = If( json?.PropertyT("info"), out var __jsonInfo) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Any.FromJson(__jsonInfo) : _info;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ErrorDetail.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ErrorDetail.json.cs index 972d636721f1..3478d36025f6 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ErrorDetail.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ErrorDetail.json.cs @@ -65,11 +65,11 @@ internal ErrorDetail(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.J { return; } - {_code = If( json?.PropertyT("code"), out var __jsonCode) ? (string)__jsonCode : (string)Code;} - {_message = If( json?.PropertyT("message"), out var __jsonMessage) ? (string)__jsonMessage : (string)Message;} - {_target = If( json?.PropertyT("target"), out var __jsonTarget) ? (string)__jsonTarget : (string)Target;} - {_detail = If( json?.PropertyT("details"), out var __jsonDetails) ? If( __jsonDetails as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorDetail) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorDetail.FromJson(__u) )) ))() : null : Detail;} - {_additionalInfo = If( json?.PropertyT("additionalInfo"), out var __jsonAdditionalInfo) ? If( __jsonAdditionalInfo as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __q) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorAdditionalInfo) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorAdditionalInfo.FromJson(__p) )) ))() : null : AdditionalInfo;} + {_code = If( json?.PropertyT("code"), out var __jsonCode) ? (string)__jsonCode : (string)_code;} + {_message = If( json?.PropertyT("message"), out var __jsonMessage) ? (string)__jsonMessage : (string)_message;} + {_target = If( json?.PropertyT("target"), out var __jsonTarget) ? (string)__jsonTarget : (string)_target;} + {_detail = If( json?.PropertyT("details"), out var __jsonDetails) ? If( __jsonDetails as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorDetail) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorDetail.FromJson(__u) )) ))() : null : _detail;} + {_additionalInfo = If( json?.PropertyT("additionalInfo"), out var __jsonAdditionalInfo) ? If( __jsonAdditionalInfo as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __q) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorAdditionalInfo) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorAdditionalInfo.FromJson(__p) )) ))() : null : _additionalInfo;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ErrorResponse.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ErrorResponse.json.cs index a34fe2763131..d34d70534a63 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ErrorResponse.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ErrorResponse.json.cs @@ -68,7 +68,7 @@ internal ErrorResponse(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime { return; } - {_error = If( json?.PropertyT("error"), out var __jsonError) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorDetail.FromJson(__jsonError) : Error;} + {_error = If( json?.PropertyT("error"), out var __jsonError) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ErrorDetail.FromJson(__jsonError) : _error;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkCatalogOptions.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkCatalogOptions.PowerShell.cs index 934c44e5a8bb..35be99465d50 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkCatalogOptions.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkCatalogOptions.PowerShell.cs @@ -106,6 +106,10 @@ internal FlinkCatalogOptions(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptionsInternal)this).Hive = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOption) content.GetValueForProperty("Hive",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptionsInternal)this).Hive, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkHiveCatalogOptionTypeConverter.ConvertFrom); } + if (content.Contains("HiveMetastoreDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptionsInternal)this).HiveMetastoreDbConnectionAuthenticationMode = (string) content.GetValueForProperty("HiveMetastoreDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptionsInternal)this).HiveMetastoreDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("HiveMetastoreDbConnectionPasswordSecret")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptionsInternal)this).HiveMetastoreDbConnectionPasswordSecret = (string) content.GetValueForProperty("HiveMetastoreDbConnectionPasswordSecret",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptionsInternal)this).HiveMetastoreDbConnectionPasswordSecret, global::System.Convert.ToString); @@ -139,6 +143,10 @@ internal FlinkCatalogOptions(global::System.Management.Automation.PSObject conte { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptionsInternal)this).Hive = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOption) content.GetValueForProperty("Hive",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptionsInternal)this).Hive, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkHiveCatalogOptionTypeConverter.ConvertFrom); } + if (content.Contains("HiveMetastoreDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptionsInternal)this).HiveMetastoreDbConnectionAuthenticationMode = (string) content.GetValueForProperty("HiveMetastoreDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptionsInternal)this).HiveMetastoreDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("HiveMetastoreDbConnectionPasswordSecret")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptionsInternal)this).HiveMetastoreDbConnectionPasswordSecret = (string) content.GetValueForProperty("HiveMetastoreDbConnectionPasswordSecret",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptionsInternal)this).HiveMetastoreDbConnectionPasswordSecret, global::System.Convert.ToString); diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkCatalogOptions.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkCatalogOptions.cs index e4689f38dad8..c53284154a98 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkCatalogOptions.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkCatalogOptions.cs @@ -20,6 +20,12 @@ public partial class FlinkCatalogOptions : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOption Hive { get => (this._hive = this._hive ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkHiveCatalogOption()); set => this._hive = value; } + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string HiveMetastoreDbConnectionAuthenticationMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOptionInternal)Hive).MetastoreDbConnectionAuthenticationMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOptionInternal)Hive).MetastoreDbConnectionAuthenticationMode = value ?? null; } + /// /// Secret reference name from secretsProfile.secrets containing password for database connection. /// @@ -47,6 +53,20 @@ public FlinkCatalogOptions() public partial interface IFlinkCatalogOptions : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable { + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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", + SerializedName = @"metastoreDbConnectionAuthenticationMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string HiveMetastoreDbConnectionAuthenticationMode { get; set; } /// /// Secret reference name from secretsProfile.secrets containing password for database connection. /// @@ -91,6 +111,11 @@ internal partial interface IFlinkCatalogOptionsInternal /// Hive Catalog Option for Flink cluster. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOption Hive { get; set; } /// + /// 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 + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string HiveMetastoreDbConnectionAuthenticationMode { get; set; } + /// /// Secret reference name from secretsProfile.secrets containing password for database connection. /// string HiveMetastoreDbConnectionPasswordSecret { get; set; } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkCatalogOptions.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkCatalogOptions.json.cs index 82676836d403..172d6414063e 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkCatalogOptions.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkCatalogOptions.json.cs @@ -65,7 +65,7 @@ internal FlinkCatalogOptions(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.R { return; } - {_hive = If( json?.PropertyT("hive"), out var __jsonHive) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkHiveCatalogOption.FromJson(__jsonHive) : Hive;} + {_hive = If( json?.PropertyT("hive"), out var __jsonHive) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkHiveCatalogOption.FromJson(__jsonHive) : _hive;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkHiveCatalogOption.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkHiveCatalogOption.PowerShell.cs index 76a42d51dfcb..867014d0b7e3 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkHiveCatalogOption.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkHiveCatalogOption.PowerShell.cs @@ -102,6 +102,10 @@ internal FlinkHiveCatalogOption(global::System.Collections.IDictionary content) return; } // actually deserialize + if (content.Contains("MetastoreDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOptionInternal)this).MetastoreDbConnectionAuthenticationMode = (string) content.GetValueForProperty("MetastoreDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOptionInternal)this).MetastoreDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("MetastoreDbConnectionPasswordSecret")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOptionInternal)this).MetastoreDbConnectionPasswordSecret = (string) content.GetValueForProperty("MetastoreDbConnectionPasswordSecret",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOptionInternal)this).MetastoreDbConnectionPasswordSecret, global::System.Convert.ToString); @@ -131,6 +135,10 @@ internal FlinkHiveCatalogOption(global::System.Management.Automation.PSObject co return; } // actually deserialize + if (content.Contains("MetastoreDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOptionInternal)this).MetastoreDbConnectionAuthenticationMode = (string) content.GetValueForProperty("MetastoreDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOptionInternal)this).MetastoreDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("MetastoreDbConnectionPasswordSecret")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOptionInternal)this).MetastoreDbConnectionPasswordSecret = (string) content.GetValueForProperty("MetastoreDbConnectionPasswordSecret",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOptionInternal)this).MetastoreDbConnectionPasswordSecret, global::System.Convert.ToString); diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkHiveCatalogOption.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkHiveCatalogOption.cs index a84394cf3944..8aa2e2a70afe 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkHiveCatalogOption.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkHiveCatalogOption.cs @@ -13,6 +13,17 @@ public partial class FlinkHiveCatalogOption : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOptionInternal { + /// + /// Backing field for property. + /// + private string _metastoreDbConnectionAuthenticationMode; + + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string MetastoreDbConnectionAuthenticationMode { get => this._metastoreDbConnectionAuthenticationMode; set => this._metastoreDbConnectionAuthenticationMode = value; } + /// Backing field for property. private string _metastoreDbConnectionPasswordSecret; @@ -46,11 +57,25 @@ public FlinkHiveCatalogOption() public partial interface IFlinkHiveCatalogOption : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable { + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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", + SerializedName = @"metastoreDbConnectionAuthenticationMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string MetastoreDbConnectionAuthenticationMode { get; set; } /// /// Secret reference name from secretsProfile.secrets containing password for database connection. /// [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Read = true, Create = true, @@ -72,7 +97,7 @@ public partial interface IFlinkHiveCatalogOption : string MetastoreDbConnectionUrl { get; set; } /// User name for database connection. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Read = true, Create = true, @@ -87,6 +112,11 @@ public partial interface IFlinkHiveCatalogOption : internal partial interface IFlinkHiveCatalogOptionInternal { + /// + /// 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 + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string MetastoreDbConnectionAuthenticationMode { get; set; } /// /// Secret reference name from secretsProfile.secrets containing password for database connection. /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkHiveCatalogOption.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkHiveCatalogOption.json.cs index 47596c1ef591..6a23026cd6dd 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkHiveCatalogOption.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkHiveCatalogOption.json.cs @@ -65,9 +65,10 @@ internal FlinkHiveCatalogOption(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAk { return; } - {_metastoreDbConnectionPasswordSecret = If( json?.PropertyT("metastoreDbConnectionPasswordSecret"), out var __jsonMetastoreDbConnectionPasswordSecret) ? (string)__jsonMetastoreDbConnectionPasswordSecret : (string)MetastoreDbConnectionPasswordSecret;} - {_metastoreDbConnectionUrl = If( json?.PropertyT("metastoreDbConnectionURL"), out var __jsonMetastoreDbConnectionUrl) ? (string)__jsonMetastoreDbConnectionUrl : (string)MetastoreDbConnectionUrl;} - {_metastoreDbConnectionUserName = If( json?.PropertyT("metastoreDbConnectionUserName"), out var __jsonMetastoreDbConnectionUserName) ? (string)__jsonMetastoreDbConnectionUserName : (string)MetastoreDbConnectionUserName;} + {_metastoreDbConnectionAuthenticationMode = If( json?.PropertyT("metastoreDbConnectionAuthenticationMode"), out var __jsonMetastoreDbConnectionAuthenticationMode) ? (string)__jsonMetastoreDbConnectionAuthenticationMode : (string)_metastoreDbConnectionAuthenticationMode;} + {_metastoreDbConnectionPasswordSecret = If( json?.PropertyT("metastoreDbConnectionPasswordSecret"), out var __jsonMetastoreDbConnectionPasswordSecret) ? (string)__jsonMetastoreDbConnectionPasswordSecret : (string)_metastoreDbConnectionPasswordSecret;} + {_metastoreDbConnectionUrl = If( json?.PropertyT("metastoreDbConnectionURL"), out var __jsonMetastoreDbConnectionUrl) ? (string)__jsonMetastoreDbConnectionUrl : (string)_metastoreDbConnectionUrl;} + {_metastoreDbConnectionUserName = If( json?.PropertyT("metastoreDbConnectionUserName"), out var __jsonMetastoreDbConnectionUserName) ? (string)__jsonMetastoreDbConnectionUserName : (string)_metastoreDbConnectionUserName;} AfterFromJson(json); } @@ -102,6 +103,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode T { return container; } + AddIf( null != (((object)this._metastoreDbConnectionAuthenticationMode)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._metastoreDbConnectionAuthenticationMode.ToString()) : null, "metastoreDbConnectionAuthenticationMode" ,container.Add ); AddIf( null != (((object)this._metastoreDbConnectionPasswordSecret)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._metastoreDbConnectionPasswordSecret.ToString()) : null, "metastoreDbConnectionPasswordSecret" ,container.Add ); AddIf( null != (((object)this._metastoreDbConnectionUrl)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._metastoreDbConnectionUrl.ToString()) : null, "metastoreDbConnectionURL" ,container.Add ); AddIf( null != (((object)this._metastoreDbConnectionUserName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._metastoreDbConnectionUserName.ToString()) : null, "metastoreDbConnectionUserName" ,container.Add ); diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProfile.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProfile.PowerShell.cs new file mode 100644 index 000000000000..6ed061defdc2 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProfile.PowerShell.cs @@ -0,0 +1,208 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// Job specifications for flink clusters in application deployment mode. The specification is immutable even if job properties + /// are changed by calling the RunJob API, please use the ListJob API to get the latest job information. + /// + [System.ComponentModel.TypeConverter(typeof(FlinkJobProfileTypeConverter))] + public partial class FlinkJobProfile + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new FlinkJobProfile(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new FlinkJobProfile(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal FlinkJobProfile(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("JobJarDirectory")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).JobJarDirectory = (string) content.GetValueForProperty("JobJarDirectory",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).JobJarDirectory, global::System.Convert.ToString); + } + if (content.Contains("JarName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).JarName = (string) content.GetValueForProperty("JarName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).JarName, global::System.Convert.ToString); + } + if (content.Contains("EntryClass")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).EntryClass = (string) content.GetValueForProperty("EntryClass",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).EntryClass, global::System.Convert.ToString); + } + if (content.Contains("Arg")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).Arg = (string) content.GetValueForProperty("Arg",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).Arg, global::System.Convert.ToString); + } + if (content.Contains("SavePointName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).SavePointName = (string) content.GetValueForProperty("SavePointName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).SavePointName, global::System.Convert.ToString); + } + if (content.Contains("UpgradeMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).UpgradeMode = (string) content.GetValueForProperty("UpgradeMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).UpgradeMode, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal FlinkJobProfile(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("JobJarDirectory")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).JobJarDirectory = (string) content.GetValueForProperty("JobJarDirectory",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).JobJarDirectory, global::System.Convert.ToString); + } + if (content.Contains("JarName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).JarName = (string) content.GetValueForProperty("JarName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).JarName, global::System.Convert.ToString); + } + if (content.Contains("EntryClass")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).EntryClass = (string) content.GetValueForProperty("EntryClass",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).EntryClass, global::System.Convert.ToString); + } + if (content.Contains("Arg")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).Arg = (string) content.GetValueForProperty("Arg",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).Arg, global::System.Convert.ToString); + } + if (content.Contains("SavePointName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).SavePointName = (string) content.GetValueForProperty("SavePointName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).SavePointName, global::System.Convert.ToString); + } + if (content.Contains("UpgradeMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).UpgradeMode = (string) content.GetValueForProperty("UpgradeMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)this).UpgradeMode, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Job specifications for flink clusters in application deployment mode. The specification is immutable even if job properties + /// are changed by calling the RunJob API, please use the ListJob API to get the latest job information. + [System.ComponentModel.TypeConverter(typeof(FlinkJobProfileTypeConverter))] + public partial interface IFlinkJobProfile + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProfile.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProfile.TypeConverter.cs new file mode 100644 index 000000000000..b9a79d0bbd80 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProfile.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class FlinkJobProfileTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return FlinkJobProfile.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return FlinkJobProfile.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return FlinkJobProfile.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProfile.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProfile.cs new file mode 100644 index 000000000000..3c83a092e257 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProfile.cs @@ -0,0 +1,185 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// + /// Job specifications for flink clusters in application deployment mode. The specification is immutable even if job properties + /// are changed by calling the RunJob API, please use the ListJob API to get the latest job information. + /// + public partial class FlinkJobProfile : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal + { + + /// Backing field for property. + private string _arg; + + /// + /// A string property representing additional JVM arguments for the Flink job. It should be space separated value. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string Arg { get => this._arg; set => this._arg = value; } + + /// Backing field for property. + private string _entryClass; + + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string EntryClass { get => this._entryClass; set => this._entryClass = value; } + + /// Backing field for property. + private string _jarName; + + /// A string property that represents the name of the job JAR. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string JarName { get => this._jarName; set => this._jarName = value; } + + /// Backing field for property. + private string _jobJarDirectory; + + /// A string property that specifies the directory where the job JAR is located. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string JobJarDirectory { get => this._jobJarDirectory; set => this._jobJarDirectory = value; } + + /// Backing field for property. + private string _savePointName; + + /// A string property that represents the name of the savepoint for the Flink job + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string SavePointName { get => this._savePointName; set => this._savePointName = value; } + + /// Backing field for property. + private string _upgradeMode; + + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string UpgradeMode { get => this._upgradeMode; set => this._upgradeMode = value; } + + /// Creates an new instance. + public FlinkJobProfile() + { + + } + } + /// Job specifications for flink clusters in application deployment mode. The specification is immutable even if job properties + /// are changed by calling the RunJob API, please use the ListJob API to get the latest job information. + public partial interface IFlinkJobProfile : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable + { + /// + /// A string property representing additional JVM arguments for the Flink job. It should be space separated value. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"A string property representing additional JVM arguments for the Flink job. It should be space separated value.", + SerializedName = @"args", + PossibleTypes = new [] { typeof(string) })] + string Arg { get; set; } + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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.", + SerializedName = @"entryClass", + PossibleTypes = new [] { typeof(string) })] + string EntryClass { get; set; } + /// A string property that represents the name of the job JAR. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"A string property that represents the name of the job JAR.", + SerializedName = @"jarName", + PossibleTypes = new [] { typeof(string) })] + string JarName { get; set; } + /// A string property that specifies the directory where the job JAR is located. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"A string property that specifies the directory where the job JAR is located.", + SerializedName = @"jobJarDirectory", + PossibleTypes = new [] { typeof(string) })] + string JobJarDirectory { get; set; } + /// A string property that represents the name of the savepoint for the Flink job + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"A string property that represents the name of the savepoint for the Flink job", + SerializedName = @"savePointName", + PossibleTypes = new [] { typeof(string) })] + string SavePointName { get; set; } + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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.", + SerializedName = @"upgradeMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("STATELESS_UPDATE", "UPDATE", "LAST_STATE_UPDATE")] + string UpgradeMode { get; set; } + + } + /// Job specifications for flink clusters in application deployment mode. The specification is immutable even if job properties + /// are changed by calling the RunJob API, please use the ListJob API to get the latest job information. + internal partial interface IFlinkJobProfileInternal + + { + /// + /// A string property representing additional JVM arguments for the Flink job. It should be space separated value. + /// + string Arg { get; set; } + /// + /// 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. + /// + string EntryClass { get; set; } + /// A string property that represents the name of the job JAR. + string JarName { get; set; } + /// A string property that specifies the directory where the job JAR is located. + string JobJarDirectory { get; set; } + /// A string property that represents the name of the savepoint for the Flink job + string SavePointName { get; set; } + /// + /// 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. + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("STATELESS_UPDATE", "UPDATE", "LAST_STATE_UPDATE")] + string UpgradeMode { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProfile.json.cs new file mode 100644 index 000000000000..4e98f1e56c1c --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProfile.json.cs @@ -0,0 +1,121 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// + /// Job specifications for flink clusters in application deployment mode. The specification is immutable even if job properties + /// are changed by calling the RunJob API, please use the ListJob API to get the latest job information. + /// + public partial class FlinkJobProfile + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal FlinkJobProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_jobJarDirectory = If( json?.PropertyT("jobJarDirectory"), out var __jsonJobJarDirectory) ? (string)__jsonJobJarDirectory : (string)_jobJarDirectory;} + {_jarName = If( json?.PropertyT("jarName"), out var __jsonJarName) ? (string)__jsonJarName : (string)_jarName;} + {_entryClass = If( json?.PropertyT("entryClass"), out var __jsonEntryClass) ? (string)__jsonEntryClass : (string)_entryClass;} + {_arg = If( json?.PropertyT("args"), out var __jsonArgs) ? (string)__jsonArgs : (string)_arg;} + {_savePointName = If( json?.PropertyT("savePointName"), out var __jsonSavePointName) ? (string)__jsonSavePointName : (string)_savePointName;} + {_upgradeMode = If( json?.PropertyT("upgradeMode"), out var __jsonUpgradeMode) ? (string)__jsonUpgradeMode : (string)_upgradeMode;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new FlinkJobProfile(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._jobJarDirectory)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._jobJarDirectory.ToString()) : null, "jobJarDirectory" ,container.Add ); + AddIf( null != (((object)this._jarName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._jarName.ToString()) : null, "jarName" ,container.Add ); + AddIf( null != (((object)this._entryClass)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._entryClass.ToString()) : null, "entryClass" ,container.Add ); + AddIf( null != (((object)this._arg)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._arg.ToString()) : null, "args" ,container.Add ); + AddIf( null != (((object)this._savePointName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._savePointName.ToString()) : null, "savePointName" ,container.Add ); + AddIf( null != (((object)this._upgradeMode)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._upgradeMode.ToString()) : null, "upgradeMode" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProperties.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProperties.PowerShell.cs index 1e5489f43cf2..7d8c55b1897b 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProperties.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProperties.PowerShell.cs @@ -102,6 +102,10 @@ internal FlinkJobProperties(global::System.Collections.IDictionary content) return; } // actually deserialize + if (content.Contains("RunId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobPropertiesInternal)this).RunId = (string) content.GetValueForProperty("RunId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobPropertiesInternal)this).RunId, global::System.Convert.ToString); + } if (content.Contains("JobName")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobPropertiesInternal)this).JobName = (string) content.GetValueForProperty("JobName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobPropertiesInternal)this).JobName, global::System.Convert.ToString); @@ -175,6 +179,10 @@ internal FlinkJobProperties(global::System.Management.Automation.PSObject conten return; } // actually deserialize + if (content.Contains("RunId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobPropertiesInternal)this).RunId = (string) content.GetValueForProperty("RunId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobPropertiesInternal)this).RunId, global::System.Convert.ToString); + } if (content.Contains("JobName")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobPropertiesInternal)this).JobName = (string) content.GetValueForProperty("JobName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobPropertiesInternal)this).JobName, global::System.Convert.ToString); diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProperties.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProperties.cs index 1246b2137d52..4b6fd2d472b4 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProperties.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProperties.cs @@ -127,6 +127,13 @@ public partial class FlinkJobProperties : /// Internal Acessors for Status string Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobPropertiesInternal.Status { get => this._status; set { {_status = value;} } } + /// Backing field for property. + private string _runId; + + /// Run id of job + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string RunId { get => this._runId; set => this._runId = value; } + /// Backing field for property. private string _savePointName; @@ -177,7 +184,7 @@ public partial interface IFlinkJobProperties : Description = @"A string property that indicates the action to be performed on the Flink job. It can have one of the following enum values => NEW, UPDATE, STATELESS_UPDATE, STOP, START, CANCEL, SAVEPOINT, LIST_SAVEPOINT, or DELETE.", SerializedName = @"action", PossibleTypes = new [] { typeof(string) })] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("NEW", "UPDATE", "STATELESS_UPDATE", "STOP", "START", "CANCEL", "SAVEPOINT", "LIST_SAVEPOINT", "DELETE")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("NEW", "UPDATE", "STATELESS_UPDATE", "STOP", "START", "CANCEL", "SAVEPOINT", "LIST_SAVEPOINT", "DELETE", "LAST_STATE_UPDATE", "RE_LAUNCH")] string Action { get; set; } /// Action result of job. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( @@ -263,7 +270,7 @@ public partial interface IFlinkJobProperties : string JobJarDirectory { get; set; } /// Name of job [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Read = true, Create = true, @@ -294,6 +301,17 @@ public partial interface IFlinkJobProperties : SerializedName = @"lastSavePoint", PossibleTypes = new [] { typeof(string) })] string LastSavePoint { get; } + /// Run id of job + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Run id of job", + SerializedName = @"runId", + PossibleTypes = new [] { typeof(string) })] + string RunId { get; set; } /// A string property that represents the name of the savepoint for the Flink job [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -326,7 +344,7 @@ internal partial interface IFlinkJobPropertiesInternal : /// A string property that indicates the action to be performed on the Flink job. It can have one of the following enum values /// => NEW, UPDATE, STATELESS_UPDATE, STOP, START, CANCEL, SAVEPOINT, LIST_SAVEPOINT, or DELETE. /// - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("NEW", "UPDATE", "STATELESS_UPDATE", "STOP", "START", "CANCEL", "SAVEPOINT", "LIST_SAVEPOINT", "DELETE")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("NEW", "UPDATE", "STATELESS_UPDATE", "STOP", "START", "CANCEL", "SAVEPOINT", "LIST_SAVEPOINT", "DELETE", "LAST_STATE_UPDATE", "RE_LAUNCH")] string Action { get; set; } /// Action result of job. string ActionResult { get; set; } @@ -353,6 +371,8 @@ internal partial interface IFlinkJobPropertiesInternal : string JobOutput { get; set; } /// The last savepoint. string LastSavePoint { get; set; } + /// Run id of job + string RunId { get; set; } /// A string property that represents the name of the savepoint for the Flink job string SavePointName { get; set; } /// Status of job. diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProperties.json.cs index a77cb06cb5d9..946c5cb5e432 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProperties.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkJobProperties.json.cs @@ -66,19 +66,20 @@ internal FlinkJobProperties(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Ru return; } __clusterJobProperties = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterJobProperties(json); - {_jobName = If( json?.PropertyT("jobName"), out var __jsonJobName) ? (string)__jsonJobName : (string)JobName;} - {_jobJarDirectory = If( json?.PropertyT("jobJarDirectory"), out var __jsonJobJarDirectory) ? (string)__jsonJobJarDirectory : (string)JobJarDirectory;} - {_jarName = If( json?.PropertyT("jarName"), out var __jsonJarName) ? (string)__jsonJarName : (string)JarName;} - {_entryClass = If( json?.PropertyT("entryClass"), out var __jsonEntryClass) ? (string)__jsonEntryClass : (string)EntryClass;} - {_arg = If( json?.PropertyT("args"), out var __jsonArgs) ? (string)__jsonArgs : (string)Arg;} - {_savePointName = If( json?.PropertyT("savePointName"), out var __jsonSavePointName) ? (string)__jsonSavePointName : (string)SavePointName;} - {_action = If( json?.PropertyT("action"), out var __jsonAction) ? (string)__jsonAction : (string)Action;} - {_flinkConfiguration = If( json?.PropertyT("flinkConfiguration"), out var __jsonFlinkConfiguration) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkJobPropertiesFlinkConfiguration.FromJson(__jsonFlinkConfiguration) : FlinkConfiguration;} - {_jobId = If( json?.PropertyT("jobId"), out var __jsonJobId) ? (string)__jsonJobId : (string)JobId;} - {_status = If( json?.PropertyT("status"), out var __jsonStatus) ? (string)__jsonStatus : (string)Status;} - {_jobOutput = If( json?.PropertyT("jobOutput"), out var __jsonJobOutput) ? (string)__jsonJobOutput : (string)JobOutput;} - {_actionResult = If( json?.PropertyT("actionResult"), out var __jsonActionResult) ? (string)__jsonActionResult : (string)ActionResult;} - {_lastSavePoint = If( json?.PropertyT("lastSavePoint"), out var __jsonLastSavePoint) ? (string)__jsonLastSavePoint : (string)LastSavePoint;} + {_runId = If( json?.PropertyT("runId"), out var __jsonRunId) ? (string)__jsonRunId : (string)_runId;} + {_jobName = If( json?.PropertyT("jobName"), out var __jsonJobName) ? (string)__jsonJobName : (string)_jobName;} + {_jobJarDirectory = If( json?.PropertyT("jobJarDirectory"), out var __jsonJobJarDirectory) ? (string)__jsonJobJarDirectory : (string)_jobJarDirectory;} + {_jarName = If( json?.PropertyT("jarName"), out var __jsonJarName) ? (string)__jsonJarName : (string)_jarName;} + {_entryClass = If( json?.PropertyT("entryClass"), out var __jsonEntryClass) ? (string)__jsonEntryClass : (string)_entryClass;} + {_arg = If( json?.PropertyT("args"), out var __jsonArgs) ? (string)__jsonArgs : (string)_arg;} + {_savePointName = If( json?.PropertyT("savePointName"), out var __jsonSavePointName) ? (string)__jsonSavePointName : (string)_savePointName;} + {_action = If( json?.PropertyT("action"), out var __jsonAction) ? (string)__jsonAction : (string)_action;} + {_flinkConfiguration = If( json?.PropertyT("flinkConfiguration"), out var __jsonFlinkConfiguration) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkJobPropertiesFlinkConfiguration.FromJson(__jsonFlinkConfiguration) : _flinkConfiguration;} + {_jobId = If( json?.PropertyT("jobId"), out var __jsonJobId) ? (string)__jsonJobId : (string)_jobId;} + {_status = If( json?.PropertyT("status"), out var __jsonStatus) ? (string)__jsonStatus : (string)_status;} + {_jobOutput = If( json?.PropertyT("jobOutput"), out var __jsonJobOutput) ? (string)__jsonJobOutput : (string)_jobOutput;} + {_actionResult = If( json?.PropertyT("actionResult"), out var __jsonActionResult) ? (string)__jsonActionResult : (string)_actionResult;} + {_lastSavePoint = If( json?.PropertyT("lastSavePoint"), out var __jsonLastSavePoint) ? (string)__jsonLastSavePoint : (string)_lastSavePoint;} AfterFromJson(json); } @@ -114,6 +115,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode T return container; } __clusterJobProperties?.ToJson(container, serializationMode); + AddIf( null != (((object)this._runId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._runId.ToString()) : null, "runId" ,container.Add ); AddIf( null != (((object)this._jobName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._jobName.ToString()) : null, "jobName" ,container.Add ); AddIf( null != (((object)this._jobJarDirectory)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._jobJarDirectory.ToString()) : null, "jobJarDirectory" ,container.Add ); AddIf( null != (((object)this._jarName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._jarName.ToString()) : null, "jarName" ,container.Add ); diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkProfile.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkProfile.PowerShell.cs index a8c1099dea38..76bd6627d9b1 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkProfile.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkProfile.PowerShell.cs @@ -122,10 +122,22 @@ internal FlinkProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).CatalogOption = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptions) content.GetValueForProperty("CatalogOption",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).CatalogOption, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkCatalogOptionsTypeConverter.ConvertFrom); } + if (content.Contains("JobSpec")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpec = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile) content.GetValueForProperty("JobSpec",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpec, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkJobProfileTypeConverter.ConvertFrom); + } if (content.Contains("NumReplica")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).NumReplica = (int?) content.GetValueForProperty("NumReplica",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).NumReplica, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } + if (content.Contains("DeploymentMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).DeploymentMode = (string) content.GetValueForProperty("DeploymentMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).DeploymentMode, global::System.Convert.ToString); + } + if (content.Contains("JobSpecUpgradeMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecUpgradeMode = (string) content.GetValueForProperty("JobSpecUpgradeMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecUpgradeMode, global::System.Convert.ToString); + } if (content.Contains("StorageUri")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).StorageUri = (string) content.GetValueForProperty("StorageUri",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).StorageUri, global::System.Convert.ToString); @@ -162,6 +174,30 @@ internal FlinkProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).CatalogOptionHive = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOption) content.GetValueForProperty("CatalogOptionHive",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).CatalogOptionHive, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkHiveCatalogOptionTypeConverter.ConvertFrom); } + if (content.Contains("JobSpecJobJarDirectory")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecJobJarDirectory = (string) content.GetValueForProperty("JobSpecJobJarDirectory",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecJobJarDirectory, global::System.Convert.ToString); + } + if (content.Contains("JobSpecJarName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecJarName = (string) content.GetValueForProperty("JobSpecJarName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecJarName, global::System.Convert.ToString); + } + if (content.Contains("JobSpecEntryClass")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecEntryClass = (string) content.GetValueForProperty("JobSpecEntryClass",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecEntryClass, global::System.Convert.ToString); + } + if (content.Contains("JobSpecArg")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecArg = (string) content.GetValueForProperty("JobSpecArg",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecArg, global::System.Convert.ToString); + } + if (content.Contains("JobSpecSavePointName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecSavePointName = (string) content.GetValueForProperty("JobSpecSavePointName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecSavePointName, global::System.Convert.ToString); + } + if (content.Contains("HiveMetastoreDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).HiveMetastoreDbConnectionAuthenticationMode = (string) content.GetValueForProperty("HiveMetastoreDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).HiveMetastoreDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("HiveMetastoreDbConnectionPasswordSecret")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).HiveMetastoreDbConnectionPasswordSecret = (string) content.GetValueForProperty("HiveMetastoreDbConnectionPasswordSecret",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).HiveMetastoreDbConnectionPasswordSecret, global::System.Convert.ToString); @@ -211,10 +247,22 @@ internal FlinkProfile(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).CatalogOption = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptions) content.GetValueForProperty("CatalogOption",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).CatalogOption, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkCatalogOptionsTypeConverter.ConvertFrom); } + if (content.Contains("JobSpec")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpec = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile) content.GetValueForProperty("JobSpec",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpec, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkJobProfileTypeConverter.ConvertFrom); + } if (content.Contains("NumReplica")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).NumReplica = (int?) content.GetValueForProperty("NumReplica",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).NumReplica, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } + if (content.Contains("DeploymentMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).DeploymentMode = (string) content.GetValueForProperty("DeploymentMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).DeploymentMode, global::System.Convert.ToString); + } + if (content.Contains("JobSpecUpgradeMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecUpgradeMode = (string) content.GetValueForProperty("JobSpecUpgradeMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecUpgradeMode, global::System.Convert.ToString); + } if (content.Contains("StorageUri")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).StorageUri = (string) content.GetValueForProperty("StorageUri",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).StorageUri, global::System.Convert.ToString); @@ -251,6 +299,30 @@ internal FlinkProfile(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).CatalogOptionHive = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOption) content.GetValueForProperty("CatalogOptionHive",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).CatalogOptionHive, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkHiveCatalogOptionTypeConverter.ConvertFrom); } + if (content.Contains("JobSpecJobJarDirectory")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecJobJarDirectory = (string) content.GetValueForProperty("JobSpecJobJarDirectory",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecJobJarDirectory, global::System.Convert.ToString); + } + if (content.Contains("JobSpecJarName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecJarName = (string) content.GetValueForProperty("JobSpecJarName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecJarName, global::System.Convert.ToString); + } + if (content.Contains("JobSpecEntryClass")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecEntryClass = (string) content.GetValueForProperty("JobSpecEntryClass",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecEntryClass, global::System.Convert.ToString); + } + if (content.Contains("JobSpecArg")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecArg = (string) content.GetValueForProperty("JobSpecArg",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecArg, global::System.Convert.ToString); + } + if (content.Contains("JobSpecSavePointName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecSavePointName = (string) content.GetValueForProperty("JobSpecSavePointName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).JobSpecSavePointName, global::System.Convert.ToString); + } + if (content.Contains("HiveMetastoreDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).HiveMetastoreDbConnectionAuthenticationMode = (string) content.GetValueForProperty("HiveMetastoreDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).HiveMetastoreDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("HiveMetastoreDbConnectionPasswordSecret")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).HiveMetastoreDbConnectionPasswordSecret = (string) content.GetValueForProperty("HiveMetastoreDbConnectionPasswordSecret",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal)this).HiveMetastoreDbConnectionPasswordSecret, global::System.Convert.ToString); diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkProfile.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkProfile.cs index e99e54082514..e17afed4c82d 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkProfile.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkProfile.cs @@ -20,6 +20,16 @@ public partial class FlinkProfile : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptions CatalogOption { get => (this._catalogOption = this._catalogOption ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkCatalogOptions()); set => this._catalogOption = value; } + /// Backing field for property. + private string _deploymentMode; + + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string DeploymentMode { get => this._deploymentMode; set => this._deploymentMode = value; } + /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeResourceDefinition _historyServer; @@ -35,6 +45,12 @@ public partial class FlinkProfile : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public long? HistoryServerMemory { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeResourceDefinitionInternal)HistoryServer).Memory; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeResourceDefinitionInternal)HistoryServer).Memory = value ?? default(long); } + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string HiveMetastoreDbConnectionAuthenticationMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptionsInternal)CatalogOption).HiveMetastoreDbConnectionAuthenticationMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptionsInternal)CatalogOption).HiveMetastoreDbConnectionAuthenticationMode = value ?? null; } + /// /// Secret reference name from secretsProfile.secrets containing password for database connection. /// @@ -64,6 +80,48 @@ public partial class FlinkProfile : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public long JobManagerMemory { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeResourceDefinitionInternal)JobManager).Memory; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeResourceDefinitionInternal)JobManager).Memory = value ; } + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile _jobSpec; + + /// + /// Job specifications for flink clusters in application deployment mode. The specification is immutable even if job properties + /// are changed by calling the RunJob API, please use the ListJob API to get the latest job information. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile JobSpec { get => (this._jobSpec = this._jobSpec ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkJobProfile()); set => this._jobSpec = value; } + + /// + /// A string property representing additional JVM arguments for the Flink job. It should be space separated value. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecArg { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)JobSpec).Arg; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)JobSpec).Arg = value ?? null; } + + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecEntryClass { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)JobSpec).EntryClass; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)JobSpec).EntryClass = value ?? null; } + + /// A string property that represents the name of the job JAR. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecJarName { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)JobSpec).JarName; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)JobSpec).JarName = value ?? null; } + + /// A string property that specifies the directory where the job JAR is located. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecJobJarDirectory { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)JobSpec).JobJarDirectory; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)JobSpec).JobJarDirectory = value ?? null; } + + /// A string property that represents the name of the savepoint for the Flink job + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecSavePointName { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)JobSpec).SavePointName; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)JobSpec).SavePointName = value ?? null; } + + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string JobSpecUpgradeMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)JobSpec).UpgradeMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfileInternal)JobSpec).UpgradeMode = value ?? null; } + /// Internal Acessors for CatalogOption Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptions Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal.CatalogOption { get => (this._catalogOption = this._catalogOption ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkCatalogOptions()); set { {_catalogOption = value;} } } @@ -76,6 +134,9 @@ public partial class FlinkProfile : /// Internal Acessors for JobManager Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeResourceDefinition Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal.JobManager { get => (this._jobManager = this._jobManager ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ComputeResourceDefinition()); set { {_jobManager = value;} } } + /// Internal Acessors for JobSpec + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal.JobSpec { get => (this._jobSpec = this._jobSpec ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkJobProfile()); set { {_jobSpec = value;} } } + /// Internal Acessors for Storage Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkStorageProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkProfileInternal.Storage { get => (this._storage = this._storage ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkStorageProfile()); set { {_storage = value;} } } @@ -129,6 +190,21 @@ public FlinkProfile() public partial interface IFlinkProfile : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable { + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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", + SerializedName = @"deploymentMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Application", "Session")] + string DeploymentMode { get; set; } /// The required CPU. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -152,6 +228,20 @@ public partial interface IFlinkProfile : PossibleTypes = new [] { typeof(long) })] long? HistoryServerMemory { get; set; } /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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", + SerializedName = @"metastoreDbConnectionAuthenticationMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string HiveMetastoreDbConnectionAuthenticationMode { get; set; } + /// /// Secret reference name from secretsProfile.secrets containing password for database connection. /// [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( @@ -208,6 +298,81 @@ public partial interface IFlinkProfile : SerializedName = @"memory", PossibleTypes = new [] { typeof(long) })] long JobManagerMemory { get; set; } + /// + /// A string property representing additional JVM arguments for the Flink job. It should be space separated value. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"A string property representing additional JVM arguments for the Flink job. It should be space separated value.", + SerializedName = @"args", + PossibleTypes = new [] { typeof(string) })] + string JobSpecArg { get; set; } + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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.", + SerializedName = @"entryClass", + PossibleTypes = new [] { typeof(string) })] + string JobSpecEntryClass { get; set; } + /// A string property that represents the name of the job JAR. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"A string property that represents the name of the job JAR.", + SerializedName = @"jarName", + PossibleTypes = new [] { typeof(string) })] + string JobSpecJarName { get; set; } + /// A string property that specifies the directory where the job JAR is located. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"A string property that specifies the directory where the job JAR is located.", + SerializedName = @"jobJarDirectory", + PossibleTypes = new [] { typeof(string) })] + string JobSpecJobJarDirectory { get; set; } + /// A string property that represents the name of the savepoint for the Flink job + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"A string property that represents the name of the savepoint for the Flink job", + SerializedName = @"savePointName", + PossibleTypes = new [] { typeof(string) })] + string JobSpecSavePointName { get; set; } + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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.", + SerializedName = @"upgradeMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("STATELESS_UPDATE", "UPDATE", "LAST_STATE_UPDATE")] + string JobSpecUpgradeMode { get; set; } /// The number of task managers. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -273,6 +438,12 @@ internal partial interface IFlinkProfileInternal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkCatalogOptions CatalogOption { get; set; } /// Hive Catalog Option for Flink cluster. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkHiveCatalogOption CatalogOptionHive { get; set; } + /// + /// 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 + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Application", "Session")] + string DeploymentMode { get; set; } /// History Server container/ process CPU and memory requirements Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IComputeResourceDefinition HistoryServer { get; set; } /// The required CPU. @@ -280,6 +451,11 @@ internal partial interface IFlinkProfileInternal /// The required memory in MB, Container memory will be 110 percentile long? HistoryServerMemory { get; set; } /// + /// 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 + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string HiveMetastoreDbConnectionAuthenticationMode { get; set; } + /// /// Secret reference name from secretsProfile.secrets containing password for database connection. /// string HiveMetastoreDbConnectionPasswordSecret { get; set; } @@ -293,6 +469,32 @@ internal partial interface IFlinkProfileInternal float JobManagerCpu { get; set; } /// The required memory in MB, Container memory will be 110 percentile long JobManagerMemory { get; set; } + /// + /// Job specifications for flink clusters in application deployment mode. The specification is immutable even if job properties + /// are changed by calling the RunJob API, please use the ListJob API to get the latest job information. + /// + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobProfile JobSpec { get; set; } + /// + /// A string property representing additional JVM arguments for the Flink job. It should be space separated value. + /// + string JobSpecArg { get; set; } + /// + /// 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. + /// + string JobSpecEntryClass { get; set; } + /// A string property that represents the name of the job JAR. + string JobSpecJarName { get; set; } + /// A string property that specifies the directory where the job JAR is located. + string JobSpecJobJarDirectory { get; set; } + /// A string property that represents the name of the savepoint for the Flink job + string JobSpecSavePointName { get; set; } + /// + /// 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. + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("STATELESS_UPDATE", "UPDATE", "LAST_STATE_UPDATE")] + string JobSpecUpgradeMode { get; set; } /// The number of task managers. int? NumReplica { get; set; } /// The storage profile diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkProfile.json.cs index 1623ece1ed9c..29b397917509 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkProfile.json.cs @@ -65,12 +65,14 @@ internal FlinkProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime. { return; } - {_storage = If( json?.PropertyT("storage"), out var __jsonStorage) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkStorageProfile.FromJson(__jsonStorage) : Storage;} - {_jobManager = If( json?.PropertyT("jobManager"), out var __jsonJobManager) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ComputeResourceDefinition.FromJson(__jsonJobManager) : JobManager;} - {_historyServer = If( json?.PropertyT("historyServer"), out var __jsonHistoryServer) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ComputeResourceDefinition.FromJson(__jsonHistoryServer) : HistoryServer;} - {_taskManager = If( json?.PropertyT("taskManager"), out var __jsonTaskManager) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ComputeResourceDefinition.FromJson(__jsonTaskManager) : TaskManager;} - {_catalogOption = If( json?.PropertyT("catalogOptions"), out var __jsonCatalogOptions) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkCatalogOptions.FromJson(__jsonCatalogOptions) : CatalogOption;} - {_numReplica = If( json?.PropertyT("numReplicas"), out var __jsonNumReplicas) ? (int?)__jsonNumReplicas : NumReplica;} + {_storage = If( json?.PropertyT("storage"), out var __jsonStorage) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkStorageProfile.FromJson(__jsonStorage) : _storage;} + {_jobManager = If( json?.PropertyT("jobManager"), out var __jsonJobManager) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ComputeResourceDefinition.FromJson(__jsonJobManager) : _jobManager;} + {_historyServer = If( json?.PropertyT("historyServer"), out var __jsonHistoryServer) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ComputeResourceDefinition.FromJson(__jsonHistoryServer) : _historyServer;} + {_taskManager = If( json?.PropertyT("taskManager"), out var __jsonTaskManager) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ComputeResourceDefinition.FromJson(__jsonTaskManager) : _taskManager;} + {_catalogOption = If( json?.PropertyT("catalogOptions"), out var __jsonCatalogOptions) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkCatalogOptions.FromJson(__jsonCatalogOptions) : _catalogOption;} + {_jobSpec = If( json?.PropertyT("jobSpec"), out var __jsonJobSpec) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.FlinkJobProfile.FromJson(__jsonJobSpec) : _jobSpec;} + {_numReplica = If( json?.PropertyT("numReplicas"), out var __jsonNumReplicas) ? (int?)__jsonNumReplicas : _numReplica;} + {_deploymentMode = If( json?.PropertyT("deploymentMode"), out var __jsonDeploymentMode) ? (string)__jsonDeploymentMode : (string)_deploymentMode;} AfterFromJson(json); } @@ -110,7 +112,9 @@ public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode T AddIf( null != this._historyServer ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._historyServer.ToJson(null,serializationMode) : null, "historyServer" ,container.Add ); AddIf( null != this._taskManager ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._taskManager.ToJson(null,serializationMode) : null, "taskManager" ,container.Add ); AddIf( null != this._catalogOption ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._catalogOption.ToJson(null,serializationMode) : null, "catalogOptions" ,container.Add ); + AddIf( null != this._jobSpec ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._jobSpec.ToJson(null,serializationMode) : null, "jobSpec" ,container.Add ); AddIf( null != this._numReplica ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNumber((int)this._numReplica) : null, "numReplicas" ,container.Add ); + AddIf( null != (((object)this._deploymentMode)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._deploymentMode.ToString()) : null, "deploymentMode" ,container.Add ); AfterToJson(ref container); return container; } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkStorageProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkStorageProfile.json.cs index 9fa7af625814..e190c6a7290d 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkStorageProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/FlinkStorageProfile.json.cs @@ -65,8 +65,8 @@ internal FlinkStorageProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.R { return; } - {_storageUri = If( json?.PropertyT("storageUri"), out var __jsonStorageUri) ? (string)__jsonStorageUri : (string)StorageUri;} - {_storagekey = If( json?.PropertyT("storagekey"), out var __jsonStoragekey) ? (string)__jsonStoragekey : (string)Storagekey;} + {_storageUri = If( json?.PropertyT("storageUri"), out var __jsonStorageUri) ? (string)__jsonStorageUri : (string)_storageUri;} + {_storagekey = If( json?.PropertyT("storagekey"), out var __jsonStoragekey) ? (string)__jsonStoragekey : (string)_storagekey;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/HdInsightOnAksIdentity.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/HdInsightOnAksIdentity.json.cs index f585c080eba1..a5d53a39ab7b 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/HdInsightOnAksIdentity.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/HdInsightOnAksIdentity.json.cs @@ -76,12 +76,12 @@ internal HdInsightOnAksIdentity(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAk { return; } - {_subscriptionId = If( json?.PropertyT("subscriptionId"), out var __jsonSubscriptionId) ? (string)__jsonSubscriptionId : (string)SubscriptionId;} - {_resourceGroupName = If( json?.PropertyT("resourceGroupName"), out var __jsonResourceGroupName) ? (string)__jsonResourceGroupName : (string)ResourceGroupName;} - {_clusterPoolName = If( json?.PropertyT("clusterPoolName"), out var __jsonClusterPoolName) ? (string)__jsonClusterPoolName : (string)ClusterPoolName;} - {_clusterName = If( json?.PropertyT("clusterName"), out var __jsonClusterName) ? (string)__jsonClusterName : (string)ClusterName;} - {_location = If( json?.PropertyT("location"), out var __jsonLocation) ? (string)__jsonLocation : (string)Location;} - {_id = If( json?.PropertyT("id"), out var __jsonId) ? (string)__jsonId : (string)Id;} + {_subscriptionId = If( json?.PropertyT("subscriptionId"), out var __jsonSubscriptionId) ? (string)__jsonSubscriptionId : (string)_subscriptionId;} + {_resourceGroupName = If( json?.PropertyT("resourceGroupName"), out var __jsonResourceGroupName) ? (string)__jsonResourceGroupName : (string)_resourceGroupName;} + {_clusterPoolName = If( json?.PropertyT("clusterPoolName"), out var __jsonClusterPoolName) ? (string)__jsonClusterPoolName : (string)_clusterPoolName;} + {_clusterName = If( json?.PropertyT("clusterName"), out var __jsonClusterName) ? (string)__jsonClusterName : (string)_clusterName;} + {_location = If( json?.PropertyT("location"), out var __jsonLocation) ? (string)__jsonLocation : (string)_location;} + {_id = If( json?.PropertyT("id"), out var __jsonId) ? (string)__jsonId : (string)_id;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/HiveCatalogOption.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/HiveCatalogOption.PowerShell.cs index 4499f93311e9..452373da6267 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/HiveCatalogOption.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/HiveCatalogOption.PowerShell.cs @@ -113,6 +113,10 @@ internal HiveCatalogOption(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOptionInternal)this).CatalogName = (string) content.GetValueForProperty("CatalogName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOptionInternal)this).CatalogName, global::System.Convert.ToString); } + if (content.Contains("MetastoreDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOptionInternal)this).MetastoreDbConnectionAuthenticationMode = (string) content.GetValueForProperty("MetastoreDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOptionInternal)this).MetastoreDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("MetastoreDbConnectionPasswordSecret")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOptionInternal)this).MetastoreDbConnectionPasswordSecret = (string) content.GetValueForProperty("MetastoreDbConnectionPasswordSecret",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOptionInternal)this).MetastoreDbConnectionPasswordSecret, global::System.Convert.ToString); @@ -150,6 +154,10 @@ internal HiveCatalogOption(global::System.Management.Automation.PSObject content { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOptionInternal)this).CatalogName = (string) content.GetValueForProperty("CatalogName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOptionInternal)this).CatalogName, global::System.Convert.ToString); } + if (content.Contains("MetastoreDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOptionInternal)this).MetastoreDbConnectionAuthenticationMode = (string) content.GetValueForProperty("MetastoreDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOptionInternal)this).MetastoreDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("MetastoreDbConnectionPasswordSecret")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOptionInternal)this).MetastoreDbConnectionPasswordSecret = (string) content.GetValueForProperty("MetastoreDbConnectionPasswordSecret",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOptionInternal)this).MetastoreDbConnectionPasswordSecret, global::System.Convert.ToString); diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/HiveCatalogOption.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/HiveCatalogOption.cs index cf5f77d61ced..79e7829fd2b6 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/HiveCatalogOption.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/HiveCatalogOption.cs @@ -20,6 +20,17 @@ public partial class HiveCatalogOption : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] public string CatalogName { get => this._catalogName; set => this._catalogName = value; } + /// + /// Backing field for property. + /// + private string _metastoreDbConnectionAuthenticationMode; + + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string MetastoreDbConnectionAuthenticationMode { get => this._metastoreDbConnectionAuthenticationMode; set => this._metastoreDbConnectionAuthenticationMode = value; } + /// Backing field for property. private string _metastoreDbConnectionPasswordSecret; @@ -75,10 +86,24 @@ public partial interface IHiveCatalogOption : PossibleTypes = new [] { typeof(string) })] string CatalogName { get; set; } /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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", + SerializedName = @"metastoreDbConnectionAuthenticationMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string MetastoreDbConnectionAuthenticationMode { get; set; } + /// /// Secret reference name from secretsProfile.secrets containing password for database connection. /// [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Read = true, Create = true, @@ -100,7 +125,7 @@ public partial interface IHiveCatalogOption : string MetastoreDbConnectionUrl { get; set; } /// User name for database connection. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Read = true, Create = true, @@ -132,6 +157,11 @@ internal partial interface IHiveCatalogOptionInternal /// Name of trino catalog which should use specified hive metastore. string CatalogName { get; set; } /// + /// 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 + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string MetastoreDbConnectionAuthenticationMode { get; set; } + /// /// Secret reference name from secretsProfile.secrets containing password for database connection. /// string MetastoreDbConnectionPasswordSecret { get; set; } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/HiveCatalogOption.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/HiveCatalogOption.json.cs index c573460ea904..db3674ebd4f5 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/HiveCatalogOption.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/HiveCatalogOption.json.cs @@ -77,11 +77,12 @@ internal HiveCatalogOption(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Run { return; } - {_catalogName = If( json?.PropertyT("catalogName"), out var __jsonCatalogName) ? (string)__jsonCatalogName : (string)CatalogName;} - {_metastoreDbConnectionPasswordSecret = If( json?.PropertyT("metastoreDbConnectionPasswordSecret"), out var __jsonMetastoreDbConnectionPasswordSecret) ? (string)__jsonMetastoreDbConnectionPasswordSecret : (string)MetastoreDbConnectionPasswordSecret;} - {_metastoreDbConnectionUrl = If( json?.PropertyT("metastoreDbConnectionURL"), out var __jsonMetastoreDbConnectionUrl) ? (string)__jsonMetastoreDbConnectionUrl : (string)MetastoreDbConnectionUrl;} - {_metastoreDbConnectionUserName = If( json?.PropertyT("metastoreDbConnectionUserName"), out var __jsonMetastoreDbConnectionUserName) ? (string)__jsonMetastoreDbConnectionUserName : (string)MetastoreDbConnectionUserName;} - {_metastoreWarehouseDir = If( json?.PropertyT("metastoreWarehouseDir"), out var __jsonMetastoreWarehouseDir) ? (string)__jsonMetastoreWarehouseDir : (string)MetastoreWarehouseDir;} + {_catalogName = If( json?.PropertyT("catalogName"), out var __jsonCatalogName) ? (string)__jsonCatalogName : (string)_catalogName;} + {_metastoreDbConnectionAuthenticationMode = If( json?.PropertyT("metastoreDbConnectionAuthenticationMode"), out var __jsonMetastoreDbConnectionAuthenticationMode) ? (string)__jsonMetastoreDbConnectionAuthenticationMode : (string)_metastoreDbConnectionAuthenticationMode;} + {_metastoreDbConnectionPasswordSecret = If( json?.PropertyT("metastoreDbConnectionPasswordSecret"), out var __jsonMetastoreDbConnectionPasswordSecret) ? (string)__jsonMetastoreDbConnectionPasswordSecret : (string)_metastoreDbConnectionPasswordSecret;} + {_metastoreDbConnectionUrl = If( json?.PropertyT("metastoreDbConnectionURL"), out var __jsonMetastoreDbConnectionUrl) ? (string)__jsonMetastoreDbConnectionUrl : (string)_metastoreDbConnectionUrl;} + {_metastoreDbConnectionUserName = If( json?.PropertyT("metastoreDbConnectionUserName"), out var __jsonMetastoreDbConnectionUserName) ? (string)__jsonMetastoreDbConnectionUserName : (string)_metastoreDbConnectionUserName;} + {_metastoreWarehouseDir = If( json?.PropertyT("metastoreWarehouseDir"), out var __jsonMetastoreWarehouseDir) ? (string)__jsonMetastoreWarehouseDir : (string)_metastoreWarehouseDir;} AfterFromJson(json); } @@ -105,6 +106,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode T return container; } AddIf( null != (((object)this._catalogName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._catalogName.ToString()) : null, "catalogName" ,container.Add ); + AddIf( null != (((object)this._metastoreDbConnectionAuthenticationMode)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._metastoreDbConnectionAuthenticationMode.ToString()) : null, "metastoreDbConnectionAuthenticationMode" ,container.Add ); AddIf( null != (((object)this._metastoreDbConnectionPasswordSecret)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._metastoreDbConnectionPasswordSecret.ToString()) : null, "metastoreDbConnectionPasswordSecret" ,container.Add ); AddIf( null != (((object)this._metastoreDbConnectionUrl)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._metastoreDbConnectionUrl.ToString()) : null, "metastoreDbConnectionURL" ,container.Add ); AddIf( null != (((object)this._metastoreDbConnectionUserName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._metastoreDbConnectionUserName.ToString()) : null, "metastoreDbConnectionUserName" ,container.Add ); diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/IdentityProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/IdentityProfile.json.cs index ce9d8c455b71..3137b897205c 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/IdentityProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/IdentityProfile.json.cs @@ -77,9 +77,9 @@ internal IdentityProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runti { return; } - {_msiResourceId = If( json?.PropertyT("msiResourceId"), out var __jsonMsiResourceId) ? (string)__jsonMsiResourceId : (string)MsiResourceId;} - {_msiClientId = If( json?.PropertyT("msiClientId"), out var __jsonMsiClientId) ? (string)__jsonMsiClientId : (string)MsiClientId;} - {_msiObjectId = If( json?.PropertyT("msiObjectId"), out var __jsonMsiObjectId) ? (string)__jsonMsiObjectId : (string)MsiObjectId;} + {_msiResourceId = If( json?.PropertyT("msiResourceId"), out var __jsonMsiResourceId) ? (string)__jsonMsiResourceId : (string)_msiResourceId;} + {_msiClientId = If( json?.PropertyT("msiClientId"), out var __jsonMsiClientId) ? (string)__jsonMsiClientId : (string)_msiClientId;} + {_msiObjectId = If( json?.PropertyT("msiObjectId"), out var __jsonMsiObjectId) ? (string)__jsonMsiObjectId : (string)_msiObjectId;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaConnectivityEndpoints.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaConnectivityEndpoints.PowerShell.cs new file mode 100644 index 000000000000..8fdadfc2fd28 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaConnectivityEndpoints.PowerShell.cs @@ -0,0 +1,172 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Kafka bootstrap server and broker related connectivity endpoints. + [System.ComponentModel.TypeConverter(typeof(KafkaConnectivityEndpointsTypeConverter))] + public partial class KafkaConnectivityEndpoints + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new KafkaConnectivityEndpoints(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new KafkaConnectivityEndpoints(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal KafkaConnectivityEndpoints(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("BootstrapServerEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpointsInternal)this).BootstrapServerEndpoint = (string) content.GetValueForProperty("BootstrapServerEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpointsInternal)this).BootstrapServerEndpoint, global::System.Convert.ToString); + } + if (content.Contains("BrokerEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpointsInternal)this).BrokerEndpoint = (System.Collections.Generic.List) content.GetValueForProperty("BrokerEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpointsInternal)this).BrokerEndpoint, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal KafkaConnectivityEndpoints(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("BootstrapServerEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpointsInternal)this).BootstrapServerEndpoint = (string) content.GetValueForProperty("BootstrapServerEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpointsInternal)this).BootstrapServerEndpoint, global::System.Convert.ToString); + } + if (content.Contains("BrokerEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpointsInternal)this).BrokerEndpoint = (System.Collections.Generic.List) content.GetValueForProperty("BrokerEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpointsInternal)this).BrokerEndpoint, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Kafka bootstrap server and broker related connectivity endpoints. + [System.ComponentModel.TypeConverter(typeof(KafkaConnectivityEndpointsTypeConverter))] + public partial interface IKafkaConnectivityEndpoints + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaConnectivityEndpoints.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaConnectivityEndpoints.TypeConverter.cs new file mode 100644 index 000000000000..cdc5759cb8cb --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaConnectivityEndpoints.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class KafkaConnectivityEndpointsTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return KafkaConnectivityEndpoints.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return KafkaConnectivityEndpoints.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return KafkaConnectivityEndpoints.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaConnectivityEndpoints.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaConnectivityEndpoints.cs new file mode 100644 index 000000000000..3fd2f00cb1f4 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaConnectivityEndpoints.cs @@ -0,0 +1,74 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Kafka bootstrap server and broker related connectivity endpoints. + public partial class KafkaConnectivityEndpoints : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpointsInternal + { + + /// Backing field for property. + private string _bootstrapServerEndpoint; + + /// bootstrap server connectivity endpoint. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string BootstrapServerEndpoint { get => this._bootstrapServerEndpoint; set => this._bootstrapServerEndpoint = value; } + + /// Backing field for property. + private System.Collections.Generic.List _brokerEndpoint; + + /// Kafka broker endpoint list. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public System.Collections.Generic.List BrokerEndpoint { get => this._brokerEndpoint; set => this._brokerEndpoint = value; } + + /// Creates an new instance. + public KafkaConnectivityEndpoints() + { + + } + } + /// Kafka bootstrap server and broker related connectivity endpoints. + public partial interface IKafkaConnectivityEndpoints : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable + { + /// bootstrap server connectivity endpoint. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"bootstrap server connectivity endpoint.", + SerializedName = @"bootstrapServerEndpoint", + PossibleTypes = new [] { typeof(string) })] + string BootstrapServerEndpoint { get; set; } + /// Kafka broker endpoint list. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Kafka broker endpoint list.", + SerializedName = @"brokerEndpoints", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List BrokerEndpoint { get; set; } + + } + /// Kafka bootstrap server and broker related connectivity endpoints. + internal partial interface IKafkaConnectivityEndpointsInternal + + { + /// bootstrap server connectivity endpoint. + string BootstrapServerEndpoint { get; set; } + /// Kafka broker endpoint list. + System.Collections.Generic.List BrokerEndpoint { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaConnectivityEndpoints.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaConnectivityEndpoints.json.cs new file mode 100644 index 000000000000..cd81a39df0f7 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaConnectivityEndpoints.json.cs @@ -0,0 +1,118 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Kafka bootstrap server and broker related connectivity endpoints. + public partial class KafkaConnectivityEndpoints + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new KafkaConnectivityEndpoints(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal KafkaConnectivityEndpoints(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_bootstrapServerEndpoint = If( json?.PropertyT("bootstrapServerEndpoint"), out var __jsonBootstrapServerEndpoint) ? (string)__jsonBootstrapServerEndpoint : (string)_bootstrapServerEndpoint;} + {_brokerEndpoint = If( json?.PropertyT("brokerEndpoints"), out var __jsonBrokerEndpoints) ? If( __jsonBrokerEndpoints as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : _brokerEndpoint;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._bootstrapServerEndpoint)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._bootstrapServerEndpoint.ToString()) : null, "bootstrapServerEndpoint" ,container.Add ); + if (null != this._brokerEndpoint) + { + var __w = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.XNodeArray(); + foreach( var __x in this._brokerEndpoint ) + { + AddIf(null != (((object)__x)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(__x.ToString()) : null ,__w.Add); + } + container.Add("brokerEndpoints",__w); + } + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaProfile.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaProfile.PowerShell.cs new file mode 100644 index 000000000000..f81483ae321e --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaProfile.PowerShell.cs @@ -0,0 +1,260 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// The Kafka cluster profile. + [System.ComponentModel.TypeConverter(typeof(KafkaProfileTypeConverter))] + public partial class KafkaProfile + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new KafkaProfile(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new KafkaProfile(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal KafkaProfile(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("DiskStorage")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).DiskStorage = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile) content.GetValueForProperty("DiskStorage",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).DiskStorage, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.DiskStorageProfileTypeConverter.ConvertFrom); + } + if (content.Contains("ClusterIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ClusterIdentity = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile) content.GetValueForProperty("ClusterIdentity",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ClusterIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IdentityProfileTypeConverter.ConvertFrom); + } + if (content.Contains("ConnectivityEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ConnectivityEndpoint = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints) content.GetValueForProperty("ConnectivityEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ConnectivityEndpoint, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaConnectivityEndpointsTypeConverter.ConvertFrom); + } + if (content.Contains("EnableKRaft")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).EnableKRaft = (bool?) content.GetValueForProperty("EnableKRaft",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).EnableKRaft, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("EnablePublicEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).EnablePublicEndpoint = (bool?) content.GetValueForProperty("EnablePublicEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).EnablePublicEndpoint, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RemoteStorageUri")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).RemoteStorageUri = (string) content.GetValueForProperty("RemoteStorageUri",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).RemoteStorageUri, global::System.Convert.ToString); + } + if (content.Contains("DiskStorageDataDiskSize")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).DiskStorageDataDiskSize = (int) content.GetValueForProperty("DiskStorageDataDiskSize",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).DiskStorageDataDiskSize, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("DiskStorageDataDiskType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).DiskStorageDataDiskType = (string) content.GetValueForProperty("DiskStorageDataDiskType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).DiskStorageDataDiskType, global::System.Convert.ToString); + } + if (content.Contains("ClusterIdentityMsiResourceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ClusterIdentityMsiResourceId = (string) content.GetValueForProperty("ClusterIdentityMsiResourceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ClusterIdentityMsiResourceId, global::System.Convert.ToString); + } + if (content.Contains("ClusterIdentityMsiClientId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ClusterIdentityMsiClientId = (string) content.GetValueForProperty("ClusterIdentityMsiClientId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ClusterIdentityMsiClientId, global::System.Convert.ToString); + } + if (content.Contains("ClusterIdentityMsiObjectId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ClusterIdentityMsiObjectId = (string) content.GetValueForProperty("ClusterIdentityMsiObjectId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ClusterIdentityMsiObjectId, global::System.Convert.ToString); + } + if (content.Contains("ConnectivityEndpointBootstrapServerEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ConnectivityEndpointBootstrapServerEndpoint = (string) content.GetValueForProperty("ConnectivityEndpointBootstrapServerEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ConnectivityEndpointBootstrapServerEndpoint, global::System.Convert.ToString); + } + if (content.Contains("ConnectivityEndpointBrokerEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ConnectivityEndpointBrokerEndpoint = (System.Collections.Generic.List) content.GetValueForProperty("ConnectivityEndpointBrokerEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ConnectivityEndpointBrokerEndpoint, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal KafkaProfile(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("DiskStorage")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).DiskStorage = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile) content.GetValueForProperty("DiskStorage",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).DiskStorage, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.DiskStorageProfileTypeConverter.ConvertFrom); + } + if (content.Contains("ClusterIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ClusterIdentity = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile) content.GetValueForProperty("ClusterIdentity",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ClusterIdentity, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IdentityProfileTypeConverter.ConvertFrom); + } + if (content.Contains("ConnectivityEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ConnectivityEndpoint = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints) content.GetValueForProperty("ConnectivityEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ConnectivityEndpoint, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaConnectivityEndpointsTypeConverter.ConvertFrom); + } + if (content.Contains("EnableKRaft")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).EnableKRaft = (bool?) content.GetValueForProperty("EnableKRaft",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).EnableKRaft, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("EnablePublicEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).EnablePublicEndpoint = (bool?) content.GetValueForProperty("EnablePublicEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).EnablePublicEndpoint, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RemoteStorageUri")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).RemoteStorageUri = (string) content.GetValueForProperty("RemoteStorageUri",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).RemoteStorageUri, global::System.Convert.ToString); + } + if (content.Contains("DiskStorageDataDiskSize")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).DiskStorageDataDiskSize = (int) content.GetValueForProperty("DiskStorageDataDiskSize",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).DiskStorageDataDiskSize, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("DiskStorageDataDiskType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).DiskStorageDataDiskType = (string) content.GetValueForProperty("DiskStorageDataDiskType",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).DiskStorageDataDiskType, global::System.Convert.ToString); + } + if (content.Contains("ClusterIdentityMsiResourceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ClusterIdentityMsiResourceId = (string) content.GetValueForProperty("ClusterIdentityMsiResourceId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ClusterIdentityMsiResourceId, global::System.Convert.ToString); + } + if (content.Contains("ClusterIdentityMsiClientId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ClusterIdentityMsiClientId = (string) content.GetValueForProperty("ClusterIdentityMsiClientId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ClusterIdentityMsiClientId, global::System.Convert.ToString); + } + if (content.Contains("ClusterIdentityMsiObjectId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ClusterIdentityMsiObjectId = (string) content.GetValueForProperty("ClusterIdentityMsiObjectId",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ClusterIdentityMsiObjectId, global::System.Convert.ToString); + } + if (content.Contains("ConnectivityEndpointBootstrapServerEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ConnectivityEndpointBootstrapServerEndpoint = (string) content.GetValueForProperty("ConnectivityEndpointBootstrapServerEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ConnectivityEndpointBootstrapServerEndpoint, global::System.Convert.ToString); + } + if (content.Contains("ConnectivityEndpointBrokerEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ConnectivityEndpointBrokerEndpoint = (System.Collections.Generic.List) content.GetValueForProperty("ConnectivityEndpointBrokerEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal)this).ConnectivityEndpointBrokerEndpoint, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// The Kafka cluster profile. + [System.ComponentModel.TypeConverter(typeof(KafkaProfileTypeConverter))] + public partial interface IKafkaProfile + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaProfile.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaProfile.TypeConverter.cs new file mode 100644 index 000000000000..b5b2141e847e --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaProfile.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class KafkaProfileTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return KafkaProfile.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return KafkaProfile.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return KafkaProfile.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaProfile.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaProfile.cs new file mode 100644 index 000000000000..d7495980c4de --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaProfile.cs @@ -0,0 +1,260 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// The Kafka cluster profile. + public partial class KafkaProfile : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal + { + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile _clusterIdentity; + + /// Identity of the internal service components inside the Kafka cluster. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile ClusterIdentity { get => (this._clusterIdentity = this._clusterIdentity ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IdentityProfile()); } + + /// ClientId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string ClusterIdentityMsiClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfileInternal)ClusterIdentity).MsiClientId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfileInternal)ClusterIdentity).MsiClientId = value ?? null; } + + /// ObjectId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string ClusterIdentityMsiObjectId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfileInternal)ClusterIdentity).MsiObjectId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfileInternal)ClusterIdentity).MsiObjectId = value ?? null; } + + /// ResourceId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string ClusterIdentityMsiResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfileInternal)ClusterIdentity).MsiResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfileInternal)ClusterIdentity).MsiResourceId = value ?? null; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints _connectivityEndpoint; + + /// Kafka bootstrap server and brokers related connectivity endpoints. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints ConnectivityEndpoint { get => (this._connectivityEndpoint = this._connectivityEndpoint ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaConnectivityEndpoints()); } + + /// bootstrap server connectivity endpoint. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string ConnectivityEndpointBootstrapServerEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpointsInternal)ConnectivityEndpoint).BootstrapServerEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpointsInternal)ConnectivityEndpoint).BootstrapServerEndpoint = value ?? null; } + + /// Kafka broker endpoint list. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List ConnectivityEndpointBrokerEndpoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpointsInternal)ConnectivityEndpoint).BrokerEndpoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpointsInternal)ConnectivityEndpoint).BrokerEndpoint = value ?? null /* arrayOf */; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile _diskStorage; + + /// Kafka disk storage profile. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile DiskStorage { get => (this._diskStorage = this._diskStorage ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.DiskStorageProfile()); set => this._diskStorage = value; } + + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public int DiskStorageDataDiskSize { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfileInternal)DiskStorage).DataDiskSize; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfileInternal)DiskStorage).DataDiskSize = value ; } + + /// Managed Disk Type. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DiskStorageDataDiskType { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfileInternal)DiskStorage).DataDiskType; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfileInternal)DiskStorage).DataDiskType = value ; } + + /// Backing field for property. + private bool? _enableKRaft; + + /// Expose Kafka cluster in KRaft mode. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public bool? EnableKRaft { get => this._enableKRaft; set => this._enableKRaft = value; } + + /// Backing field for property. + private bool? _enablePublicEndpoint; + + /// Expose worker nodes as public endpoints. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public bool? EnablePublicEndpoint { get => this._enablePublicEndpoint; set => this._enablePublicEndpoint = value; } + + /// Internal Acessors for ClusterIdentity + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal.ClusterIdentity { get => (this._clusterIdentity = this._clusterIdentity ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IdentityProfile()); set { {_clusterIdentity = value;} } } + + /// Internal Acessors for ConnectivityEndpoint + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal.ConnectivityEndpoint { get => (this._connectivityEndpoint = this._connectivityEndpoint ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaConnectivityEndpoints()); set { {_connectivityEndpoint = value;} } } + + /// Internal Acessors for DiskStorage + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfileInternal.DiskStorage { get => (this._diskStorage = this._diskStorage ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.DiskStorageProfile()); set { {_diskStorage = value;} } } + + /// Backing field for property. + private string _remoteStorageUri; + + /// Fully qualified path of Azure Storage container used for Tiered Storage. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string RemoteStorageUri { get => this._remoteStorageUri; set => this._remoteStorageUri = value; } + + /// Creates an new instance. + public KafkaProfile() + { + + } + } + /// The Kafka cluster profile. + public partial interface IKafkaProfile : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable + { + /// ClientId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"ClientId of the MSI.", + SerializedName = @"msiClientId", + PossibleTypes = new [] { typeof(string) })] + string ClusterIdentityMsiClientId { get; } + /// ObjectId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"ObjectId of the MSI.", + SerializedName = @"msiObjectId", + PossibleTypes = new [] { typeof(string) })] + string ClusterIdentityMsiObjectId { get; } + /// ResourceId of the MSI. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"ResourceId of the MSI.", + SerializedName = @"msiResourceId", + PossibleTypes = new [] { typeof(string) })] + string ClusterIdentityMsiResourceId { get; } + /// bootstrap server connectivity endpoint. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"bootstrap server connectivity endpoint.", + SerializedName = @"bootstrapServerEndpoint", + PossibleTypes = new [] { typeof(string) })] + string ConnectivityEndpointBootstrapServerEndpoint { get; } + /// Kafka broker endpoint list. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = true, + Read = true, + Create = false, + Update = false, + Description = @"Kafka broker endpoint list.", + SerializedName = @"brokerEndpoints", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List ConnectivityEndpointBrokerEndpoint { get; } + /// + /// 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. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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.", + SerializedName = @"dataDiskSize", + PossibleTypes = new [] { typeof(int) })] + int DiskStorageDataDiskSize { get; set; } + /// Managed Disk Type. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Managed Disk Type.", + SerializedName = @"dataDiskType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Standard_HDD_LRS", "Standard_SSD_LRS", "Standard_SSD_ZRS", "Premium_SSD_LRS", "Premium_SSD_ZRS", "Premium_SSD_v2_LRS")] + string DiskStorageDataDiskType { get; set; } + /// Expose Kafka cluster in KRaft mode. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Expose Kafka cluster in KRaft mode.", + SerializedName = @"enableKRaft", + PossibleTypes = new [] { typeof(bool) })] + bool? EnableKRaft { get; set; } + /// Expose worker nodes as public endpoints. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Expose worker nodes as public endpoints.", + SerializedName = @"enablePublicEndpoints", + PossibleTypes = new [] { typeof(bool) })] + bool? EnablePublicEndpoint { get; set; } + /// Fully qualified path of Azure Storage container used for Tiered Storage. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Fully qualified path of Azure Storage container used for Tiered Storage.", + SerializedName = @"remoteStorageUri", + PossibleTypes = new [] { typeof(string) })] + string RemoteStorageUri { get; set; } + + } + /// The Kafka cluster profile. + internal partial interface IKafkaProfileInternal + + { + /// Identity of the internal service components inside the Kafka cluster. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IIdentityProfile ClusterIdentity { get; set; } + /// ClientId of the MSI. + string ClusterIdentityMsiClientId { get; set; } + /// ObjectId of the MSI. + string ClusterIdentityMsiObjectId { get; set; } + /// ResourceId of the MSI. + string ClusterIdentityMsiResourceId { get; set; } + /// Kafka bootstrap server and brokers related connectivity endpoints. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaConnectivityEndpoints ConnectivityEndpoint { get; set; } + /// bootstrap server connectivity endpoint. + string ConnectivityEndpointBootstrapServerEndpoint { get; set; } + /// Kafka broker endpoint list. + System.Collections.Generic.List ConnectivityEndpointBrokerEndpoint { get; set; } + /// Kafka disk storage profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IDiskStorageProfile DiskStorage { get; set; } + /// + /// 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. + /// + int DiskStorageDataDiskSize { get; set; } + /// Managed Disk Type. + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Standard_HDD_LRS", "Standard_SSD_LRS", "Standard_SSD_ZRS", "Premium_SSD_LRS", "Premium_SSD_ZRS", "Premium_SSD_v2_LRS")] + string DiskStorageDataDiskType { get; set; } + /// Expose Kafka cluster in KRaft mode. + bool? EnableKRaft { get; set; } + /// Expose worker nodes as public endpoints. + bool? EnablePublicEndpoint { get; set; } + /// Fully qualified path of Azure Storage container used for Tiered Storage. + string RemoteStorageUri { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaProfile.json.cs new file mode 100644 index 000000000000..4d237a1160eb --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/KafkaProfile.json.cs @@ -0,0 +1,124 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// The Kafka cluster profile. + public partial class KafkaProfile + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IKafkaProfile FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new KafkaProfile(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal KafkaProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_diskStorage = If( json?.PropertyT("diskStorage"), out var __jsonDiskStorage) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.DiskStorageProfile.FromJson(__jsonDiskStorage) : _diskStorage;} + {_clusterIdentity = If( json?.PropertyT("clusterIdentity"), out var __jsonClusterIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IdentityProfile.FromJson(__jsonClusterIdentity) : _clusterIdentity;} + {_connectivityEndpoint = If( json?.PropertyT("connectivityEndpoints"), out var __jsonConnectivityEndpoints) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.KafkaConnectivityEndpoints.FromJson(__jsonConnectivityEndpoints) : _connectivityEndpoint;} + {_enableKRaft = If( json?.PropertyT("enableKRaft"), out var __jsonEnableKRaft) ? (bool?)__jsonEnableKRaft : _enableKRaft;} + {_enablePublicEndpoint = If( json?.PropertyT("enablePublicEndpoints"), out var __jsonEnablePublicEndpoints) ? (bool?)__jsonEnablePublicEndpoints : _enablePublicEndpoint;} + {_remoteStorageUri = If( json?.PropertyT("remoteStorageUri"), out var __jsonRemoteStorageUri) ? (string)__jsonRemoteStorageUri : (string)_remoteStorageUri;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != this._diskStorage ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._diskStorage.ToJson(null,serializationMode) : null, "diskStorage" ,container.Add ); + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeRead)) + { + AddIf( null != this._clusterIdentity ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._clusterIdentity.ToJson(null,serializationMode) : null, "clusterIdentity" ,container.Add ); + } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeRead)) + { + AddIf( null != this._connectivityEndpoint ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._connectivityEndpoint.ToJson(null,serializationMode) : null, "connectivityEndpoints" ,container.Add ); + } + AddIf( null != this._enableKRaft ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonBoolean((bool)this._enableKRaft) : null, "enableKRaft" ,container.Add ); + AddIf( null != this._enablePublicEndpoint ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonBoolean((bool)this._enablePublicEndpoint) : null, "enablePublicEndpoints" ,container.Add ); + AddIf( null != (((object)this._remoteStorageUri)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._remoteStorageUri.ToString()) : null, "remoteStorageUri" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/LoadBasedConfig.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/LoadBasedConfig.json.cs index 039fcf3210d4..80411cdc23f4 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/LoadBasedConfig.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/LoadBasedConfig.json.cs @@ -77,11 +77,11 @@ internal LoadBasedConfig(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runti { return; } - {_minNode = If( json?.PropertyT("minNodes"), out var __jsonMinNodes) ? (int)__jsonMinNodes : MinNode;} - {_maxNode = If( json?.PropertyT("maxNodes"), out var __jsonMaxNodes) ? (int)__jsonMaxNodes : MaxNode;} - {_pollInterval = If( json?.PropertyT("pollInterval"), out var __jsonPollInterval) ? (int?)__jsonPollInterval : PollInterval;} - {_cooldownPeriod = If( json?.PropertyT("cooldownPeriod"), out var __jsonCooldownPeriod) ? (int?)__jsonCooldownPeriod : CooldownPeriod;} - {_scalingRule = If( json?.PropertyT("scalingRules"), out var __jsonScalingRules) ? If( __jsonScalingRules as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScalingRule) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ScalingRule.FromJson(__u) )) ))() : null : ScalingRule;} + {_minNode = If( json?.PropertyT("minNodes"), out var __jsonMinNodes) ? (int)__jsonMinNodes : _minNode;} + {_maxNode = If( json?.PropertyT("maxNodes"), out var __jsonMaxNodes) ? (int)__jsonMaxNodes : _maxNode;} + {_pollInterval = If( json?.PropertyT("pollInterval"), out var __jsonPollInterval) ? (int?)__jsonPollInterval : _pollInterval;} + {_cooldownPeriod = If( json?.PropertyT("cooldownPeriod"), out var __jsonCooldownPeriod) ? (int?)__jsonCooldownPeriod : _cooldownPeriod;} + {_scalingRule = If( json?.PropertyT("scalingRules"), out var __jsonScalingRules) ? If( __jsonScalingRules as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScalingRule) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ScalingRule.FromJson(__u) )) ))() : null : _scalingRule;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/NameAvailabilityParameters.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/NameAvailabilityParameters.json.cs index 74d9bdbb3822..b92586946daf 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/NameAvailabilityParameters.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/NameAvailabilityParameters.json.cs @@ -77,8 +77,8 @@ internal NameAvailabilityParameters(Microsoft.Azure.PowerShell.Cmdlets.HdInsight { return; } - {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} - {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)Type;} + {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)_name;} + {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)_type;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/NameAvailabilityResult.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/NameAvailabilityResult.json.cs index db76c53dae51..853982892ec0 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/NameAvailabilityResult.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/NameAvailabilityResult.json.cs @@ -77,9 +77,9 @@ internal NameAvailabilityResult(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAk { return; } - {_nameAvailable = If( json?.PropertyT("nameAvailable"), out var __jsonNameAvailable) ? (bool?)__jsonNameAvailable : NameAvailable;} - {_reason = If( json?.PropertyT("reason"), out var __jsonReason) ? (string)__jsonReason : (string)Reason;} - {_message = If( json?.PropertyT("message"), out var __jsonMessage) ? (string)__jsonMessage : (string)Message;} + {_nameAvailable = If( json?.PropertyT("nameAvailable"), out var __jsonNameAvailable) ? (bool?)__jsonNameAvailable : _nameAvailable;} + {_reason = If( json?.PropertyT("reason"), out var __jsonReason) ? (string)__jsonReason : (string)_reason;} + {_message = If( json?.PropertyT("message"), out var __jsonMessage) ? (string)__jsonMessage : (string)_message;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/NodeProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/NodeProfile.json.cs index 9649dbe43f37..36905e008888 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/NodeProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/NodeProfile.json.cs @@ -77,9 +77,9 @@ internal NodeProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.J { return; } - {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)Type;} - {_vMSize = If( json?.PropertyT("vmSize"), out var __jsonVMSize) ? (string)__jsonVMSize : (string)VMSize;} - {_count = If( json?.PropertyT("count"), out var __jsonCount) ? (int)__jsonCount : Count;} + {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)_type;} + {_vMSize = If( json?.PropertyT("vmSize"), out var __jsonVMSize) ? (string)__jsonVMSize : (string)_vMSize;} + {_count = If( json?.PropertyT("count"), out var __jsonCount) ? (int)__jsonCount : _count;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Operation.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Operation.json.cs index e09c3ae7e686..c549047ae135 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Operation.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Operation.json.cs @@ -79,11 +79,11 @@ internal Operation(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Jso { return; } - {_display = If( json?.PropertyT("display"), out var __jsonDisplay) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.OperationDisplay.FromJson(__jsonDisplay) : Display;} - {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} - {_isDataAction = If( json?.PropertyT("isDataAction"), out var __jsonIsDataAction) ? (bool?)__jsonIsDataAction : IsDataAction;} - {_origin = If( json?.PropertyT("origin"), out var __jsonOrigin) ? (string)__jsonOrigin : (string)Origin;} - {_actionType = If( json?.PropertyT("actionType"), out var __jsonActionType) ? (string)__jsonActionType : (string)ActionType;} + {_display = If( json?.PropertyT("display"), out var __jsonDisplay) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.OperationDisplay.FromJson(__jsonDisplay) : _display;} + {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)_name;} + {_isDataAction = If( json?.PropertyT("isDataAction"), out var __jsonIsDataAction) ? (bool?)__jsonIsDataAction : _isDataAction;} + {_origin = If( json?.PropertyT("origin"), out var __jsonOrigin) ? (string)__jsonOrigin : (string)_origin;} + {_actionType = If( json?.PropertyT("actionType"), out var __jsonActionType) ? (string)__jsonActionType : (string)_actionType;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/OperationDisplay.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/OperationDisplay.json.cs index 5f88010366c4..4855555908f8 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/OperationDisplay.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/OperationDisplay.json.cs @@ -77,10 +77,10 @@ internal OperationDisplay(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runt { return; } - {_provider = If( json?.PropertyT("provider"), out var __jsonProvider) ? (string)__jsonProvider : (string)Provider;} - {_resource = If( json?.PropertyT("resource"), out var __jsonResource) ? (string)__jsonResource : (string)Resource;} - {_operation = If( json?.PropertyT("operation"), out var __jsonOperation) ? (string)__jsonOperation : (string)Operation;} - {_description = If( json?.PropertyT("description"), out var __jsonDescription) ? (string)__jsonDescription : (string)Description;} + {_provider = If( json?.PropertyT("provider"), out var __jsonProvider) ? (string)__jsonProvider : (string)_provider;} + {_resource = If( json?.PropertyT("resource"), out var __jsonResource) ? (string)__jsonResource : (string)_resource;} + {_operation = If( json?.PropertyT("operation"), out var __jsonOperation) ? (string)__jsonOperation : (string)_operation;} + {_description = If( json?.PropertyT("description"), out var __jsonDescription) ? (string)__jsonDescription : (string)_description;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/OperationListResult.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/OperationListResult.json.cs index 269a7a71c6b6..e4cb32f7f791 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/OperationListResult.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/OperationListResult.json.cs @@ -80,8 +80,8 @@ internal OperationListResult(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.R { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IOperation) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Operation.FromJson(__u) )) ))() : null : Value;} - {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IOperation) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Operation.FromJson(__u) )) ))() : null : _value;} + {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)_nextLink;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpec.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpec.PowerShell.cs new file mode 100644 index 000000000000..31ae7cb371d0 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpec.PowerShell.cs @@ -0,0 +1,204 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Specification for the Ranger Admin service. + [System.ComponentModel.TypeConverter(typeof(RangerAdminSpecTypeConverter))] + public partial class RangerAdminSpec + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new RangerAdminSpec(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new RangerAdminSpec(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal RangerAdminSpec(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Database")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).Database = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase) content.GetValueForProperty("Database",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).Database, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabaseTypeConverter.ConvertFrom); + } + if (content.Contains("Admin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).Admin = (System.Collections.Generic.List) content.GetValueForProperty("Admin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).Admin, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("DatabaseHost")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).DatabaseHost = (string) content.GetValueForProperty("DatabaseHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).DatabaseHost, global::System.Convert.ToString); + } + if (content.Contains("DatabaseName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).DatabaseName, global::System.Convert.ToString); + } + if (content.Contains("DatabasePasswordSecretRef")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).DatabasePasswordSecretRef = (string) content.GetValueForProperty("DatabasePasswordSecretRef",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).DatabasePasswordSecretRef, global::System.Convert.ToString); + } + if (content.Contains("DatabaseUsername")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).DatabaseUsername = (string) content.GetValueForProperty("DatabaseUsername",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).DatabaseUsername, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal RangerAdminSpec(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Database")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).Database = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase) content.GetValueForProperty("Database",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).Database, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabaseTypeConverter.ConvertFrom); + } + if (content.Contains("Admin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).Admin = (System.Collections.Generic.List) content.GetValueForProperty("Admin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).Admin, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("DatabaseHost")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).DatabaseHost = (string) content.GetValueForProperty("DatabaseHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).DatabaseHost, global::System.Convert.ToString); + } + if (content.Contains("DatabaseName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).DatabaseName, global::System.Convert.ToString); + } + if (content.Contains("DatabasePasswordSecretRef")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).DatabasePasswordSecretRef = (string) content.GetValueForProperty("DatabasePasswordSecretRef",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).DatabasePasswordSecretRef, global::System.Convert.ToString); + } + if (content.Contains("DatabaseUsername")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).DatabaseUsername = (string) content.GetValueForProperty("DatabaseUsername",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)this).DatabaseUsername, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Specification for the Ranger Admin service. + [System.ComponentModel.TypeConverter(typeof(RangerAdminSpecTypeConverter))] + public partial interface IRangerAdminSpec + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpec.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpec.TypeConverter.cs new file mode 100644 index 000000000000..b8836134484e --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpec.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class RangerAdminSpecTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return RangerAdminSpec.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return RangerAdminSpec.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return RangerAdminSpec.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpec.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpec.cs new file mode 100644 index 000000000000..69c2c5d3386e --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpec.cs @@ -0,0 +1,142 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Specification for the Ranger Admin service. + public partial class RangerAdminSpec : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal + { + + /// Backing field for property. + private System.Collections.Generic.List _admin; + + /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public System.Collections.Generic.List Admin { get => this._admin; set => this._admin = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase _database; + + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase Database { get => (this._database = this._database ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabase()); set => this._database = value; } + + /// The database URL + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseHost { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)Database).Host; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)Database).Host = value ; } + + /// The database name + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseName { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)Database).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)Database).Name = value ; } + + /// Reference for the database password + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabasePasswordSecretRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)Database).PasswordSecretRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)Database).PasswordSecretRef = value ?? null; } + + /// The name of the database user + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseUsername { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)Database).Username; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)Database).Username = value ?? null; } + + /// Internal Acessors for Database + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal.Database { get => (this._database = this._database ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabase()); set { {_database = value;} } } + + /// Creates an new instance. + public RangerAdminSpec() + { + + } + } + /// Specification for the Ranger Admin service. + public partial interface IRangerAdminSpec : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable + { + /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.", + SerializedName = @"admins", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List Admin { get; set; } + /// The database URL + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The database URL", + SerializedName = @"host", + PossibleTypes = new [] { typeof(string) })] + string DatabaseHost { get; set; } + /// The database name + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The database name", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + string DatabaseName { get; set; } + /// Reference for the database password + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Reference for the database password", + SerializedName = @"passwordSecretRef", + PossibleTypes = new [] { typeof(string) })] + string DatabasePasswordSecretRef { get; set; } + /// The name of the database user + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The name of the database user", + SerializedName = @"username", + PossibleTypes = new [] { typeof(string) })] + string DatabaseUsername { get; set; } + + } + /// Specification for the Ranger Admin service. + internal partial interface IRangerAdminSpecInternal + + { + /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + System.Collections.Generic.List Admin { get; set; } + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase Database { get; set; } + /// The database URL + string DatabaseHost { get; set; } + /// The database name + string DatabaseName { get; set; } + /// Reference for the database password + string DatabasePasswordSecretRef { get; set; } + /// The name of the database user + string DatabaseUsername { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpec.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpec.json.cs new file mode 100644 index 000000000000..54f00e7f6338 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpec.json.cs @@ -0,0 +1,118 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Specification for the Ranger Admin service. + public partial class RangerAdminSpec + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new RangerAdminSpec(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal RangerAdminSpec(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_database = If( json?.PropertyT("database"), out var __jsonDatabase) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabase.FromJson(__jsonDatabase) : _database;} + {_admin = If( json?.PropertyT("admins"), out var __jsonAdmins) ? If( __jsonAdmins as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : _admin;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != this._database ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._database.ToJson(null,serializationMode) : null, "database" ,container.Add ); + if (null != this._admin) + { + var __w = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.XNodeArray(); + foreach( var __x in this._admin ) + { + AddIf(null != (((object)__x)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(__x.ToString()) : null ,__w.Add); + } + container.Add("admins",__w); + } + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpecDatabase.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpecDatabase.PowerShell.cs new file mode 100644 index 000000000000..5b2a564a0cee --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpecDatabase.PowerShell.cs @@ -0,0 +1,186 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + [System.ComponentModel.TypeConverter(typeof(RangerAdminSpecDatabaseTypeConverter))] + public partial class RangerAdminSpecDatabase + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new RangerAdminSpecDatabase(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new RangerAdminSpecDatabase(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal RangerAdminSpecDatabase(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Host")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)this).Host = (string) content.GetValueForProperty("Host",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)this).Host, global::System.Convert.ToString); + } + if (content.Contains("Name")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("PasswordSecretRef")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)this).PasswordSecretRef = (string) content.GetValueForProperty("PasswordSecretRef",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)this).PasswordSecretRef, global::System.Convert.ToString); + } + if (content.Contains("Username")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)this).Username = (string) content.GetValueForProperty("Username",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)this).Username, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal RangerAdminSpecDatabase(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Host")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)this).Host = (string) content.GetValueForProperty("Host",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)this).Host, global::System.Convert.ToString); + } + if (content.Contains("Name")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("PasswordSecretRef")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)this).PasswordSecretRef = (string) content.GetValueForProperty("PasswordSecretRef",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)this).PasswordSecretRef, global::System.Convert.ToString); + } + if (content.Contains("Username")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)this).Username = (string) content.GetValueForProperty("Username",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal)this).Username, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + [System.ComponentModel.TypeConverter(typeof(RangerAdminSpecDatabaseTypeConverter))] + public partial interface IRangerAdminSpecDatabase + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpecDatabase.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpecDatabase.TypeConverter.cs new file mode 100644 index 000000000000..0576ae6d43d3 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpecDatabase.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class RangerAdminSpecDatabaseTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return RangerAdminSpecDatabase.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return RangerAdminSpecDatabase.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return RangerAdminSpecDatabase.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpecDatabase.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpecDatabase.cs new file mode 100644 index 000000000000..0bbdc8c4b080 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpecDatabase.cs @@ -0,0 +1,111 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + public partial class RangerAdminSpecDatabase : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabaseInternal + { + + /// Backing field for property. + private string _host; + + /// The database URL + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string Host { get => this._host; set => this._host = value; } + + /// Backing field for property. + private string _name; + + /// The database name + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string Name { get => this._name; set => this._name = value; } + + /// Backing field for property. + private string _passwordSecretRef; + + /// Reference for the database password + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string PasswordSecretRef { get => this._passwordSecretRef; set => this._passwordSecretRef = value; } + + /// Backing field for property. + private string _username; + + /// The name of the database user + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string Username { get => this._username; set => this._username = value; } + + /// Creates an new instance. + public RangerAdminSpecDatabase() + { + + } + } + public partial interface IRangerAdminSpecDatabase : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable + { + /// The database URL + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The database URL", + SerializedName = @"host", + PossibleTypes = new [] { typeof(string) })] + string Host { get; set; } + /// The database name + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The database name", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + string Name { get; set; } + /// Reference for the database password + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Reference for the database password", + SerializedName = @"passwordSecretRef", + PossibleTypes = new [] { typeof(string) })] + string PasswordSecretRef { get; set; } + /// The name of the database user + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The name of the database user", + SerializedName = @"username", + PossibleTypes = new [] { typeof(string) })] + string Username { get; set; } + + } + internal partial interface IRangerAdminSpecDatabaseInternal + + { + /// The database URL + string Host { get; set; } + /// The database name + string Name { get; set; } + /// Reference for the database password + string PasswordSecretRef { get; set; } + /// The name of the database user + string Username { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpecDatabase.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpecDatabase.json.cs new file mode 100644 index 000000000000..a3800fd60070 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAdminSpecDatabase.json.cs @@ -0,0 +1,113 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + public partial class RangerAdminSpecDatabase + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new RangerAdminSpecDatabase(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal RangerAdminSpecDatabase(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_host = If( json?.PropertyT("host"), out var __jsonHost) ? (string)__jsonHost : (string)_host;} + {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)_name;} + {_passwordSecretRef = If( json?.PropertyT("passwordSecretRef"), out var __jsonPasswordSecretRef) ? (string)__jsonPasswordSecretRef : (string)_passwordSecretRef;} + {_username = If( json?.PropertyT("username"), out var __jsonUsername) ? (string)__jsonUsername : (string)_username;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._host)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._host.ToString()) : null, "host" ,container.Add ); + AddIf( null != (((object)this._name)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._name.ToString()) : null, "name" ,container.Add ); + AddIf( null != (((object)this._passwordSecretRef)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._passwordSecretRef.ToString()) : null, "passwordSecretRef" ,container.Add ); + AddIf( null != (((object)this._username)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._username.ToString()) : null, "username" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAuditSpec.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAuditSpec.PowerShell.cs new file mode 100644 index 000000000000..d2d8d0b787d6 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAuditSpec.PowerShell.cs @@ -0,0 +1,164 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Properties required to describe audit log storage. + [System.ComponentModel.TypeConverter(typeof(RangerAuditSpecTypeConverter))] + public partial class RangerAuditSpec + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new RangerAuditSpec(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new RangerAuditSpec(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal RangerAuditSpec(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("StorageAccount")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpecInternal)this).StorageAccount = (string) content.GetValueForProperty("StorageAccount",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpecInternal)this).StorageAccount, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal RangerAuditSpec(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("StorageAccount")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpecInternal)this).StorageAccount = (string) content.GetValueForProperty("StorageAccount",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpecInternal)this).StorageAccount, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Properties required to describe audit log storage. + [System.ComponentModel.TypeConverter(typeof(RangerAuditSpecTypeConverter))] + public partial interface IRangerAuditSpec + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAuditSpec.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAuditSpec.TypeConverter.cs new file mode 100644 index 000000000000..f8133588f9ad --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAuditSpec.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class RangerAuditSpecTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return RangerAuditSpec.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return RangerAuditSpec.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return RangerAuditSpec.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAuditSpec.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAuditSpec.cs new file mode 100644 index 000000000000..f0fcce21cd0c --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAuditSpec.cs @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Properties required to describe audit log storage. + public partial class RangerAuditSpec : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpecInternal + { + + /// Backing field for property. + private string _storageAccount; + + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string StorageAccount { get => this._storageAccount; set => this._storageAccount = value; } + + /// Creates an new instance. + public RangerAuditSpec() + { + + } + } + /// Properties required to describe audit log storage. + public partial interface IRangerAuditSpec : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable + { + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Azure storage location of the blobs. MSI should have read/write access to this Storage account.", + SerializedName = @"storageAccount", + PossibleTypes = new [] { typeof(string) })] + string StorageAccount { get; set; } + + } + /// Properties required to describe audit log storage. + internal partial interface IRangerAuditSpecInternal + + { + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + string StorageAccount { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAuditSpec.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAuditSpec.json.cs new file mode 100644 index 000000000000..8093967ca224 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerAuditSpec.json.cs @@ -0,0 +1,108 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Properties required to describe audit log storage. + public partial class RangerAuditSpec + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new RangerAuditSpec(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal RangerAuditSpec(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_storageAccount = If( json?.PropertyT("storageAccount"), out var __jsonStorageAccount) ? (string)__jsonStorageAccount : (string)_storageAccount;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._storageAccount)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._storageAccount.ToString()) : null, "storageAccount" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerProfile.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerProfile.PowerShell.cs new file mode 100644 index 000000000000..0b85dc8e5df6 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerProfile.PowerShell.cs @@ -0,0 +1,276 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// The ranger cluster profile. + [System.ComponentModel.TypeConverter(typeof(RangerProfileTypeConverter))] + public partial class RangerProfile + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new RangerProfile(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new RangerProfile(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal RangerProfile(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("RangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerAdmin = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec) content.GetValueForProperty("RangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerAdmin, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerAudit")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerAudit = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec) content.GetValueForProperty("RangerAudit",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerAudit, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAuditSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerUsersync")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersync = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec) content.GetValueForProperty("RangerUsersync",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersync, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerUsersyncSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerUsersyncMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersyncMode = (string) content.GetValueForProperty("RangerUsersyncMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersyncMode, global::System.Convert.ToString); + } + if (content.Contains("RangerAdminDatabase")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerAdminDatabase = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase) content.GetValueForProperty("RangerAdminDatabase",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerAdminDatabase, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabaseTypeConverter.ConvertFrom); + } + if (content.Contains("RangerAdminAdmins")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerAdminAdmins = (System.Collections.Generic.List) content.GetValueForProperty("RangerAdminAdmins",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerAdminAdmins, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerAuditStorageAccount")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerAuditStorageAccount = (string) content.GetValueForProperty("RangerAuditStorageAccount",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerAuditStorageAccount, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersyncEnabled = (bool?) content.GetValueForProperty("RangerUsersyncEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersyncEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RangerUsersyncGroup")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersyncGroup = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncGroup",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersyncGroup, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerUsersyncUserMappingLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersyncUserMappingLocation = (string) content.GetValueForProperty("RangerUsersyncUserMappingLocation",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersyncUserMappingLocation, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncUser")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersyncUser = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncUser",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersyncUser, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("DatabaseHost")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).DatabaseHost = (string) content.GetValueForProperty("DatabaseHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).DatabaseHost, global::System.Convert.ToString); + } + if (content.Contains("DatabaseName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).DatabaseName, global::System.Convert.ToString); + } + if (content.Contains("DatabasePasswordSecretRef")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).DatabasePasswordSecretRef = (string) content.GetValueForProperty("DatabasePasswordSecretRef",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).DatabasePasswordSecretRef, global::System.Convert.ToString); + } + if (content.Contains("DatabaseUsername")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).DatabaseUsername = (string) content.GetValueForProperty("DatabaseUsername",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).DatabaseUsername, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal RangerProfile(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("RangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerAdmin = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec) content.GetValueForProperty("RangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerAdmin, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerAudit")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerAudit = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec) content.GetValueForProperty("RangerAudit",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerAudit, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAuditSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerUsersync")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersync = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec) content.GetValueForProperty("RangerUsersync",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersync, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerUsersyncSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerUsersyncMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersyncMode = (string) content.GetValueForProperty("RangerUsersyncMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersyncMode, global::System.Convert.ToString); + } + if (content.Contains("RangerAdminDatabase")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerAdminDatabase = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase) content.GetValueForProperty("RangerAdminDatabase",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerAdminDatabase, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabaseTypeConverter.ConvertFrom); + } + if (content.Contains("RangerAdminAdmins")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerAdminAdmins = (System.Collections.Generic.List) content.GetValueForProperty("RangerAdminAdmins",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerAdminAdmins, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerAuditStorageAccount")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerAuditStorageAccount = (string) content.GetValueForProperty("RangerAuditStorageAccount",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerAuditStorageAccount, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersyncEnabled = (bool?) content.GetValueForProperty("RangerUsersyncEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersyncEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RangerUsersyncGroup")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersyncGroup = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncGroup",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersyncGroup, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerUsersyncUserMappingLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersyncUserMappingLocation = (string) content.GetValueForProperty("RangerUsersyncUserMappingLocation",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersyncUserMappingLocation, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncUser")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersyncUser = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncUser",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).RangerUsersyncUser, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("DatabaseHost")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).DatabaseHost = (string) content.GetValueForProperty("DatabaseHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).DatabaseHost, global::System.Convert.ToString); + } + if (content.Contains("DatabaseName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).DatabaseName, global::System.Convert.ToString); + } + if (content.Contains("DatabasePasswordSecretRef")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).DatabasePasswordSecretRef = (string) content.GetValueForProperty("DatabasePasswordSecretRef",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).DatabasePasswordSecretRef, global::System.Convert.ToString); + } + if (content.Contains("DatabaseUsername")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).DatabaseUsername = (string) content.GetValueForProperty("DatabaseUsername",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)this).DatabaseUsername, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// The ranger cluster profile. + [System.ComponentModel.TypeConverter(typeof(RangerProfileTypeConverter))] + public partial interface IRangerProfile + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerProfile.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerProfile.TypeConverter.cs new file mode 100644 index 000000000000..c9a04e106b24 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerProfile.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class RangerProfileTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return RangerProfile.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return RangerProfile.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return RangerProfile.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerProfile.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerProfile.cs new file mode 100644 index 000000000000..36a2509a3a56 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerProfile.cs @@ -0,0 +1,297 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// The ranger cluster profile. + public partial class RangerProfile : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal + { + + /// The database URL + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseHost { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)RangerAdmin).DatabaseHost; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)RangerAdmin).DatabaseHost = value ; } + + /// The database name + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseName { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)RangerAdmin).DatabaseName; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)RangerAdmin).DatabaseName = value ; } + + /// Reference for the database password + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabasePasswordSecretRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)RangerAdmin).DatabasePasswordSecretRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)RangerAdmin).DatabasePasswordSecretRef = value ?? null; } + + /// The name of the database user + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseUsername { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)RangerAdmin).DatabaseUsername; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)RangerAdmin).DatabaseUsername = value ?? null; } + + /// Internal Acessors for RangerAdmin + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal.RangerAdmin { get => (this._rangerAdmin = this._rangerAdmin ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpec()); set { {_rangerAdmin = value;} } } + + /// Internal Acessors for RangerAdminDatabase + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal.RangerAdminDatabase { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)RangerAdmin).Database; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)RangerAdmin).Database = value; } + + /// Internal Acessors for RangerAudit + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal.RangerAudit { get => (this._rangerAudit = this._rangerAudit ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAuditSpec()); set { {_rangerAudit = value;} } } + + /// Internal Acessors for RangerUsersync + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal.RangerUsersync { get => (this._rangerUsersync = this._rangerUsersync ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerUsersyncSpec()); set { {_rangerUsersync = value;} } } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec _rangerAdmin; + + /// Specification for the Ranger Admin service. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec RangerAdmin { get => (this._rangerAdmin = this._rangerAdmin ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpec()); set => this._rangerAdmin = value; } + + /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerAdminAdmins { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)RangerAdmin).Admin; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecInternal)RangerAdmin).Admin = value ; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec _rangerAudit; + + /// Properties required to describe audit log storage. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec RangerAudit { get => (this._rangerAudit = this._rangerAudit ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAuditSpec()); set => this._rangerAudit = value; } + + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerAuditStorageAccount { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpecInternal)RangerAudit).StorageAccount; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpecInternal)RangerAudit).StorageAccount = value ?? null; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec _rangerUsersync; + + /// Specification for the Ranger Usersync service + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec RangerUsersync { get => (this._rangerUsersync = this._rangerUsersync ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerUsersyncSpec()); set => this._rangerUsersync = value; } + + /// Denotes whether usersync service should be enabled + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? RangerUsersyncEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)RangerUsersync).Enabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)RangerUsersync).Enabled = value ?? default(bool); } + + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerUsersyncGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)RangerUsersync).Group; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)RangerUsersync).Group = value ?? null /* arrayOf */; } + + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerUsersyncMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)RangerUsersync).Mode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)RangerUsersync).Mode = value ?? null; } + + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerUsersyncUser { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)RangerUsersync).User; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)RangerUsersync).User = value ?? null /* arrayOf */; } + + /// Azure storage location of a mapping file that lists user & group associations. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerUsersyncUserMappingLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)RangerUsersync).UserMappingLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)RangerUsersync).UserMappingLocation = value ?? null; } + + /// Creates an new instance. + public RangerProfile() + { + + } + } + /// The ranger cluster profile. + public partial interface IRangerProfile : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable + { + /// The database URL + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The database URL", + SerializedName = @"host", + PossibleTypes = new [] { typeof(string) })] + string DatabaseHost { get; set; } + /// The database name + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The database name", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + string DatabaseName { get; set; } + /// Reference for the database password + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Reference for the database password", + SerializedName = @"passwordSecretRef", + PossibleTypes = new [] { typeof(string) })] + string DatabasePasswordSecretRef { get; set; } + /// The name of the database user + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The name of the database user", + SerializedName = @"username", + PossibleTypes = new [] { typeof(string) })] + string DatabaseUsername { get; set; } + /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.", + SerializedName = @"admins", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerAdminAdmins { get; set; } + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Azure storage location of the blobs. MSI should have read/write access to this Storage account.", + SerializedName = @"storageAccount", + PossibleTypes = new [] { typeof(string) })] + string RangerAuditStorageAccount { get; set; } + /// Denotes whether usersync service should be enabled + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Denotes whether usersync service should be enabled", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(bool) })] + bool? RangerUsersyncEnabled { get; set; } + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of groups that should be synced. These group names should match the object id of the respective AAD groups.", + SerializedName = @"groups", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerUsersyncGroup { get; set; } + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"User & groups can be synced automatically or via a static list that's refreshed.", + SerializedName = @"mode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + string RangerUsersyncMode { get; set; } + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.", + SerializedName = @"users", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerUsersyncUser { get; set; } + /// Azure storage location of a mapping file that lists user & group associations. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Azure storage location of a mapping file that lists user & group associations.", + SerializedName = @"userMappingLocation", + PossibleTypes = new [] { typeof(string) })] + string RangerUsersyncUserMappingLocation { get; set; } + + } + /// The ranger cluster profile. + internal partial interface IRangerProfileInternal + + { + /// The database URL + string DatabaseHost { get; set; } + /// The database name + string DatabaseName { get; set; } + /// Reference for the database password + string DatabasePasswordSecretRef { get; set; } + /// The name of the database user + string DatabaseUsername { get; set; } + /// Specification for the Ranger Admin service. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec RangerAdmin { get; set; } + /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + System.Collections.Generic.List RangerAdminAdmins { get; set; } + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase RangerAdminDatabase { get; set; } + /// Properties required to describe audit log storage. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec RangerAudit { get; set; } + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + string RangerAuditStorageAccount { get; set; } + /// Specification for the Ranger Usersync service + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec RangerUsersync { get; set; } + /// Denotes whether usersync service should be enabled + bool? RangerUsersyncEnabled { get; set; } + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + System.Collections.Generic.List RangerUsersyncGroup { get; set; } + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + string RangerUsersyncMode { get; set; } + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + System.Collections.Generic.List RangerUsersyncUser { get; set; } + /// Azure storage location of a mapping file that lists user & group associations. + string RangerUsersyncUserMappingLocation { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerProfile.json.cs new file mode 100644 index 000000000000..578faf9392c4 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerProfile.json.cs @@ -0,0 +1,112 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// The ranger cluster profile. + public partial class RangerProfile + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new RangerProfile(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal RangerProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_rangerAdmin = If( json?.PropertyT("rangerAdmin"), out var __jsonRangerAdmin) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpec.FromJson(__jsonRangerAdmin) : _rangerAdmin;} + {_rangerAudit = If( json?.PropertyT("rangerAudit"), out var __jsonRangerAudit) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAuditSpec.FromJson(__jsonRangerAudit) : _rangerAudit;} + {_rangerUsersync = If( json?.PropertyT("rangerUsersync"), out var __jsonRangerUsersync) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerUsersyncSpec.FromJson(__jsonRangerUsersync) : _rangerUsersync;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != this._rangerAdmin ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._rangerAdmin.ToJson(null,serializationMode) : null, "rangerAdmin" ,container.Add ); + AddIf( null != this._rangerAudit ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._rangerAudit.ToJson(null,serializationMode) : null, "rangerAudit" ,container.Add ); + AddIf( null != this._rangerUsersync ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._rangerUsersync.ToJson(null,serializationMode) : null, "rangerUsersync" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerUsersyncSpec.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerUsersyncSpec.PowerShell.cs new file mode 100644 index 000000000000..d2728a2a1871 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerUsersyncSpec.PowerShell.cs @@ -0,0 +1,196 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// Specification for the Ranger Usersync service + [System.ComponentModel.TypeConverter(typeof(RangerUsersyncSpecTypeConverter))] + public partial class RangerUsersyncSpec + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new RangerUsersyncSpec(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new RangerUsersyncSpec(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal RangerUsersyncSpec(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Enabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)this).Enabled = (bool?) content.GetValueForProperty("Enabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)this).Enabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("Group")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)this).Group = (System.Collections.Generic.List) content.GetValueForProperty("Group",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)this).Group, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("Mode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)this).Mode = (string) content.GetValueForProperty("Mode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)this).Mode, global::System.Convert.ToString); + } + if (content.Contains("UserMappingLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)this).UserMappingLocation = (string) content.GetValueForProperty("UserMappingLocation",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)this).UserMappingLocation, global::System.Convert.ToString); + } + if (content.Contains("User")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)this).User = (System.Collections.Generic.List) content.GetValueForProperty("User",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)this).User, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal RangerUsersyncSpec(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Enabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)this).Enabled = (bool?) content.GetValueForProperty("Enabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)this).Enabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("Group")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)this).Group = (System.Collections.Generic.List) content.GetValueForProperty("Group",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)this).Group, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("Mode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)this).Mode = (string) content.GetValueForProperty("Mode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)this).Mode, global::System.Convert.ToString); + } + if (content.Contains("UserMappingLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)this).UserMappingLocation = (string) content.GetValueForProperty("UserMappingLocation",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)this).UserMappingLocation, global::System.Convert.ToString); + } + if (content.Contains("User")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)this).User = (System.Collections.Generic.List) content.GetValueForProperty("User",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal)this).User, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// Specification for the Ranger Usersync service + [System.ComponentModel.TypeConverter(typeof(RangerUsersyncSpecTypeConverter))] + public partial interface IRangerUsersyncSpec + + { + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerUsersyncSpec.TypeConverter.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerUsersyncSpec.TypeConverter.cs new file mode 100644 index 000000000000..3e0df8979b2b --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerUsersyncSpec.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class RangerUsersyncSpecTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return RangerUsersyncSpec.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return RangerUsersyncSpec.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return RangerUsersyncSpec.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerUsersyncSpec.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerUsersyncSpec.cs new file mode 100644 index 000000000000..cb75e2b8d2d9 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerUsersyncSpec.cs @@ -0,0 +1,154 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Specification for the Ranger Usersync service + public partial class RangerUsersyncSpec : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpecInternal + { + + /// Backing field for property. + private bool? _enabled; + + /// Denotes whether usersync service should be enabled + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public bool? Enabled { get => this._enabled; set => this._enabled = value; } + + /// Backing field for property. + private System.Collections.Generic.List _group; + + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public System.Collections.Generic.List Group { get => this._group; set => this._group = value; } + + /// Backing field for property. + private string _mode; + + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string Mode { get => this._mode; set => this._mode = value; } + + /// Backing field for property. + private System.Collections.Generic.List _user; + + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public System.Collections.Generic.List User { get => this._user; set => this._user = value; } + + /// Backing field for property. + private string _userMappingLocation; + + /// Azure storage location of a mapping file that lists user & group associations. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string UserMappingLocation { get => this._userMappingLocation; set => this._userMappingLocation = value; } + + /// Creates an new instance. + public RangerUsersyncSpec() + { + + } + } + /// Specification for the Ranger Usersync service + public partial interface IRangerUsersyncSpec : + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable + { + /// Denotes whether usersync service should be enabled + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Denotes whether usersync service should be enabled", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(bool) })] + bool? Enabled { get; set; } + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of groups that should be synced. These group names should match the object id of the respective AAD groups.", + SerializedName = @"groups", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List Group { get; set; } + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"User & groups can be synced automatically or via a static list that's refreshed.", + SerializedName = @"mode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + string Mode { get; set; } + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.", + SerializedName = @"users", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List User { get; set; } + /// Azure storage location of a mapping file that lists user & group associations. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Azure storage location of a mapping file that lists user & group associations.", + SerializedName = @"userMappingLocation", + PossibleTypes = new [] { typeof(string) })] + string UserMappingLocation { get; set; } + + } + /// Specification for the Ranger Usersync service + internal partial interface IRangerUsersyncSpecInternal + + { + /// Denotes whether usersync service should be enabled + bool? Enabled { get; set; } + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + System.Collections.Generic.List Group { get; set; } + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + string Mode { get; set; } + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + System.Collections.Generic.List User { get; set; } + /// Azure storage location of a mapping file that lists user & group associations. + string UserMappingLocation { get; set; } + + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerUsersyncSpec.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerUsersyncSpec.json.cs new file mode 100644 index 000000000000..976fa3767d70 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/RangerUsersyncSpec.json.cs @@ -0,0 +1,132 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + + /// Specification for the Ranger Usersync service + public partial class RangerUsersyncSpec + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec FromJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json ? new RangerUsersyncSpec(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject instance to deserialize from. + internal RangerUsersyncSpec(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_enabled = If( json?.PropertyT("enabled"), out var __jsonEnabled) ? (bool?)__jsonEnabled : _enabled;} + {_group = If( json?.PropertyT("groups"), out var __jsonGroups) ? If( __jsonGroups as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : _group;} + {_mode = If( json?.PropertyT("mode"), out var __jsonMode) ? (string)__jsonMode : (string)_mode;} + {_userMappingLocation = If( json?.PropertyT("userMappingLocation"), out var __jsonUserMappingLocation) ? (string)__jsonUserMappingLocation : (string)_userMappingLocation;} + {_user = If( json?.PropertyT("users"), out var __jsonUsers) ? If( __jsonUsers as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __q) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__q, (__p)=>(string) (__p is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString __o ? (string)(__o.ToString()) : null)) ))() : null : _user;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != this._enabled ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonBoolean((bool)this._enabled) : null, "enabled" ,container.Add ); + if (null != this._group) + { + var __w = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.XNodeArray(); + foreach( var __x in this._group ) + { + AddIf(null != (((object)__x)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(__x.ToString()) : null ,__w.Add); + } + container.Add("groups",__w); + } + AddIf( null != (((object)this._mode)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._mode.ToString()) : null, "mode" ,container.Add ); + AddIf( null != (((object)this._userMappingLocation)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._userMappingLocation.ToString()) : null, "userMappingLocation" ,container.Add ); + if (null != this._user) + { + var __r = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.XNodeArray(); + foreach( var __s in this._user ) + { + AddIf(null != (((object)__s)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(__s.ToString()) : null ,__r.Add); + } + container.Add("users",__r); + } + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Resource.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Resource.json.cs index a86ce365e41e..916362aa59f5 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Resource.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Resource.json.cs @@ -79,10 +79,10 @@ internal Resource(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json { return; } - {_systemData = If( json?.PropertyT("systemData"), out var __jsonSystemData) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SystemData.FromJson(__jsonSystemData) : SystemData;} - {_id = If( json?.PropertyT("id"), out var __jsonId) ? (string)__jsonId : (string)Id;} - {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} - {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)Type;} + {_systemData = If( json?.PropertyT("systemData"), out var __jsonSystemData) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SystemData.FromJson(__jsonSystemData) : _systemData;} + {_id = If( json?.PropertyT("id"), out var __jsonId) ? (string)__jsonId : (string)_id;} + {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)_name;} + {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)_type;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ScalingRule.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ScalingRule.json.cs index 34401a7caed6..1cc5bb9e9f4b 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ScalingRule.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ScalingRule.json.cs @@ -77,10 +77,10 @@ internal ScalingRule(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.J { return; } - {_comparisonRule = If( json?.PropertyT("comparisonRule"), out var __jsonComparisonRule) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ComparisonRule.FromJson(__jsonComparisonRule) : ComparisonRule;} - {_actionType = If( json?.PropertyT("actionType"), out var __jsonActionType) ? (string)__jsonActionType : (string)ActionType;} - {_evaluationCount = If( json?.PropertyT("evaluationCount"), out var __jsonEvaluationCount) ? (int)__jsonEvaluationCount : EvaluationCount;} - {_scalingMetric = If( json?.PropertyT("scalingMetric"), out var __jsonScalingMetric) ? (string)__jsonScalingMetric : (string)ScalingMetric;} + {_comparisonRule = If( json?.PropertyT("comparisonRule"), out var __jsonComparisonRule) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ComparisonRule.FromJson(__jsonComparisonRule) : _comparisonRule;} + {_actionType = If( json?.PropertyT("actionType"), out var __jsonActionType) ? (string)__jsonActionType : (string)_actionType;} + {_evaluationCount = If( json?.PropertyT("evaluationCount"), out var __jsonEvaluationCount) ? (int)__jsonEvaluationCount : _evaluationCount;} + {_scalingMetric = If( json?.PropertyT("scalingMetric"), out var __jsonScalingMetric) ? (string)__jsonScalingMetric : (string)_scalingMetric;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Schedule.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Schedule.json.cs index 45d9a1d98865..2d4dae3a7a15 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Schedule.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/Schedule.json.cs @@ -77,10 +77,10 @@ internal Schedule(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json { return; } - {_startTime = If( json?.PropertyT("startTime"), out var __jsonStartTime) ? (string)__jsonStartTime : (string)StartTime;} - {_endTime = If( json?.PropertyT("endTime"), out var __jsonEndTime) ? (string)__jsonEndTime : (string)EndTime;} - {_count = If( json?.PropertyT("count"), out var __jsonCount) ? (int)__jsonCount : Count;} - {_day = If( json?.PropertyT("days"), out var __jsonDays) ? If( __jsonDays as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : Day;} + {_startTime = If( json?.PropertyT("startTime"), out var __jsonStartTime) ? (string)__jsonStartTime : (string)_startTime;} + {_endTime = If( json?.PropertyT("endTime"), out var __jsonEndTime) ? (string)__jsonEndTime : (string)_endTime;} + {_count = If( json?.PropertyT("count"), out var __jsonCount) ? (int)__jsonCount : _count;} + {_day = If( json?.PropertyT("days"), out var __jsonDays) ? If( __jsonDays as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : _day;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ScheduleBasedConfig.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ScheduleBasedConfig.json.cs index c48849c64cd7..30c34c3d4514 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ScheduleBasedConfig.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ScheduleBasedConfig.json.cs @@ -77,9 +77,9 @@ internal ScheduleBasedConfig(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.R { return; } - {_timeZone = If( json?.PropertyT("timeZone"), out var __jsonTimeZone) ? (string)__jsonTimeZone : (string)TimeZone;} - {_defaultCount = If( json?.PropertyT("defaultCount"), out var __jsonDefaultCount) ? (int)__jsonDefaultCount : DefaultCount;} - {_schedule = If( json?.PropertyT("schedules"), out var __jsonSchedules) ? If( __jsonSchedules as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISchedule) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Schedule.FromJson(__u) )) ))() : null : Schedule;} + {_timeZone = If( json?.PropertyT("timeZone"), out var __jsonTimeZone) ? (string)__jsonTimeZone : (string)_timeZone;} + {_defaultCount = If( json?.PropertyT("defaultCount"), out var __jsonDefaultCount) ? (int)__jsonDefaultCount : _defaultCount;} + {_schedule = If( json?.PropertyT("schedules"), out var __jsonSchedules) ? If( __jsonSchedules as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISchedule) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Schedule.FromJson(__u) )) ))() : null : _schedule;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ScriptActionProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ScriptActionProfile.json.cs index 16dd268bcf6a..322fce139398 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ScriptActionProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ScriptActionProfile.json.cs @@ -77,13 +77,13 @@ internal ScriptActionProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.R { return; } - {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)Type;} - {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} - {_url = If( json?.PropertyT("url"), out var __jsonUrl) ? (string)__jsonUrl : (string)Url;} - {_parameter = If( json?.PropertyT("parameters"), out var __jsonParameters) ? (string)__jsonParameters : (string)Parameter;} - {_service = If( json?.PropertyT("services"), out var __jsonServices) ? If( __jsonServices as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : Service;} - {_timeoutInMinute = If( json?.PropertyT("timeoutInMinutes"), out var __jsonTimeoutInMinutes) ? (int?)__jsonTimeoutInMinutes : TimeoutInMinute;} - {_shouldPersist = If( json?.PropertyT("shouldPersist"), out var __jsonShouldPersist) ? (bool?)__jsonShouldPersist : ShouldPersist;} + {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)_type;} + {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)_name;} + {_url = If( json?.PropertyT("url"), out var __jsonUrl) ? (string)__jsonUrl : (string)_url;} + {_parameter = If( json?.PropertyT("parameters"), out var __jsonParameters) ? (string)__jsonParameters : (string)_parameter;} + {_service = If( json?.PropertyT("services"), out var __jsonServices) ? If( __jsonServices as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : _service;} + {_timeoutInMinute = If( json?.PropertyT("timeoutInMinutes"), out var __jsonTimeoutInMinutes) ? (int?)__jsonTimeoutInMinutes : _timeoutInMinute;} + {_shouldPersist = If( json?.PropertyT("shouldPersist"), out var __jsonShouldPersist) ? (bool?)__jsonShouldPersist : _shouldPersist;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SecretReference.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SecretReference.json.cs index 7f372bea9309..4ee9bca2f113 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SecretReference.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SecretReference.json.cs @@ -77,10 +77,10 @@ internal SecretReference(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runti { return; } - {_referenceName = If( json?.PropertyT("referenceName"), out var __jsonReferenceName) ? (string)__jsonReferenceName : (string)ReferenceName;} - {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)Type;} - {_version = If( json?.PropertyT("version"), out var __jsonVersion) ? (string)__jsonVersion : (string)Version;} - {_keyVaultObjectName = If( json?.PropertyT("keyVaultObjectName"), out var __jsonKeyVaultObjectName) ? (string)__jsonKeyVaultObjectName : (string)KeyVaultObjectName;} + {_referenceName = If( json?.PropertyT("referenceName"), out var __jsonReferenceName) ? (string)__jsonReferenceName : (string)_referenceName;} + {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)_type;} + {_version = If( json?.PropertyT("version"), out var __jsonVersion) ? (string)__jsonVersion : (string)_version;} + {_keyVaultObjectName = If( json?.PropertyT("keyVaultObjectName"), out var __jsonKeyVaultObjectName) ? (string)__jsonKeyVaultObjectName : (string)_keyVaultObjectName;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SecretsProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SecretsProfile.json.cs index f0b144892659..be6224fd80f7 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SecretsProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SecretsProfile.json.cs @@ -77,8 +77,8 @@ internal SecretsProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtim { return; } - {_keyVaultResourceId = If( json?.PropertyT("keyVaultResourceId"), out var __jsonKeyVaultResourceId) ? (string)__jsonKeyVaultResourceId : (string)KeyVaultResourceId;} - {_secret = If( json?.PropertyT("secrets"), out var __jsonSecrets) ? If( __jsonSecrets as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISecretReference) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SecretReference.FromJson(__u) )) ))() : null : Secret;} + {_keyVaultResourceId = If( json?.PropertyT("keyVaultResourceId"), out var __jsonKeyVaultResourceId) ? (string)__jsonKeyVaultResourceId : (string)_keyVaultResourceId;} + {_secret = If( json?.PropertyT("secrets"), out var __jsonSecrets) ? If( __jsonSecrets as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISecretReference) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SecretReference.FromJson(__u) )) ))() : null : _secret;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceConfigListResult.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceConfigListResult.json.cs index b61035d2c7c0..b23475a8b661 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceConfigListResult.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceConfigListResult.json.cs @@ -77,8 +77,8 @@ internal ServiceConfigListResult(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnA { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IServiceConfigResult) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigResult.FromJson(__u) )) ))() : null : Value;} - {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IServiceConfigResult) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigResult.FromJson(__u) )) ))() : null : _value;} + {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)_nextLink;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceConfigListResultProperties.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceConfigListResultProperties.json.cs index d68b2e3dba59..abd58660cc09 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceConfigListResultProperties.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceConfigListResultProperties.json.cs @@ -77,14 +77,14 @@ internal ServiceConfigListResultProperties(Microsoft.Azure.PowerShell.Cmdlets.Hd { return; } - {_serviceName = If( json?.PropertyT("serviceName"), out var __jsonServiceName) ? (string)__jsonServiceName : (string)ServiceName;} - {_fileName = If( json?.PropertyT("fileName"), out var __jsonFileName) ? (string)__jsonFileName : (string)FileName;} - {_content = If( json?.PropertyT("content"), out var __jsonContent) ? (string)__jsonContent : (string)Content;} - {_componentName = If( json?.PropertyT("componentName"), out var __jsonComponentName) ? (string)__jsonComponentName : (string)ComponentName;} - {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)Type;} - {_path = If( json?.PropertyT("path"), out var __jsonPath) ? (string)__jsonPath : (string)Path;} - {_customKey = If( json?.PropertyT("customKeys"), out var __jsonCustomKeys) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResultPropertiesCustomKeys.FromJson(__jsonCustomKeys) : CustomKey;} - {_defaultKey = If( json?.PropertyT("defaultKeys"), out var __jsonDefaultKeys) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResultPropertiesDefaultKeys.FromJson(__jsonDefaultKeys) : DefaultKey;} + {_serviceName = If( json?.PropertyT("serviceName"), out var __jsonServiceName) ? (string)__jsonServiceName : (string)_serviceName;} + {_fileName = If( json?.PropertyT("fileName"), out var __jsonFileName) ? (string)__jsonFileName : (string)_fileName;} + {_content = If( json?.PropertyT("content"), out var __jsonContent) ? (string)__jsonContent : (string)_content;} + {_componentName = If( json?.PropertyT("componentName"), out var __jsonComponentName) ? (string)__jsonComponentName : (string)_componentName;} + {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)_type;} + {_path = If( json?.PropertyT("path"), out var __jsonPath) ? (string)__jsonPath : (string)_path;} + {_customKey = If( json?.PropertyT("customKeys"), out var __jsonCustomKeys) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResultPropertiesCustomKeys.FromJson(__jsonCustomKeys) : _customKey;} + {_defaultKey = If( json?.PropertyT("defaultKeys"), out var __jsonDefaultKeys) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResultPropertiesDefaultKeys.FromJson(__jsonDefaultKeys) : _defaultKey;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceConfigListResultValueEntity.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceConfigListResultValueEntity.json.cs index faeeeb1dddfe..5269334abce1 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceConfigListResultValueEntity.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceConfigListResultValueEntity.json.cs @@ -77,8 +77,8 @@ internal ServiceConfigListResultValueEntity(Microsoft.Azure.PowerShell.Cmdlets.H { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? (string)__jsonValue : (string)Value;} - {_description = If( json?.PropertyT("description"), out var __jsonDescription) ? (string)__jsonDescription : (string)Description;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? (string)__jsonValue : (string)_value;} + {_description = If( json?.PropertyT("description"), out var __jsonDescription) ? (string)__jsonDescription : (string)_description;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceConfigResult.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceConfigResult.json.cs index a56b6e296bbb..14ad1c8f267b 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceConfigResult.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceConfigResult.json.cs @@ -77,7 +77,7 @@ internal ServiceConfigResult(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.R { return; } - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigResultProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigResultProperties.FromJson(__jsonProperties) : _property;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceStatus.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceStatus.PowerShell.cs index 354e29f10c1d..7097e60b30e2 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceStatus.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceStatus.PowerShell.cs @@ -7,7 +7,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models { using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; - /// Describes the status of a service of a HDInsight on aks cluster. + /// Describes the status of a service of a HDInsight on AKS cluster. [System.ComponentModel.TypeConverter(typeof(ServiceStatusTypeConverter))] public partial class ServiceStatus { @@ -170,7 +170,7 @@ public override string ToString() return ToJsonString(); } } - /// Describes the status of a service of a HDInsight on aks cluster. + /// Describes the status of a service of a HDInsight on AKS cluster. [System.ComponentModel.TypeConverter(typeof(ServiceStatusTypeConverter))] public partial interface IServiceStatus diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceStatus.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceStatus.cs index 22743499ce29..7c75b10c2b67 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceStatus.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceStatus.cs @@ -7,7 +7,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models { using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; - /// Describes the status of a service of a HDInsight on aks cluster. + /// Describes the status of a service of a HDInsight on AKS cluster. public partial class ServiceStatus : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IServiceStatus, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IServiceStatusInternal @@ -42,7 +42,7 @@ public ServiceStatus() } } - /// Describes the status of a service of a HDInsight on aks cluster. + /// Describes the status of a service of a HDInsight on AKS cluster. public partial interface IServiceStatus : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable { @@ -83,7 +83,7 @@ public partial interface IServiceStatus : string Ready { get; set; } } - /// Describes the status of a service of a HDInsight on aks cluster. + /// Describes the status of a service of a HDInsight on AKS cluster. internal partial interface IServiceStatusInternal { diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceStatus.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceStatus.json.cs index 397ad7ea34f8..c1e928cc28dc 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceStatus.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/ServiceStatus.json.cs @@ -7,7 +7,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models { using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; - /// Describes the status of a service of a HDInsight on aks cluster. + /// Describes the status of a service of a HDInsight on AKS cluster. public partial class ServiceStatus { @@ -77,9 +77,9 @@ internal ServiceStatus(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime { return; } - {_kind = If( json?.PropertyT("kind"), out var __jsonKind) ? (string)__jsonKind : (string)Kind;} - {_ready = If( json?.PropertyT("ready"), out var __jsonReady) ? (string)__jsonReady : (string)Ready;} - {_message = If( json?.PropertyT("message"), out var __jsonMessage) ? (string)__jsonMessage : (string)Message;} + {_kind = If( json?.PropertyT("kind"), out var __jsonKind) ? (string)__jsonKind : (string)_kind;} + {_ready = If( json?.PropertyT("ready"), out var __jsonReady) ? (string)__jsonReady : (string)_ready;} + {_message = If( json?.PropertyT("message"), out var __jsonMessage) ? (string)__jsonMessage : (string)_message;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkMetastoreSpec.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkMetastoreSpec.PowerShell.cs index e86dc14eade5..7ba7837889e7 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkMetastoreSpec.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkMetastoreSpec.PowerShell.cs @@ -117,6 +117,10 @@ internal SparkMetastoreSpec(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpecInternal)this).DbName = (string) content.GetValueForProperty("DbName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpecInternal)this).DbName, global::System.Convert.ToString); } + if (content.Contains("DbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpecInternal)this).DbConnectionAuthenticationMode = (string) content.GetValueForProperty("DbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpecInternal)this).DbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("DbUserName")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpecInternal)this).DbUserName = (string) content.GetValueForProperty("DbUserName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpecInternal)this).DbUserName, global::System.Convert.ToString); @@ -158,6 +162,10 @@ internal SparkMetastoreSpec(global::System.Management.Automation.PSObject conten { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpecInternal)this).DbName = (string) content.GetValueForProperty("DbName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpecInternal)this).DbName, global::System.Convert.ToString); } + if (content.Contains("DbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpecInternal)this).DbConnectionAuthenticationMode = (string) content.GetValueForProperty("DbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpecInternal)this).DbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("DbUserName")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpecInternal)this).DbUserName = (string) content.GetValueForProperty("DbUserName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpecInternal)this).DbUserName, global::System.Convert.ToString); diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkMetastoreSpec.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkMetastoreSpec.cs index c50c69b0bfea..b5bf67746954 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkMetastoreSpec.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkMetastoreSpec.cs @@ -13,6 +13,15 @@ public partial class SparkMetastoreSpec : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpecInternal { + /// Backing field for property. + private string _dbConnectionAuthenticationMode; + + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string DbConnectionAuthenticationMode { get => this._dbConnectionAuthenticationMode; set => this._dbConnectionAuthenticationMode = value; } + /// Backing field for property. private string _dbName; @@ -65,6 +74,20 @@ public SparkMetastoreSpec() public partial interface ISparkMetastoreSpec : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IJsonSerializable { + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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", + SerializedName = @"dbConnectionAuthenticationMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string DbConnectionAuthenticationMode { get; set; } /// The database name. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = true, @@ -78,7 +101,7 @@ public partial interface ISparkMetastoreSpec : string DbName { get; set; } /// The secret name which contains the database user password. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Read = true, Create = true, @@ -100,7 +123,7 @@ public partial interface ISparkMetastoreSpec : string DbServerHost { get; set; } /// The database user name. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Read = true, Create = true, @@ -111,7 +134,7 @@ public partial interface ISparkMetastoreSpec : string DbUserName { get; set; } /// The key vault resource id. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( - Required = true, + Required = false, ReadOnly = false, Read = true, Create = true, @@ -137,6 +160,11 @@ public partial interface ISparkMetastoreSpec : internal partial interface ISparkMetastoreSpecInternal { + /// + /// 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 + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string DbConnectionAuthenticationMode { get; set; } /// The database name. string DbName { get; set; } /// The secret name which contains the database user password. diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkMetastoreSpec.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkMetastoreSpec.json.cs index 10c5a7f59b8f..3c99faca32b8 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkMetastoreSpec.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkMetastoreSpec.json.cs @@ -77,12 +77,13 @@ internal SparkMetastoreSpec(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Ru { return; } - {_dbServerHost = If( json?.PropertyT("dbServerHost"), out var __jsonDbServerHost) ? (string)__jsonDbServerHost : (string)DbServerHost;} - {_dbName = If( json?.PropertyT("dbName"), out var __jsonDbName) ? (string)__jsonDbName : (string)DbName;} - {_dbUserName = If( json?.PropertyT("dbUserName"), out var __jsonDbUserName) ? (string)__jsonDbUserName : (string)DbUserName;} - {_dbPasswordSecretName = If( json?.PropertyT("dbPasswordSecretName"), out var __jsonDbPasswordSecretName) ? (string)__jsonDbPasswordSecretName : (string)DbPasswordSecretName;} - {_keyVaultId = If( json?.PropertyT("keyVaultId"), out var __jsonKeyVaultId) ? (string)__jsonKeyVaultId : (string)KeyVaultId;} - {_thriftUrl = If( json?.PropertyT("thriftUrl"), out var __jsonThriftUrl) ? (string)__jsonThriftUrl : (string)ThriftUrl;} + {_dbServerHost = If( json?.PropertyT("dbServerHost"), out var __jsonDbServerHost) ? (string)__jsonDbServerHost : (string)_dbServerHost;} + {_dbName = If( json?.PropertyT("dbName"), out var __jsonDbName) ? (string)__jsonDbName : (string)_dbName;} + {_dbConnectionAuthenticationMode = If( json?.PropertyT("dbConnectionAuthenticationMode"), out var __jsonDbConnectionAuthenticationMode) ? (string)__jsonDbConnectionAuthenticationMode : (string)_dbConnectionAuthenticationMode;} + {_dbUserName = If( json?.PropertyT("dbUserName"), out var __jsonDbUserName) ? (string)__jsonDbUserName : (string)_dbUserName;} + {_dbPasswordSecretName = If( json?.PropertyT("dbPasswordSecretName"), out var __jsonDbPasswordSecretName) ? (string)__jsonDbPasswordSecretName : (string)_dbPasswordSecretName;} + {_keyVaultId = If( json?.PropertyT("keyVaultId"), out var __jsonKeyVaultId) ? (string)__jsonKeyVaultId : (string)_keyVaultId;} + {_thriftUrl = If( json?.PropertyT("thriftUrl"), out var __jsonThriftUrl) ? (string)__jsonThriftUrl : (string)_thriftUrl;} AfterFromJson(json); } @@ -107,6 +108,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode T } AddIf( null != (((object)this._dbServerHost)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._dbServerHost.ToString()) : null, "dbServerHost" ,container.Add ); AddIf( null != (((object)this._dbName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._dbName.ToString()) : null, "dbName" ,container.Add ); + AddIf( null != (((object)this._dbConnectionAuthenticationMode)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._dbConnectionAuthenticationMode.ToString()) : null, "dbConnectionAuthenticationMode" ,container.Add ); AddIf( null != (((object)this._dbUserName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._dbUserName.ToString()) : null, "dbUserName" ,container.Add ); AddIf( null != (((object)this._dbPasswordSecretName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._dbPasswordSecretName.ToString()) : null, "dbPasswordSecretName" ,container.Add ); AddIf( null != (((object)this._keyVaultId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._keyVaultId.ToString()) : null, "keyVaultId" ,container.Add ); diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkProfile.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkProfile.PowerShell.cs index ec1dd621bb69..d589242d226d 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkProfile.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkProfile.PowerShell.cs @@ -129,6 +129,10 @@ internal SparkProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfileInternal)this).MetastoreSpecDbName = (string) content.GetValueForProperty("MetastoreSpecDbName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfileInternal)this).MetastoreSpecDbName, global::System.Convert.ToString); } + if (content.Contains("MetastoreSpecDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfileInternal)this).MetastoreSpecDbConnectionAuthenticationMode = (string) content.GetValueForProperty("MetastoreSpecDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfileInternal)this).MetastoreSpecDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("MetastoreSpecDbUserName")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfileInternal)this).MetastoreSpecDbUserName = (string) content.GetValueForProperty("MetastoreSpecDbUserName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfileInternal)this).MetastoreSpecDbUserName, global::System.Convert.ToString); @@ -186,6 +190,10 @@ internal SparkProfile(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfileInternal)this).MetastoreSpecDbName = (string) content.GetValueForProperty("MetastoreSpecDbName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfileInternal)this).MetastoreSpecDbName, global::System.Convert.ToString); } + if (content.Contains("MetastoreSpecDbConnectionAuthenticationMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfileInternal)this).MetastoreSpecDbConnectionAuthenticationMode = (string) content.GetValueForProperty("MetastoreSpecDbConnectionAuthenticationMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfileInternal)this).MetastoreSpecDbConnectionAuthenticationMode, global::System.Convert.ToString); + } if (content.Contains("MetastoreSpecDbUserName")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfileInternal)this).MetastoreSpecDbUserName = (string) content.GetValueForProperty("MetastoreSpecDbUserName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkProfileInternal)this).MetastoreSpecDbUserName, global::System.Convert.ToString); diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkProfile.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkProfile.cs index 89cd7070dd67..8368ccfaa0ef 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkProfile.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkProfile.cs @@ -27,6 +27,12 @@ public partial class SparkProfile : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpec MetastoreSpec { get => (this._metastoreSpec = this._metastoreSpec ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkMetastoreSpec()); set => this._metastoreSpec = value; } + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string MetastoreSpecDbConnectionAuthenticationMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpecInternal)MetastoreSpec).DbConnectionAuthenticationMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpecInternal)MetastoreSpec).DbConnectionAuthenticationMode = value ?? null; } + /// The database name. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public string MetastoreSpecDbName { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpecInternal)MetastoreSpec).DbName; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpecInternal)MetastoreSpec).DbName = value ?? null; } @@ -89,6 +95,20 @@ public partial interface ISparkProfile : SerializedName = @"defaultStorageUrl", PossibleTypes = new [] { typeof(string) })] string DefaultStorageUrl { get; set; } + /// + /// 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 + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"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", + SerializedName = @"dbConnectionAuthenticationMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string MetastoreSpecDbConnectionAuthenticationMode { get; set; } /// The database name. [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, @@ -176,6 +196,11 @@ internal partial interface ISparkProfileInternal string DefaultStorageUrl { get; set; } /// The metastore specification for Spark cluster. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkMetastoreSpec MetastoreSpec { get; set; } + /// + /// 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 + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + string MetastoreSpecDbConnectionAuthenticationMode { get; set; } /// The database name. string MetastoreSpecDbName { get; set; } /// The secret name which contains the database user password. diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkProfile.json.cs index 15ebeb7e34da..7270601dfd0c 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkProfile.json.cs @@ -77,9 +77,9 @@ internal SparkProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime. { return; } - {_metastoreSpec = If( json?.PropertyT("metastoreSpec"), out var __jsonMetastoreSpec) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkMetastoreSpec.FromJson(__jsonMetastoreSpec) : MetastoreSpec;} - {_userPluginsSpec = If( json?.PropertyT("userPluginsSpec"), out var __jsonUserPluginsSpec) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkUserPlugins.FromJson(__jsonUserPluginsSpec) : UserPluginsSpec;} - {_defaultStorageUrl = If( json?.PropertyT("defaultStorageUrl"), out var __jsonDefaultStorageUrl) ? (string)__jsonDefaultStorageUrl : (string)DefaultStorageUrl;} + {_metastoreSpec = If( json?.PropertyT("metastoreSpec"), out var __jsonMetastoreSpec) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkMetastoreSpec.FromJson(__jsonMetastoreSpec) : _metastoreSpec;} + {_userPluginsSpec = If( json?.PropertyT("userPluginsSpec"), out var __jsonUserPluginsSpec) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkUserPlugins.FromJson(__jsonUserPluginsSpec) : _userPluginsSpec;} + {_defaultStorageUrl = If( json?.PropertyT("defaultStorageUrl"), out var __jsonDefaultStorageUrl) ? (string)__jsonDefaultStorageUrl : (string)_defaultStorageUrl;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkUserPlugin.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkUserPlugin.json.cs index 5f8a15428b80..14d2a19457e2 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkUserPlugin.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkUserPlugin.json.cs @@ -77,7 +77,7 @@ internal SparkUserPlugin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runti { return; } - {_path = If( json?.PropertyT("path"), out var __jsonPath) ? (string)__jsonPath : (string)Path;} + {_path = If( json?.PropertyT("path"), out var __jsonPath) ? (string)__jsonPath : (string)_path;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkUserPlugins.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkUserPlugins.json.cs index 514154f410aa..38e4d1ad8441 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkUserPlugins.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SparkUserPlugins.json.cs @@ -77,7 +77,7 @@ internal SparkUserPlugins(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runt { return; } - {_plugin = If( json?.PropertyT("plugins"), out var __jsonPlugins) ? If( __jsonPlugins as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkUserPlugin) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkUserPlugin.FromJson(__u) )) ))() : null : Plugin;} + {_plugin = If( json?.PropertyT("plugins"), out var __jsonPlugins) ? If( __jsonPlugins as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISparkUserPlugin) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SparkUserPlugin.FromJson(__u) )) ))() : null : _plugin;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SshConnectivityEndpoint.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SshConnectivityEndpoint.PowerShell.cs index bfefb9b71495..46888fb6127c 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SshConnectivityEndpoint.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SshConnectivityEndpoint.PowerShell.cs @@ -113,6 +113,10 @@ internal SshConnectivityEndpoint(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISshConnectivityEndpointInternal)this).Endpoint = (string) content.GetValueForProperty("Endpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISshConnectivityEndpointInternal)this).Endpoint, global::System.Convert.ToString); } + if (content.Contains("PrivateSshEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISshConnectivityEndpointInternal)this).PrivateSshEndpoint = (string) content.GetValueForProperty("PrivateSshEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISshConnectivityEndpointInternal)this).PrivateSshEndpoint, global::System.Convert.ToString); + } AfterDeserializeDictionary(content); } @@ -134,6 +138,10 @@ internal SshConnectivityEndpoint(global::System.Management.Automation.PSObject c { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISshConnectivityEndpointInternal)this).Endpoint = (string) content.GetValueForProperty("Endpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISshConnectivityEndpointInternal)this).Endpoint, global::System.Convert.ToString); } + if (content.Contains("PrivateSshEndpoint")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISshConnectivityEndpointInternal)this).PrivateSshEndpoint = (string) content.GetValueForProperty("PrivateSshEndpoint",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISshConnectivityEndpointInternal)this).PrivateSshEndpoint, global::System.Convert.ToString); + } AfterDeserializePSObject(content); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SshConnectivityEndpoint.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SshConnectivityEndpoint.cs index 4ed630d23624..d53db8e82e44 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SshConnectivityEndpoint.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SshConnectivityEndpoint.cs @@ -20,6 +20,15 @@ public partial class SshConnectivityEndpoint : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] public string Endpoint { get => this._endpoint; set => this._endpoint = value; } + /// Backing field for property. + private string _privateSshEndpoint; + + /// + /// Private SSH connectivity endpoint. This property will only be returned when enableInternalIngress is true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string PrivateSshEndpoint { get => this._privateSshEndpoint; set => this._privateSshEndpoint = value; } + /// Creates an new instance. public SshConnectivityEndpoint() { @@ -41,6 +50,19 @@ public partial interface ISshConnectivityEndpoint : SerializedName = @"endpoint", PossibleTypes = new [] { typeof(string) })] string Endpoint { get; set; } + /// + /// Private SSH connectivity endpoint. This property will only be returned when enableInternalIngress is true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Private SSH connectivity endpoint. This property will only be returned when enableInternalIngress is true.", + SerializedName = @"privateSshEndpoint", + PossibleTypes = new [] { typeof(string) })] + string PrivateSshEndpoint { get; set; } } /// SSH connectivity endpoint details. @@ -49,6 +71,10 @@ internal partial interface ISshConnectivityEndpointInternal { /// SSH connectivity endpoint. string Endpoint { get; set; } + /// + /// Private SSH connectivity endpoint. This property will only be returned when enableInternalIngress is true. + /// + string PrivateSshEndpoint { get; set; } } } \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SshConnectivityEndpoint.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SshConnectivityEndpoint.json.cs index e1bdc5a73660..24dcc5fc1ac8 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SshConnectivityEndpoint.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SshConnectivityEndpoint.json.cs @@ -77,7 +77,8 @@ internal SshConnectivityEndpoint(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnA { return; } - {_endpoint = If( json?.PropertyT("endpoint"), out var __jsonEndpoint) ? (string)__jsonEndpoint : (string)Endpoint;} + {_endpoint = If( json?.PropertyT("endpoint"), out var __jsonEndpoint) ? (string)__jsonEndpoint : (string)_endpoint;} + {_privateSshEndpoint = If( json?.PropertyT("privateSshEndpoint"), out var __jsonPrivateSshEndpoint) ? (string)__jsonPrivateSshEndpoint : (string)_privateSshEndpoint;} AfterFromJson(json); } @@ -101,6 +102,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode T return container; } AddIf( null != (((object)this._endpoint)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._endpoint.ToString()) : null, "endpoint" ,container.Add ); + AddIf( null != (((object)this._privateSshEndpoint)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._privateSshEndpoint.ToString()) : null, "privateSshEndpoint" ,container.Add ); AfterToJson(ref container); return container; } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SshProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SshProfile.json.cs index 9f5381c5d34e..b37ad7dc19c3 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SshProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SshProfile.json.cs @@ -77,8 +77,8 @@ internal SshProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Js { return; } - {_count = If( json?.PropertyT("count"), out var __jsonCount) ? (int)__jsonCount : Count;} - {_podPrefix = If( json?.PropertyT("podPrefix"), out var __jsonPodPrefix) ? (string)__jsonPodPrefix : (string)PodPrefix;} + {_count = If( json?.PropertyT("count"), out var __jsonCount) ? (int)__jsonCount : _count;} + {_podPrefix = If( json?.PropertyT("podPrefix"), out var __jsonPodPrefix) ? (string)__jsonPodPrefix : (string)_podPrefix;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SystemData.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SystemData.json.cs index e49e9abf7f91..0bce2cd18d41 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SystemData.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/SystemData.json.cs @@ -77,12 +77,12 @@ internal SystemData(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Js { return; } - {_createdBy = If( json?.PropertyT("createdBy"), out var __jsonCreatedBy) ? (string)__jsonCreatedBy : (string)CreatedBy;} - {_createdByType = If( json?.PropertyT("createdByType"), out var __jsonCreatedByType) ? (string)__jsonCreatedByType : (string)CreatedByType;} - {_createdAt = If( json?.PropertyT("createdAt"), out var __jsonCreatedAt) ? global::System.DateTime.TryParse((string)__jsonCreatedAt, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonCreatedAtValue) ? __jsonCreatedAtValue : CreatedAt : CreatedAt;} - {_lastModifiedBy = If( json?.PropertyT("lastModifiedBy"), out var __jsonLastModifiedBy) ? (string)__jsonLastModifiedBy : (string)LastModifiedBy;} - {_lastModifiedByType = If( json?.PropertyT("lastModifiedByType"), out var __jsonLastModifiedByType) ? (string)__jsonLastModifiedByType : (string)LastModifiedByType;} - {_lastModifiedAt = If( json?.PropertyT("lastModifiedAt"), out var __jsonLastModifiedAt) ? global::System.DateTime.TryParse((string)__jsonLastModifiedAt, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonLastModifiedAtValue) ? __jsonLastModifiedAtValue : LastModifiedAt : LastModifiedAt;} + {_createdBy = If( json?.PropertyT("createdBy"), out var __jsonCreatedBy) ? (string)__jsonCreatedBy : (string)_createdBy;} + {_createdByType = If( json?.PropertyT("createdByType"), out var __jsonCreatedByType) ? (string)__jsonCreatedByType : (string)_createdByType;} + {_createdAt = If( json?.PropertyT("createdAt"), out var __jsonCreatedAt) ? global::System.DateTime.TryParse((string)__jsonCreatedAt, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonCreatedAtValue) ? __jsonCreatedAtValue : _createdAt : _createdAt;} + {_lastModifiedBy = If( json?.PropertyT("lastModifiedBy"), out var __jsonLastModifiedBy) ? (string)__jsonLastModifiedBy : (string)_lastModifiedBy;} + {_lastModifiedByType = If( json?.PropertyT("lastModifiedByType"), out var __jsonLastModifiedByType) ? (string)__jsonLastModifiedByType : (string)_lastModifiedByType;} + {_lastModifiedAt = If( json?.PropertyT("lastModifiedAt"), out var __jsonLastModifiedAt) ? global::System.DateTime.TryParse((string)__jsonLastModifiedAt, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonLastModifiedAtValue) ? __jsonLastModifiedAtValue : _lastModifiedAt : _lastModifiedAt;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TagsObject.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TagsObject.json.cs index d14a917a2af9..75a623fe9b6a 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TagsObject.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TagsObject.json.cs @@ -77,7 +77,7 @@ internal TagsObject(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Js { return; } - {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TagsObjectTags.FromJson(__jsonTags) : Tag;} + {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TagsObjectTags.FromJson(__jsonTags) : _tag;} AfterFromJson(json); } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrackedResource.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrackedResource.json.cs index e1e8f4b240b7..34a03bffcb59 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrackedResource.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrackedResource.json.cs @@ -109,8 +109,8 @@ internal TrackedResource(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runti return; } __resource = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Resource(json); - {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrackedResourceTags.FromJson(__jsonTags) : Tag;} - {_location = If( json?.PropertyT("location"), out var __jsonLocation) ? (string)__jsonLocation : (string)Location;} + {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrackedResourceTags.FromJson(__jsonTags) : _tag;} + {_location = If( json?.PropertyT("location"), out var __jsonLocation) ? (string)__jsonLocation : (string)_location;} AfterFromJson(json); } } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoCoordinator.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoCoordinator.json.cs index c188899feddb..37f9d2991697 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoCoordinator.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoCoordinator.json.cs @@ -102,8 +102,8 @@ internal TrinoCoordinator(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runt { return; } - {_debug = If( json?.PropertyT("debug"), out var __jsonDebug) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoDebugConfig.FromJson(__jsonDebug) : Debug;} - {_highAvailabilityEnabled = If( json?.PropertyT("highAvailabilityEnabled"), out var __jsonHighAvailabilityEnabled) ? (bool?)__jsonHighAvailabilityEnabled : HighAvailabilityEnabled;} + {_debug = If( json?.PropertyT("debug"), out var __jsonDebug) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoDebugConfig.FromJson(__jsonDebug) : _debug;} + {_highAvailabilityEnabled = If( json?.PropertyT("highAvailabilityEnabled"), out var __jsonHighAvailabilityEnabled) ? (bool?)__jsonHighAvailabilityEnabled : _highAvailabilityEnabled;} AfterFromJson(json); } } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoDebugConfig.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoDebugConfig.json.cs index dff67935bafc..a1c2575fa007 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoDebugConfig.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoDebugConfig.json.cs @@ -103,9 +103,9 @@ internal TrinoDebugConfig(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runt { return; } - {_enable = If( json?.PropertyT("enable"), out var __jsonEnable) ? (bool?)__jsonEnable : Enable;} - {_port = If( json?.PropertyT("port"), out var __jsonPort) ? (int?)__jsonPort : Port;} - {_suspend = If( json?.PropertyT("suspend"), out var __jsonSuspend) ? (bool?)__jsonSuspend : Suspend;} + {_enable = If( json?.PropertyT("enable"), out var __jsonEnable) ? (bool?)__jsonEnable : _enable;} + {_port = If( json?.PropertyT("port"), out var __jsonPort) ? (int?)__jsonPort : _port;} + {_suspend = If( json?.PropertyT("suspend"), out var __jsonSuspend) ? (bool?)__jsonSuspend : _suspend;} AfterFromJson(json); } } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoProfile.json.cs index 260bc2227d90..ca6ab10b3611 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoProfile.json.cs @@ -105,11 +105,11 @@ internal TrinoProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime. { return; } - {_catalogOption = If( json?.PropertyT("catalogOptions"), out var __jsonCatalogOptions) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.CatalogOptions.FromJson(__jsonCatalogOptions) : CatalogOption;} - {_coordinator = If( json?.PropertyT("coordinator"), out var __jsonCoordinator) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoCoordinator.FromJson(__jsonCoordinator) : Coordinator;} - {_userPluginsSpec = If( json?.PropertyT("userPluginsSpec"), out var __jsonUserPluginsSpec) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoUserPlugins.FromJson(__jsonUserPluginsSpec) : UserPluginsSpec;} - {_userTelemetrySpec = If( json?.PropertyT("userTelemetrySpec"), out var __jsonUserTelemetrySpec) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoUserTelemetry.FromJson(__jsonUserTelemetrySpec) : UserTelemetrySpec;} - {_worker = If( json?.PropertyT("worker"), out var __jsonWorker) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoWorker.FromJson(__jsonWorker) : Worker;} + {_catalogOption = If( json?.PropertyT("catalogOptions"), out var __jsonCatalogOptions) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.CatalogOptions.FromJson(__jsonCatalogOptions) : _catalogOption;} + {_coordinator = If( json?.PropertyT("coordinator"), out var __jsonCoordinator) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoCoordinator.FromJson(__jsonCoordinator) : _coordinator;} + {_userPluginsSpec = If( json?.PropertyT("userPluginsSpec"), out var __jsonUserPluginsSpec) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoUserPlugins.FromJson(__jsonUserPluginsSpec) : _userPluginsSpec;} + {_userTelemetrySpec = If( json?.PropertyT("userTelemetrySpec"), out var __jsonUserTelemetrySpec) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoUserTelemetry.FromJson(__jsonUserTelemetrySpec) : _userTelemetrySpec;} + {_worker = If( json?.PropertyT("worker"), out var __jsonWorker) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoWorker.FromJson(__jsonWorker) : _worker;} AfterFromJson(json); } } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoTelemetryConfig.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoTelemetryConfig.json.cs index 1c0ac97e1013..06fcca6f88be 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoTelemetryConfig.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoTelemetryConfig.json.cs @@ -104,10 +104,10 @@ internal TrinoTelemetryConfig(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks. { return; } - {_hivecatalogName = If( json?.PropertyT("hivecatalogName"), out var __jsonHivecatalogName) ? (string)__jsonHivecatalogName : (string)HivecatalogName;} - {_hivecatalogSchema = If( json?.PropertyT("hivecatalogSchema"), out var __jsonHivecatalogSchema) ? (string)__jsonHivecatalogSchema : (string)HivecatalogSchema;} - {_partitionRetentionInDay = If( json?.PropertyT("partitionRetentionInDays"), out var __jsonPartitionRetentionInDays) ? (int?)__jsonPartitionRetentionInDays : PartitionRetentionInDay;} - {_path = If( json?.PropertyT("path"), out var __jsonPath) ? (string)__jsonPath : (string)Path;} + {_hivecatalogName = If( json?.PropertyT("hivecatalogName"), out var __jsonHivecatalogName) ? (string)__jsonHivecatalogName : (string)_hivecatalogName;} + {_hivecatalogSchema = If( json?.PropertyT("hivecatalogSchema"), out var __jsonHivecatalogSchema) ? (string)__jsonHivecatalogSchema : (string)_hivecatalogSchema;} + {_partitionRetentionInDay = If( json?.PropertyT("partitionRetentionInDays"), out var __jsonPartitionRetentionInDays) ? (int?)__jsonPartitionRetentionInDays : _partitionRetentionInDay;} + {_path = If( json?.PropertyT("path"), out var __jsonPath) ? (string)__jsonPath : (string)_path;} AfterFromJson(json); } } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoUserPlugin.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoUserPlugin.json.cs index 580616b85c5e..e643ecc82c29 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoUserPlugin.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoUserPlugin.json.cs @@ -103,9 +103,9 @@ internal TrinoUserPlugin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runti { return; } - {_enabled = If( json?.PropertyT("enabled"), out var __jsonEnabled) ? (bool?)__jsonEnabled : Enabled;} - {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} - {_path = If( json?.PropertyT("path"), out var __jsonPath) ? (string)__jsonPath : (string)Path;} + {_enabled = If( json?.PropertyT("enabled"), out var __jsonEnabled) ? (bool?)__jsonEnabled : _enabled;} + {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)_name;} + {_path = If( json?.PropertyT("path"), out var __jsonPath) ? (string)__jsonPath : (string)_path;} AfterFromJson(json); } } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoUserPlugins.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoUserPlugins.json.cs index 102aa09db6f9..14b05458f8c8 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoUserPlugins.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoUserPlugins.json.cs @@ -109,7 +109,7 @@ internal TrinoUserPlugins(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runt { return; } - {_plugin = If( json?.PropertyT("plugins"), out var __jsonPlugins) ? If( __jsonPlugins as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoUserPlugin) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoUserPlugin.FromJson(__u) )) ))() : null : Plugin;} + {_plugin = If( json?.PropertyT("plugins"), out var __jsonPlugins) ? If( __jsonPlugins as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoUserPlugin) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoUserPlugin.FromJson(__u) )) ))() : null : _plugin;} AfterFromJson(json); } } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoUserTelemetry.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoUserTelemetry.json.cs index 003434790550..8c5c8eadb396 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoUserTelemetry.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoUserTelemetry.json.cs @@ -101,7 +101,7 @@ internal TrinoUserTelemetry(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Ru { return; } - {_storage = If( json?.PropertyT("storage"), out var __jsonStorage) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoTelemetryConfig.FromJson(__jsonStorage) : Storage;} + {_storage = If( json?.PropertyT("storage"), out var __jsonStorage) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoTelemetryConfig.FromJson(__jsonStorage) : _storage;} AfterFromJson(json); } } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoWorker.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoWorker.json.cs index df5dfe780066..969d177dd18e 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoWorker.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/TrinoWorker.json.cs @@ -101,7 +101,7 @@ internal TrinoWorker(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.J { return; } - {_debug = If( json?.PropertyT("debug"), out var __jsonDebug) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoDebugConfig.FromJson(__jsonDebug) : Debug;} + {_debug = If( json?.PropertyT("debug"), out var __jsonDebug) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.TrinoDebugConfig.FromJson(__jsonDebug) : _debug;} AfterFromJson(json); } } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/UpdatableClusterProfile.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/UpdatableClusterProfile.PowerShell.cs index 60f9d6191d60..730c11e1fe86 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/UpdatableClusterProfile.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/UpdatableClusterProfile.PowerShell.cs @@ -146,6 +146,14 @@ internal UpdatableClusterProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).PrometheusProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile) content.GetValueForProperty("PrometheusProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).PrometheusProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfileTypeConverter.ConvertFrom); } + if (content.Contains("RangerPluginProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerPluginProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile) content.GetValueForProperty("RangerPluginProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerPluginProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfileTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile) content.GetValueForProperty("RangerProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerProfileTypeConverter.ConvertFrom); + } if (content.Contains("ServiceConfigsProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).ServiceConfigsProfile = (System.Collections.Generic.List) content.GetValueForProperty("ServiceConfigsProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).ServiceConfigsProfile, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterServiceConfigsProfileTypeConverter.ConvertFrom)); @@ -238,6 +246,26 @@ internal UpdatableClusterProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).PrometheuProfileEnabled = (bool) content.GetValueForProperty("PrometheuProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).PrometheuProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("RangerPluginProfileEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerPluginProfileEnabled = (bool) content.GetValueForProperty("RangerPluginProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerPluginProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RangerProfileRangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerProfileRangerAdmin = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec) content.GetValueForProperty("RangerProfileRangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerProfileRangerAdmin, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerAudit")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerProfileRangerAudit = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec) content.GetValueForProperty("RangerProfileRangerAudit",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerProfileRangerAudit, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAuditSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerUsersync")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerProfileRangerUsersync = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec) content.GetValueForProperty("RangerProfileRangerUsersync",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerProfileRangerUsersync, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerUsersyncSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerUsersyncMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerUsersyncMode = (string) content.GetValueForProperty("RangerUsersyncMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerUsersyncMode, global::System.Convert.ToString); + } if (content.Contains("ApplicationLogStdOutEnabled")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).ApplicationLogStdOutEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdOutEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).ApplicationLogStdOutEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); @@ -246,6 +274,50 @@ internal UpdatableClusterProfile(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).ApplicationLogStdErrorEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdErrorEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).ApplicationLogStdErrorEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("RangerAdminDatabase")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerAdminDatabase = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase) content.GetValueForProperty("RangerAdminDatabase",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerAdminDatabase, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabaseTypeConverter.ConvertFrom); + } + if (content.Contains("RangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerAdmin = (System.Collections.Generic.List) content.GetValueForProperty("RangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerAdmin, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerAuditStorageAccount")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerAuditStorageAccount = (string) content.GetValueForProperty("RangerAuditStorageAccount",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerAuditStorageAccount, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerUsersyncEnabled = (bool?) content.GetValueForProperty("RangerUsersyncEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerUsersyncEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RangerUsersyncGroup")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerUsersyncGroup = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncGroup",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerUsersyncGroup, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerUsersyncUserMappingLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerUsersyncUserMappingLocation = (string) content.GetValueForProperty("RangerUsersyncUserMappingLocation",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerUsersyncUserMappingLocation, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncUser")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerUsersyncUser = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncUser",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerUsersyncUser, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("DatabaseHost")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).DatabaseHost = (string) content.GetValueForProperty("DatabaseHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).DatabaseHost, global::System.Convert.ToString); + } + if (content.Contains("DatabaseName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).DatabaseName, global::System.Convert.ToString); + } + if (content.Contains("DatabasePasswordSecretRef")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).DatabasePasswordSecretRef = (string) content.GetValueForProperty("DatabasePasswordSecretRef",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).DatabasePasswordSecretRef, global::System.Convert.ToString); + } + if (content.Contains("DatabaseUsername")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).DatabaseUsername = (string) content.GetValueForProperty("DatabaseUsername",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).DatabaseUsername, global::System.Convert.ToString); + } AfterDeserializeDictionary(content); } @@ -283,6 +355,14 @@ internal UpdatableClusterProfile(global::System.Management.Automation.PSObject c { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).PrometheusProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile) content.GetValueForProperty("PrometheusProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).PrometheusProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfileTypeConverter.ConvertFrom); } + if (content.Contains("RangerPluginProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerPluginProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile) content.GetValueForProperty("RangerPluginProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerPluginProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfileTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfile")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerProfile = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile) content.GetValueForProperty("RangerProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerProfileTypeConverter.ConvertFrom); + } if (content.Contains("ServiceConfigsProfile")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).ServiceConfigsProfile = (System.Collections.Generic.List) content.GetValueForProperty("ServiceConfigsProfile",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).ServiceConfigsProfile, __y => TypeConverterExtensions.SelectToList(__y, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterServiceConfigsProfileTypeConverter.ConvertFrom)); @@ -375,6 +455,26 @@ internal UpdatableClusterProfile(global::System.Management.Automation.PSObject c { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).PrometheuProfileEnabled = (bool) content.GetValueForProperty("PrometheuProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).PrometheuProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("RangerPluginProfileEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerPluginProfileEnabled = (bool) content.GetValueForProperty("RangerPluginProfileEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerPluginProfileEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RangerProfileRangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerProfileRangerAdmin = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec) content.GetValueForProperty("RangerProfileRangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerProfileRangerAdmin, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerAudit")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerProfileRangerAudit = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec) content.GetValueForProperty("RangerProfileRangerAudit",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerProfileRangerAudit, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAuditSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerProfileRangerUsersync")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerProfileRangerUsersync = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec) content.GetValueForProperty("RangerProfileRangerUsersync",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerProfileRangerUsersync, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerUsersyncSpecTypeConverter.ConvertFrom); + } + if (content.Contains("RangerUsersyncMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerUsersyncMode = (string) content.GetValueForProperty("RangerUsersyncMode",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerUsersyncMode, global::System.Convert.ToString); + } if (content.Contains("ApplicationLogStdOutEnabled")) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).ApplicationLogStdOutEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdOutEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).ApplicationLogStdOutEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); @@ -383,6 +483,50 @@ internal UpdatableClusterProfile(global::System.Management.Automation.PSObject c { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).ApplicationLogStdErrorEnabled = (bool?) content.GetValueForProperty("ApplicationLogStdErrorEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).ApplicationLogStdErrorEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("RangerAdminDatabase")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerAdminDatabase = (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase) content.GetValueForProperty("RangerAdminDatabase",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerAdminDatabase, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerAdminSpecDatabaseTypeConverter.ConvertFrom); + } + if (content.Contains("RangerAdmin")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerAdmin = (System.Collections.Generic.List) content.GetValueForProperty("RangerAdmin",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerAdmin, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerAuditStorageAccount")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerAuditStorageAccount = (string) content.GetValueForProperty("RangerAuditStorageAccount",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerAuditStorageAccount, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncEnabled")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerUsersyncEnabled = (bool?) content.GetValueForProperty("RangerUsersyncEnabled",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerUsersyncEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("RangerUsersyncGroup")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerUsersyncGroup = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncGroup",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerUsersyncGroup, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("RangerUsersyncUserMappingLocation")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerUsersyncUserMappingLocation = (string) content.GetValueForProperty("RangerUsersyncUserMappingLocation",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerUsersyncUserMappingLocation, global::System.Convert.ToString); + } + if (content.Contains("RangerUsersyncUser")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerUsersyncUser = (System.Collections.Generic.List) content.GetValueForProperty("RangerUsersyncUser",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).RangerUsersyncUser, __y => TypeConverterExtensions.SelectToList(__y, global::System.Convert.ToString)); + } + if (content.Contains("DatabaseHost")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).DatabaseHost = (string) content.GetValueForProperty("DatabaseHost",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).DatabaseHost, global::System.Convert.ToString); + } + if (content.Contains("DatabaseName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).DatabaseName = (string) content.GetValueForProperty("DatabaseName",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).DatabaseName, global::System.Convert.ToString); + } + if (content.Contains("DatabasePasswordSecretRef")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).DatabasePasswordSecretRef = (string) content.GetValueForProperty("DatabasePasswordSecretRef",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).DatabasePasswordSecretRef, global::System.Convert.ToString); + } + if (content.Contains("DatabaseUsername")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).DatabaseUsername = (string) content.GetValueForProperty("DatabaseUsername",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal)this).DatabaseUsername, global::System.Convert.ToString); + } AfterDeserializePSObject(content); } } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/UpdatableClusterProfile.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/UpdatableClusterProfile.cs index d7f10cfd6fed..df052bf5cf9c 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/UpdatableClusterProfile.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/UpdatableClusterProfile.cs @@ -65,6 +65,22 @@ public partial class UpdatableClusterProfile : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] public int? AutoscaleProfileGracefulDecommissionTimeout { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IAutoscaleProfileInternal)AutoscaleProfile).GracefulDecommissionTimeout; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IAutoscaleProfileInternal)AutoscaleProfile).GracefulDecommissionTimeout = value ?? default(int); } + /// The database URL + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseHost { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).DatabaseHost; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).DatabaseHost = value ?? null; } + + /// The database name + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseName { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).DatabaseName; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).DatabaseName = value ?? null; } + + /// Reference for the database password + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabasePasswordSecretRef { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).DatabasePasswordSecretRef; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).DatabasePasswordSecretRef = value ?? null; } + + /// The name of the database user + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string DatabaseUsername { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).DatabaseUsername; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).DatabaseUsername = value ?? null; } + /// /// 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 @@ -134,6 +150,24 @@ public partial class UpdatableClusterProfile : /// Internal Acessors for PrometheusProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal.PrometheusProfile { get => (this._prometheusProfile = this._prometheusProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfile()); set { {_prometheusProfile = value;} } } + /// Internal Acessors for RangerAdminDatabase + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal.RangerAdminDatabase { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerAdminDatabase; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerAdminDatabase = value; } + + /// Internal Acessors for RangerPluginProfile + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal.RangerPluginProfile { get => (this._rangerPluginProfile = this._rangerPluginProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfile()); set { {_rangerPluginProfile = value;} } } + + /// Internal Acessors for RangerProfile + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal.RangerProfile { get => (this._rangerProfile = this._rangerProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerProfile()); set { {_rangerProfile = value;} } } + + /// Internal Acessors for RangerProfileRangerAdmin + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal.RangerProfileRangerAdmin { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerAdmin; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerAdmin = value; } + + /// Internal Acessors for RangerProfileRangerAudit + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal.RangerProfileRangerAudit { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerAudit; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerAudit = value; } + + /// Internal Acessors for RangerProfileRangerUsersync + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal.RangerProfileRangerUsersync { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersync; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersync = value; } + /// Internal Acessors for SshProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISshProfile Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IUpdatableClusterProfileInternal.SshProfile { get => (this._sshProfile = this._sshProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SshProfile()); set { {_sshProfile = value;} } } @@ -151,6 +185,63 @@ public partial class UpdatableClusterProfile : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile PrometheusProfile { get => (this._prometheusProfile = this._prometheusProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfile()); set => this._prometheusProfile = value; } + /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerAdmin { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerAdminAdmins; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerAdminAdmins = value ?? null /* arrayOf */; } + + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerAuditStorageAccount { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerAuditStorageAccount; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerAuditStorageAccount = value ?? null; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile _rangerPluginProfile; + + /// Cluster Ranger plugin profile. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile RangerPluginProfile { get => (this._rangerPluginProfile = this._rangerPluginProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfile()); set => this._rangerPluginProfile = value; } + + /// Enable Ranger for cluster or not. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? RangerPluginProfileEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfileInternal)RangerPluginProfile).Enabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfileInternal)RangerPluginProfile).Enabled = value ?? default(bool); } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile _rangerProfile; + + /// The ranger cluster profile. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile RangerProfile { get => (this._rangerProfile = this._rangerProfile ?? new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerProfile()); set => this._rangerProfile = value; } + + /// Denotes whether usersync service should be enabled + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public bool? RangerUsersyncEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersyncEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersyncEnabled = value ?? default(bool); } + + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerUsersyncGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersyncGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersyncGroup = value ?? null /* arrayOf */; } + + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerUsersyncMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersyncMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersyncMode = value ?? null; } + + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public System.Collections.Generic.List RangerUsersyncUser { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersyncUser; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersyncUser = value ?? null /* arrayOf */; } + + /// Azure storage location of a mapping file that lists user & group associations. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Inlined)] + public string RangerUsersyncUserMappingLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersyncUserMappingLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfileInternal)RangerProfile).RangerUsersyncUserMappingLocation = value ?? null; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) @@ -297,6 +388,50 @@ public partial interface IUpdatableClusterProfile : SerializedName = @"gracefulDecommissionTimeout", PossibleTypes = new [] { typeof(int) })] int? AutoscaleProfileGracefulDecommissionTimeout { get; set; } + /// The database URL + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The database URL", + SerializedName = @"host", + PossibleTypes = new [] { typeof(string) })] + string DatabaseHost { get; set; } + /// The database name + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The database name", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + string DatabaseName { get; set; } + /// Reference for the database password + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Reference for the database password", + SerializedName = @"passwordSecretRef", + PossibleTypes = new [] { typeof(string) })] + string DatabasePasswordSecretRef { get; set; } + /// The name of the database user + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"The name of the database user", + SerializedName = @"username", + PossibleTypes = new [] { typeof(string) })] + string DatabaseUsername { get; set; } /// /// 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 @@ -399,6 +534,106 @@ public partial interface IUpdatableClusterProfile : PossibleTypes = new [] { typeof(bool) })] bool? PrometheuProfileEnabled { get; set; } /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.", + SerializedName = @"admins", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerAdmin { get; set; } + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Azure storage location of the blobs. MSI should have read/write access to this Storage account.", + SerializedName = @"storageAccount", + PossibleTypes = new [] { typeof(string) })] + string RangerAuditStorageAccount { get; set; } + /// Enable Ranger for cluster or not. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Enable Ranger for cluster or not.", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(bool) })] + bool? RangerPluginProfileEnabled { get; set; } + /// Denotes whether usersync service should be enabled + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Denotes whether usersync service should be enabled", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(bool) })] + bool? RangerUsersyncEnabled { get; set; } + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of groups that should be synced. These group names should match the object id of the respective AAD groups.", + SerializedName = @"groups", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerUsersyncGroup { get; set; } + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"User & groups can be synced automatically or via a static list that's refreshed.", + SerializedName = @"mode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + string RangerUsersyncMode { get; set; } + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.", + SerializedName = @"users", + PossibleTypes = new [] { typeof(string) })] + System.Collections.Generic.List RangerUsersyncUser { get; set; } + /// Azure storage location of a mapping file that lists user & group associations. + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Azure storage location of a mapping file that lists user & group associations.", + SerializedName = @"userMappingLocation", + PossibleTypes = new [] { typeof(string) })] + string RangerUsersyncUserMappingLocation { get; set; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) /// @@ -525,6 +760,14 @@ internal partial interface IUpdatableClusterProfileInternal Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ILoadBasedConfig AutoscaleProfileLoadBasedConfig { get; set; } /// Profiles of schedule based Autoscale. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScheduleBasedConfig AutoscaleProfileScheduleBasedConfig { get; set; } + /// The database URL + string DatabaseHost { get; set; } + /// The database name + string DatabaseName { get; set; } + /// Reference for the database password + string DatabasePasswordSecretRef { get; set; } + /// The name of the database user + string DatabaseUsername { get; set; } /// /// 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 @@ -561,6 +804,46 @@ internal partial interface IUpdatableClusterProfileInternal /// Cluster Prometheus profile. Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPrometheusProfile PrometheusProfile { get; set; } /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + System.Collections.Generic.List RangerAdmin { get; set; } + + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpecDatabase RangerAdminDatabase { get; set; } + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + string RangerAuditStorageAccount { get; set; } + /// Cluster Ranger plugin profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterRangerPluginProfile RangerPluginProfile { get; set; } + /// Enable Ranger for cluster or not. + bool? RangerPluginProfileEnabled { get; set; } + /// The ranger cluster profile. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerProfile RangerProfile { get; set; } + /// Specification for the Ranger Admin service. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAdminSpec RangerProfileRangerAdmin { get; set; } + /// Properties required to describe audit log storage. + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerAuditSpec RangerProfileRangerAudit { get; set; } + /// Specification for the Ranger Usersync service + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IRangerUsersyncSpec RangerProfileRangerUsersync { get; set; } + /// Denotes whether usersync service should be enabled + bool? RangerUsersyncEnabled { get; set; } + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + System.Collections.Generic.List RangerUsersyncGroup { get; set; } + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + string RangerUsersyncMode { get; set; } + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + System.Collections.Generic.List RangerUsersyncUser { get; set; } + /// Azure storage location of a mapping file that lists user & group associations. + string RangerUsersyncUserMappingLocation { get; set; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/UpdatableClusterProfile.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/UpdatableClusterProfile.json.cs index d1abcec582f8..b3d27d4244ef 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/UpdatableClusterProfile.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/UpdatableClusterProfile.json.cs @@ -89,6 +89,8 @@ public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode T AddIf( null != this._authorizationProfile ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._authorizationProfile.ToJson(null,serializationMode) : null, "authorizationProfile" ,container.Add ); AddIf( null != this._logAnalyticsProfile ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._logAnalyticsProfile.ToJson(null,serializationMode) : null, "logAnalyticsProfile" ,container.Add ); AddIf( null != this._prometheusProfile ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._prometheusProfile.ToJson(null,serializationMode) : null, "prometheusProfile" ,container.Add ); + AddIf( null != this._rangerPluginProfile ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._rangerPluginProfile.ToJson(null,serializationMode) : null, "rangerPluginProfile" ,container.Add ); + AddIf( null != this._rangerProfile ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) this._rangerProfile.ToJson(null,serializationMode) : null, "rangerProfile" ,container.Add ); if (null != this._serviceConfigsProfile) { var __w = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.XNodeArray(); @@ -123,13 +125,15 @@ internal UpdatableClusterProfile(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnA { return; } - {_sshProfile = If( json?.PropertyT("sshProfile"), out var __jsonSshProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SshProfile.FromJson(__jsonSshProfile) : SshProfile;} - {_autoscaleProfile = If( json?.PropertyT("autoscaleProfile"), out var __jsonAutoscaleProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AutoscaleProfile.FromJson(__jsonAutoscaleProfile) : AutoscaleProfile;} - {_authorizationProfile = If( json?.PropertyT("authorizationProfile"), out var __jsonAuthorizationProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AuthorizationProfile.FromJson(__jsonAuthorizationProfile) : AuthorizationProfile;} - {_logAnalyticsProfile = If( json?.PropertyT("logAnalyticsProfile"), out var __jsonLogAnalyticsProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsProfile.FromJson(__jsonLogAnalyticsProfile) : LogAnalyticsProfile;} - {_prometheusProfile = If( json?.PropertyT("prometheusProfile"), out var __jsonPrometheusProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfile.FromJson(__jsonPrometheusProfile) : PrometheusProfile;} - {_serviceConfigsProfile = If( json?.PropertyT("serviceConfigsProfiles"), out var __jsonServiceConfigsProfiles) ? If( __jsonServiceConfigsProfiles as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterServiceConfigsProfile.FromJson(__u) )) ))() : null : ServiceConfigsProfile;} - {_scriptActionProfile = If( json?.PropertyT("scriptActionProfiles"), out var __jsonScriptActionProfiles) ? If( __jsonScriptActionProfiles as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __q) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScriptActionProfile) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ScriptActionProfile.FromJson(__p) )) ))() : null : ScriptActionProfile;} + {_sshProfile = If( json?.PropertyT("sshProfile"), out var __jsonSshProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.SshProfile.FromJson(__jsonSshProfile) : _sshProfile;} + {_autoscaleProfile = If( json?.PropertyT("autoscaleProfile"), out var __jsonAutoscaleProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AutoscaleProfile.FromJson(__jsonAutoscaleProfile) : _autoscaleProfile;} + {_authorizationProfile = If( json?.PropertyT("authorizationProfile"), out var __jsonAuthorizationProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.AuthorizationProfile.FromJson(__jsonAuthorizationProfile) : _authorizationProfile;} + {_logAnalyticsProfile = If( json?.PropertyT("logAnalyticsProfile"), out var __jsonLogAnalyticsProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterLogAnalyticsProfile.FromJson(__jsonLogAnalyticsProfile) : _logAnalyticsProfile;} + {_prometheusProfile = If( json?.PropertyT("prometheusProfile"), out var __jsonPrometheusProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPrometheusProfile.FromJson(__jsonPrometheusProfile) : _prometheusProfile;} + {_rangerPluginProfile = If( json?.PropertyT("rangerPluginProfile"), out var __jsonRangerPluginProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterRangerPluginProfile.FromJson(__jsonRangerPluginProfile) : _rangerPluginProfile;} + {_rangerProfile = If( json?.PropertyT("rangerProfile"), out var __jsonRangerProfile) ? Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.RangerProfile.FromJson(__jsonRangerProfile) : _rangerProfile;} + {_serviceConfigsProfile = If( json?.PropertyT("serviceConfigsProfiles"), out var __jsonServiceConfigsProfiles) ? If( __jsonServiceConfigsProfiles as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __v) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterServiceConfigsProfile.FromJson(__u) )) ))() : null : _serviceConfigsProfile;} + {_scriptActionProfile = If( json?.PropertyT("scriptActionProfiles"), out var __jsonScriptActionProfiles) ? If( __jsonScriptActionProfiles as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonArray, out var __q) ? new global::System.Func>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScriptActionProfile) (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ScriptActionProfile.FromJson(__p) )) ))() : null : _scriptActionProfile;} AfterFromJson(json); } } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/WebConnectivityEndpoint.PowerShell.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/WebConnectivityEndpoint.PowerShell.cs index 1577982845c1..69e81c066b8c 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/WebConnectivityEndpoint.PowerShell.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/WebConnectivityEndpoint.PowerShell.cs @@ -130,6 +130,10 @@ internal WebConnectivityEndpoint(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)this).Fqdn = (string) content.GetValueForProperty("Fqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)this).Fqdn, global::System.Convert.ToString); } + if (content.Contains("PrivateFqdn")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)this).PrivateFqdn = (string) content.GetValueForProperty("PrivateFqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)this).PrivateFqdn, global::System.Convert.ToString); + } AfterDeserializeDictionary(content); } @@ -151,6 +155,10 @@ internal WebConnectivityEndpoint(global::System.Management.Automation.PSObject c { ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)this).Fqdn = (string) content.GetValueForProperty("Fqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)this).Fqdn, global::System.Convert.ToString); } + if (content.Contains("PrivateFqdn")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)this).PrivateFqdn = (string) content.GetValueForProperty("PrivateFqdn",((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IWebConnectivityEndpointInternal)this).PrivateFqdn, global::System.Convert.ToString); + } AfterDeserializePSObject(content); } } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/WebConnectivityEndpoint.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/WebConnectivityEndpoint.cs index ef3583a874c0..a2b89b87edc2 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/WebConnectivityEndpoint.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/WebConnectivityEndpoint.cs @@ -20,6 +20,15 @@ public partial class WebConnectivityEndpoint : [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] public string Fqdn { get => this._fqdn; set => this._fqdn = value; } + /// Backing field for property. + private string _privateFqdn; + + /// + /// Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Origin(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PropertyOrigin.Owned)] + public string PrivateFqdn { get => this._privateFqdn; set => this._privateFqdn = value; } + /// Creates an new instance. public WebConnectivityEndpoint() { @@ -41,6 +50,19 @@ public partial interface IWebConnectivityEndpoint : SerializedName = @"fqdn", PossibleTypes = new [] { typeof(string) })] string Fqdn { get; set; } + /// + /// Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Read = true, + Create = true, + Update = true, + Description = @"Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true.", + SerializedName = @"privateFqdn", + PossibleTypes = new [] { typeof(string) })] + string PrivateFqdn { get; set; } } /// Web connectivity endpoint details. @@ -49,6 +71,10 @@ internal partial interface IWebConnectivityEndpointInternal { /// Web connectivity endpoint. string Fqdn { get; set; } + /// + /// Private web connectivity endpoint. This property will only be returned when enableInternalIngress is true. + /// + string PrivateFqdn { get; set; } } } \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/WebConnectivityEndpoint.json.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/WebConnectivityEndpoint.json.cs index d9cbe7645f32..a3169bc194e1 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/WebConnectivityEndpoint.json.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/api/Models/WebConnectivityEndpoint.json.cs @@ -85,6 +85,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode T return container; } AddIf( null != (((object)this._fqdn)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._fqdn.ToString()) : null, "fqdn" ,container.Add ); + AddIf( null != (((object)this._privateFqdn)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Json.JsonString(this._privateFqdn.ToString()) : null, "privateFqdn" ,container.Add ); AfterToJson(ref container); return container; } @@ -101,7 +102,8 @@ internal WebConnectivityEndpoint(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnA { return; } - {_fqdn = If( json?.PropertyT("fqdn"), out var __jsonFqdn) ? (string)__jsonFqdn : (string)Fqdn;} + {_fqdn = If( json?.PropertyT("fqdn"), out var __jsonFqdn) ? (string)__jsonFqdn : (string)_fqdn;} + {_privateFqdn = If( json?.PropertyT("privateFqdn"), out var __jsonPrivateFqdn) ? (string)__jsonPrivateFqdn : (string)_privateFqdn;} AfterFromJson(json); } } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksAvailableClusterPoolVersion_List.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksAvailableClusterPoolVersion_List.cs index f76d9608d6c8..cb24d95fbd9c 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksAvailableClusterPoolVersion_List.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksAvailableClusterPoolVersion_List.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolVersion))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Returns a list of available cluster pool versions.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/availableClusterPoolVersions", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/availableClusterPoolVersions", ApiVersion = "2023-11-01-preview")] public partial class GetAzHdInsightOnAksAvailableClusterPoolVersion_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -206,6 +206,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// @@ -379,6 +389,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksAvailableClusterVersion_List.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksAvailableClusterVersion_List.cs index 182125392326..27b6b7aa52d6 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksAvailableClusterVersion_List.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksAvailableClusterVersion_List.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterVersion))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Returns a list of available cluster versions.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/availableClusterVersions", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/availableClusterVersions", ApiVersion = "2023-11-01-preview")] public partial class GetAzHdInsightOnAksAvailableClusterVersion_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -206,6 +206,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// @@ -379,6 +389,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterAvailableUpgrade_List.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterAvailableUpgrade_List.cs new file mode 100644 index 000000000000..348daf416f5d --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterAvailableUpgrade_List.cs @@ -0,0 +1,540 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Cmdlets; + using System; + + /// List a cluster available upgrade. + /// + /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/availableUpgrades" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzHdInsightOnAksClusterAvailableUpgrade_List")] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgrade))] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"List a cluster available upgrade.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/availableUpgrades", ApiVersion = "2023-11-01-preview")] + public partial class GetAzHdInsightOnAksClusterAvailableUpgrade_List : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// A dictionary to carry over additional data for pipeline. + private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); + + /// A buffer to record first returned object in response. + private object _firstResponse = null; + + /// A flag to tell whether it is the first onOK call. + private bool _isFirst = true; + + /// Link to retrieve next page. + private string _nextLink; + + /// + /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. + /// Two means multiple returned objects in response. + /// + private int _responseSize = 0; + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// Accessor for cancellationTokenSource. + public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HdInsightOnAks Client => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.ClientAPI; + + /// Backing field for property. + private string _clusterName; + + /// The name of the HDInsight cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the HDInsight cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the HDInsight cluster.", + SerializedName = @"clusterName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string ClusterName { get => this._clusterName; set => this._clusterName = value; } + + /// Backing field for property. + private string _clusterPoolName; + + /// The name of the cluster pool. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the cluster pool.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the cluster pool.", + SerializedName = @"clusterPoolName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string ClusterPoolName { get => this._clusterPoolName; set => this._clusterPoolName = value; } + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// Accessor for extensibleParameters. + public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// The instance of the that the remote call will use. + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group. The name is case insensitive. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group. The name is case insensitive.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string[] _subscriptionId; + + /// The ID of the target subscription. The value must be an UUID. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription. The value must be an UUID.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The ID of the target subscription. The value must be an UUID.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id", + SetCondition = @"")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string[] SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeList + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse); + } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } + } + + /// + /// Initializes a new instance of the cmdlet class. + /// + public GetAzHdInsightOnAksClusterAvailableUpgrade_List() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data.Message, new string[]{}); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress: + { + var data = messageData(); + int progress = (int)data.Value; + string activityMessage, statusDescription; + global::System.Management.Automation.ProgressRecordType recordType; + if (progress < 100) + { + activityMessage = "In progress"; + statusDescription = "Checking operation status"; + recordType = System.Management.Automation.ProgressRecordType.Processing; + } + else + { + activityMessage = "Completed"; + statusDescription = "Completed"; + recordType = System.Management.Automation.ProgressRecordType.Completed; + } + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) + { + PercentComplete = progress, + RecordType = recordType + }); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token); + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + foreach( var SubscriptionId in this.SubscriptionId ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.ClusterAvailableUpgradesList(SubscriptionId, ResourceGroupName, ClusterPoolName, ClusterName, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,ClusterPoolName=ClusterPoolName,ClusterName=ClusterName}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeList + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgradeList + var result = (await response); + // response should be returning an array of some kind. +Pageable + // pageable / value / nextLink + if (null != result.Value) + { + if (0 == _responseSize && 1 == result.Value.Count) + { + _firstResponse = result.Value[0]; + _responseSize = 1; + } + else + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); + } + var values = new System.Collections.Generic.List(); + foreach( var value in result.Value ) + { + values.Add(value.AddMultipleTypeNameIntoPSObject()); + } + WriteObject(values, true); + _responseSize = 2; + } + } + _nextLink = result.NextLink; + if (_isFirst) + { + _isFirst = false; + while (!String.IsNullOrEmpty(_nextLink)) + { + if (responseMessage.RequestMessage is System.Net.Http.HttpRequestMessage requestMessage ) + { + requestMessage = requestMessage.Clone(new global::System.Uri( _nextLink ),Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get ); + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.FollowingNextLink); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.ClusterAvailableUpgradesList_Call(requestMessage, onOk, onDefault, this, Pipeline); + } + } + } + } + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterInstanceView_Get.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterInstanceView_Get.cs index fef90bf3af77..b597dbd8be0b 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterInstanceView_Get.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterInstanceView_Get.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Gets the status of a cluster instance.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews/default", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews/default", ApiVersion = "2023-11-01-preview")] public partial class GetAzHdInsightOnAksClusterInstanceView_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -228,6 +228,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// @@ -401,6 +411,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterInstanceView_GetViaIdentity.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterInstanceView_GetViaIdentity.cs index 3cb2595a311e..8a2b46fc90c8 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterInstanceView_GetViaIdentity.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterInstanceView_GetViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Gets the status of a cluster instance.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews/default", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews/default", ApiVersion = "2023-11-01-preview")] public partial class GetAzHdInsightOnAksClusterInstanceView_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -175,6 +175,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// @@ -369,6 +379,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterInstanceView_GetViaIdentityClusterpool.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterInstanceView_GetViaIdentityClusterpool.cs index bf0264708634..5c879552fcdd 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterInstanceView_GetViaIdentityClusterpool.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterInstanceView_GetViaIdentityClusterpool.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Gets the status of a cluster instance.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews/default", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews/default", ApiVersion = "2023-11-01-preview")] public partial class GetAzHdInsightOnAksClusterInstanceView_GetViaIdentityClusterpool : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -189,6 +189,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// @@ -381,6 +391,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterInstanceView_List.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterInstanceView_List.cs index 85677f0c1913..937cf5e468ae 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterInstanceView_List.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterInstanceView_List.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Lists the lists of instance views")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/instanceViews", ApiVersion = "2023-11-01-preview")] public partial class GetAzHdInsightOnAksClusterInstanceView_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -234,6 +234,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// @@ -407,6 +417,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterJob_List.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterJob_List.cs index 59c858179b52..c76dc55464ab 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterJob_List.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterJob_List.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Get jobs of HDInsight on AKS cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/jobs", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/jobs", ApiVersion = "2023-11-01-preview")] public partial class GetAzHdInsightOnAksClusterJob_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -107,6 +107,23 @@ public partial class GetAzHdInsightOnAksClusterJob_List : global::System.Managem /// Accessor for extensibleParameters. public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } + /// Backing field for property. + private string _filter; + + /// + /// The system query option to filter job returned in the response. Allowed value is 'jobName eq {jobName}' or 'jarName eq + /// {jarName}'. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The system query option to filter job returned in the response. Allowed value is 'jobName eq {jobName}' or 'jarName eq {jarName}'.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The system query option to filter job returned in the response. Allowed value is 'jobName eq {jobName}' or 'jarName eq {jarName}'.", + SerializedName = @"$filter", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Query)] + public string Filter { get => this._filter; set => this._filter = value; } + /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] [global::System.Management.Automation.ValidateNotNull] @@ -234,6 +251,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// @@ -382,13 +409,13 @@ protected override void ProcessRecord() foreach( var SubscriptionId in this.SubscriptionId ) { await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.ClusterJobsList(SubscriptionId, ResourceGroupName, ClusterPoolName, ClusterName, onOk, onDefault, this, Pipeline); + await this.Client.ClusterJobsList(SubscriptionId, ResourceGroupName, ClusterPoolName, ClusterName, this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } } catch (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,ClusterPoolName=ClusterPoolName,ClusterName=ClusterName}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,ClusterPoolName=ClusterPoolName,ClusterName=ClusterName,Filter=this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -407,6 +434,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterPoolAvailableUpgrade_List.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterPoolAvailableUpgrade_List.cs new file mode 100644 index 000000000000..846365f18330 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterPoolAvailableUpgrade_List.cs @@ -0,0 +1,526 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Cmdlets; + using System; + + /// List a cluster pool available upgrade. + /// + /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/availableUpgrades" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzHdInsightOnAksClusterPoolAvailableUpgrade_List")] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgrade))] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"List a cluster pool available upgrade.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/availableUpgrades", ApiVersion = "2023-11-01-preview")] + public partial class GetAzHdInsightOnAksClusterPoolAvailableUpgrade_List : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// A dictionary to carry over additional data for pipeline. + private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); + + /// A buffer to record first returned object in response. + private object _firstResponse = null; + + /// A flag to tell whether it is the first onOK call. + private bool _isFirst = true; + + /// Link to retrieve next page. + private string _nextLink; + + /// + /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. + /// Two means multiple returned objects in response. + /// + private int _responseSize = 0; + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// Accessor for cancellationTokenSource. + public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HdInsightOnAks Client => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.ClientAPI; + + /// Backing field for property. + private string _clusterPoolName; + + /// The name of the cluster pool. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the cluster pool.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the cluster pool.", + SerializedName = @"clusterPoolName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string ClusterPoolName { get => this._clusterPoolName; set => this._clusterPoolName = value; } + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// Accessor for extensibleParameters. + public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// The instance of the that the remote call will use. + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group. The name is case insensitive. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group. The name is case insensitive.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string[] _subscriptionId; + + /// The ID of the target subscription. The value must be an UUID. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription. The value must be an UUID.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The ID of the target subscription. The value must be an UUID.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id", + SetCondition = @"")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string[] SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeList + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse); + } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } + } + + /// + /// Initializes a new instance of the cmdlet class. + /// + public GetAzHdInsightOnAksClusterPoolAvailableUpgrade_List() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data.Message, new string[]{}); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress: + { + var data = messageData(); + int progress = (int)data.Value; + string activityMessage, statusDescription; + global::System.Management.Automation.ProgressRecordType recordType; + if (progress < 100) + { + activityMessage = "In progress"; + statusDescription = "Checking operation status"; + recordType = System.Management.Automation.ProgressRecordType.Processing; + } + else + { + activityMessage = "Completed"; + statusDescription = "Completed"; + recordType = System.Management.Automation.ProgressRecordType.Completed; + } + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) + { + PercentComplete = progress, + RecordType = recordType + }); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token); + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + foreach( var SubscriptionId in this.SubscriptionId ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.ClusterPoolAvailableUpgradesList(SubscriptionId, ResourceGroupName, ClusterPoolName, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,ClusterPoolName=ClusterPoolName}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeList + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgradeList + var result = (await response); + // response should be returning an array of some kind. +Pageable + // pageable / value / nextLink + if (null != result.Value) + { + if (0 == _responseSize && 1 == result.Value.Count) + { + _firstResponse = result.Value[0]; + _responseSize = 1; + } + else + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); + } + var values = new System.Collections.Generic.List(); + foreach( var value in result.Value ) + { + values.Add(value.AddMultipleTypeNameIntoPSObject()); + } + WriteObject(values, true); + _responseSize = 2; + } + } + _nextLink = result.NextLink; + if (_isFirst) + { + _isFirst = false; + while (!String.IsNullOrEmpty(_nextLink)) + { + if (responseMessage.RequestMessage is System.Net.Http.HttpRequestMessage requestMessage ) + { + requestMessage = requestMessage.Clone(new global::System.Uri( _nextLink ),Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Method.Get ); + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.FollowingNextLink); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.ClusterPoolAvailableUpgradesList_Call(requestMessage, onOk, onDefault, this, Pipeline); + } + } + } + } + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterPool_Get.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterPool_Get.cs index 227abaa7197b..6450c489f61b 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterPool_Get.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterPool_Get.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Gets a cluster pool.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-11-01-preview")] public partial class GetAzHdInsightOnAksClusterPool_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -215,6 +215,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// @@ -388,6 +398,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterPool_GetViaIdentity.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterPool_GetViaIdentity.cs index e881296a6e0c..bbabe0150b25 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterPool_GetViaIdentity.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterPool_GetViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Gets a cluster pool.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-11-01-preview")] public partial class GetAzHdInsightOnAksClusterPool_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -175,6 +175,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// @@ -365,6 +375,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterPool_List.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterPool_List.cs index 95efd63d479d..c6d6d17b9ce0 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterPool_List.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterPool_List.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Gets the list of Cluster Pools within a Subscription.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/clusterpools", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/clusterpools", ApiVersion = "2023-11-01-preview")] public partial class GetAzHdInsightOnAksClusterPool_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -192,6 +192,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// @@ -365,6 +375,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterPool_List1.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterPool_List1.cs index 3be90d6e41ee..c9f9e25410bf 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterPool_List1.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterPool_List1.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Lists the HDInsight cluster pools under a resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools", ApiVersion = "2023-11-01-preview")] public partial class GetAzHdInsightOnAksClusterPool_List1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -206,6 +206,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// @@ -379,6 +389,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterServiceConfig_List.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterServiceConfig_List.cs index 5f7c3f240041..1ef51f9c1d27 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterServiceConfig_List.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksClusterServiceConfig_List.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IServiceConfigResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Lists the config dump of all services running in cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/serviceConfigs", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/serviceConfigs", ApiVersion = "2023-11-01-preview")] public partial class GetAzHdInsightOnAksClusterServiceConfig_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -234,6 +234,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// @@ -407,6 +417,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksCluster_Get.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksCluster_Get.cs index 511262920ef8..3ba889a762a6 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksCluster_Get.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksCluster_Get.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Gets a HDInsight cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] public partial class GetAzHdInsightOnAksCluster_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -230,6 +230,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// @@ -403,6 +413,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksCluster_GetViaIdentity.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksCluster_GetViaIdentity.cs index 627a379f5718..0f873c4a354a 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksCluster_GetViaIdentity.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksCluster_GetViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Gets a HDInsight cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] public partial class GetAzHdInsightOnAksCluster_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -175,6 +175,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// @@ -369,6 +379,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksCluster_GetViaIdentityClusterpool.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksCluster_GetViaIdentityClusterpool.cs index 56a818b3e72d..3b9aaccfdeef 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksCluster_GetViaIdentityClusterpool.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksCluster_GetViaIdentityClusterpool.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Gets a HDInsight cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] public partial class GetAzHdInsightOnAksCluster_GetViaIdentityClusterpool : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -190,6 +190,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// @@ -381,6 +391,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksCluster_List.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksCluster_List.cs index ff1542a24b99..d623db8209c6 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksCluster_List.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksCluster_List.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Lists the HDInsight cluster pools under a resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters", ApiVersion = "2023-11-01-preview")] public partial class GetAzHdInsightOnAksCluster_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -221,6 +221,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// @@ -394,6 +404,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksOperation_List.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksOperation_List.cs index b5e232bab0c0..d46d1fa20560 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksOperation_List.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/GetAzHdInsightOnAksOperation_List.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IOperation))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Returns list of operations.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/providers/Microsoft.HDInsight/operations", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/providers/Microsoft.HDInsight/operations", ApiVersion = "2023-11-01-preview")] public partial class GetAzHdInsightOnAksOperation_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -174,6 +174,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// @@ -344,6 +354,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_Create.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_Create.cs index b294744aab0c..1eae00ac5526 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_Create.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_Create.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Create a cluster pool.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-11-01-preview")] public partial class NewAzHdInsightOnAksClusterPool_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -266,6 +266,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -485,6 +495,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_CreateExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_CreateExpanded.cs index b28f84b8fa28..04be579f8300 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_CreateExpanded.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_CreateExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Create a cluster pool.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-11-01-preview")] public partial class NewAzHdInsightOnAksClusterPool_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -178,6 +178,50 @@ public partial class NewAzHdInsightOnAksClusterPool_CreateExpanded : global::Sys [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] public string Name { get => this._name; set => this._name = value; } + /// + /// IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. + /// So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time.", + SerializedName = @"apiServerAuthorizedIpRanges", + PossibleTypes = new [] { typeof(string) })] + public string[] NetworkProfileApiServerAuthorizedIPRange { get => _clusterPoolBody.NetworkProfileApiServerAuthorizedIPRange?.ToArray() ?? null /* fixedArrayOf */; set => _clusterPoolBody.NetworkProfileApiServerAuthorizedIPRange = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// + /// ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this + /// property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public + /// internet. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet.", + SerializedName = @"enablePrivateApiServer", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter NetworkProfileEnablePrivateApiServer { get => _clusterPoolBody.NetworkProfileEnablePrivateApiServer ?? default(global::System.Management.Automation.SwitchParameter); set => _clusterPoolBody.NetworkProfileEnablePrivateApiServer = value; } + + /// + /// This can only be set at cluster pool creation time and cannot be changed later. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "This can only be set at cluster pool creation time and cannot be changed later. ")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"This can only be set at cluster pool creation time and cannot be changed later. ", + SerializedName = @"outboundType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("loadBalancer", "userDefinedRouting")] + public string NetworkProfileOutboundType { get => _clusterPoolBody.NetworkProfileOutboundType ?? null; set => _clusterPoolBody.NetworkProfileOutboundType = value; } + /// /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue /// asynchronously. @@ -348,6 +392,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -567,6 +621,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_CreateViaIdentity.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_CreateViaIdentity.cs index 8d3d14575994..27dc4ca08900 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_CreateViaIdentity.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_CreateViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Create a cluster pool.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-11-01-preview")] public partial class NewAzHdInsightOnAksClusterPool_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -223,6 +223,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -462,6 +472,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_CreateViaIdentityExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_CreateViaIdentityExpanded.cs index 3a0e09565586..efc7395ad600 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_CreateViaIdentityExpanded.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_CreateViaIdentityExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Create a cluster pool.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-11-01-preview")] public partial class NewAzHdInsightOnAksClusterPool_CreateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -171,6 +171,50 @@ public partial class NewAzHdInsightOnAksClusterPool_CreateViaIdentityExpanded : /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + /// + /// IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. + /// So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time.", + SerializedName = @"apiServerAuthorizedIpRanges", + PossibleTypes = new [] { typeof(string) })] + public string[] NetworkProfileApiServerAuthorizedIPRange { get => _clusterPoolBody.NetworkProfileApiServerAuthorizedIPRange?.ToArray() ?? null /* fixedArrayOf */; set => _clusterPoolBody.NetworkProfileApiServerAuthorizedIPRange = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// + /// ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this + /// property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public + /// internet. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet.", + SerializedName = @"enablePrivateApiServer", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter NetworkProfileEnablePrivateApiServer { get => _clusterPoolBody.NetworkProfileEnablePrivateApiServer ?? default(global::System.Management.Automation.SwitchParameter); set => _clusterPoolBody.NetworkProfileEnablePrivateApiServer = value; } + + /// + /// This can only be set at cluster pool creation time and cannot be changed later. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "This can only be set at cluster pool creation time and cannot be changed later. ")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"This can only be set at cluster pool creation time and cannot be changed later. ", + SerializedName = @"outboundType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("loadBalancer", "userDefinedRouting")] + public string NetworkProfileOutboundType { get => _clusterPoolBody.NetworkProfileOutboundType ?? null; set => _clusterPoolBody.NetworkProfileOutboundType = value; } + /// /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue /// asynchronously. @@ -307,6 +351,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -546,6 +600,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_CreateViaJsonFilePath.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_CreateViaJsonFilePath.cs index 3790fa070691..7afb270b338c 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_CreateViaJsonFilePath.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_CreateViaJsonFilePath.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Create a cluster pool.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-11-01-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.NotSuggestDefaultParameterSet] public partial class NewAzHdInsightOnAksClusterPool_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, @@ -268,6 +268,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -487,6 +497,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_CreateViaJsonString.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_CreateViaJsonString.cs index bd35a8718873..cfcfd6460774 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_CreateViaJsonString.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksClusterPool_CreateViaJsonString.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Create a cluster pool.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-11-01-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.NotSuggestDefaultParameterSet] public partial class NewAzHdInsightOnAksClusterPool_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, @@ -266,6 +266,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -485,6 +495,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_Create.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_Create.cs index f35f54226486..f644d331a405 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_Create.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_Create.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Creates a cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] public partial class NewAzHdInsightOnAksCluster_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -282,6 +282,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -501,6 +511,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateExpanded.cs index b4a07b4fef73..3c12508840b8 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateExpanded.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Creates a cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] public partial class NewAzHdInsightOnAksCluster_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -187,6 +187,19 @@ public partial class NewAzHdInsightOnAksCluster_CreateExpanded : global::System. /// The reference to the client API class. public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HdInsightOnAks Client => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.ClientAPI; + /// + /// Whether to create cluster using private IP instead of public IP. This property must be set at create time. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Whether to create cluster using private IP instead of public IP. This property must be set at create time.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Whether to create cluster using private IP instead of public IP. This property must be set at create time.", + SerializedName = @"enableInternalIngress", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter ClusterAccessProfileEnableInternalIngress { get => _hdInsightClusterBody.AccessProfileEnableInternalIngress ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.AccessProfileEnableInternalIngress = value; } + /// The type of cluster. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The type of cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] @@ -268,6 +281,50 @@ public partial class NewAzHdInsightOnAksCluster_CreateExpanded : global::System. PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] public global::System.Management.Automation.SwitchParameter CoordinatorHighAvailabilityEnabled { get => _hdInsightClusterBody.CoordinatorHighAvailabilityEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.CoordinatorHighAvailabilityEnabled = value; } + /// The database URL + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The database URL")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The database URL", + SerializedName = @"host", + PossibleTypes = new [] { typeof(string) })] + public string DatabaseHost { get => _hdInsightClusterBody.DatabaseHost ?? null; set => _hdInsightClusterBody.DatabaseHost = value; } + + /// The database name + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The database name")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The database name", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + public string DatabaseName { get => _hdInsightClusterBody.DatabaseName ?? null; set => _hdInsightClusterBody.DatabaseName = value; } + + /// Reference for the database password + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Reference for the database password")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Reference for the database password", + SerializedName = @"passwordSecretRef", + PossibleTypes = new [] { typeof(string) })] + public string DatabasePasswordSecretRef { get => _hdInsightClusterBody.DatabasePasswordSecretRef ?? null; set => _hdInsightClusterBody.DatabasePasswordSecretRef = value; } + + /// The name of the database user + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The name of the database user")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The name of the database user", + SerializedName = @"username", + PossibleTypes = new [] { typeof(string) })] + public string DatabaseUsername { get => _hdInsightClusterBody.DatabaseUsername ?? null; set => _hdInsightClusterBody.DatabaseUsername = value; } + /// /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet /// against a different subscription @@ -278,6 +335,32 @@ public partial class NewAzHdInsightOnAksCluster_CreateExpanded : global::System. [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Azure)] public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + /// + /// 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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"dataDiskSize", + PossibleTypes = new [] { typeof(int) })] + public int DiskStorageDataDiskSize { get => _hdInsightClusterBody.DiskStorageDataDiskSize ?? default(int); set => _hdInsightClusterBody.DiskStorageDataDiskSize = value; } + + /// Managed Disk Type. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed Disk Type.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Managed Disk Type.", + SerializedName = @"dataDiskType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Standard_HDD_LRS", "Standard_SSD_LRS", "Standard_SSD_ZRS", "Premium_SSD_LRS", "Premium_SSD_ZRS", "Premium_SSD_v2_LRS")] + public string DiskStorageDataDiskType { get => _hdInsightClusterBody.DiskStorageDataDiskType ?? null; set => _hdInsightClusterBody.DiskStorageDataDiskType = value; } + /// True if log analytics is enabled for the cluster, otherwise false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "True if log analytics is enabled for the cluster, otherwise false.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] @@ -327,6 +410,21 @@ public partial class NewAzHdInsightOnAksCluster_CreateExpanded : global::System. PossibleTypes = new [] { typeof(string) })] public string FlinkHiveCatalogDbUserName { get => _hdInsightClusterBody.HiveMetastoreDbConnectionUserName ?? null; set => _hdInsightClusterBody.HiveMetastoreDbConnectionUserName = value; } + /// + /// 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 + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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", + SerializedName = @"deploymentMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Application", "Session")] + public string FlinkProfileDeploymentMode { get => _hdInsightClusterBody.FlinkProfileDeploymentMode ?? null; set => _hdInsightClusterBody.FlinkProfileDeploymentMode = value; } + /// Storage account uri which is used for savepoint and checkpoint state. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Storage account uri which is used for savepoint and checkpoint state.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] @@ -371,6 +469,20 @@ public partial class NewAzHdInsightOnAksCluster_CreateExpanded : global::System. PossibleTypes = new [] { typeof(long) })] public long HistoryServerMemory { get => _hdInsightClusterBody.HistoryServerMemory ?? default(long); set => _hdInsightClusterBody.HistoryServerMemory = value; } + /// + /// The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization", + SerializedName = @"metastoreDbConnectionAuthenticationMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + public string HiveMetastoreDbConnectionAuthenticationMode { get => _hdInsightClusterBody.HiveMetastoreDbConnectionAuthenticationMode ?? null; set => _hdInsightClusterBody.HiveMetastoreDbConnectionAuthenticationMode = value; } + /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] [global::System.Management.Automation.ValidateNotNull] @@ -408,17 +520,113 @@ public partial class NewAzHdInsightOnAksCluster_CreateExpanded : global::System. PossibleTypes = new [] { typeof(long) })] public long JobManagerMemory { get => _hdInsightClusterBody.JobManagerMemory ?? default(long); set => _hdInsightClusterBody.JobManagerMemory = value; } - /// Kafka cluster profile. - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ExportAs(typeof(global::System.Collections.Hashtable))] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kafka cluster profile.")] + /// + /// A string property representing additional JVM arguments for the Flink job. It should be space separated value. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A string property representing additional JVM arguments for the Flink job. It should be space separated value.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"A string property representing additional JVM arguments for the Flink job. It should be space separated value.", + SerializedName = @"args", + PossibleTypes = new [] { typeof(string) })] + public string JobSpecArg { get => _hdInsightClusterBody.JobSpecArg ?? null; set => _hdInsightClusterBody.JobSpecArg = value; } + + /// + /// 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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"entryClass", + PossibleTypes = new [] { typeof(string) })] + public string JobSpecEntryClass { get => _hdInsightClusterBody.JobSpecEntryClass ?? null; set => _hdInsightClusterBody.JobSpecEntryClass = value; } + + /// A string property that represents the name of the job JAR. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A string property that represents the name of the job JAR.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, ReadOnly = false, - Description = @"Kafka cluster profile.", - SerializedName = @"kafkaProfile", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile) })] - public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile KafkaProfile { get => _hdInsightClusterBody.ProfileKafkaProfile ?? null /* object */; set => _hdInsightClusterBody.ProfileKafkaProfile = value; } + Description = @"A string property that represents the name of the job JAR.", + SerializedName = @"jarName", + PossibleTypes = new [] { typeof(string) })] + public string JobSpecJarName { get => _hdInsightClusterBody.JobSpecJarName ?? null; set => _hdInsightClusterBody.JobSpecJarName = value; } + + /// A string property that specifies the directory where the job JAR is located. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A string property that specifies the directory where the job JAR is located.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"A string property that specifies the directory where the job JAR is located.", + SerializedName = @"jobJarDirectory", + PossibleTypes = new [] { typeof(string) })] + public string JobSpecJobJarDirectory { get => _hdInsightClusterBody.JobSpecJobJarDirectory ?? null; set => _hdInsightClusterBody.JobSpecJobJarDirectory = value; } + + /// A string property that represents the name of the savepoint for the Flink job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A string property that represents the name of the savepoint for the Flink job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"A string property that represents the name of the savepoint for the Flink job", + SerializedName = @"savePointName", + PossibleTypes = new [] { typeof(string) })] + public string JobSpecSavePointName { get => _hdInsightClusterBody.JobSpecSavePointName ?? null; set => _hdInsightClusterBody.JobSpecSavePointName = value; } + + /// + /// 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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"upgradeMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("STATELESS_UPDATE", "UPDATE", "LAST_STATE_UPDATE")] + public string JobSpecUpgradeMode { get => _hdInsightClusterBody.JobSpecUpgradeMode ?? null; set => _hdInsightClusterBody.JobSpecUpgradeMode = value; } + + /// Expose Kafka cluster in KRaft mode. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Expose Kafka cluster in KRaft mode.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Expose Kafka cluster in KRaft mode.", + SerializedName = @"enableKRaft", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter KafkaProfileEnableKRaft { get => _hdInsightClusterBody.KafkaProfileEnableKRaft ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.KafkaProfileEnableKRaft = value; } + + /// Expose worker nodes as public endpoints. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Expose worker nodes as public endpoints.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Expose worker nodes as public endpoints.", + SerializedName = @"enablePublicEndpoints", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter KafkaProfileEnablePublicEndpoint { get => _hdInsightClusterBody.KafkaProfileEnablePublicEndpoint ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.KafkaProfileEnablePublicEndpoint = value; } + + /// Fully qualified path of Azure Storage container used for Tiered Storage. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Fully qualified path of Azure Storage container used for Tiered Storage.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Fully qualified path of Azure Storage container used for Tiered Storage.", + SerializedName = @"remoteStorageUri", + PossibleTypes = new [] { typeof(string) })] + public string KafkaProfileRemoteStorageUri { get => _hdInsightClusterBody.KafkaProfileRemoteStorageUri ?? null; set => _hdInsightClusterBody.KafkaProfileRemoteStorageUri = value; } /// /// Name of the user Key Vault where all the cluster specific user secrets are stored. @@ -536,6 +744,20 @@ public partial class NewAzHdInsightOnAksCluster_CreateExpanded : global::System. PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] public global::System.Management.Automation.SwitchParameter LogAnalyticProfileMetricsEnabled { get => _hdInsightClusterBody.LogAnalyticProfileMetricsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.LogAnalyticProfileMetricsEnabled = value; } + /// + /// The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization", + SerializedName = @"dbConnectionAuthenticationMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + public string MetastoreSpecDbConnectionAuthenticationMode { get => _hdInsightClusterBody.MetastoreSpecDbConnectionAuthenticationMode ?? null; set => _hdInsightClusterBody.MetastoreSpecDbConnectionAuthenticationMode = value; } + /// /// cancellation delegate. Stops the cmdlet when called. /// @@ -625,6 +847,109 @@ public partial class NewAzHdInsightOnAksCluster_CreateExpanded : global::System. [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.", + SerializedName = @"admins", + PossibleTypes = new [] { typeof(string) })] + public string[] RangerAdmin { get => _hdInsightClusterBody.RangerAdmin?.ToArray() ?? null /* fixedArrayOf */; set => _hdInsightClusterBody.RangerAdmin = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Azure storage location of the blobs. MSI should have read/write access to this Storage account.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Azure storage location of the blobs. MSI should have read/write access to this Storage account.", + SerializedName = @"storageAccount", + PossibleTypes = new [] { typeof(string) })] + public string RangerAuditStorageAccount { get => _hdInsightClusterBody.RangerAuditStorageAccount ?? null; set => _hdInsightClusterBody.RangerAuditStorageAccount = value; } + + /// Enable Ranger for cluster or not. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Enable Ranger for cluster or not.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Enable Ranger for cluster or not.", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter RangerPluginProfileEnabled { get => _hdInsightClusterBody.RangerPluginProfileEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.RangerPluginProfileEnabled = value; } + + /// Denotes whether usersync service should be enabled + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Denotes whether usersync service should be enabled")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Denotes whether usersync service should be enabled", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter RangerUsersyncEnabled { get => _hdInsightClusterBody.RangerUsersyncEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.RangerUsersyncEnabled = value; } + + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of groups that should be synced. These group names should match the object id of the respective AAD groups.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of groups that should be synced. These group names should match the object id of the respective AAD groups.", + SerializedName = @"groups", + PossibleTypes = new [] { typeof(string) })] + public string[] RangerUsersyncGroup { get => _hdInsightClusterBody.RangerUsersyncGroup?.ToArray() ?? null /* fixedArrayOf */; set => _hdInsightClusterBody.RangerUsersyncGroup = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "User & groups can be synced automatically or via a static list that's refreshed.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"User & groups can be synced automatically or via a static list that's refreshed.", + SerializedName = @"mode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + public string RangerUsersyncMode { get => _hdInsightClusterBody.RangerUsersyncMode ?? null; set => _hdInsightClusterBody.RangerUsersyncMode = value; } + + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.", + SerializedName = @"users", + PossibleTypes = new [] { typeof(string) })] + public string[] RangerUsersyncUser { get => _hdInsightClusterBody.RangerUsersyncUser?.ToArray() ?? null /* fixedArrayOf */; set => _hdInsightClusterBody.RangerUsersyncUser = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// Azure storage location of a mapping file that lists user & group associations. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Azure storage location of a mapping file that lists user & group associations.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Azure storage location of a mapping file that lists user & group associations.", + SerializedName = @"userMappingLocation", + PossibleTypes = new [] { typeof(string) })] + public string RangerUsersyncUserMappingLocation { get => _hdInsightClusterBody.RangerUsersyncUserMappingLocation ?? null; set => _hdInsightClusterBody.RangerUsersyncUserMappingLocation = value; } + /// Backing field for property. private string _resourceGroupName; @@ -1078,6 +1403,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -1305,6 +1640,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaIdentity.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaIdentity.cs index 92c625a167d1..2d4d131a7c62 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaIdentity.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Creates a cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] public partial class NewAzHdInsightOnAksCluster_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -223,6 +223,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -466,6 +476,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaIdentityClusterpool.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaIdentityClusterpool.cs index 95af75627f75..e9f20d0f2f20 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaIdentityClusterpool.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaIdentityClusterpool.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Creates a cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] public partial class NewAzHdInsightOnAksCluster_CreateViaIdentityClusterpool : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -239,6 +239,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -479,6 +489,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaIdentityClusterpoolExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaIdentityClusterpoolExpanded.cs index c076890ac6b1..4565619aa8ee 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaIdentityClusterpoolExpanded.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaIdentityClusterpoolExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Creates a cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] public partial class NewAzHdInsightOnAksCluster_CreateViaIdentityClusterpoolExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -187,6 +187,19 @@ public partial class NewAzHdInsightOnAksCluster_CreateViaIdentityClusterpoolExpa /// The reference to the client API class. public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HdInsightOnAks Client => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.ClientAPI; + /// + /// Whether to create cluster using private IP instead of public IP. This property must be set at create time. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Whether to create cluster using private IP instead of public IP. This property must be set at create time.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Whether to create cluster using private IP instead of public IP. This property must be set at create time.", + SerializedName = @"enableInternalIngress", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter ClusterAccessProfileEnableInternalIngress { get => _hdInsightClusterBody.AccessProfileEnableInternalIngress ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.AccessProfileEnableInternalIngress = value; } + /// The type of cluster. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The type of cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] @@ -276,6 +289,50 @@ public partial class NewAzHdInsightOnAksCluster_CreateViaIdentityClusterpoolExpa PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] public global::System.Management.Automation.SwitchParameter CoordinatorHighAvailabilityEnabled { get => _hdInsightClusterBody.CoordinatorHighAvailabilityEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.CoordinatorHighAvailabilityEnabled = value; } + /// The database URL + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The database URL")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The database URL", + SerializedName = @"host", + PossibleTypes = new [] { typeof(string) })] + public string DatabaseHost { get => _hdInsightClusterBody.DatabaseHost ?? null; set => _hdInsightClusterBody.DatabaseHost = value; } + + /// The database name + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The database name")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The database name", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + public string DatabaseName { get => _hdInsightClusterBody.DatabaseName ?? null; set => _hdInsightClusterBody.DatabaseName = value; } + + /// Reference for the database password + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Reference for the database password")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Reference for the database password", + SerializedName = @"passwordSecretRef", + PossibleTypes = new [] { typeof(string) })] + public string DatabasePasswordSecretRef { get => _hdInsightClusterBody.DatabasePasswordSecretRef ?? null; set => _hdInsightClusterBody.DatabasePasswordSecretRef = value; } + + /// The name of the database user + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The name of the database user")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The name of the database user", + SerializedName = @"username", + PossibleTypes = new [] { typeof(string) })] + public string DatabaseUsername { get => _hdInsightClusterBody.DatabaseUsername ?? null; set => _hdInsightClusterBody.DatabaseUsername = value; } + /// /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet /// against a different subscription @@ -286,6 +343,32 @@ public partial class NewAzHdInsightOnAksCluster_CreateViaIdentityClusterpoolExpa [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Azure)] public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + /// + /// 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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"dataDiskSize", + PossibleTypes = new [] { typeof(int) })] + public int DiskStorageDataDiskSize { get => _hdInsightClusterBody.DiskStorageDataDiskSize ?? default(int); set => _hdInsightClusterBody.DiskStorageDataDiskSize = value; } + + /// Managed Disk Type. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed Disk Type.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Managed Disk Type.", + SerializedName = @"dataDiskType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Standard_HDD_LRS", "Standard_SSD_LRS", "Standard_SSD_ZRS", "Premium_SSD_LRS", "Premium_SSD_ZRS", "Premium_SSD_v2_LRS")] + public string DiskStorageDataDiskType { get => _hdInsightClusterBody.DiskStorageDataDiskType ?? null; set => _hdInsightClusterBody.DiskStorageDataDiskType = value; } + /// True if log analytics is enabled for the cluster, otherwise false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "True if log analytics is enabled for the cluster, otherwise false.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] @@ -335,6 +418,21 @@ public partial class NewAzHdInsightOnAksCluster_CreateViaIdentityClusterpoolExpa PossibleTypes = new [] { typeof(string) })] public string FlinkHiveCatalogDbUserName { get => _hdInsightClusterBody.HiveMetastoreDbConnectionUserName ?? null; set => _hdInsightClusterBody.HiveMetastoreDbConnectionUserName = value; } + /// + /// 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 + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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", + SerializedName = @"deploymentMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Application", "Session")] + public string FlinkProfileDeploymentMode { get => _hdInsightClusterBody.FlinkProfileDeploymentMode ?? null; set => _hdInsightClusterBody.FlinkProfileDeploymentMode = value; } + /// Storage account uri which is used for savepoint and checkpoint state. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Storage account uri which is used for savepoint and checkpoint state.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] @@ -379,6 +477,20 @@ public partial class NewAzHdInsightOnAksCluster_CreateViaIdentityClusterpoolExpa PossibleTypes = new [] { typeof(long) })] public long HistoryServerMemory { get => _hdInsightClusterBody.HistoryServerMemory ?? default(long); set => _hdInsightClusterBody.HistoryServerMemory = value; } + /// + /// The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization", + SerializedName = @"metastoreDbConnectionAuthenticationMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + public string HiveMetastoreDbConnectionAuthenticationMode { get => _hdInsightClusterBody.HiveMetastoreDbConnectionAuthenticationMode ?? null; set => _hdInsightClusterBody.HiveMetastoreDbConnectionAuthenticationMode = value; } + /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] [global::System.Management.Automation.ValidateNotNull] @@ -416,17 +528,113 @@ public partial class NewAzHdInsightOnAksCluster_CreateViaIdentityClusterpoolExpa PossibleTypes = new [] { typeof(long) })] public long JobManagerMemory { get => _hdInsightClusterBody.JobManagerMemory ?? default(long); set => _hdInsightClusterBody.JobManagerMemory = value; } - /// Kafka cluster profile. - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ExportAs(typeof(global::System.Collections.Hashtable))] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kafka cluster profile.")] + /// + /// A string property representing additional JVM arguments for the Flink job. It should be space separated value. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A string property representing additional JVM arguments for the Flink job. It should be space separated value.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"A string property representing additional JVM arguments for the Flink job. It should be space separated value.", + SerializedName = @"args", + PossibleTypes = new [] { typeof(string) })] + public string JobSpecArg { get => _hdInsightClusterBody.JobSpecArg ?? null; set => _hdInsightClusterBody.JobSpecArg = value; } + + /// + /// 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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"entryClass", + PossibleTypes = new [] { typeof(string) })] + public string JobSpecEntryClass { get => _hdInsightClusterBody.JobSpecEntryClass ?? null; set => _hdInsightClusterBody.JobSpecEntryClass = value; } + + /// A string property that represents the name of the job JAR. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A string property that represents the name of the job JAR.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, ReadOnly = false, - Description = @"Kafka cluster profile.", - SerializedName = @"kafkaProfile", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile) })] - public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile KafkaProfile { get => _hdInsightClusterBody.ProfileKafkaProfile ?? null /* object */; set => _hdInsightClusterBody.ProfileKafkaProfile = value; } + Description = @"A string property that represents the name of the job JAR.", + SerializedName = @"jarName", + PossibleTypes = new [] { typeof(string) })] + public string JobSpecJarName { get => _hdInsightClusterBody.JobSpecJarName ?? null; set => _hdInsightClusterBody.JobSpecJarName = value; } + + /// A string property that specifies the directory where the job JAR is located. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A string property that specifies the directory where the job JAR is located.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"A string property that specifies the directory where the job JAR is located.", + SerializedName = @"jobJarDirectory", + PossibleTypes = new [] { typeof(string) })] + public string JobSpecJobJarDirectory { get => _hdInsightClusterBody.JobSpecJobJarDirectory ?? null; set => _hdInsightClusterBody.JobSpecJobJarDirectory = value; } + + /// A string property that represents the name of the savepoint for the Flink job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A string property that represents the name of the savepoint for the Flink job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"A string property that represents the name of the savepoint for the Flink job", + SerializedName = @"savePointName", + PossibleTypes = new [] { typeof(string) })] + public string JobSpecSavePointName { get => _hdInsightClusterBody.JobSpecSavePointName ?? null; set => _hdInsightClusterBody.JobSpecSavePointName = value; } + + /// + /// 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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"upgradeMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("STATELESS_UPDATE", "UPDATE", "LAST_STATE_UPDATE")] + public string JobSpecUpgradeMode { get => _hdInsightClusterBody.JobSpecUpgradeMode ?? null; set => _hdInsightClusterBody.JobSpecUpgradeMode = value; } + + /// Expose Kafka cluster in KRaft mode. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Expose Kafka cluster in KRaft mode.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Expose Kafka cluster in KRaft mode.", + SerializedName = @"enableKRaft", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter KafkaProfileEnableKRaft { get => _hdInsightClusterBody.KafkaProfileEnableKRaft ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.KafkaProfileEnableKRaft = value; } + + /// Expose worker nodes as public endpoints. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Expose worker nodes as public endpoints.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Expose worker nodes as public endpoints.", + SerializedName = @"enablePublicEndpoints", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter KafkaProfileEnablePublicEndpoint { get => _hdInsightClusterBody.KafkaProfileEnablePublicEndpoint ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.KafkaProfileEnablePublicEndpoint = value; } + + /// Fully qualified path of Azure Storage container used for Tiered Storage. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Fully qualified path of Azure Storage container used for Tiered Storage.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Fully qualified path of Azure Storage container used for Tiered Storage.", + SerializedName = @"remoteStorageUri", + PossibleTypes = new [] { typeof(string) })] + public string KafkaProfileRemoteStorageUri { get => _hdInsightClusterBody.KafkaProfileRemoteStorageUri ?? null; set => _hdInsightClusterBody.KafkaProfileRemoteStorageUri = value; } /// /// Name of the user Key Vault where all the cluster specific user secrets are stored. @@ -544,6 +752,20 @@ public partial class NewAzHdInsightOnAksCluster_CreateViaIdentityClusterpoolExpa PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] public global::System.Management.Automation.SwitchParameter LogAnalyticProfileMetricsEnabled { get => _hdInsightClusterBody.LogAnalyticProfileMetricsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.LogAnalyticProfileMetricsEnabled = value; } + /// + /// The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization", + SerializedName = @"dbConnectionAuthenticationMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + public string MetastoreSpecDbConnectionAuthenticationMode { get => _hdInsightClusterBody.MetastoreSpecDbConnectionAuthenticationMode ?? null; set => _hdInsightClusterBody.MetastoreSpecDbConnectionAuthenticationMode = value; } + /// /// cancellation delegate. Stops the cmdlet when called. /// @@ -618,6 +840,109 @@ public partial class NewAzHdInsightOnAksCluster_CreateViaIdentityClusterpoolExpa [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.", + SerializedName = @"admins", + PossibleTypes = new [] { typeof(string) })] + public string[] RangerAdmin { get => _hdInsightClusterBody.RangerAdmin?.ToArray() ?? null /* fixedArrayOf */; set => _hdInsightClusterBody.RangerAdmin = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Azure storage location of the blobs. MSI should have read/write access to this Storage account.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Azure storage location of the blobs. MSI should have read/write access to this Storage account.", + SerializedName = @"storageAccount", + PossibleTypes = new [] { typeof(string) })] + public string RangerAuditStorageAccount { get => _hdInsightClusterBody.RangerAuditStorageAccount ?? null; set => _hdInsightClusterBody.RangerAuditStorageAccount = value; } + + /// Enable Ranger for cluster or not. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Enable Ranger for cluster or not.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Enable Ranger for cluster or not.", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter RangerPluginProfileEnabled { get => _hdInsightClusterBody.RangerPluginProfileEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.RangerPluginProfileEnabled = value; } + + /// Denotes whether usersync service should be enabled + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Denotes whether usersync service should be enabled")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Denotes whether usersync service should be enabled", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter RangerUsersyncEnabled { get => _hdInsightClusterBody.RangerUsersyncEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.RangerUsersyncEnabled = value; } + + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of groups that should be synced. These group names should match the object id of the respective AAD groups.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of groups that should be synced. These group names should match the object id of the respective AAD groups.", + SerializedName = @"groups", + PossibleTypes = new [] { typeof(string) })] + public string[] RangerUsersyncGroup { get => _hdInsightClusterBody.RangerUsersyncGroup?.ToArray() ?? null /* fixedArrayOf */; set => _hdInsightClusterBody.RangerUsersyncGroup = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "User & groups can be synced automatically or via a static list that's refreshed.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"User & groups can be synced automatically or via a static list that's refreshed.", + SerializedName = @"mode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + public string RangerUsersyncMode { get => _hdInsightClusterBody.RangerUsersyncMode ?? null; set => _hdInsightClusterBody.RangerUsersyncMode = value; } + + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.", + SerializedName = @"users", + PossibleTypes = new [] { typeof(string) })] + public string[] RangerUsersyncUser { get => _hdInsightClusterBody.RangerUsersyncUser?.ToArray() ?? null /* fixedArrayOf */; set => _hdInsightClusterBody.RangerUsersyncUser = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// Azure storage location of a mapping file that lists user & group associations. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Azure storage location of a mapping file that lists user & group associations.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Azure storage location of a mapping file that lists user & group associations.", + SerializedName = @"userMappingLocation", + PossibleTypes = new [] { typeof(string) })] + public string RangerUsersyncUserMappingLocation { get => _hdInsightClusterBody.RangerUsersyncUserMappingLocation ?? null; set => _hdInsightClusterBody.RangerUsersyncUserMappingLocation = value; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) @@ -1037,6 +1362,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -1286,6 +1621,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaIdentityExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaIdentityExpanded.cs index 1fed1703dfa3..3a521120b20d 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaIdentityExpanded.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaIdentityExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Creates a cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] public partial class NewAzHdInsightOnAksCluster_CreateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -187,6 +187,19 @@ public partial class NewAzHdInsightOnAksCluster_CreateViaIdentityExpanded : glob /// The reference to the client API class. public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HdInsightOnAks Client => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.ClientAPI; + /// + /// Whether to create cluster using private IP instead of public IP. This property must be set at create time. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Whether to create cluster using private IP instead of public IP. This property must be set at create time.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Whether to create cluster using private IP instead of public IP. This property must be set at create time.", + SerializedName = @"enableInternalIngress", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter ClusterAccessProfileEnableInternalIngress { get => _hdInsightClusterBody.AccessProfileEnableInternalIngress ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.AccessProfileEnableInternalIngress = value; } + /// The type of cluster. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The type of cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] @@ -268,6 +281,50 @@ public partial class NewAzHdInsightOnAksCluster_CreateViaIdentityExpanded : glob PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] public global::System.Management.Automation.SwitchParameter CoordinatorHighAvailabilityEnabled { get => _hdInsightClusterBody.CoordinatorHighAvailabilityEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.CoordinatorHighAvailabilityEnabled = value; } + /// The database URL + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The database URL")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The database URL", + SerializedName = @"host", + PossibleTypes = new [] { typeof(string) })] + public string DatabaseHost { get => _hdInsightClusterBody.DatabaseHost ?? null; set => _hdInsightClusterBody.DatabaseHost = value; } + + /// The database name + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The database name")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The database name", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + public string DatabaseName { get => _hdInsightClusterBody.DatabaseName ?? null; set => _hdInsightClusterBody.DatabaseName = value; } + + /// Reference for the database password + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Reference for the database password")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Reference for the database password", + SerializedName = @"passwordSecretRef", + PossibleTypes = new [] { typeof(string) })] + public string DatabasePasswordSecretRef { get => _hdInsightClusterBody.DatabasePasswordSecretRef ?? null; set => _hdInsightClusterBody.DatabasePasswordSecretRef = value; } + + /// The name of the database user + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The name of the database user")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The name of the database user", + SerializedName = @"username", + PossibleTypes = new [] { typeof(string) })] + public string DatabaseUsername { get => _hdInsightClusterBody.DatabaseUsername ?? null; set => _hdInsightClusterBody.DatabaseUsername = value; } + /// /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet /// against a different subscription @@ -278,6 +335,32 @@ public partial class NewAzHdInsightOnAksCluster_CreateViaIdentityExpanded : glob [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Azure)] public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + /// + /// 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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"dataDiskSize", + PossibleTypes = new [] { typeof(int) })] + public int DiskStorageDataDiskSize { get => _hdInsightClusterBody.DiskStorageDataDiskSize ?? default(int); set => _hdInsightClusterBody.DiskStorageDataDiskSize = value; } + + /// Managed Disk Type. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed Disk Type.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Managed Disk Type.", + SerializedName = @"dataDiskType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Standard_HDD_LRS", "Standard_SSD_LRS", "Standard_SSD_ZRS", "Premium_SSD_LRS", "Premium_SSD_ZRS", "Premium_SSD_v2_LRS")] + public string DiskStorageDataDiskType { get => _hdInsightClusterBody.DiskStorageDataDiskType ?? null; set => _hdInsightClusterBody.DiskStorageDataDiskType = value; } + /// True if log analytics is enabled for the cluster, otherwise false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "True if log analytics is enabled for the cluster, otherwise false.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] @@ -327,6 +410,21 @@ public partial class NewAzHdInsightOnAksCluster_CreateViaIdentityExpanded : glob PossibleTypes = new [] { typeof(string) })] public string FlinkHiveCatalogDbUserName { get => _hdInsightClusterBody.HiveMetastoreDbConnectionUserName ?? null; set => _hdInsightClusterBody.HiveMetastoreDbConnectionUserName = value; } + /// + /// 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 + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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", + SerializedName = @"deploymentMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("Application", "Session")] + public string FlinkProfileDeploymentMode { get => _hdInsightClusterBody.FlinkProfileDeploymentMode ?? null; set => _hdInsightClusterBody.FlinkProfileDeploymentMode = value; } + /// Storage account uri which is used for savepoint and checkpoint state. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Storage account uri which is used for savepoint and checkpoint state.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] @@ -371,6 +469,20 @@ public partial class NewAzHdInsightOnAksCluster_CreateViaIdentityExpanded : glob PossibleTypes = new [] { typeof(long) })] public long HistoryServerMemory { get => _hdInsightClusterBody.HistoryServerMemory ?? default(long); set => _hdInsightClusterBody.HistoryServerMemory = value; } + /// + /// The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization", + SerializedName = @"metastoreDbConnectionAuthenticationMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + public string HiveMetastoreDbConnectionAuthenticationMode { get => _hdInsightClusterBody.HiveMetastoreDbConnectionAuthenticationMode ?? null; set => _hdInsightClusterBody.HiveMetastoreDbConnectionAuthenticationMode = value; } + /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] [global::System.Management.Automation.ValidateNotNull] @@ -416,17 +528,113 @@ public partial class NewAzHdInsightOnAksCluster_CreateViaIdentityExpanded : glob PossibleTypes = new [] { typeof(long) })] public long JobManagerMemory { get => _hdInsightClusterBody.JobManagerMemory ?? default(long); set => _hdInsightClusterBody.JobManagerMemory = value; } - /// Kafka cluster profile. - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ExportAs(typeof(global::System.Collections.Hashtable))] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kafka cluster profile.")] + /// + /// A string property representing additional JVM arguments for the Flink job. It should be space separated value. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A string property representing additional JVM arguments for the Flink job. It should be space separated value.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"A string property representing additional JVM arguments for the Flink job. It should be space separated value.", + SerializedName = @"args", + PossibleTypes = new [] { typeof(string) })] + public string JobSpecArg { get => _hdInsightClusterBody.JobSpecArg ?? null; set => _hdInsightClusterBody.JobSpecArg = value; } + + /// + /// 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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"entryClass", + PossibleTypes = new [] { typeof(string) })] + public string JobSpecEntryClass { get => _hdInsightClusterBody.JobSpecEntryClass ?? null; set => _hdInsightClusterBody.JobSpecEntryClass = value; } + + /// A string property that represents the name of the job JAR. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A string property that represents the name of the job JAR.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( Required = false, ReadOnly = false, - Description = @"Kafka cluster profile.", - SerializedName = @"kafkaProfile", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile) })] - public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterProfileKafkaProfile KafkaProfile { get => _hdInsightClusterBody.ProfileKafkaProfile ?? null /* object */; set => _hdInsightClusterBody.ProfileKafkaProfile = value; } + Description = @"A string property that represents the name of the job JAR.", + SerializedName = @"jarName", + PossibleTypes = new [] { typeof(string) })] + public string JobSpecJarName { get => _hdInsightClusterBody.JobSpecJarName ?? null; set => _hdInsightClusterBody.JobSpecJarName = value; } + + /// A string property that specifies the directory where the job JAR is located. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A string property that specifies the directory where the job JAR is located.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"A string property that specifies the directory where the job JAR is located.", + SerializedName = @"jobJarDirectory", + PossibleTypes = new [] { typeof(string) })] + public string JobSpecJobJarDirectory { get => _hdInsightClusterBody.JobSpecJobJarDirectory ?? null; set => _hdInsightClusterBody.JobSpecJobJarDirectory = value; } + + /// A string property that represents the name of the savepoint for the Flink job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A string property that represents the name of the savepoint for the Flink job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"A string property that represents the name of the savepoint for the Flink job", + SerializedName = @"savePointName", + PossibleTypes = new [] { typeof(string) })] + public string JobSpecSavePointName { get => _hdInsightClusterBody.JobSpecSavePointName ?? null; set => _hdInsightClusterBody.JobSpecSavePointName = value; } + + /// + /// 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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"upgradeMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("STATELESS_UPDATE", "UPDATE", "LAST_STATE_UPDATE")] + public string JobSpecUpgradeMode { get => _hdInsightClusterBody.JobSpecUpgradeMode ?? null; set => _hdInsightClusterBody.JobSpecUpgradeMode = value; } + + /// Expose Kafka cluster in KRaft mode. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Expose Kafka cluster in KRaft mode.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Expose Kafka cluster in KRaft mode.", + SerializedName = @"enableKRaft", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter KafkaProfileEnableKRaft { get => _hdInsightClusterBody.KafkaProfileEnableKRaft ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.KafkaProfileEnableKRaft = value; } + + /// Expose worker nodes as public endpoints. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Expose worker nodes as public endpoints.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Expose worker nodes as public endpoints.", + SerializedName = @"enablePublicEndpoints", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter KafkaProfileEnablePublicEndpoint { get => _hdInsightClusterBody.KafkaProfileEnablePublicEndpoint ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.KafkaProfileEnablePublicEndpoint = value; } + + /// Fully qualified path of Azure Storage container used for Tiered Storage. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Fully qualified path of Azure Storage container used for Tiered Storage.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Fully qualified path of Azure Storage container used for Tiered Storage.", + SerializedName = @"remoteStorageUri", + PossibleTypes = new [] { typeof(string) })] + public string KafkaProfileRemoteStorageUri { get => _hdInsightClusterBody.KafkaProfileRemoteStorageUri ?? null; set => _hdInsightClusterBody.KafkaProfileRemoteStorageUri = value; } /// /// Name of the user Key Vault where all the cluster specific user secrets are stored. @@ -544,6 +752,20 @@ public partial class NewAzHdInsightOnAksCluster_CreateViaIdentityExpanded : glob PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] public global::System.Management.Automation.SwitchParameter LogAnalyticProfileMetricsEnabled { get => _hdInsightClusterBody.LogAnalyticProfileMetricsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.LogAnalyticProfileMetricsEnabled = value; } + /// + /// The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manageview=azuresql#authentication-and-authorization", + SerializedName = @"dbConnectionAuthenticationMode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("SqlAuth", "IdentityAuth")] + public string MetastoreSpecDbConnectionAuthenticationMode { get => _hdInsightClusterBody.MetastoreSpecDbConnectionAuthenticationMode ?? null; set => _hdInsightClusterBody.MetastoreSpecDbConnectionAuthenticationMode = value; } + /// /// cancellation delegate. Stops the cmdlet when called. /// @@ -603,6 +825,109 @@ public partial class NewAzHdInsightOnAksCluster_CreateViaIdentityExpanded : glob [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.", + SerializedName = @"admins", + PossibleTypes = new [] { typeof(string) })] + public string[] RangerAdmin { get => _hdInsightClusterBody.RangerAdmin?.ToArray() ?? null /* fixedArrayOf */; set => _hdInsightClusterBody.RangerAdmin = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Azure storage location of the blobs. MSI should have read/write access to this Storage account.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Azure storage location of the blobs. MSI should have read/write access to this Storage account.", + SerializedName = @"storageAccount", + PossibleTypes = new [] { typeof(string) })] + public string RangerAuditStorageAccount { get => _hdInsightClusterBody.RangerAuditStorageAccount ?? null; set => _hdInsightClusterBody.RangerAuditStorageAccount = value; } + + /// Enable Ranger for cluster or not. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Enable Ranger for cluster or not.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Enable Ranger for cluster or not.", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter RangerPluginProfileEnabled { get => _hdInsightClusterBody.RangerPluginProfileEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.RangerPluginProfileEnabled = value; } + + /// Denotes whether usersync service should be enabled + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Denotes whether usersync service should be enabled")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Denotes whether usersync service should be enabled", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter RangerUsersyncEnabled { get => _hdInsightClusterBody.RangerUsersyncEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _hdInsightClusterBody.RangerUsersyncEnabled = value; } + + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of groups that should be synced. These group names should match the object id of the respective AAD groups.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of groups that should be synced. These group names should match the object id of the respective AAD groups.", + SerializedName = @"groups", + PossibleTypes = new [] { typeof(string) })] + public string[] RangerUsersyncGroup { get => _hdInsightClusterBody.RangerUsersyncGroup?.ToArray() ?? null /* fixedArrayOf */; set => _hdInsightClusterBody.RangerUsersyncGroup = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "User & groups can be synced automatically or via a static list that's refreshed.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"User & groups can be synced automatically or via a static list that's refreshed.", + SerializedName = @"mode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + public string RangerUsersyncMode { get => _hdInsightClusterBody.RangerUsersyncMode ?? null; set => _hdInsightClusterBody.RangerUsersyncMode = value; } + + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.", + SerializedName = @"users", + PossibleTypes = new [] { typeof(string) })] + public string[] RangerUsersyncUser { get => _hdInsightClusterBody.RangerUsersyncUser?.ToArray() ?? null /* fixedArrayOf */; set => _hdInsightClusterBody.RangerUsersyncUser = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// Azure storage location of a mapping file that lists user & group associations. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Azure storage location of a mapping file that lists user & group associations.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Azure storage location of a mapping file that lists user & group associations.", + SerializedName = @"userMappingLocation", + PossibleTypes = new [] { typeof(string) })] + public string RangerUsersyncUserMappingLocation { get => _hdInsightClusterBody.RangerUsersyncUserMappingLocation ?? null; set => _hdInsightClusterBody.RangerUsersyncUserMappingLocation = value; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) @@ -1019,6 +1344,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -1270,6 +1605,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaJsonFilePath.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaJsonFilePath.cs index b56f151d60fc..7bdc4bd2d675 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaJsonFilePath.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaJsonFilePath.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Creates a cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.NotSuggestDefaultParameterSet] public partial class NewAzHdInsightOnAksCluster_CreateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, @@ -284,6 +284,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -503,6 +513,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaJsonString.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaJsonString.cs index 029e6d7d6520..94a4e0d02c5e 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaJsonString.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/NewAzHdInsightOnAksCluster_CreateViaJsonString.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Creates a cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.NotSuggestDefaultParameterSet] public partial class NewAzHdInsightOnAksCluster_CreateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, @@ -282,6 +282,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -501,6 +511,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/RemoveAzHdInsightOnAksClusterPool_Delete.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/RemoveAzHdInsightOnAksClusterPool_Delete.cs index e650de05ccce..3da615552f22 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/RemoveAzHdInsightOnAksClusterPool_Delete.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/RemoveAzHdInsightOnAksClusterPool_Delete.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Deletes a Cluster Pool.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-11-01-preview")] public partial class RemoveAzHdInsightOnAksClusterPool_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -266,6 +266,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -485,6 +495,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/RemoveAzHdInsightOnAksClusterPool_DeleteViaIdentity.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/RemoveAzHdInsightOnAksClusterPool_DeleteViaIdentity.cs index b0221185c9b8..02cb9f607b22 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/RemoveAzHdInsightOnAksClusterPool_DeleteViaIdentity.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/RemoveAzHdInsightOnAksClusterPool_DeleteViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Deletes a Cluster Pool.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-11-01-preview")] public partial class RemoveAzHdInsightOnAksClusterPool_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -223,6 +223,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -462,6 +472,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/RemoveAzHdInsightOnAksCluster_Delete.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/RemoveAzHdInsightOnAksCluster_Delete.cs index 2a13c5282296..c23036dc51f2 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/RemoveAzHdInsightOnAksCluster_Delete.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/RemoveAzHdInsightOnAksCluster_Delete.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Deletes a cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] public partial class RemoveAzHdInsightOnAksCluster_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -282,6 +282,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -501,6 +511,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/RemoveAzHdInsightOnAksCluster_DeleteViaIdentity.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/RemoveAzHdInsightOnAksCluster_DeleteViaIdentity.cs index 51106d4fc5d0..bdb2f34dcf16 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/RemoveAzHdInsightOnAksCluster_DeleteViaIdentity.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/RemoveAzHdInsightOnAksCluster_DeleteViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Deletes a cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] public partial class RemoveAzHdInsightOnAksCluster_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -223,6 +223,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -466,6 +476,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/RemoveAzHdInsightOnAksCluster_DeleteViaIdentityClusterpool.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/RemoveAzHdInsightOnAksCluster_DeleteViaIdentityClusterpool.cs index 78fbe9fc3dae..73cf822fadc3 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/RemoveAzHdInsightOnAksCluster_DeleteViaIdentityClusterpool.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/RemoveAzHdInsightOnAksCluster_DeleteViaIdentityClusterpool.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Deletes a cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] public partial class RemoveAzHdInsightOnAksCluster_DeleteViaIdentityClusterpool : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -241,6 +241,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -481,6 +491,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_Resize.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_Resize.cs index 3d0be825737a..19a600068206 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_Resize.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_Resize.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Resize an existing Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/resize", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/resize", ApiVersion = "2023-11-01-preview")] public partial class ResizeAzHdInsightOnAksCluster_Resize : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -282,6 +282,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -501,6 +511,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeExpanded.cs index 2bdae31e0056..28df69cbfb17 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeExpanded.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Resize an existing Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/resize", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/resize", ApiVersion = "2023-11-01-preview")] public partial class ResizeAzHdInsightOnAksCluster_ResizeExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -305,6 +305,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -524,6 +534,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaIdentity.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaIdentity.cs index e9d081a39770..d485640c8433 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaIdentity.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Resize an existing Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/resize", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/resize", ApiVersion = "2023-11-01-preview")] public partial class ResizeAzHdInsightOnAksCluster_ResizeViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -223,6 +223,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -466,6 +476,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaIdentityClusterpool.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaIdentityClusterpool.cs index 67008b2947a5..268ad0ca59db 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaIdentityClusterpool.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaIdentityClusterpool.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Resize an existing Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/resize", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/resize", ApiVersion = "2023-11-01-preview")] public partial class ResizeAzHdInsightOnAksCluster_ResizeViaIdentityClusterpool : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -241,6 +241,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -481,6 +491,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaIdentityClusterpoolExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaIdentityClusterpoolExpanded.cs index 46753e9d55f4..7d38b4959e02 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaIdentityClusterpoolExpanded.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaIdentityClusterpoolExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Resize an existing Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/resize", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/resize", ApiVersion = "2023-11-01-preview")] public partial class ResizeAzHdInsightOnAksCluster_ResizeViaIdentityClusterpoolExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -264,6 +264,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -505,6 +515,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaIdentityExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaIdentityExpanded.cs index a8ec70532654..4e7d398e472e 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaIdentityExpanded.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaIdentityExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Resize an existing Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/resize", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/resize", ApiVersion = "2023-11-01-preview")] public partial class ResizeAzHdInsightOnAksCluster_ResizeViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -246,6 +246,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -489,6 +499,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaJsonFilePath.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaJsonFilePath.cs index 3c5b6dde60ff..fa99ec05c91a 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaJsonFilePath.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaJsonFilePath.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Resize an existing Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/resize", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/resize", ApiVersion = "2023-11-01-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.NotSuggestDefaultParameterSet] public partial class ResizeAzHdInsightOnAksCluster_ResizeViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, @@ -284,6 +284,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -503,6 +513,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaJsonString.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaJsonString.cs index 2ac03f86f486..f7db1a87f771 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaJsonString.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/ResizeAzHdInsightOnAksCluster_ResizeViaJsonString.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Resize an existing Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/resize", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/resize", ApiVersion = "2023-11-01-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.NotSuggestDefaultParameterSet] public partial class ResizeAzHdInsightOnAksCluster_ResizeViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, @@ -282,6 +282,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -501,6 +511,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/SetAzHdInsightOnAksClusterPool_Update.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/SetAzHdInsightOnAksClusterPool_Update.cs index 3691b75f2802..1f205e37fcaf 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/SetAzHdInsightOnAksClusterPool_Update.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/SetAzHdInsightOnAksClusterPool_Update.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Create a cluster pool.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-11-01-preview")] public partial class SetAzHdInsightOnAksClusterPool_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -266,6 +266,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -453,7 +463,7 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.ClusterPoolsCreateOrUpdate(SubscriptionId, ResourceGroupName, Name, ClusterPool, onOk, onDefault, this, Pipeline); + await this.Client.ClusterPoolsCreateOrUpdate(SubscriptionId, ResourceGroupName, Name, ClusterPool, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate); await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException urexception) @@ -485,6 +495,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/SetAzHdInsightOnAksClusterPool_UpdateExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/SetAzHdInsightOnAksClusterPool_UpdateExpanded.cs index bfc9975e0838..4ab123928b27 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/SetAzHdInsightOnAksClusterPool_UpdateExpanded.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/SetAzHdInsightOnAksClusterPool_UpdateExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Create a cluster pool.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-11-01-preview")] public partial class SetAzHdInsightOnAksClusterPool_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -178,6 +178,50 @@ public partial class SetAzHdInsightOnAksClusterPool_UpdateExpanded : global::Sys [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] public string Name { get => this._name; set => this._name = value; } + /// + /// IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. + /// So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time.", + SerializedName = @"apiServerAuthorizedIpRanges", + PossibleTypes = new [] { typeof(string) })] + public string[] NetworkProfileApiServerAuthorizedIPRange { get => _clusterPoolBody.NetworkProfileApiServerAuthorizedIPRange?.ToArray() ?? null /* fixedArrayOf */; set => _clusterPoolBody.NetworkProfileApiServerAuthorizedIPRange = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// + /// ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this + /// property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public + /// internet. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet.", + SerializedName = @"enablePrivateApiServer", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter NetworkProfileEnablePrivateApiServer { get => _clusterPoolBody.NetworkProfileEnablePrivateApiServer ?? default(global::System.Management.Automation.SwitchParameter); set => _clusterPoolBody.NetworkProfileEnablePrivateApiServer = value; } + + /// + /// This can only be set at cluster pool creation time and cannot be changed later. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "This can only be set at cluster pool creation time and cannot be changed later. ")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"This can only be set at cluster pool creation time and cannot be changed later. ", + SerializedName = @"outboundType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("loadBalancer", "userDefinedRouting")] + public string NetworkProfileOutboundType { get => _clusterPoolBody.NetworkProfileOutboundType ?? null; set => _clusterPoolBody.NetworkProfileOutboundType = value; } + /// /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue /// asynchronously. @@ -348,6 +392,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -535,7 +589,7 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.ClusterPoolsCreateOrUpdate(SubscriptionId, ResourceGroupName, Name, _clusterPoolBody, onOk, onDefault, this, Pipeline); + await this.Client.ClusterPoolsCreateOrUpdate(SubscriptionId, ResourceGroupName, Name, _clusterPoolBody, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SerializationMode.IncludeCreate); await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException urexception) @@ -567,6 +621,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/SetAzHdInsightOnAksClusterPool_UpdateViaJsonFilePath.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/SetAzHdInsightOnAksClusterPool_UpdateViaJsonFilePath.cs index 8d5a74a2a62d..0e1963f42902 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/SetAzHdInsightOnAksClusterPool_UpdateViaJsonFilePath.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/SetAzHdInsightOnAksClusterPool_UpdateViaJsonFilePath.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Create a cluster pool.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-11-01-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.NotSuggestDefaultParameterSet] public partial class SetAzHdInsightOnAksClusterPool_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, @@ -268,6 +268,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -487,6 +497,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/SetAzHdInsightOnAksClusterPool_UpdateViaJsonString.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/SetAzHdInsightOnAksClusterPool_UpdateViaJsonString.cs index 070e7c852d13..ca761b1e9b1f 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/SetAzHdInsightOnAksClusterPool_UpdateViaJsonString.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/SetAzHdInsightOnAksClusterPool_UpdateViaJsonString.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Create a cluster pool.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-11-01-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.NotSuggestDefaultParameterSet] public partial class SetAzHdInsightOnAksClusterPool_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, @@ -266,6 +266,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -485,6 +495,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_Run.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_Run.cs index 54d2a7d6d897..57c734200d43 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_Run.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_Run.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Operations on jobs of HDInsight on AKS cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/runJob", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/runJob", ApiVersion = "2023-11-01-preview")] public partial class StartAzHdInsightOnAksClusterJob_Run : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -280,6 +280,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -499,6 +509,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunExpanded.cs index ff55bd63739d..03e65a03f54b 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunExpanded.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Operations on jobs of HDInsight on AKS cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/runJob", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/runJob", ApiVersion = "2023-11-01-preview")] public partial class StartAzHdInsightOnAksClusterJob_RunExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -269,6 +269,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -488,6 +498,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaIdentity.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaIdentity.cs index 6176ffa04b1f..334c80e83fc7 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaIdentity.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Operations on jobs of HDInsight on AKS cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/runJob", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/runJob", ApiVersion = "2023-11-01-preview")] public partial class StartAzHdInsightOnAksClusterJob_RunViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -223,6 +223,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -466,6 +476,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaIdentityClusterpool.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaIdentityClusterpool.cs index ebe9bed1e57a..1656e4ad709c 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaIdentityClusterpool.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaIdentityClusterpool.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Operations on jobs of HDInsight on AKS cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/runJob", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/runJob", ApiVersion = "2023-11-01-preview")] public partial class StartAzHdInsightOnAksClusterJob_RunViaIdentityClusterpool : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -240,6 +240,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -480,6 +490,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaIdentityClusterpoolExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaIdentityClusterpoolExpanded.cs index eede2cb08c20..6104e06b5bba 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaIdentityClusterpoolExpanded.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaIdentityClusterpoolExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Operations on jobs of HDInsight on AKS cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/runJob", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/runJob", ApiVersion = "2023-11-01-preview")] public partial class StartAzHdInsightOnAksClusterJob_RunViaIdentityClusterpoolExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -229,6 +229,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -470,6 +480,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaIdentityExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaIdentityExpanded.cs index 4da5599f2515..e04c3227154e 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaIdentityExpanded.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaIdentityExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Operations on jobs of HDInsight on AKS cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/runJob", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/runJob", ApiVersion = "2023-11-01-preview")] public partial class StartAzHdInsightOnAksClusterJob_RunViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -212,6 +212,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -455,6 +465,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaJsonFilePath.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaJsonFilePath.cs index 9ceaaf89b195..af2af7d8939a 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaJsonFilePath.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaJsonFilePath.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Operations on jobs of HDInsight on AKS cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/runJob", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/runJob", ApiVersion = "2023-11-01-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.NotSuggestDefaultParameterSet] public partial class StartAzHdInsightOnAksClusterJob_RunViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, @@ -282,6 +282,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -501,6 +511,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaJsonString.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaJsonString.cs index 8cd3c38c81ba..89cd85fc6af3 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaJsonString.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/StartAzHdInsightOnAksClusterJob_RunViaJsonString.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Operations on jobs of HDInsight on AKS cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/runJob", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/runJob", ApiVersion = "2023-11-01-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.NotSuggestDefaultParameterSet] public partial class StartAzHdInsightOnAksClusterJob_RunViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, @@ -280,6 +280,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -499,6 +509,21 @@ protected override void StopProcessing() base.StopProcessing(); } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_Check.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_Check.cs index 5b50af74f152..a7879ee6a1f8 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_Check.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_Check.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INameAvailabilityResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Check the availability of the resource name.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability", ApiVersion = "2023-11-01-preview")] public partial class TestAzHdInsightOnAksLocationNameAvailability_Check : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -214,6 +214,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -387,6 +397,21 @@ public TestAzHdInsightOnAksLocationNameAvailability_Check() } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_CheckExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_CheckExpanded.cs index 51df73a2dff1..6c9b7bdaa617 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_CheckExpanded.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_CheckExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INameAvailabilityResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Check the availability of the resource name.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability", ApiVersion = "2023-11-01-preview")] public partial class TestAzHdInsightOnAksLocationNameAvailability_CheckExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -225,6 +225,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -398,6 +408,21 @@ public TestAzHdInsightOnAksLocationNameAvailability_CheckExpanded() } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_CheckViaIdentity.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_CheckViaIdentity.cs index 94b3ca412bf8..6470b5d8cbac 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_CheckViaIdentity.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_CheckViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INameAvailabilityResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Check the availability of the resource name.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability", ApiVersion = "2023-11-01-preview")] public partial class TestAzHdInsightOnAksLocationNameAvailability_CheckViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -189,6 +189,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -379,6 +389,21 @@ public TestAzHdInsightOnAksLocationNameAvailability_CheckViaIdentity() } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_CheckViaIdentityExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_CheckViaIdentityExpanded.cs index a414a224dea0..ac3a4acee1be 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_CheckViaIdentityExpanded.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_CheckViaIdentityExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INameAvailabilityResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Check the availability of the resource name.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability", ApiVersion = "2023-11-01-preview")] public partial class TestAzHdInsightOnAksLocationNameAvailability_CheckViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -200,6 +200,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -390,6 +400,21 @@ public TestAzHdInsightOnAksLocationNameAvailability_CheckViaIdentityExpanded() } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_CheckViaJsonFilePath.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_CheckViaJsonFilePath.cs index 74eea0d498b5..8a4ac5af1fe7 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_CheckViaJsonFilePath.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_CheckViaJsonFilePath.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INameAvailabilityResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Check the availability of the resource name.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability", ApiVersion = "2023-11-01-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.NotSuggestDefaultParameterSet] public partial class TestAzHdInsightOnAksLocationNameAvailability_CheckViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, @@ -216,6 +216,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -390,6 +400,21 @@ public TestAzHdInsightOnAksLocationNameAvailability_CheckViaJsonFilePath() } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_CheckViaJsonString.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_CheckViaJsonString.cs index 1e1e4cf711c2..80c8ee6ee9f1 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_CheckViaJsonString.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/TestAzHdInsightOnAksLocationNameAvailability_CheckViaJsonString.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INameAvailabilityResult))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Check the availability of the resource name.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability", ApiVersion = "2023-11-01-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.NotSuggestDefaultParameterSet] public partial class TestAzHdInsightOnAksLocationNameAvailability_CheckViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, @@ -214,6 +214,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -388,6 +398,21 @@ public TestAzHdInsightOnAksLocationNameAvailability_CheckViaJsonString() } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_Update.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_Update.cs index 16b2a9a4ffcb..3b3ac022a321 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_Update.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_Update.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Updates an existing Cluster Pool Tags.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-11-01-preview")] public partial class UpdateAzHdInsightOnAksClusterPoolTag_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -265,6 +265,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -484,6 +494,21 @@ public UpdateAzHdInsightOnAksClusterPoolTag_Update() } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_UpdateExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_UpdateExpanded.cs index c23135b9d673..943425a720bb 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_UpdateExpanded.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_UpdateExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Updates an existing Cluster Pool Tags.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-11-01-preview")] public partial class UpdateAzHdInsightOnAksClusterPoolTag_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -266,6 +266,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -485,6 +495,21 @@ public UpdateAzHdInsightOnAksClusterPoolTag_UpdateExpanded() } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaIdentity.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaIdentity.cs index 8f331c1163b9..4c596d7236db 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaIdentity.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Updates an existing Cluster Pool Tags.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-11-01-preview")] public partial class UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -223,6 +223,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -462,6 +472,21 @@ public UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaIdentity() } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaIdentityExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaIdentityExpanded.cs index 99d43ba56612..5986b9f40cea 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaIdentityExpanded.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaIdentityExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Updates an existing Cluster Pool Tags.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-11-01-preview")] public partial class UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -226,6 +226,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -466,6 +476,21 @@ public UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaIdentityExpanded() } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaJsonFilePath.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaJsonFilePath.cs index ca96eb3f4c75..c98798e20d61 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaJsonFilePath.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaJsonFilePath.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Updates an existing Cluster Pool Tags.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-11-01-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.NotSuggestDefaultParameterSet] public partial class UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, @@ -269,6 +269,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -488,6 +498,21 @@ public UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaJsonFilePath() } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaJsonString.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaJsonString.cs index 4b4eb5e45145..519eecc34261 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaJsonString.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaJsonString.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Updates an existing Cluster Pool Tags.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}", ApiVersion = "2023-11-01-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.NotSuggestDefaultParameterSet] public partial class UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, @@ -267,6 +267,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -486,6 +496,21 @@ public UpdateAzHdInsightOnAksClusterPoolTag_UpdateViaJsonString() } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPool_Upgrade.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPool_Upgrade.cs new file mode 100644 index 000000000000..c824010067b2 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPool_Upgrade.cs @@ -0,0 +1,597 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Cmdlets; + using System; + + /// Upgrade a cluster pool. + /// + /// [OpenAPI] Upgrade=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/upgrade" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzHdInsightOnAksClusterPool_Upgrade", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Upgrade a cluster pool.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/upgrade", ApiVersion = "2023-11-01-preview")] + public partial class UpdateAzHdInsightOnAksClusterPool_Upgrade : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// A dictionary to carry over additional data for pipeline. + private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); + + /// A buffer to record first returned object in response. + private object _firstResponse = null; + + /// + /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. + /// Two means multiple returned objects in response. + /// + private int _responseSize = 0; + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// Accessor for cancellationTokenSource. + public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HdInsightOnAks Client => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.ClientAPI; + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade _clusterPoolUpgradeRequest; + + /// Cluster Pool Upgrade. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Cluster Pool Upgrade.", ValueFromPipeline = true)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Cluster Pool Upgrade.", + SerializedName = @"clusterPoolUpgradeRequest", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade ClusterPoolUpgradeRequest { get => this._clusterPoolUpgradeRequest; set => this._clusterPoolUpgradeRequest = value; } + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// Accessor for extensibleParameters. + public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// The name of the cluster pool. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the cluster pool.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the cluster pool.", + SerializedName = @"clusterPoolName", + PossibleTypes = new [] { typeof(string) })] + [global::System.Management.Automation.Alias("ClusterPoolName")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// + /// The instance of the that the remote call will use. + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group. The name is case insensitive. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group. The name is case insensitive.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// The ID of the target subscription. The value must be an UUID. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription. The value must be an UUID.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The ID of the target subscription. The value must be an UUID.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id", + SetCondition = @"")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// a duplicate instance of UpdateAzHdInsightOnAksClusterPool_Upgrade + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets.UpdateAzHdInsightOnAksClusterPool_Upgrade Clone() + { + var clone = new UpdateAzHdInsightOnAksClusterPool_Upgrade(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.SubscriptionId = this.SubscriptionId; + clone.ResourceGroupName = this.ResourceGroupName; + clone.Name = this.Name; + clone.ClusterPoolUpgradeRequest = this.ClusterPoolUpgradeRequest; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse); + } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress: + { + var data = messageData(); + int progress = (int)data.Value; + string activityMessage, statusDescription; + global::System.Management.Automation.ProgressRecordType recordType; + if (progress < 100) + { + activityMessage = "In progress"; + statusDescription = "Checking operation status"; + recordType = System.Management.Automation.ProgressRecordType.Processing; + } + else + { + activityMessage = "Completed"; + statusDescription = "Completed"; + recordType = System.Management.Automation.ProgressRecordType.Completed; + } + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) + { + PercentComplete = progress, + RecordType = recordType + }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling: + { + var data = messageData(); + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + else + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + WriteDebug($"Delaying {delay} seconds before polling."); + for (var now = 0; now < delay; ++now) + { + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") + { + PercentComplete = now * 100 / delay + }); + await global::System.Threading.Tasks.Task.Delay(1000, token); + } + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ClusterPoolsUpgrade' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.ClusterPoolsUpgrade(SubscriptionId, ResourceGroupName, Name, ClusterPoolUpgradeRequest, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,Name=Name}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Initializes a new instance of the cmdlet class. + /// + public UpdateAzHdInsightOnAksClusterPool_Upgrade() + { + + } + + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + var result = (await response); + if (null != result) + { + if (0 == _responseSize) + { + _firstResponse = result; + _responseSize = 1; + } + else + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); + } + WriteObject(result.AddMultipleTypeNameIntoPSObject()); + _responseSize = 2; + } + } + } + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPool_UpgradeExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPool_UpgradeExpanded.cs new file mode 100644 index 000000000000..2947a0b4bfd8 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPool_UpgradeExpanded.cs @@ -0,0 +1,598 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Cmdlets; + using System; + + /// Upgrade a cluster pool. + /// + /// [OpenAPI] Upgrade=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/upgrade" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzHdInsightOnAksClusterPool_UpgradeExpanded", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Upgrade a cluster pool.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/upgrade", ApiVersion = "2023-11-01-preview")] + public partial class UpdateAzHdInsightOnAksClusterPool_UpgradeExpanded : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Cluster Pool Upgrade. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade _clusterPoolUpgradeRequestBody = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgrade(); + + /// A dictionary to carry over additional data for pipeline. + private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); + + /// A buffer to record first returned object in response. + private object _firstResponse = null; + + /// + /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. + /// Two means multiple returned objects in response. + /// + private int _responseSize = 0; + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// Accessor for cancellationTokenSource. + public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HdInsightOnAks Client => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.ClientAPI; + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// Accessor for extensibleParameters. + public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// The name of the cluster pool. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the cluster pool.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the cluster pool.", + SerializedName = @"clusterPoolName", + PossibleTypes = new [] { typeof(string) })] + [global::System.Management.Automation.Alias("ClusterPoolName")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// + /// The instance of the that the remote call will use. + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group. The name is case insensitive. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group. The name is case insensitive.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// The ID of the target subscription. The value must be an UUID. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription. The value must be an UUID.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The ID of the target subscription. The value must be an UUID.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id", + SetCondition = @"")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// Type of upgrade. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Type of upgrade.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Type of upgrade.", + SerializedName = @"upgradeType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "NodeOsUpgrade")] + public string UpgradeType { get => _clusterPoolUpgradeRequestBody.UpgradeType ?? null; set => _clusterPoolUpgradeRequestBody.UpgradeType = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// a duplicate instance of UpdateAzHdInsightOnAksClusterPool_UpgradeExpanded + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets.UpdateAzHdInsightOnAksClusterPool_UpgradeExpanded Clone() + { + var clone = new UpdateAzHdInsightOnAksClusterPool_UpgradeExpanded(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone._clusterPoolUpgradeRequestBody = this._clusterPoolUpgradeRequestBody; + clone.SubscriptionId = this.SubscriptionId; + clone.ResourceGroupName = this.ResourceGroupName; + clone.Name = this.Name; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse); + } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress: + { + var data = messageData(); + int progress = (int)data.Value; + string activityMessage, statusDescription; + global::System.Management.Automation.ProgressRecordType recordType; + if (progress < 100) + { + activityMessage = "In progress"; + statusDescription = "Checking operation status"; + recordType = System.Management.Automation.ProgressRecordType.Processing; + } + else + { + activityMessage = "Completed"; + statusDescription = "Completed"; + recordType = System.Management.Automation.ProgressRecordType.Completed; + } + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) + { + PercentComplete = progress, + RecordType = recordType + }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling: + { + var data = messageData(); + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + else + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + WriteDebug($"Delaying {delay} seconds before polling."); + for (var now = 0; now < delay; ++now) + { + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") + { + PercentComplete = now * 100 / delay + }); + await global::System.Threading.Tasks.Task.Delay(1000, token); + } + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ClusterPoolsUpgrade' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.ClusterPoolsUpgrade(SubscriptionId, ResourceGroupName, Name, _clusterPoolUpgradeRequestBody, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,Name=Name}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Initializes a new instance of the cmdlet class. + /// + public UpdateAzHdInsightOnAksClusterPool_UpgradeExpanded() + { + + } + + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + var result = (await response); + if (null != result) + { + if (0 == _responseSize) + { + _firstResponse = result; + _responseSize = 1; + } + else + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); + } + WriteObject(result.AddMultipleTypeNameIntoPSObject()); + _responseSize = 2; + } + } + } + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPool_UpgradeViaIdentity.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPool_UpgradeViaIdentity.cs new file mode 100644 index 000000000000..c12dd8c53c9f --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPool_UpgradeViaIdentity.cs @@ -0,0 +1,574 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Cmdlets; + using System; + + /// Upgrade a cluster pool. + /// + /// [OpenAPI] Upgrade=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/upgrade" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzHdInsightOnAksClusterPool_UpgradeViaIdentity", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Upgrade a cluster pool.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/upgrade", ApiVersion = "2023-11-01-preview")] + public partial class UpdateAzHdInsightOnAksClusterPool_UpgradeViaIdentity : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// A dictionary to carry over additional data for pipeline. + private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); + + /// A buffer to record first returned object in response. + private object _firstResponse = null; + + /// + /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. + /// Two means multiple returned objects in response. + /// + private int _responseSize = 0; + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// Accessor for cancellationTokenSource. + public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HdInsightOnAks Client => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.ClientAPI; + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade _clusterPoolUpgradeRequest; + + /// Cluster Pool Upgrade. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Cluster Pool Upgrade.", ValueFromPipeline = true)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Cluster Pool Upgrade.", + SerializedName = @"clusterPoolUpgradeRequest", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade ClusterPoolUpgradeRequest { get => this._clusterPoolUpgradeRequest; set => this._clusterPoolUpgradeRequest = value; } + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// Accessor for extensibleParameters. + public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity _inputObject; + + /// Identity Parameter + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// + /// The instance of the that the remote call will use. + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// a duplicate instance of UpdateAzHdInsightOnAksClusterPool_UpgradeViaIdentity + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets.UpdateAzHdInsightOnAksClusterPool_UpgradeViaIdentity Clone() + { + var clone = new UpdateAzHdInsightOnAksClusterPool_UpgradeViaIdentity(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.ClusterPoolUpgradeRequest = this.ClusterPoolUpgradeRequest; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse); + } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress: + { + var data = messageData(); + int progress = (int)data.Value; + string activityMessage, statusDescription; + global::System.Management.Automation.ProgressRecordType recordType; + if (progress < 100) + { + activityMessage = "In progress"; + statusDescription = "Checking operation status"; + recordType = System.Management.Automation.ProgressRecordType.Processing; + } + else + { + activityMessage = "Completed"; + statusDescription = "Completed"; + recordType = System.Management.Automation.ProgressRecordType.Completed; + } + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) + { + PercentComplete = progress, + RecordType = recordType + }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling: + { + var data = messageData(); + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + else + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + WriteDebug($"Delaying {delay} seconds before polling."); + for (var now = 0; now < delay; ++now) + { + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") + { + PercentComplete = now * 100 / delay + }); + await global::System.Threading.Tasks.Task.Delay(1000, token); + } + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ClusterPoolsUpgrade' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + if (InputObject?.Id != null) + { + await this.Client.ClusterPoolsUpgradeViaIdentity(InputObject.Id, ClusterPoolUpgradeRequest, onOk, onDefault, this, Pipeline); + } + else + { + // try to call with PATH parameters from Input Object + if (null == InputObject.SubscriptionId) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ResourceGroupName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ClusterPoolName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ClusterPoolName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + await this.Client.ClusterPoolsUpgrade(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ClusterPoolName ?? null, ClusterPoolUpgradeRequest, onOk, onDefault, this, Pipeline); + } + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Initializes a new instance of the cmdlet class. + /// + public UpdateAzHdInsightOnAksClusterPool_UpgradeViaIdentity() + { + + } + + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + var result = (await response); + if (null != result) + { + if (0 == _responseSize) + { + _firstResponse = result; + _responseSize = 1; + } + else + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); + } + WriteObject(result.AddMultipleTypeNameIntoPSObject()); + _responseSize = 2; + } + } + } + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPool_UpgradeViaIdentityExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPool_UpgradeViaIdentityExpanded.cs new file mode 100644 index 000000000000..1371aee269dd --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPool_UpgradeViaIdentityExpanded.cs @@ -0,0 +1,577 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Cmdlets; + using System; + + /// Upgrade a cluster pool. + /// + /// [OpenAPI] Upgrade=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/upgrade" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzHdInsightOnAksClusterPool_UpgradeViaIdentityExpanded", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Upgrade a cluster pool.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/upgrade", ApiVersion = "2023-11-01-preview")] + public partial class UpdateAzHdInsightOnAksClusterPool_UpgradeViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Cluster Pool Upgrade. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade _clusterPoolUpgradeRequestBody = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterPoolUpgrade(); + + /// A dictionary to carry over additional data for pipeline. + private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); + + /// A buffer to record first returned object in response. + private object _firstResponse = null; + + /// + /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. + /// Two means multiple returned objects in response. + /// + private int _responseSize = 0; + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// Accessor for cancellationTokenSource. + public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HdInsightOnAks Client => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.ClientAPI; + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// Accessor for extensibleParameters. + public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity _inputObject; + + /// Identity Parameter + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// + /// The instance of the that the remote call will use. + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Type of upgrade. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Type of upgrade.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Type of upgrade.", + SerializedName = @"upgradeType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "NodeOsUpgrade")] + public string UpgradeType { get => _clusterPoolUpgradeRequestBody.UpgradeType ?? null; set => _clusterPoolUpgradeRequestBody.UpgradeType = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// + /// a duplicate instance of UpdateAzHdInsightOnAksClusterPool_UpgradeViaIdentityExpanded + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets.UpdateAzHdInsightOnAksClusterPool_UpgradeViaIdentityExpanded Clone() + { + var clone = new UpdateAzHdInsightOnAksClusterPool_UpgradeViaIdentityExpanded(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone._clusterPoolUpgradeRequestBody = this._clusterPoolUpgradeRequestBody; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse); + } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress: + { + var data = messageData(); + int progress = (int)data.Value; + string activityMessage, statusDescription; + global::System.Management.Automation.ProgressRecordType recordType; + if (progress < 100) + { + activityMessage = "In progress"; + statusDescription = "Checking operation status"; + recordType = System.Management.Automation.ProgressRecordType.Processing; + } + else + { + activityMessage = "Completed"; + statusDescription = "Completed"; + recordType = System.Management.Automation.ProgressRecordType.Completed; + } + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) + { + PercentComplete = progress, + RecordType = recordType + }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling: + { + var data = messageData(); + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + else + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + WriteDebug($"Delaying {delay} seconds before polling."); + for (var now = 0; now < delay; ++now) + { + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") + { + PercentComplete = now * 100 / delay + }); + await global::System.Threading.Tasks.Task.Delay(1000, token); + } + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ClusterPoolsUpgrade' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + if (InputObject?.Id != null) + { + await this.Client.ClusterPoolsUpgradeViaIdentity(InputObject.Id, _clusterPoolUpgradeRequestBody, onOk, onDefault, this, Pipeline); + } + else + { + // try to call with PATH parameters from Input Object + if (null == InputObject.SubscriptionId) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ResourceGroupName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ClusterPoolName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ClusterPoolName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + await this.Client.ClusterPoolsUpgrade(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ClusterPoolName ?? null, _clusterPoolUpgradeRequestBody, onOk, onDefault, this, Pipeline); + } + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Initializes a new instance of the cmdlet class. + /// + public UpdateAzHdInsightOnAksClusterPool_UpgradeViaIdentityExpanded() + { + + } + + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + var result = (await response); + if (null != result) + { + if (0 == _responseSize) + { + _firstResponse = result; + _responseSize = 1; + } + else + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); + } + WriteObject(result.AddMultipleTypeNameIntoPSObject()); + _responseSize = 2; + } + } + } + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPool_UpgradeViaJsonFilePath.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPool_UpgradeViaJsonFilePath.cs new file mode 100644 index 000000000000..a06e5570cd38 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPool_UpgradeViaJsonFilePath.cs @@ -0,0 +1,601 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Cmdlets; + using System; + + /// Upgrade a cluster pool. + /// + /// [OpenAPI] Upgrade=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/upgrade" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzHdInsightOnAksClusterPool_UpgradeViaJsonFilePath", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Upgrade a cluster pool.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/upgrade", ApiVersion = "2023-11-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.NotSuggestDefaultParameterSet] + public partial class UpdateAzHdInsightOnAksClusterPool_UpgradeViaJsonFilePath : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// A dictionary to carry over additional data for pipeline. + private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); + + /// A buffer to record first returned object in response. + private object _firstResponse = null; + + public global::System.String _jsonString; + + /// + /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. + /// Two means multiple returned objects in response. + /// + private int _responseSize = 0; + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// Accessor for cancellationTokenSource. + public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HdInsightOnAks Client => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.ClientAPI; + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// Accessor for extensibleParameters. + public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// Backing field for property. + private string _jsonFilePath; + + /// Path of Json file supplied to the Upgrade operation + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Path of Json file supplied to the Upgrade operation")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Path of Json file supplied to the Upgrade operation", + SerializedName = @"JsonFilePath", + PossibleTypes = new [] { typeof(string) })] + public string JsonFilePath { get => this._jsonFilePath; set { if (!System.IO.File.Exists(value)) { throw new Exception("Cannot find File " + value); } this._jsonString = System.IO.File.ReadAllText(value); this._jsonFilePath = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// The name of the cluster pool. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the cluster pool.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the cluster pool.", + SerializedName = @"clusterPoolName", + PossibleTypes = new [] { typeof(string) })] + [global::System.Management.Automation.Alias("ClusterPoolName")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// + /// The instance of the that the remote call will use. + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group. The name is case insensitive. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group. The name is case insensitive.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// The ID of the target subscription. The value must be an UUID. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription. The value must be an UUID.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The ID of the target subscription. The value must be an UUID.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id", + SetCondition = @"")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// + /// a duplicate instance of UpdateAzHdInsightOnAksClusterPool_UpgradeViaJsonFilePath + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets.UpdateAzHdInsightOnAksClusterPool_UpgradeViaJsonFilePath Clone() + { + var clone = new UpdateAzHdInsightOnAksClusterPool_UpgradeViaJsonFilePath(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.SubscriptionId = this.SubscriptionId; + clone.ResourceGroupName = this.ResourceGroupName; + clone.Name = this.Name; + clone.JsonFilePath = this.JsonFilePath; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse); + } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress: + { + var data = messageData(); + int progress = (int)data.Value; + string activityMessage, statusDescription; + global::System.Management.Automation.ProgressRecordType recordType; + if (progress < 100) + { + activityMessage = "In progress"; + statusDescription = "Checking operation status"; + recordType = System.Management.Automation.ProgressRecordType.Processing; + } + else + { + activityMessage = "Completed"; + statusDescription = "Completed"; + recordType = System.Management.Automation.ProgressRecordType.Completed; + } + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) + { + PercentComplete = progress, + RecordType = recordType + }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling: + { + var data = messageData(); + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + else + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + WriteDebug($"Delaying {delay} seconds before polling."); + for (var now = 0; now < delay; ++now) + { + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") + { + PercentComplete = now * 100 / delay + }); + await global::System.Threading.Tasks.Task.Delay(1000, token); + } + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ClusterPoolsUpgrade' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.ClusterPoolsUpgradeViaJsonString(SubscriptionId, ResourceGroupName, Name, _jsonString, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,Name=Name}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Initializes a new instance of the cmdlet class. + /// + public UpdateAzHdInsightOnAksClusterPool_UpgradeViaJsonFilePath() + { + + } + + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + var result = (await response); + if (null != result) + { + if (0 == _responseSize) + { + _firstResponse = result; + _responseSize = 1; + } + else + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); + } + WriteObject(result.AddMultipleTypeNameIntoPSObject()); + _responseSize = 2; + } + } + } + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPool_UpgradeViaJsonString.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPool_UpgradeViaJsonString.cs new file mode 100644 index 000000000000..9527ad41ffb1 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksClusterPool_UpgradeViaJsonString.cs @@ -0,0 +1,597 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Cmdlets; + using System; + + /// Upgrade a cluster pool. + /// + /// [OpenAPI] Upgrade=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/upgrade" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzHdInsightOnAksClusterPool_UpgradeViaJsonString", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool))] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Upgrade a cluster pool.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/upgrade", ApiVersion = "2023-11-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.NotSuggestDefaultParameterSet] + public partial class UpdateAzHdInsightOnAksClusterPool_UpgradeViaJsonString : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// A dictionary to carry over additional data for pipeline. + private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); + + /// A buffer to record first returned object in response. + private object _firstResponse = null; + + /// + /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. + /// Two means multiple returned objects in response. + /// + private int _responseSize = 0; + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// Accessor for cancellationTokenSource. + public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HdInsightOnAks Client => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.ClientAPI; + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// Accessor for extensibleParameters. + public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// Backing field for property. + private string _jsonString; + + /// Json string supplied to the Upgrade operation + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Json string supplied to the Upgrade operation")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Json string supplied to the Upgrade operation", + SerializedName = @"JsonString", + PossibleTypes = new [] { typeof(string) })] + public string JsonString { get => this._jsonString; set => this._jsonString = value; } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// The name of the cluster pool. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the cluster pool.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the cluster pool.", + SerializedName = @"clusterPoolName", + PossibleTypes = new [] { typeof(string) })] + [global::System.Management.Automation.Alias("ClusterPoolName")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// + /// The instance of the that the remote call will use. + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group. The name is case insensitive. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group. The name is case insensitive.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// The ID of the target subscription. The value must be an UUID. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription. The value must be an UUID.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The ID of the target subscription. The value must be an UUID.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id", + SetCondition = @"")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// a duplicate instance of UpdateAzHdInsightOnAksClusterPool_UpgradeViaJsonString + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets.UpdateAzHdInsightOnAksClusterPool_UpgradeViaJsonString Clone() + { + var clone = new UpdateAzHdInsightOnAksClusterPool_UpgradeViaJsonString(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.SubscriptionId = this.SubscriptionId; + clone.ResourceGroupName = this.ResourceGroupName; + clone.Name = this.Name; + clone.JsonString = this.JsonString; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse); + } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress: + { + var data = messageData(); + int progress = (int)data.Value; + string activityMessage, statusDescription; + global::System.Management.Automation.ProgressRecordType recordType; + if (progress < 100) + { + activityMessage = "In progress"; + statusDescription = "Checking operation status"; + recordType = System.Management.Automation.ProgressRecordType.Processing; + } + else + { + activityMessage = "Completed"; + statusDescription = "Completed"; + recordType = System.Management.Automation.ProgressRecordType.Completed; + } + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) + { + PercentComplete = progress, + RecordType = recordType + }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling: + { + var data = messageData(); + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + else + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + WriteDebug($"Delaying {delay} seconds before polling."); + for (var now = 0; now < delay; ++now) + { + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") + { + PercentComplete = now * 100 / delay + }); + await global::System.Threading.Tasks.Task.Delay(1000, token); + } + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ClusterPoolsUpgrade' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.ClusterPoolsUpgradeViaJsonString(SubscriptionId, ResourceGroupName, Name, _jsonString, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,Name=Name}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Initializes a new instance of the cmdlet class. + /// + public UpdateAzHdInsightOnAksClusterPool_UpgradeViaJsonString() + { + + } + + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + var result = (await response); + if (null != result) + { + if (0 == _responseSize) + { + _firstResponse = result; + _responseSize = 1; + } + else + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); + } + WriteObject(result.AddMultipleTypeNameIntoPSObject()); + _responseSize = 2; + } + } + } + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_Update.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_Update.cs index 7c29cd0932e7..ac1f72354d25 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_Update.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_Update.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Updates an existing Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] public partial class UpdateAzHdInsightOnAksCluster_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -282,6 +282,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -501,6 +511,21 @@ public UpdateAzHdInsightOnAksCluster_Update() } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateExpanded.cs index 2ffd3ba7f4cb..be3318efbce4 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateExpanded.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Updates an existing Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] public partial class UpdateAzHdInsightOnAksCluster_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -178,6 +178,50 @@ public partial class UpdateAzHdInsightOnAksCluster_UpdateExpanded : global::Syst PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile) })] public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile[] ClusterProfileServiceConfigsProfile { get => _clusterPatchRequestBody.ClusterProfileServiceConfigsProfile?.ToArray() ?? null /* fixedArrayOf */; set => _clusterPatchRequestBody.ClusterProfileServiceConfigsProfile = (value != null ? new System.Collections.Generic.List(value) : null); } + /// The database URL + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The database URL")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The database URL", + SerializedName = @"host", + PossibleTypes = new [] { typeof(string) })] + public string DatabaseHost { get => _clusterPatchRequestBody.DatabaseHost ?? null; set => _clusterPatchRequestBody.DatabaseHost = value; } + + /// The database name + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The database name")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The database name", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + public string DatabaseName { get => _clusterPatchRequestBody.DatabaseName ?? null; set => _clusterPatchRequestBody.DatabaseName = value; } + + /// Reference for the database password + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Reference for the database password")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Reference for the database password", + SerializedName = @"passwordSecretRef", + PossibleTypes = new [] { typeof(string) })] + public string DatabasePasswordSecretRef { get => _clusterPatchRequestBody.DatabasePasswordSecretRef ?? null; set => _clusterPatchRequestBody.DatabasePasswordSecretRef = value; } + + /// The name of the database user + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The name of the database user")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The name of the database user", + SerializedName = @"username", + PossibleTypes = new [] { typeof(string) })] + public string DatabaseUsername { get => _clusterPatchRequestBody.DatabaseUsername ?? null; set => _clusterPatchRequestBody.DatabaseUsername = value; } + /// /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet /// against a different subscription @@ -375,6 +419,109 @@ public partial class UpdateAzHdInsightOnAksCluster_UpdateExpanded : global::Syst [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.", + SerializedName = @"admins", + PossibleTypes = new [] { typeof(string) })] + public string[] RangerAdmin { get => _clusterPatchRequestBody.RangerAdmin?.ToArray() ?? null /* fixedArrayOf */; set => _clusterPatchRequestBody.RangerAdmin = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Azure storage location of the blobs. MSI should have read/write access to this Storage account.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Azure storage location of the blobs. MSI should have read/write access to this Storage account.", + SerializedName = @"storageAccount", + PossibleTypes = new [] { typeof(string) })] + public string RangerAuditStorageAccount { get => _clusterPatchRequestBody.RangerAuditStorageAccount ?? null; set => _clusterPatchRequestBody.RangerAuditStorageAccount = value; } + + /// Enable Ranger for cluster or not. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Enable Ranger for cluster or not.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Enable Ranger for cluster or not.", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter RangerPluginProfileEnabled { get => _clusterPatchRequestBody.RangerPluginProfileEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _clusterPatchRequestBody.RangerPluginProfileEnabled = value; } + + /// Denotes whether usersync service should be enabled + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Denotes whether usersync service should be enabled")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Denotes whether usersync service should be enabled", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter RangerUsersyncEnabled { get => _clusterPatchRequestBody.RangerUsersyncEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _clusterPatchRequestBody.RangerUsersyncEnabled = value; } + + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of groups that should be synced. These group names should match the object id of the respective AAD groups.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of groups that should be synced. These group names should match the object id of the respective AAD groups.", + SerializedName = @"groups", + PossibleTypes = new [] { typeof(string) })] + public string[] RangerUsersyncGroup { get => _clusterPatchRequestBody.RangerUsersyncGroup?.ToArray() ?? null /* fixedArrayOf */; set => _clusterPatchRequestBody.RangerUsersyncGroup = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "User & groups can be synced automatically or via a static list that's refreshed.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"User & groups can be synced automatically or via a static list that's refreshed.", + SerializedName = @"mode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + public string RangerUsersyncMode { get => _clusterPatchRequestBody.RangerUsersyncMode ?? null; set => _clusterPatchRequestBody.RangerUsersyncMode = value; } + + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.", + SerializedName = @"users", + PossibleTypes = new [] { typeof(string) })] + public string[] RangerUsersyncUser { get => _clusterPatchRequestBody.RangerUsersyncUser?.ToArray() ?? null /* fixedArrayOf */; set => _clusterPatchRequestBody.RangerUsersyncUser = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// Azure storage location of a mapping file that lists user & group associations. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Azure storage location of a mapping file that lists user & group associations.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Azure storage location of a mapping file that lists user & group associations.", + SerializedName = @"userMappingLocation", + PossibleTypes = new [] { typeof(string) })] + public string RangerUsersyncUserMappingLocation { get => _clusterPatchRequestBody.RangerUsersyncUserMappingLocation ?? null; set => _clusterPatchRequestBody.RangerUsersyncUserMappingLocation = value; } + /// Backing field for property. private string _resourceGroupName; @@ -470,8 +617,8 @@ public partial class UpdateAzHdInsightOnAksCluster_UpdateExpanded : global::Syst ReadOnly = false, Description = @"Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceTags Tag { get => _clusterPatchRequestBody.Tag ?? null /* object */; set => _clusterPatchRequestBody.Tag = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags) })] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags Tag { get => _clusterPatchRequestBody.Tag ?? null /* object */; set => _clusterPatchRequestBody.Tag = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -548,6 +695,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -767,6 +924,21 @@ public UpdateAzHdInsightOnAksCluster_UpdateExpanded() } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaIdentity.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaIdentity.cs index 4a637e393ee5..670badba66ea 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaIdentity.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaIdentity.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Updates an existing Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] public partial class UpdateAzHdInsightOnAksCluster_UpdateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -223,6 +223,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -466,6 +476,21 @@ public UpdateAzHdInsightOnAksCluster_UpdateViaIdentity() } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaIdentityClusterpool.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaIdentityClusterpool.cs index 4d97ebb7a9a9..49bef95fae30 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaIdentityClusterpool.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaIdentityClusterpool.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Updates an existing Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] public partial class UpdateAzHdInsightOnAksCluster_UpdateViaIdentityClusterpool : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -241,6 +241,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -481,6 +491,21 @@ public UpdateAzHdInsightOnAksCluster_UpdateViaIdentityClusterpool() } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaIdentityClusterpoolExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaIdentityClusterpoolExpanded.cs index 13b30e83370f..03aa1b3de8d7 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaIdentityClusterpoolExpanded.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaIdentityClusterpoolExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Updates an existing Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] public partial class UpdateAzHdInsightOnAksCluster_UpdateViaIdentityClusterpoolExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -186,6 +186,50 @@ public partial class UpdateAzHdInsightOnAksCluster_UpdateViaIdentityClusterpoolE [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity ClusterpoolInputObject { get => this._clusterpoolInputObject; set => this._clusterpoolInputObject = value; } + /// The database URL + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The database URL")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The database URL", + SerializedName = @"host", + PossibleTypes = new [] { typeof(string) })] + public string DatabaseHost { get => _clusterPatchRequestBody.DatabaseHost ?? null; set => _clusterPatchRequestBody.DatabaseHost = value; } + + /// The database name + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The database name")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The database name", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + public string DatabaseName { get => _clusterPatchRequestBody.DatabaseName ?? null; set => _clusterPatchRequestBody.DatabaseName = value; } + + /// Reference for the database password + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Reference for the database password")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Reference for the database password", + SerializedName = @"passwordSecretRef", + PossibleTypes = new [] { typeof(string) })] + public string DatabasePasswordSecretRef { get => _clusterPatchRequestBody.DatabasePasswordSecretRef ?? null; set => _clusterPatchRequestBody.DatabasePasswordSecretRef = value; } + + /// The name of the database user + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The name of the database user")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The name of the database user", + SerializedName = @"username", + PossibleTypes = new [] { typeof(string) })] + public string DatabaseUsername { get => _clusterPatchRequestBody.DatabaseUsername ?? null; set => _clusterPatchRequestBody.DatabaseUsername = value; } + /// /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet /// against a different subscription @@ -368,6 +412,109 @@ public partial class UpdateAzHdInsightOnAksCluster_UpdateViaIdentityClusterpoolE [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.", + SerializedName = @"admins", + PossibleTypes = new [] { typeof(string) })] + public string[] RangerAdmin { get => _clusterPatchRequestBody.RangerAdmin?.ToArray() ?? null /* fixedArrayOf */; set => _clusterPatchRequestBody.RangerAdmin = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Azure storage location of the blobs. MSI should have read/write access to this Storage account.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Azure storage location of the blobs. MSI should have read/write access to this Storage account.", + SerializedName = @"storageAccount", + PossibleTypes = new [] { typeof(string) })] + public string RangerAuditStorageAccount { get => _clusterPatchRequestBody.RangerAuditStorageAccount ?? null; set => _clusterPatchRequestBody.RangerAuditStorageAccount = value; } + + /// Enable Ranger for cluster or not. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Enable Ranger for cluster or not.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Enable Ranger for cluster or not.", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter RangerPluginProfileEnabled { get => _clusterPatchRequestBody.RangerPluginProfileEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _clusterPatchRequestBody.RangerPluginProfileEnabled = value; } + + /// Denotes whether usersync service should be enabled + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Denotes whether usersync service should be enabled")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Denotes whether usersync service should be enabled", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter RangerUsersyncEnabled { get => _clusterPatchRequestBody.RangerUsersyncEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _clusterPatchRequestBody.RangerUsersyncEnabled = value; } + + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of groups that should be synced. These group names should match the object id of the respective AAD groups.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of groups that should be synced. These group names should match the object id of the respective AAD groups.", + SerializedName = @"groups", + PossibleTypes = new [] { typeof(string) })] + public string[] RangerUsersyncGroup { get => _clusterPatchRequestBody.RangerUsersyncGroup?.ToArray() ?? null /* fixedArrayOf */; set => _clusterPatchRequestBody.RangerUsersyncGroup = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "User & groups can be synced automatically or via a static list that's refreshed.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"User & groups can be synced automatically or via a static list that's refreshed.", + SerializedName = @"mode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + public string RangerUsersyncMode { get => _clusterPatchRequestBody.RangerUsersyncMode ?? null; set => _clusterPatchRequestBody.RangerUsersyncMode = value; } + + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.", + SerializedName = @"users", + PossibleTypes = new [] { typeof(string) })] + public string[] RangerUsersyncUser { get => _clusterPatchRequestBody.RangerUsersyncUser?.ToArray() ?? null /* fixedArrayOf */; set => _clusterPatchRequestBody.RangerUsersyncUser = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// Azure storage location of a mapping file that lists user & group associations. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Azure storage location of a mapping file that lists user & group associations.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Azure storage location of a mapping file that lists user & group associations.", + SerializedName = @"userMappingLocation", + PossibleTypes = new [] { typeof(string) })] + public string RangerUsersyncUserMappingLocation { get => _clusterPatchRequestBody.RangerUsersyncUserMappingLocation ?? null; set => _clusterPatchRequestBody.RangerUsersyncUserMappingLocation = value; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) @@ -430,8 +577,8 @@ public partial class UpdateAzHdInsightOnAksCluster_UpdateViaIdentityClusterpoolE ReadOnly = false, Description = @"Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceTags Tag { get => _clusterPatchRequestBody.Tag ?? null /* object */; set => _clusterPatchRequestBody.Tag = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags) })] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags Tag { get => _clusterPatchRequestBody.Tag ?? null /* object */; set => _clusterPatchRequestBody.Tag = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -507,6 +654,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -748,6 +905,21 @@ public UpdateAzHdInsightOnAksCluster_UpdateViaIdentityClusterpoolExpanded() } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaIdentityExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaIdentityExpanded.cs index af9c9bc51b59..904d7ceb9418 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaIdentityExpanded.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaIdentityExpanded.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Updates an existing Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] public partial class UpdateAzHdInsightOnAksCluster_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext @@ -178,6 +178,50 @@ public partial class UpdateAzHdInsightOnAksCluster_UpdateViaIdentityExpanded : g PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile) })] public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile[] ClusterProfileServiceConfigsProfile { get => _clusterPatchRequestBody.ClusterProfileServiceConfigsProfile?.ToArray() ?? null /* fixedArrayOf */; set => _clusterPatchRequestBody.ClusterProfileServiceConfigsProfile = (value != null ? new System.Collections.Generic.List(value) : null); } + /// The database URL + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The database URL")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The database URL", + SerializedName = @"host", + PossibleTypes = new [] { typeof(string) })] + public string DatabaseHost { get => _clusterPatchRequestBody.DatabaseHost ?? null; set => _clusterPatchRequestBody.DatabaseHost = value; } + + /// The database name + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The database name")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The database name", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + public string DatabaseName { get => _clusterPatchRequestBody.DatabaseName ?? null; set => _clusterPatchRequestBody.DatabaseName = value; } + + /// Reference for the database password + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Reference for the database password")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Reference for the database password", + SerializedName = @"passwordSecretRef", + PossibleTypes = new [] { typeof(string) })] + public string DatabasePasswordSecretRef { get => _clusterPatchRequestBody.DatabasePasswordSecretRef ?? null; set => _clusterPatchRequestBody.DatabasePasswordSecretRef = value; } + + /// The name of the database user + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The name of the database user")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The name of the database user", + SerializedName = @"username", + PossibleTypes = new [] { typeof(string) })] + public string DatabaseUsername { get => _clusterPatchRequestBody.DatabaseUsername ?? null; set => _clusterPatchRequestBody.DatabaseUsername = value; } + /// /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet /// against a different subscription @@ -353,6 +397,109 @@ public partial class UpdateAzHdInsightOnAksCluster_UpdateViaIdentityExpanded : g [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + /// + /// List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of + /// the respective AAD users. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of usernames that should be marked as ranger admins. These usernames should match the user principal name (UPN) of the respective AAD users.", + SerializedName = @"admins", + PossibleTypes = new [] { typeof(string) })] + public string[] RangerAdmin { get => _clusterPatchRequestBody.RangerAdmin?.ToArray() ?? null /* fixedArrayOf */; set => _clusterPatchRequestBody.RangerAdmin = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// + /// Azure storage location of the blobs. MSI should have read/write access to this Storage account. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Azure storage location of the blobs. MSI should have read/write access to this Storage account.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Azure storage location of the blobs. MSI should have read/write access to this Storage account.", + SerializedName = @"storageAccount", + PossibleTypes = new [] { typeof(string) })] + public string RangerAuditStorageAccount { get => _clusterPatchRequestBody.RangerAuditStorageAccount ?? null; set => _clusterPatchRequestBody.RangerAuditStorageAccount = value; } + + /// Enable Ranger for cluster or not. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Enable Ranger for cluster or not.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Enable Ranger for cluster or not.", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter RangerPluginProfileEnabled { get => _clusterPatchRequestBody.RangerPluginProfileEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _clusterPatchRequestBody.RangerPluginProfileEnabled = value; } + + /// Denotes whether usersync service should be enabled + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Denotes whether usersync service should be enabled")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Denotes whether usersync service should be enabled", + SerializedName = @"enabled", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter RangerUsersyncEnabled { get => _clusterPatchRequestBody.RangerUsersyncEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _clusterPatchRequestBody.RangerUsersyncEnabled = value; } + + /// + /// List of groups that should be synced. These group names should match the object id of the respective AAD groups. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of groups that should be synced. These group names should match the object id of the respective AAD groups.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of groups that should be synced. These group names should match the object id of the respective AAD groups.", + SerializedName = @"groups", + PossibleTypes = new [] { typeof(string) })] + public string[] RangerUsersyncGroup { get => _clusterPatchRequestBody.RangerUsersyncGroup?.ToArray() ?? null /* fixedArrayOf */; set => _clusterPatchRequestBody.RangerUsersyncGroup = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// + /// User & groups can be synced automatically or via a static list that's refreshed. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "User & groups can be synced automatically or via a static list that's refreshed.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"User & groups can be synced automatically or via a static list that's refreshed.", + SerializedName = @"mode", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("static", "automatic")] + public string RangerUsersyncMode { get => _clusterPatchRequestBody.RangerUsersyncMode ?? null; set => _clusterPatchRequestBody.RangerUsersyncMode = value; } + + /// + /// List of user names that should be synced. These usernames should match the User principal name of the respective AAD users. + /// + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of user names that should be synced. These usernames should match the User principal name of the respective AAD users.", + SerializedName = @"users", + PossibleTypes = new [] { typeof(string) })] + public string[] RangerUsersyncUser { get => _clusterPatchRequestBody.RangerUsersyncUser?.ToArray() ?? null /* fixedArrayOf */; set => _clusterPatchRequestBody.RangerUsersyncUser = (value != null ? new System.Collections.Generic.List(value) : null); } + + /// Azure storage location of a mapping file that lists user & group associations. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Azure storage location of a mapping file that lists user & group associations.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Azure storage location of a mapping file that lists user & group associations.", + SerializedName = @"userMappingLocation", + PossibleTypes = new [] { typeof(string) })] + public string RangerUsersyncUserMappingLocation { get => _clusterPatchRequestBody.RangerUsersyncUserMappingLocation ?? null; set => _clusterPatchRequestBody.RangerUsersyncUserMappingLocation = value; } + /// /// Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are /// default when an specified scaling operation is executed (scale up/scale down) @@ -415,8 +562,8 @@ public partial class UpdateAzHdInsightOnAksCluster_UpdateViaIdentityExpanded : g ReadOnly = false, Description = @"Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrackedResourceTags Tag { get => _clusterPatchRequestBody.Tag ?? null /* object */; set => _clusterPatchRequestBody.Tag = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags) })] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatchTags Tag { get => _clusterPatchRequestBody.Tag ?? null /* object */; set => _clusterPatchRequestBody.Tag = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -489,6 +636,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -732,6 +889,21 @@ public UpdateAzHdInsightOnAksCluster_UpdateViaIdentityExpanded() } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaJsonFilePath.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaJsonFilePath.cs index ddb35de9500d..09f3037e838a 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaJsonFilePath.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaJsonFilePath.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Updates an existing Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.NotSuggestDefaultParameterSet] public partial class UpdateAzHdInsightOnAksCluster_UpdateViaJsonFilePath : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, @@ -284,6 +284,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -503,6 +513,21 @@ public UpdateAzHdInsightOnAksCluster_UpdateViaJsonFilePath() } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaJsonString.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaJsonString.cs index 6b595bdecaa4..f9936fe619f0 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaJsonString.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpdateViaJsonString.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Updates an existing Cluster.")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-06-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}", ApiVersion = "2023-11-01-preview")] [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.NotSuggestDefaultParameterSet] public partial class UpdateAzHdInsightOnAksCluster_UpdateViaJsonString : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, @@ -282,6 +282,16 @@ protected override void EndProcessing() // Flush buffer WriteObject(_firstResponse); } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } } /// Handles/Dispatches events during the call to the REST service. @@ -501,6 +511,21 @@ public UpdateAzHdInsightOnAksCluster_UpdateViaJsonString() } + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + /// /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_Upgrade.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_Upgrade.cs new file mode 100644 index 000000000000..28d2225ff470 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_Upgrade.cs @@ -0,0 +1,613 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Cmdlets; + using System; + + /// Upgrade a cluster. + /// + /// [OpenAPI] Upgrade=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/upgrade" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzHdInsightOnAksCluster_Upgrade", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Upgrade a cluster.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/upgrade", ApiVersion = "2023-11-01-preview")] + public partial class UpdateAzHdInsightOnAksCluster_Upgrade : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// A dictionary to carry over additional data for pipeline. + private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); + + /// A buffer to record first returned object in response. + private object _firstResponse = null; + + /// + /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. + /// Two means multiple returned objects in response. + /// + private int _responseSize = 0; + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// Accessor for cancellationTokenSource. + public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HdInsightOnAks Client => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.ClientAPI; + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade _clusterUpgradeRequest; + + /// Cluster Upgrade. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Cluster Upgrade.", ValueFromPipeline = true)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Cluster Upgrade.", + SerializedName = @"clusterUpgradeRequest", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade ClusterUpgradeRequest { get => this._clusterUpgradeRequest; set => this._clusterUpgradeRequest = value; } + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// Accessor for extensibleParameters. + public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// The name of the HDInsight cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the HDInsight cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the HDInsight cluster.", + SerializedName = @"clusterName", + PossibleTypes = new [] { typeof(string) })] + [global::System.Management.Automation.Alias("ClusterName")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// + /// The instance of the that the remote call will use. + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.HttpPipeline Pipeline { get; set; } + + /// Backing field for property. + private string _poolName; + + /// The name of the cluster pool. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the cluster pool.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the cluster pool.", + SerializedName = @"clusterPoolName", + PossibleTypes = new [] { typeof(string) })] + [global::System.Management.Automation.Alias("ClusterPoolName")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string PoolName { get => this._poolName; set => this._poolName = value; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group. The name is case insensitive. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group. The name is case insensitive.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// The ID of the target subscription. The value must be an UUID. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription. The value must be an UUID.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The ID of the target subscription. The value must be an UUID.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id", + SetCondition = @"")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// a duplicate instance of UpdateAzHdInsightOnAksCluster_Upgrade + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets.UpdateAzHdInsightOnAksCluster_Upgrade Clone() + { + var clone = new UpdateAzHdInsightOnAksCluster_Upgrade(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.SubscriptionId = this.SubscriptionId; + clone.ResourceGroupName = this.ResourceGroupName; + clone.PoolName = this.PoolName; + clone.Name = this.Name; + clone.ClusterUpgradeRequest = this.ClusterUpgradeRequest; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse); + } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress: + { + var data = messageData(); + int progress = (int)data.Value; + string activityMessage, statusDescription; + global::System.Management.Automation.ProgressRecordType recordType; + if (progress < 100) + { + activityMessage = "In progress"; + statusDescription = "Checking operation status"; + recordType = System.Management.Automation.ProgressRecordType.Processing; + } + else + { + activityMessage = "Completed"; + statusDescription = "Completed"; + recordType = System.Management.Automation.ProgressRecordType.Completed; + } + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) + { + PercentComplete = progress, + RecordType = recordType + }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling: + { + var data = messageData(); + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + else + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + WriteDebug($"Delaying {delay} seconds before polling."); + for (var now = 0; now < delay; ++now) + { + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") + { + PercentComplete = now * 100 / delay + }); + await global::System.Threading.Tasks.Task.Delay(1000, token); + } + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ClustersUpgrade' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.ClustersUpgrade(SubscriptionId, ResourceGroupName, PoolName, Name, ClusterUpgradeRequest, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,PoolName=PoolName,Name=Name}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Initializes a new instance of the cmdlet class. + /// + public UpdateAzHdInsightOnAksCluster_Upgrade() + { + + } + + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + var result = (await response); + if (null != result) + { + if (0 == _responseSize) + { + _firstResponse = result; + _responseSize = 1; + } + else + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); + } + WriteObject(result.AddMultipleTypeNameIntoPSObject()); + _responseSize = 2; + } + } + } + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeExpanded.cs new file mode 100644 index 000000000000..9c32d27ed84b --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeExpanded.cs @@ -0,0 +1,614 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Cmdlets; + using System; + + /// Upgrade a cluster. + /// + /// [OpenAPI] Upgrade=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/upgrade" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzHdInsightOnAksCluster_UpgradeExpanded", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Upgrade a cluster.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/upgrade", ApiVersion = "2023-11-01-preview")] + public partial class UpdateAzHdInsightOnAksCluster_UpgradeExpanded : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Cluster Upgrade. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade _clusterUpgradeRequestBody = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgrade(); + + /// A dictionary to carry over additional data for pipeline. + private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); + + /// A buffer to record first returned object in response. + private object _firstResponse = null; + + /// + /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. + /// Two means multiple returned objects in response. + /// + private int _responseSize = 0; + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// Accessor for cancellationTokenSource. + public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HdInsightOnAks Client => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.ClientAPI; + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// Accessor for extensibleParameters. + public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// The name of the HDInsight cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the HDInsight cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the HDInsight cluster.", + SerializedName = @"clusterName", + PossibleTypes = new [] { typeof(string) })] + [global::System.Management.Automation.Alias("ClusterName")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// + /// The instance of the that the remote call will use. + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.HttpPipeline Pipeline { get; set; } + + /// Backing field for property. + private string _poolName; + + /// The name of the cluster pool. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the cluster pool.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the cluster pool.", + SerializedName = @"clusterPoolName", + PossibleTypes = new [] { typeof(string) })] + [global::System.Management.Automation.Alias("ClusterPoolName")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string PoolName { get => this._poolName; set => this._poolName = value; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group. The name is case insensitive. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group. The name is case insensitive.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// The ID of the target subscription. The value must be an UUID. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription. The value must be an UUID.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The ID of the target subscription. The value must be an UUID.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id", + SetCondition = @"")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// Type of upgrade. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Type of upgrade.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Type of upgrade.", + SerializedName = @"upgradeType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "HotfixUpgrade")] + public string UpgradeType { get => _clusterUpgradeRequestBody.UpgradeType ?? null; set => _clusterUpgradeRequestBody.UpgradeType = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// a duplicate instance of UpdateAzHdInsightOnAksCluster_UpgradeExpanded + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets.UpdateAzHdInsightOnAksCluster_UpgradeExpanded Clone() + { + var clone = new UpdateAzHdInsightOnAksCluster_UpgradeExpanded(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone._clusterUpgradeRequestBody = this._clusterUpgradeRequestBody; + clone.SubscriptionId = this.SubscriptionId; + clone.ResourceGroupName = this.ResourceGroupName; + clone.PoolName = this.PoolName; + clone.Name = this.Name; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse); + } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress: + { + var data = messageData(); + int progress = (int)data.Value; + string activityMessage, statusDescription; + global::System.Management.Automation.ProgressRecordType recordType; + if (progress < 100) + { + activityMessage = "In progress"; + statusDescription = "Checking operation status"; + recordType = System.Management.Automation.ProgressRecordType.Processing; + } + else + { + activityMessage = "Completed"; + statusDescription = "Completed"; + recordType = System.Management.Automation.ProgressRecordType.Completed; + } + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) + { + PercentComplete = progress, + RecordType = recordType + }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling: + { + var data = messageData(); + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + else + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + WriteDebug($"Delaying {delay} seconds before polling."); + for (var now = 0; now < delay; ++now) + { + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") + { + PercentComplete = now * 100 / delay + }); + await global::System.Threading.Tasks.Task.Delay(1000, token); + } + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ClustersUpgrade' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.ClustersUpgrade(SubscriptionId, ResourceGroupName, PoolName, Name, _clusterUpgradeRequestBody, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,PoolName=PoolName,Name=Name}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Initializes a new instance of the cmdlet class. + /// + public UpdateAzHdInsightOnAksCluster_UpgradeExpanded() + { + + } + + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + var result = (await response); + if (null != result) + { + if (0 == _responseSize) + { + _firstResponse = result; + _responseSize = 1; + } + else + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); + } + WriteObject(result.AddMultipleTypeNameIntoPSObject()); + _responseSize = 2; + } + } + } + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeViaIdentity.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeViaIdentity.cs new file mode 100644 index 000000000000..05cf5ba97d9e --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeViaIdentity.cs @@ -0,0 +1,578 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Cmdlets; + using System; + + /// Upgrade a cluster. + /// + /// [OpenAPI] Upgrade=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/upgrade" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzHdInsightOnAksCluster_UpgradeViaIdentity", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Upgrade a cluster.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/upgrade", ApiVersion = "2023-11-01-preview")] + public partial class UpdateAzHdInsightOnAksCluster_UpgradeViaIdentity : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// A dictionary to carry over additional data for pipeline. + private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); + + /// A buffer to record first returned object in response. + private object _firstResponse = null; + + /// + /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. + /// Two means multiple returned objects in response. + /// + private int _responseSize = 0; + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// Accessor for cancellationTokenSource. + public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HdInsightOnAks Client => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.ClientAPI; + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade _clusterUpgradeRequest; + + /// Cluster Upgrade. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Cluster Upgrade.", ValueFromPipeline = true)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Cluster Upgrade.", + SerializedName = @"clusterUpgradeRequest", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade ClusterUpgradeRequest { get => this._clusterUpgradeRequest; set => this._clusterUpgradeRequest = value; } + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// Accessor for extensibleParameters. + public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity _inputObject; + + /// Identity Parameter + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// + /// The instance of the that the remote call will use. + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// a duplicate instance of UpdateAzHdInsightOnAksCluster_UpgradeViaIdentity + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets.UpdateAzHdInsightOnAksCluster_UpgradeViaIdentity Clone() + { + var clone = new UpdateAzHdInsightOnAksCluster_UpgradeViaIdentity(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.ClusterUpgradeRequest = this.ClusterUpgradeRequest; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse); + } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress: + { + var data = messageData(); + int progress = (int)data.Value; + string activityMessage, statusDescription; + global::System.Management.Automation.ProgressRecordType recordType; + if (progress < 100) + { + activityMessage = "In progress"; + statusDescription = "Checking operation status"; + recordType = System.Management.Automation.ProgressRecordType.Processing; + } + else + { + activityMessage = "Completed"; + statusDescription = "Completed"; + recordType = System.Management.Automation.ProgressRecordType.Completed; + } + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) + { + PercentComplete = progress, + RecordType = recordType + }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling: + { + var data = messageData(); + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + else + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + WriteDebug($"Delaying {delay} seconds before polling."); + for (var now = 0; now < delay; ++now) + { + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") + { + PercentComplete = now * 100 / delay + }); + await global::System.Threading.Tasks.Task.Delay(1000, token); + } + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ClustersUpgrade' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + if (InputObject?.Id != null) + { + await this.Client.ClustersUpgradeViaIdentity(InputObject.Id, ClusterUpgradeRequest, onOk, onDefault, this, Pipeline); + } + else + { + // try to call with PATH parameters from Input Object + if (null == InputObject.SubscriptionId) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ResourceGroupName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ClusterPoolName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ClusterPoolName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ClusterName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ClusterName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + await this.Client.ClustersUpgrade(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ClusterPoolName ?? null, InputObject.ClusterName ?? null, ClusterUpgradeRequest, onOk, onDefault, this, Pipeline); + } + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Initializes a new instance of the cmdlet class. + /// + public UpdateAzHdInsightOnAksCluster_UpgradeViaIdentity() + { + + } + + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + var result = (await response); + if (null != result) + { + if (0 == _responseSize) + { + _firstResponse = result; + _responseSize = 1; + } + else + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); + } + WriteObject(result.AddMultipleTypeNameIntoPSObject()); + _responseSize = 2; + } + } + } + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityClusterpool.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityClusterpool.cs new file mode 100644 index 000000000000..877eb0747be1 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityClusterpool.cs @@ -0,0 +1,593 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Cmdlets; + using System; + + /// Upgrade a cluster. + /// + /// [OpenAPI] Upgrade=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/upgrade" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzHdInsightOnAksCluster_UpgradeViaIdentityClusterpool", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Upgrade a cluster.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/upgrade", ApiVersion = "2023-11-01-preview")] + public partial class UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityClusterpool : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// A dictionary to carry over additional data for pipeline. + private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); + + /// A buffer to record first returned object in response. + private object _firstResponse = null; + + /// + /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. + /// Two means multiple returned objects in response. + /// + private int _responseSize = 0; + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// Accessor for cancellationTokenSource. + public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HdInsightOnAks Client => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.ClientAPI; + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade _clusterUpgradeRequest; + + /// Cluster Upgrade. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Cluster Upgrade.", ValueFromPipeline = true)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Cluster Upgrade.", + SerializedName = @"clusterUpgradeRequest", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade ClusterUpgradeRequest { get => this._clusterUpgradeRequest; set => this._clusterUpgradeRequest = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity _clusterpoolInputObject; + + /// Identity Parameter + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity ClusterpoolInputObject { get => this._clusterpoolInputObject; set => this._clusterpoolInputObject = value; } + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// Accessor for extensibleParameters. + public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// The name of the HDInsight cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the HDInsight cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the HDInsight cluster.", + SerializedName = @"clusterName", + PossibleTypes = new [] { typeof(string) })] + [global::System.Management.Automation.Alias("ClusterName")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// + /// The instance of the that the remote call will use. + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// + /// a duplicate instance of UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityClusterpool + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets.UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityClusterpool Clone() + { + var clone = new UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityClusterpool(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.Name = this.Name; + clone.ClusterUpgradeRequest = this.ClusterUpgradeRequest; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse); + } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress: + { + var data = messageData(); + int progress = (int)data.Value; + string activityMessage, statusDescription; + global::System.Management.Automation.ProgressRecordType recordType; + if (progress < 100) + { + activityMessage = "In progress"; + statusDescription = "Checking operation status"; + recordType = System.Management.Automation.ProgressRecordType.Processing; + } + else + { + activityMessage = "Completed"; + statusDescription = "Completed"; + recordType = System.Management.Automation.ProgressRecordType.Completed; + } + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) + { + PercentComplete = progress, + RecordType = recordType + }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling: + { + var data = messageData(); + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + else + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + WriteDebug($"Delaying {delay} seconds before polling."); + for (var now = 0; now < delay; ++now) + { + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") + { + PercentComplete = now * 100 / delay + }); + await global::System.Threading.Tasks.Task.Delay(1000, token); + } + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ClustersUpgrade' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + if (ClusterpoolInputObject?.Id != null) + { + this.ClusterpoolInputObject.Id += $"/clusters/{(global::System.Uri.EscapeDataString(this.Name.ToString()))}"; + await this.Client.ClustersUpgradeViaIdentity(ClusterpoolInputObject.Id, ClusterUpgradeRequest, onOk, onDefault, this, Pipeline); + } + else + { + // try to call with PATH parameters from Input Object + if (null == ClusterpoolInputObject.SubscriptionId) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("ClusterpoolInputObject has null value for ClusterpoolInputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, ClusterpoolInputObject) ); + } + if (null == ClusterpoolInputObject.ResourceGroupName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("ClusterpoolInputObject has null value for ClusterpoolInputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, ClusterpoolInputObject) ); + } + if (null == ClusterpoolInputObject.ClusterPoolName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("ClusterpoolInputObject has null value for ClusterpoolInputObject.ClusterPoolName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, ClusterpoolInputObject) ); + } + await this.Client.ClustersUpgrade(ClusterpoolInputObject.SubscriptionId ?? null, ClusterpoolInputObject.ResourceGroupName ?? null, ClusterpoolInputObject.ClusterPoolName ?? null, Name, ClusterUpgradeRequest, onOk, onDefault, this, Pipeline); + } + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { Name=Name}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Initializes a new instance of the cmdlet class. + /// + public UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityClusterpool() + { + + } + + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + var result = (await response); + if (null != result) + { + if (0 == _responseSize) + { + _firstResponse = result; + _responseSize = 1; + } + else + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); + } + WriteObject(result.AddMultipleTypeNameIntoPSObject()); + _responseSize = 2; + } + } + } + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityClusterpoolExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityClusterpoolExpanded.cs new file mode 100644 index 000000000000..0a40c914402f --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityClusterpoolExpanded.cs @@ -0,0 +1,595 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Cmdlets; + using System; + + /// Upgrade a cluster. + /// + /// [OpenAPI] Upgrade=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/upgrade" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzHdInsightOnAksCluster_UpgradeViaIdentityClusterpoolExpanded", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Upgrade a cluster.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/upgrade", ApiVersion = "2023-11-01-preview")] + public partial class UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityClusterpoolExpanded : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Cluster Upgrade. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade _clusterUpgradeRequestBody = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgrade(); + + /// A dictionary to carry over additional data for pipeline. + private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); + + /// A buffer to record first returned object in response. + private object _firstResponse = null; + + /// + /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. + /// Two means multiple returned objects in response. + /// + private int _responseSize = 0; + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// Accessor for cancellationTokenSource. + public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HdInsightOnAks Client => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.ClientAPI; + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity _clusterpoolInputObject; + + /// Identity Parameter + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity ClusterpoolInputObject { get => this._clusterpoolInputObject; set => this._clusterpoolInputObject = value; } + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// Accessor for extensibleParameters. + public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// The name of the HDInsight cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the HDInsight cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the HDInsight cluster.", + SerializedName = @"clusterName", + PossibleTypes = new [] { typeof(string) })] + [global::System.Management.Automation.Alias("ClusterName")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// + /// The instance of the that the remote call will use. + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Type of upgrade. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Type of upgrade.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Type of upgrade.", + SerializedName = @"upgradeType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "HotfixUpgrade")] + public string UpgradeType { get => _clusterUpgradeRequestBody.UpgradeType ?? null; set => _clusterUpgradeRequestBody.UpgradeType = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// + /// a duplicate instance of UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityClusterpoolExpanded + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets.UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityClusterpoolExpanded Clone() + { + var clone = new UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityClusterpoolExpanded(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone._clusterUpgradeRequestBody = this._clusterUpgradeRequestBody; + clone.Name = this.Name; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse); + } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress: + { + var data = messageData(); + int progress = (int)data.Value; + string activityMessage, statusDescription; + global::System.Management.Automation.ProgressRecordType recordType; + if (progress < 100) + { + activityMessage = "In progress"; + statusDescription = "Checking operation status"; + recordType = System.Management.Automation.ProgressRecordType.Processing; + } + else + { + activityMessage = "Completed"; + statusDescription = "Completed"; + recordType = System.Management.Automation.ProgressRecordType.Completed; + } + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) + { + PercentComplete = progress, + RecordType = recordType + }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling: + { + var data = messageData(); + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + else + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + WriteDebug($"Delaying {delay} seconds before polling."); + for (var now = 0; now < delay; ++now) + { + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") + { + PercentComplete = now * 100 / delay + }); + await global::System.Threading.Tasks.Task.Delay(1000, token); + } + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ClustersUpgrade' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + if (ClusterpoolInputObject?.Id != null) + { + this.ClusterpoolInputObject.Id += $"/clusters/{(global::System.Uri.EscapeDataString(this.Name.ToString()))}"; + await this.Client.ClustersUpgradeViaIdentity(ClusterpoolInputObject.Id, _clusterUpgradeRequestBody, onOk, onDefault, this, Pipeline); + } + else + { + // try to call with PATH parameters from Input Object + if (null == ClusterpoolInputObject.SubscriptionId) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("ClusterpoolInputObject has null value for ClusterpoolInputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, ClusterpoolInputObject) ); + } + if (null == ClusterpoolInputObject.ResourceGroupName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("ClusterpoolInputObject has null value for ClusterpoolInputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, ClusterpoolInputObject) ); + } + if (null == ClusterpoolInputObject.ClusterPoolName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("ClusterpoolInputObject has null value for ClusterpoolInputObject.ClusterPoolName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, ClusterpoolInputObject) ); + } + await this.Client.ClustersUpgrade(ClusterpoolInputObject.SubscriptionId ?? null, ClusterpoolInputObject.ResourceGroupName ?? null, ClusterpoolInputObject.ClusterPoolName ?? null, Name, _clusterUpgradeRequestBody, onOk, onDefault, this, Pipeline); + } + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { Name=Name}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Initializes a new instance of the cmdlet + /// class. + /// + public UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityClusterpoolExpanded() + { + + } + + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + var result = (await response); + if (null != result) + { + if (0 == _responseSize) + { + _firstResponse = result; + _responseSize = 1; + } + else + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); + } + WriteObject(result.AddMultipleTypeNameIntoPSObject()); + _responseSize = 2; + } + } + } + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityExpanded.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityExpanded.cs new file mode 100644 index 000000000000..4b80cf05f5c2 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityExpanded.cs @@ -0,0 +1,581 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Cmdlets; + using System; + + /// Upgrade a cluster. + /// + /// [OpenAPI] Upgrade=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/upgrade" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzHdInsightOnAksCluster_UpgradeViaIdentityExpanded", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Upgrade a cluster.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/upgrade", ApiVersion = "2023-11-01-preview")] + public partial class UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Cluster Upgrade. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade _clusterUpgradeRequestBody = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ClusterUpgrade(); + + /// A dictionary to carry over additional data for pipeline. + private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); + + /// A buffer to record first returned object in response. + private object _firstResponse = null; + + /// + /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. + /// Two means multiple returned objects in response. + /// + private int _responseSize = 0; + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// Accessor for cancellationTokenSource. + public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HdInsightOnAks Client => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.ClientAPI; + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// Accessor for extensibleParameters. + public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity _inputObject; + + /// Identity Parameter + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// + /// The instance of the that the remote call will use. + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Type of upgrade. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Type of upgrade.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Type of upgrade.", + SerializedName = @"upgradeType", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.PSArgumentCompleterAttribute("AKSPatchUpgrade", "HotfixUpgrade")] + public string UpgradeType { get => _clusterUpgradeRequestBody.UpgradeType ?? null; set => _clusterUpgradeRequestBody.UpgradeType = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// + /// a duplicate instance of UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityExpanded + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets.UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityExpanded Clone() + { + var clone = new UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityExpanded(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone._clusterUpgradeRequestBody = this._clusterUpgradeRequestBody; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse); + } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress: + { + var data = messageData(); + int progress = (int)data.Value; + string activityMessage, statusDescription; + global::System.Management.Automation.ProgressRecordType recordType; + if (progress < 100) + { + activityMessage = "In progress"; + statusDescription = "Checking operation status"; + recordType = System.Management.Automation.ProgressRecordType.Processing; + } + else + { + activityMessage = "Completed"; + statusDescription = "Completed"; + recordType = System.Management.Automation.ProgressRecordType.Completed; + } + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) + { + PercentComplete = progress, + RecordType = recordType + }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling: + { + var data = messageData(); + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + else + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + WriteDebug($"Delaying {delay} seconds before polling."); + for (var now = 0; now < delay; ++now) + { + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") + { + PercentComplete = now * 100 / delay + }); + await global::System.Threading.Tasks.Task.Delay(1000, token); + } + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ClustersUpgrade' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + if (InputObject?.Id != null) + { + await this.Client.ClustersUpgradeViaIdentity(InputObject.Id, _clusterUpgradeRequestBody, onOk, onDefault, this, Pipeline); + } + else + { + // try to call with PATH parameters from Input Object + if (null == InputObject.SubscriptionId) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ResourceGroupName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ClusterPoolName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ClusterPoolName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ClusterName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ClusterName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + await this.Client.ClustersUpgrade(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ClusterPoolName ?? null, InputObject.ClusterName ?? null, _clusterUpgradeRequestBody, onOk, onDefault, this, Pipeline); + } + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Initializes a new instance of the cmdlet class. + /// + public UpdateAzHdInsightOnAksCluster_UpgradeViaIdentityExpanded() + { + + } + + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + var result = (await response); + if (null != result) + { + if (0 == _responseSize) + { + _firstResponse = result; + _responseSize = 1; + } + else + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); + } + WriteObject(result.AddMultipleTypeNameIntoPSObject()); + _responseSize = 2; + } + } + } + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeViaJsonFilePath.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeViaJsonFilePath.cs new file mode 100644 index 000000000000..ba174dc4ac37 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeViaJsonFilePath.cs @@ -0,0 +1,615 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Cmdlets; + using System; + + /// Upgrade a cluster. + /// + /// [OpenAPI] Upgrade=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/upgrade" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzHdInsightOnAksCluster_UpgradeViaJsonFilePath", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Upgrade a cluster.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/upgrade", ApiVersion = "2023-11-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.NotSuggestDefaultParameterSet] + public partial class UpdateAzHdInsightOnAksCluster_UpgradeViaJsonFilePath : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// A dictionary to carry over additional data for pipeline. + private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); + + /// A buffer to record first returned object in response. + private object _firstResponse = null; + + public global::System.String _jsonString; + + /// + /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. + /// Two means multiple returned objects in response. + /// + private int _responseSize = 0; + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// Accessor for cancellationTokenSource. + public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HdInsightOnAks Client => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.ClientAPI; + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// Accessor for extensibleParameters. + public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// Backing field for property. + private string _jsonFilePath; + + /// Path of Json file supplied to the Upgrade operation + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Path of Json file supplied to the Upgrade operation")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Path of Json file supplied to the Upgrade operation", + SerializedName = @"JsonFilePath", + PossibleTypes = new [] { typeof(string) })] + public string JsonFilePath { get => this._jsonFilePath; set { if (!System.IO.File.Exists(value)) { throw new Exception("Cannot find File " + value); } this._jsonString = System.IO.File.ReadAllText(value); this._jsonFilePath = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// The name of the HDInsight cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the HDInsight cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the HDInsight cluster.", + SerializedName = @"clusterName", + PossibleTypes = new [] { typeof(string) })] + [global::System.Management.Automation.Alias("ClusterName")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// + /// The instance of the that the remote call will use. + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.HttpPipeline Pipeline { get; set; } + + /// Backing field for property. + private string _poolName; + + /// The name of the cluster pool. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the cluster pool.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the cluster pool.", + SerializedName = @"clusterPoolName", + PossibleTypes = new [] { typeof(string) })] + [global::System.Management.Automation.Alias("ClusterPoolName")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string PoolName { get => this._poolName; set => this._poolName = value; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group. The name is case insensitive. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group. The name is case insensitive.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// The ID of the target subscription. The value must be an UUID. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription. The value must be an UUID.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The ID of the target subscription. The value must be an UUID.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id", + SetCondition = @"")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// a duplicate instance of UpdateAzHdInsightOnAksCluster_UpgradeViaJsonFilePath + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets.UpdateAzHdInsightOnAksCluster_UpgradeViaJsonFilePath Clone() + { + var clone = new UpdateAzHdInsightOnAksCluster_UpgradeViaJsonFilePath(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.SubscriptionId = this.SubscriptionId; + clone.ResourceGroupName = this.ResourceGroupName; + clone.PoolName = this.PoolName; + clone.Name = this.Name; + clone.JsonFilePath = this.JsonFilePath; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse); + } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress: + { + var data = messageData(); + int progress = (int)data.Value; + string activityMessage, statusDescription; + global::System.Management.Automation.ProgressRecordType recordType; + if (progress < 100) + { + activityMessage = "In progress"; + statusDescription = "Checking operation status"; + recordType = System.Management.Automation.ProgressRecordType.Processing; + } + else + { + activityMessage = "Completed"; + statusDescription = "Completed"; + recordType = System.Management.Automation.ProgressRecordType.Completed; + } + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) + { + PercentComplete = progress, + RecordType = recordType + }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling: + { + var data = messageData(); + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + else + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + WriteDebug($"Delaying {delay} seconds before polling."); + for (var now = 0; now < delay; ++now) + { + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") + { + PercentComplete = now * 100 / delay + }); + await global::System.Threading.Tasks.Task.Delay(1000, token); + } + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ClustersUpgrade' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.ClustersUpgradeViaJsonString(SubscriptionId, ResourceGroupName, PoolName, Name, _jsonString, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,PoolName=PoolName,Name=Name}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Initializes a new instance of the cmdlet class. + /// + public UpdateAzHdInsightOnAksCluster_UpgradeViaJsonFilePath() + { + + } + + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + var result = (await response); + if (null != result) + { + if (0 == _responseSize) + { + _firstResponse = result; + _responseSize = 1; + } + else + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); + } + WriteObject(result.AddMultipleTypeNameIntoPSObject()); + _responseSize = 2; + } + } + } + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeViaJsonString.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeViaJsonString.cs new file mode 100644 index 000000000000..6fc07eac03a5 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/cmdlets/UpdateAzHdInsightOnAksCluster_UpgradeViaJsonString.cs @@ -0,0 +1,613 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Extensions; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell; + using Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Cmdlets; + using System; + + /// Upgrade a cluster. + /// + /// [OpenAPI] Upgrade=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/upgrade" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzHdInsightOnAksCluster_UpgradeViaJsonString", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster))] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Description(@"Upgrade a cluster.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}/upgrade", ApiVersion = "2023-11-01-preview")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.NotSuggestDefaultParameterSet] + public partial class UpdateAzHdInsightOnAksCluster_UpgradeViaJsonString : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener, + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IContext + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// A dictionary to carry over additional data for pipeline. + private global::System.Collections.Generic.Dictionary _extensibleParameters = new System.Collections.Generic.Dictionary(); + + /// A buffer to record first returned object in response. + private object _firstResponse = null; + + /// + /// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object. + /// Two means multiple returned objects in response. + /// + private int _responseSize = 0; + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// Accessor for cancellationTokenSource. + public global::System.Threading.CancellationTokenSource CancellationTokenSource { get => _cancellationTokenSource ; set { _cancellationTokenSource = value; } } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.HdInsightOnAks Client => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.ClientAPI; + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// Accessor for extensibleParameters. + public global::System.Collections.Generic.IDictionary ExtensibleParameters { get => _extensibleParameters ; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// Backing field for property. + private string _jsonString; + + /// Json string supplied to the Upgrade operation + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Json string supplied to the Upgrade operation")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Json string supplied to the Upgrade operation", + SerializedName = @"JsonString", + PossibleTypes = new [] { typeof(string) })] + public string JsonString { get => this._jsonString; set => this._jsonString = value; } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// The name of the HDInsight cluster. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the HDInsight cluster.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the HDInsight cluster.", + SerializedName = @"clusterName", + PossibleTypes = new [] { typeof(string) })] + [global::System.Management.Automation.Alias("ClusterName")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// + /// The instance of the that the remote call will use. + /// + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.HttpPipeline Pipeline { get; set; } + + /// Backing field for property. + private string _poolName; + + /// The name of the cluster pool. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the cluster pool.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the cluster pool.", + SerializedName = @"clusterPoolName", + PossibleTypes = new [] { typeof(string) })] + [global::System.Management.Automation.Alias("ClusterPoolName")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string PoolName { get => this._poolName; set => this._poolName = value; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group. The name is case insensitive. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group. The name is case insensitive.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// The ID of the target subscription. The value must be an UUID. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription. The value must be an UUID.")] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The ID of the target subscription. The value must be an UUID.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id", + SetCondition = @"")] + [global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Category(global::Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// a duplicate instance of UpdateAzHdInsightOnAksCluster_UpgradeViaJsonString + public Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Cmdlets.UpdateAzHdInsightOnAksCluster_UpgradeViaJsonString Clone() + { + var clone = new UpdateAzHdInsightOnAksCluster_UpgradeViaJsonString(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.SubscriptionId = this.SubscriptionId; + clone.ResourceGroupName = this.ResourceGroupName; + clone.PoolName = this.PoolName; + clone.Name = this.Name; + clone.JsonString = this.JsonString; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse); + } + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (!string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName ?? "Unknown"} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.Progress: + { + var data = messageData(); + int progress = (int)data.Value; + string activityMessage, statusDescription; + global::System.Management.Automation.ProgressRecordType recordType; + if (progress < 100) + { + activityMessage = "In progress"; + statusDescription = "Checking operation status"; + recordType = System.Management.Automation.ProgressRecordType.Processing; + } + else + { + activityMessage = "Completed"; + statusDescription = "Completed"; + recordType = System.Management.Automation.ProgressRecordType.Completed; + } + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, activityMessage, statusDescription) + { + PercentComplete = progress, + RecordType = recordType + }); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.DelayBeforePolling: + { + var data = messageData(); + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + else + { + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + int delay = (int)(response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + WriteDebug($"Delaying {delay} seconds before polling."); + for (var now = 0; now < delay; ++now) + { + WriteProgress(new global::System.Management.Automation.ProgressRecord(1, "In progress", "Checking operation status") + { + PercentComplete = now * 100 / delay + }); + await global::System.Threading.Tasks.Task.Delay(1000, token); + } + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.Signal(id, token, messageData, (i, t, m) => ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(i, t, () => Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventDataConverter.ConvertFrom(m()) as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.EventData), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'ClustersUpgrade' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName, this.ExtensibleParameters); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.ClustersUpgradeViaJsonString(SubscriptionId, ResourceGroupName, PoolName, Name, _jsonString, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,PoolName=PoolName,Name=Name}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Initializes a new instance of the cmdlet class. + /// + public UpdateAzHdInsightOnAksCluster_UpgradeViaJsonString() + { + + } + + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + var result = (await response); + if (null != result) + { + if (0 == _responseSize) + { + _firstResponse = result; + _responseSize = 1; + } + else + { + if (1 ==_responseSize) + { + // Flush buffer + WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject()); + } + WriteObject(result.AddMultipleTypeNameIntoPSObject()); + _responseSize = 2; + } + } + } + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs index 33e119eccf75..2fef9c2e69c4 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs @@ -70,9 +70,8 @@ protected override void ProcessRecord() var variantGroups = profileGroups.SelectMany(pg => pg.Variants .GroupBy(v => new { v.CmdletName, v.IsInternal }) .Select(vg => new VariantGroup(ModuleName, vg.Key.CmdletName, vg.Select(v => v).ToArray(), - Path.Combine(vg.Key.IsInternal ? InternalFolder : ExportsFolder, pg.ProfileFolder), pg.ProfileName, isInternal: vg.Key.IsInternal))) + Path.Combine(vg.Key.IsInternal ? InternalFolder : ExportsFolder, pg.ProfileFolder), pg.ProfileName, isInternal: vg.Key.IsInternal))) .ToArray(); - var license = new StringBuilder(); license.Append(@" # ---------------------------------------------------------------------------------- @@ -114,6 +113,7 @@ protected override void ProcessRecord() sb.Append("param("); sb.Append($"{(parameterGroups.Any() ? Environment.NewLine : String.Empty)}"); + foreach (var parameterGroup in parameterGroups) { var parameters = parameterGroup.HasAllVariants ? parameterGroup.Parameters.Take(1) : parameterGroup.Parameters; diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/runtime/BuildTime/Cmdlets/ExportTestStub.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/runtime/BuildTime/Cmdlets/ExportTestStub.cs index 5090d1963026..c008308c24dc 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/runtime/BuildTime/Cmdlets/ExportTestStub.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/runtime/BuildTime/Cmdlets/ExportTestStub.cs @@ -12,50 +12,96 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PowerShell { - [Cmdlet(VerbsData.Export, "TestStub")] - [DoNotExport] - public class ExportTestStub : PSCmdlet - { - [Parameter(Mandatory = true)] - [ValidateNotNullOrEmpty] - public string ModuleName { get; set; } - - [Parameter(Mandatory = true)] - [ValidateNotNullOrEmpty] - public string ExportsFolder { get; set; } - - [Parameter(Mandatory = true)] - [ValidateNotNullOrEmpty] - public string OutputFolder { get; set; } - - [Parameter] - public SwitchParameter IncludeGenerated { get; set; } - - protected override void ProcessRecord() + [Cmdlet(VerbsData.Export, "TestStub")] + [DoNotExport] + public class ExportTestStub : PSCmdlet { - try - { - if (!Directory.Exists(ExportsFolder)) - { - throw new ArgumentException($"Exports folder '{ExportsFolder}' does not exist"); - } + [Parameter(Mandatory = true)] + [ValidateNotNullOrEmpty] + public string ModuleName { get; set; } - var exportDirectories = Directory.GetDirectories(ExportsFolder); - if (!exportDirectories.Any()) - { - exportDirectories = new[] { ExportsFolder }; - } - var utilFile = Path.Combine(OutputFolder, "utils.ps1"); - if (!File.Exists(utilFile)) + [Parameter(Mandatory = true)] + [ValidateNotNullOrEmpty] + public string ExportsFolder { get; set; } + + [Parameter(Mandatory = true)] + [ValidateNotNullOrEmpty] + public string OutputFolder { get; set; } + + [Parameter] + public SwitchParameter IncludeGenerated { get; set; } + + protected override void ProcessRecord() { - var sc = new StringBuilder(); - sc.AppendLine(@"function RandomString([bool]$allChars, [int32]$len) { + try + { + if (!Directory.Exists(ExportsFolder)) + { + throw new ArgumentException($"Exports folder '{ExportsFolder}' does not exist"); + } + + var exportDirectories = Directory.GetDirectories(ExportsFolder); + if (!exportDirectories.Any()) + { + exportDirectories = new[] { ExportsFolder }; + } + /*var loadEnvFile = Path.Combine(OutputFolder, "loadEnv.ps1"); + if (!File.Exists(loadEnvFile)) + { + var sc = new StringBuilder(); + sc.AppendLine(@" +$envFile = 'env.json' +if ($TestMode -eq 'live') { + $envFile = 'localEnv.json' +} + +if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) { + $envFilePath = Join-Path $PSScriptRoot $envFile +} else { + $envFilePath = Join-Path $PSScriptRoot '..\$envFile' +} +$env = @{} +if (Test-Path -Path $envFilePath) { + $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json +}"); + File.WriteAllText(loadEnvFile, sc.ToString()); + }*/ + var utilFile = Path.Combine(OutputFolder, "utils.ps1"); + if (!File.Exists(utilFile)) + { + var sc = new StringBuilder(); + sc.AppendLine(@"function RandomString([bool]$allChars, [int32]$len) { if ($allChars) { return -join ((33..126) | Get-Random -Count $len | % {[char]$_}) } else { return -join ((48..57) + (97..122) | Get-Random -Count $len | % {[char]$_}) } } +function Start-TestSleep { + [CmdletBinding(DefaultParameterSetName = 'SleepBySeconds')] + param( + [parameter(Mandatory = $true, Position = 0, ParameterSetName = 'SleepBySeconds')] + [ValidateRange(0.0, 2147483.0)] + [double] $Seconds, + + [parameter(Mandatory = $true, ParameterSetName = 'SleepByMilliseconds')] + [ValidateRange('NonNegative')] + [Alias('ms')] + [int] $Milliseconds + ) + + if ($TestMode -ne 'playback') { + switch ($PSCmdlet.ParameterSetName) { + 'SleepBySeconds' { + Start-Sleep -Seconds $Seconds + } + 'SleepByMilliseconds' { + Start-Sleep -Milliseconds $Milliseconds + } + } + } +} + $env = @{} if ($UsePreviousConfigForRecord) { $previousEnv = Get-Content (Join-Path $PSScriptRoot 'env.json') | ConvertFrom-Json @@ -80,37 +126,40 @@ function cleanupEnv() { # Clean resources you create for testing } "); - File.WriteAllText(utilFile, sc.ToString()); - } - foreach (var exportDirectory in exportDirectories) - { - var outputFolder = OutputFolder; - if (exportDirectory != ExportsFolder) - { - outputFolder = Path.Combine(OutputFolder, Path.GetFileName(exportDirectory)); - Directory.CreateDirectory(outputFolder); - } - - var variantGroups = GetScriptCmdlets(exportDirectory) - .SelectMany(fi => fi.ToVariants()) - .Where(v => !v.IsDoNotExport) - .GroupBy(v => v.CmdletName) - .Select(vg => new VariantGroup(ModuleName, vg.Key, vg.Select(v => v).ToArray(), outputFolder, isTest: true)) - .Where(vtg => !File.Exists(vtg.FilePath) && (IncludeGenerated || !vtg.IsGenerated)); - - foreach (var variantGroup in variantGroups) - { - var sb = new StringBuilder(); - sb.AppendLine($"if(($null -eq $TestName) -or ($TestName -contains '{variantGroup.CmdletName}'))"); - sb.AppendLine(@"{ + File.WriteAllText(utilFile, sc.ToString()); + } + + + + foreach (var exportDirectory in exportDirectories) + { + var outputFolder = OutputFolder; + if (exportDirectory != ExportsFolder) + { + outputFolder = Path.Combine(OutputFolder, Path.GetFileName(exportDirectory)); + Directory.CreateDirectory(outputFolder); + } + + var variantGroups = GetScriptCmdlets(exportDirectory) + .SelectMany(fi => fi.ToVariants()) + .Where(v => !v.IsDoNotExport) + .GroupBy(v => v.CmdletName) + .Select(vg => new VariantGroup(ModuleName, vg.Key, vg.Select(v => v).ToArray(), outputFolder, isTest: true)) + .Where(vtg => !File.Exists(vtg.FilePath) && (IncludeGenerated || !vtg.IsGenerated)); + + foreach (var variantGroup in variantGroups) + { + var sb = new StringBuilder(); + sb.AppendLine($"if(($null -eq $TestName) -or ($TestName -contains '{variantGroup.CmdletName}'))"); + sb.AppendLine(@"{ $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' if (-Not (Test-Path -Path $loadEnvPath)) { $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' } . ($loadEnvPath)" -); - sb.AppendLine($@" $TestRecordingFile = Join-Path $PSScriptRoot '{variantGroup.CmdletName}.Recording.json'"); - sb.AppendLine(@" $currentPath = $PSScriptRoot + ); + sb.AppendLine($@" $TestRecordingFile = Join-Path $PSScriptRoot '{variantGroup.CmdletName}.Recording.json'"); + sb.AppendLine(@" $currentPath = $PSScriptRoot while(-not $mockingPath) { $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File $currentPath = Split-Path -Path $currentPath -Parent @@ -120,29 +169,29 @@ function cleanupEnv() { "); - sb.AppendLine($"Describe '{variantGroup.CmdletName}' {{"); - var variants = variantGroup.Variants - .Where(v => IncludeGenerated || !v.Attributes.OfType().Any()) - .ToList(); + sb.AppendLine($"Describe '{variantGroup.CmdletName}' {{"); + var variants = variantGroup.Variants + .Where(v => IncludeGenerated || !v.Attributes.OfType().Any()) + .ToList(); - foreach (var variant in variants) + foreach (var variant in variants) + { + sb.AppendLine($"{Indent}It '{variant.VariantName}' -skip {{"); + sb.AppendLine($"{Indent}{Indent}{{ throw [System.NotImplementedException] }} | Should -Not -Throw"); + var variantSeparator = variants.IndexOf(variant) == variants.Count - 1 ? String.Empty : Environment.NewLine; + sb.AppendLine($"{Indent}}}{variantSeparator}"); + } + sb.AppendLine("}"); + + File.WriteAllText(variantGroup.FilePath, sb.ToString()); + } + } + } + catch (Exception ee) { - sb.AppendLine($"{Indent}It '{variant.VariantName}' -skip {{"); - sb.AppendLine($"{Indent}{Indent}{{ throw [System.NotImplementedException] }} | Should -Not -Throw"); - var variantSeparator = variants.IndexOf(variant) == variants.Count - 1 ? String.Empty : Environment.NewLine; - sb.AppendLine($"{Indent}}}{variantSeparator}"); + Console.WriteLine($"${ee.GetType().Name}/{ee.StackTrace}"); + throw ee; } - sb.AppendLine("}"); - - File.WriteAllText(variantGroup.FilePath, sb.ToString()); - } } - } - catch (Exception ee) - { - Console.WriteLine($"${ee.GetType().Name}/{ee.StackTrace}"); - throw ee; - } } - } } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/runtime/BuildTime/MarkdownRenderer.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/runtime/BuildTime/MarkdownRenderer.cs index 7ee8834d7489..e8ce00b6c65c 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/runtime/BuildTime/MarkdownRenderer.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/runtime/BuildTime/MarkdownRenderer.cs @@ -94,7 +94,7 @@ public static void WriteMarkdowns(IEnumerable variantGroups, PsMod sb.Append($"## RELATED LINKS{Environment.NewLine}{Environment.NewLine}"); foreach (var relatedLink in markdownInfo.RelatedLinks) { - sb.Append($"{relatedLink}{Environment.NewLine}{Environment.NewLine}"); + sb.Append($"[{relatedLink}]({relatedLink}){Environment.NewLine}{Environment.NewLine}"); } File.WriteAllText(Path.Combine(docsFolder, $"{markdownInfo.CmdletName}.md"), sb.ToString()); diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs index 05791e85e195..7ba6ccd4f802 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs @@ -188,6 +188,7 @@ internal class BaseOutput public VariantGroup VariantGroup { get; } protected static readonly bool IsAzure = Convert.ToBoolean(@"true"); + public BaseOutput(VariantGroup variantGroup) { VariantGroup = variantGroup; @@ -206,12 +207,13 @@ public BeginOutput(VariantGroup variantGroup) : base(variantGroup) public string GetProcessCustomAttributesAtRuntime() { - return VariantGroup.IsInternal ? "" : $@"{Indent}{Indent}$cmdInfo = Get-Command -Name $mapping[$parameterSet] + return VariantGroup.IsInternal ? "" : IsAzure ? $@"{Indent}{Indent}$cmdInfo = Get-Command -Name $mapping[$parameterSet] {Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) {Indent}{Indent}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)){{ {Indent}{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) {Indent}{Indent}{Indent}[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) -{Indent}{Indent}}}"; +{Indent}{Indent}}}" : $@"{Indent}{Indent}$cmdInfo = Get-Command -Name $mapping[$parameterSet]{Environment.NewLine}{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) +{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)"; } private string GetTelemetry() @@ -288,12 +290,31 @@ private string GetDefaultValuesStatements() { setCondition = $" -and {defaultInfo.SetCondition}"; } - sb.AppendLine($"{Indent}{Indent}if (({variantListString}) -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('{parameterName}'){setCondition}) {{"); - sb.AppendLine($"{Indent}{Indent}{Indent}$PSBoundParameters['{parameterName}'] = {defaultInfo.Script}"); - sb.Append($"{Indent}{Indent}}}"); + //Yabo: this is bad to hard code the subscription id, but autorest load input README.md reversely (entry readme -> required readme), there are no other way to + //override default value set in required readme + if ("SubscriptionId".Equals(parameterName)) + { + sb.AppendLine($"{Indent}{Indent}if (({variantListString}) -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('{parameterName}'){setCondition}) {{"); + sb.AppendLine($"{Indent}{Indent}{Indent}$testPlayback = $false"); + sb.AppendLine($"{Indent}{Indent}{Indent}$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object {{ $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) }}"); + sb.AppendLine($"{Indent}{Indent}{Indent}if ($testPlayback) {{"); + sb.AppendLine($"{Indent}{Indent}{Indent}{Indent}$PSBoundParameters['{parameterName}'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')"); + sb.AppendLine($"{Indent}{Indent}{Indent}}} else {{"); + sb.AppendLine($"{Indent}{Indent}{Indent}{Indent}$PSBoundParameters['{parameterName}'] = {defaultInfo.Script}"); + sb.AppendLine($"{Indent}{Indent}{Indent}}}"); + sb.Append($"{Indent}{Indent}}}"); + } + else + { + sb.AppendLine($"{Indent}{Indent}if (({variantListString}) -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('{parameterName}'){setCondition}) {{"); + sb.AppendLine($"{Indent}{Indent}{Indent}$PSBoundParameters['{parameterName}'] = {defaultInfo.Script}"); + sb.Append($"{Indent}{Indent}}}"); + } + } return sb.ToString(); } + } internal class ProcessOutput : BaseOutput diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs index 59c30aabcbfb..327676b3ef97 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs @@ -31,7 +31,7 @@ internal class VariantGroup { public string ModuleName { get; } - public string RootModuleName {get => @"";} + public string RootModuleName { get => @""; } public string CmdletName { get; } public string CmdletVerb { get; } public string CmdletNoun { get; } @@ -49,7 +49,6 @@ internal class VariantGroup public PsHelpInfo HelpInfo { get; } public bool IsGenerated { get; } public bool IsInternal { get; } - public string OutputFolder { get; } public string FileName { get; } public string FilePath { get; } @@ -84,7 +83,6 @@ public VariantGroup(string moduleName, string cmdletName, Variant[] variants, st HelpInfo = Variants.Select(v => v.HelpInfo).FirstOrDefault() ?? new PsHelpInfo(); IsGenerated = Variants.All(v => v.Attributes.OfType().Any()); IsInternal = isInternal; - OutputFolder = outputFolder; FileName = $"{CmdletName}{(isTest ? ".Tests" : String.Empty)}.ps1"; FilePath = Path.Combine(OutputFolder, FileName); @@ -258,7 +256,6 @@ internal class Parameter public ParameterMetadata Metadata { get; } public PsParameterHelpInfo HelpInfo { get; } public Type ParameterType { get; } - public Attribute[] Attributes { get; } public ParameterCategory[] Categories { get; } public ParameterCategory OrderCategory { get; } @@ -311,10 +308,10 @@ public Parameter(string variantName, string parameterName, ParameterMetadata met IsMandatory = ParameterAttribute.Mandatory; var complexParameterName = ParameterName.ToUpperInvariant(); - var complexMessage = $"{Environment.NewLine}To construct, see NOTES section for {complexParameterName} properties and create a hash table."; + var complexMessage = $"{Environment.NewLine}"; var description = ParameterAttribute.HelpMessage.NullIfEmpty() ?? HelpInfo.Description.NullIfEmpty() ?? InfoAttribute?.Description.NullIfEmpty() ?? String.Empty; // Remove the complex type message as it will be reinserted if this is a complex type - description = description.NormalizeNewLines().Replace(complexMessage, String.Empty).Replace(complexMessage.ToPsSingleLine(), String.Empty); + description = description.NormalizeNewLines(); // Make an InfoAttribute for processing only if one isn't provided InfoAttribute = Attributes.OfType().FirstOrDefault() ?? new InfoAttribute { PossibleTypes = new[] { ParameterType.Unwrap() }, Required = IsMandatory }; // Set the description if the InfoAttribute does not have one since they are exported without a description @@ -334,7 +331,7 @@ internal class ComplexInterfaceInfo public bool Required { get; } public bool ReadOnly { get; } public string Description { get; } - + public ComplexInterfaceInfo[] NestedInfos { get; } public bool IsComplexInterface { get; } @@ -351,7 +348,7 @@ public ComplexInterfaceInfo(string name, Type type, InfoAttribute infoAttribute, var unwrappedType = Type.Unwrap(); var hasBeenSeen = seenTypes?.Contains(unwrappedType) ?? false; (seenTypes ?? (seenTypes = new List())).Add(unwrappedType); - NestedInfos = hasBeenSeen ? new ComplexInterfaceInfo[]{} : + NestedInfos = hasBeenSeen ? new ComplexInterfaceInfo[] { } : unwrappedType.GetInterfaces() .Concat(InfoAttribute.PossibleTypes) .SelectMany(pt => pt.GetProperties() @@ -440,7 +437,7 @@ public CompleterInfo(ArgumentCompleterAttribute completerAttribute) } } - internal class PSArgumentCompleterInfo: CompleterInfo + internal class PSArgumentCompleterInfo : CompleterInfo { public string[] ResourceTypes { get; } @@ -511,7 +508,8 @@ public static Parameter[] ToParameters(this Variant variant) parameterHelp = parameterHelp.Where(ph => (!ph.ParameterSetNames.Any() || ph.ParameterSetNames.Any(psn => psn == variant.VariantName || psn == AllParameterSets)) && ph.Name != "IncludeTotalCount"); } var result = parameters.Select(p => new Parameter(variant.VariantName, p.Key, p.Value, parameterHelp.FirstOrDefault(ph => ph.Name == p.Key))); - if (variant.SupportsPaging) { + if (variant.SupportsPaging) + { // If supportsPaging is set, we will need to add First and Skip parameters since they are treated as common parameters which as not contained on Metadata>parameters variant.Info.Parameters["First"].Attributes.OfType().FirstOrDefault(pa => pa.ParameterSetName == variant.VariantName || pa.ParameterSetName == AllParameterSets).HelpMessage = "Gets only the first 'n' objects."; variant.Info.Parameters["Skip"].Attributes.OfType().FirstOrDefault(pa => pa.ParameterSetName == variant.VariantName || pa.ParameterSetName == AllParameterSets).HelpMessage = "Ignores the first 'n' objects and then gets the remaining objects."; diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Az.HdInsightOnAks.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Az.HdInsightOnAks.md new file mode 100644 index 000000000000..8939f9722d84 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Az.HdInsightOnAks.md @@ -0,0 +1,100 @@ +--- +Module Name: Az.HdInsightOnAks +Module Guid: 5d9ea51e-3614-409d-b09a-9188a642e11c +Download Help Link: https://learn.microsoft.com/powershell/module/az.hdinsightonaks +Help Version: 1.0.0.0 +Locale: en-US +--- + +# Az.HdInsightOnAks Module +## Description +Microsoft Azure PowerShell: HdInsightOnAks cmdlets + +## Az.HdInsightOnAks Cmdlets +### [Get-AzHdInsightOnAksAvailableClusterPoolVersion](Get-AzHdInsightOnAksAvailableClusterPoolVersion.md) +Returns a list of available cluster pool versions. + +### [Get-AzHdInsightOnAksAvailableClusterVersion](Get-AzHdInsightOnAksAvailableClusterVersion.md) +Returns a list of available cluster versions. + +### [Get-AzHdInsightOnAksCluster](Get-AzHdInsightOnAksCluster.md) +Gets a HDInsight cluster. + +### [Get-AzHdInsightOnAksClusterAvailableUpgrade](Get-AzHdInsightOnAksClusterAvailableUpgrade.md) +List a cluster available upgrade. + +### [Get-AzHdInsightOnAksClusterInstanceView](Get-AzHdInsightOnAksClusterInstanceView.md) +Gets the status of a cluster instance. + +### [Get-AzHdInsightOnAksClusterJob](Get-AzHdInsightOnAksClusterJob.md) +Get jobs of HDInsight on AKS cluster. + +### [Get-AzHdInsightOnAksClusterPool](Get-AzHdInsightOnAksClusterPool.md) +Gets a cluster pool. + +### [Get-AzHdInsightOnAksClusterPoolAvailableUpgrade](Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.md) +List a cluster pool available upgrade. + +### [Get-AzHdInsightOnAksClusterServiceConfig](Get-AzHdInsightOnAksClusterServiceConfig.md) +Lists the config dump of all services running in cluster. + +### [New-AzHdInsightOnAksCluster](New-AzHdInsightOnAksCluster.md) +Creates a cluster. + +### [New-AzHdInsightOnAksClusterConfigFileObject](New-AzHdInsightOnAksClusterConfigFileObject.md) +Create cluster config file. + +### [New-AzHdInsightOnAksClusterHotfixUpgradeObject](New-AzHdInsightOnAksClusterHotfixUpgradeObject.md) +Create an object to hold the cluster upgrade parameters. + +### [New-AzHdInsightOnAksClusterPool](New-AzHdInsightOnAksClusterPool.md) +Create a cluster pool. + +### [New-AzHdInsightOnAksClusterPoolAKSUpgradeObject](New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.md) +Create an object to hold the cluster pool upgrade parameters. + +### [New-AzHdInsightOnAksClusterServiceConfigObject](New-AzHdInsightOnAksClusterServiceConfigObject.md) +Create a component config. + +### [New-AzHdInsightOnAksClusterServiceConfigsProfileObject](New-AzHdInsightOnAksClusterServiceConfigsProfileObject.md) +Create a service config profile. + +### [New-AzHdInsightOnAksFlinkJobObject](New-AzHdInsightOnAksFlinkJobObject.md) +Create an object as a parameter for submitting cluster work + +### [New-AzHdInsightOnAksNodeProfileObject](New-AzHdInsightOnAksNodeProfileObject.md) +Create a node profile with SKU and worker count. + +### [New-AzHdInsightOnAksSecretReferenceObject](New-AzHdInsightOnAksSecretReferenceObject.md) +Create a reference to provide a secret to store the password for accessing the database. + +### [New-AzHdInsightOnAksTrinoHiveCatalogObject](New-AzHdInsightOnAksTrinoHiveCatalogObject.md) +Create a hive catalog configured as a Trino cluster. + +### [Remove-AzHdInsightOnAksCluster](Remove-AzHdInsightOnAksCluster.md) +Deletes a cluster. + +### [Remove-AzHdInsightOnAksClusterPool](Remove-AzHdInsightOnAksClusterPool.md) +Deletes a Cluster Pool. + +### [Resize-AzHdInsightOnAksCluster](Resize-AzHdInsightOnAksCluster.md) +Resize an existing Cluster. + +### [Set-AzHdInsightOnAksClusterPool](Set-AzHdInsightOnAksClusterPool.md) +Create a cluster pool. + +### [Start-AzHdInsightOnAksClusterJob](Start-AzHdInsightOnAksClusterJob.md) +Operations on jobs of HDInsight on AKS cluster. + +### [Test-AzHdInsightOnAksLocationNameAvailability](Test-AzHdInsightOnAksLocationNameAvailability.md) +Check the availability of the resource name. + +### [Update-AzHdInsightOnAksCluster](Update-AzHdInsightOnAksCluster.md) +Updates an existing Cluster. + +### [Update-AzHdInsightOnAksClusterPool](Update-AzHdInsightOnAksClusterPool.md) +Upgrade a cluster pool. + +### [Update-AzHdInsightOnAksClusterPoolTag](Update-AzHdInsightOnAksClusterPoolTag.md) +Updates an existing Cluster Pool Tags. + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksAvailableClusterPoolVersion.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksAvailableClusterPoolVersion.md new file mode 100644 index 000000000000..9ae289501e3e --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksAvailableClusterPoolVersion.md @@ -0,0 +1,111 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksavailableclusterpoolversion +schema: 2.0.0 +--- + +# Get-AzHdInsightOnAksAvailableClusterPoolVersion + +## SYNOPSIS +Returns a list of available cluster pool versions. + +## SYNTAX + +``` +Get-AzHdInsightOnAksAvailableClusterPoolVersion -Location [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Returns a list of available cluster pool versions. + +## EXAMPLES + +### Example 1: Returns all cluster pool versions in a region. +```powershell +$location = "west us 2" +Get-AzHdInsightOnAksAvailableClusterPoolVersion -Location $location +``` + +```output +AksVersion : 1.26 +ClusterPoolVersionValue : 1.0 +Id : /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/west us 2/ + availableclusterpoolversions/1.0 +IsPreview : False +Name : 1.0 +SystemData : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api40.SystemData +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : +``` + +Get all available cluster pool versions in West US 2 + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The name of the Azure region. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolVersion + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksAvailableClusterVersion.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksAvailableClusterVersion.md new file mode 100644 index 000000000000..e332b43941a1 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksAvailableClusterVersion.md @@ -0,0 +1,276 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksavailableclusterversion +schema: 2.0.0 +--- + +# Get-AzHdInsightOnAksAvailableClusterVersion + +## SYNOPSIS +Returns a list of available cluster versions. + +## SYNTAX + +``` +Get-AzHdInsightOnAksAvailableClusterVersion -Location [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Returns a list of available cluster versions. + +## EXAMPLES + +### Example 1: Returns all cluster type versions in a region. +```powershell +$location = "west us 2" +Get-AzHdInsightOnAksAvailableClusterVersion -Location $location +``` + +```output +ClusterPoolVersion : 1.0 +ClusterType : Flink +ClusterVersionValue : 1.0.5 +Component : {Flink, Hive Metastore} +Id : /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/west us 2/ + availableclusterversions/flink_1.16.0-1.0.5 +IsPreview : False +Name : flink_1.16.0-1.0.5 +OssVersion : 1.16.0 +SystemData : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api40.SystemData +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : + +ClusterPoolVersion : 1.0 +ClusterType : Flink +ClusterVersionValue : 1.0.6 +Component : {Flink, Hive Metastore} +Id : /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/west us 2/ + availableclusterversions/flink_1.16.0-1.0.6 +IsPreview : False +Name : flink_1.16.0-1.0.6 +OssVersion : 1.16.0 +SystemData : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api40.SystemData +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : + +ClusterPoolVersion : 1.0 +ClusterType : Spark +ClusterVersionValue : 1.0.5 +Component : {Yarn, Spark, Hive Metastore, Zookeeper} +Id : /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/west us 2/ + availableclusterversions/spark_3.3.1-1.0.5 +IsPreview : False +Name : spark_3.3.1-1.0.5 +OssVersion : 3.3.1 +SystemData : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api40.SystemData +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : + +ClusterPoolVersion : 1.0 +ClusterType : Spark +ClusterVersionValue : 1.0.6 +Component : {Yarn, Spark, Hive Metastore, Zookeeper} +Id : /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/west us 2/ + availableclusterversions/spark_3.3.1-1.0.6 +IsPreview : False +Name : spark_3.3.1-1.0.6 +OssVersion : 3.3.1 +SystemData : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api40.SystemData +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : + +ClusterPoolVersion : 1.0 +ClusterType : Stub +ClusterVersionValue : 1.0.0 +Component : {ResourceManager} +Id : /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/west us 2/ + availableclusterversions/stub_2.4.1-1.0.0 +IsPreview : False +Name : stub_2.4.1-1.0.0 +OssVersion : 2.4.1 +SystemData : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api40.SystemData +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : + +ClusterPoolVersion : 1.0 +ClusterType : Stub +ClusterVersionValue : 1.0.1 +Component : {ResourceManager} +Id : /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/west us 2/ + availableclusterversions/stub_2.4.1-1.0.1 +IsPreview : False +Name : stub_2.4.1-1.0.1 +OssVersion : 2.4.1 +SystemData : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api40.SystemData +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : + +ClusterPoolVersion : 1.0 +ClusterType : Stub +ClusterVersionValue : 1.0.0 +Component : {ResourceManager} +Id : /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/west us 2/ + availableclusterversions/stub_2.4.2-1.0.0 +IsPreview : False +Name : stub_2.4.2-1.0.0 +OssVersion : 2.4.2 +SystemData : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api40.SystemData +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : + +ClusterPoolVersion : +ClusterType : Stub +ClusterVersionValue : 1.1.0 +Component : {ResourceManager} +Id : /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/west us 2/ + availableclusterversions/stub_2.4.3-1.1.0 +IsPreview : False +Name : stub_2.4.3-1.1.0 +OssVersion : 2.4.3 +SystemData : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api40.SystemData +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : + +ClusterPoolVersion : 1.0 +ClusterType : Trino +ClusterVersionValue : 1.0.6 +Component : {Trino, Hive metastore} +Id : /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/west us 2/ + availableclusterversions/trino_0.410.0-1.0.6 +IsPreview : False +Name : trino_0.410.0-1.0.6 +OssVersion : 0.410.0 +SystemData : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api40.SystemData +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : + +ClusterPoolVersion : 1.0 +ClusterType : Trino +ClusterVersionValue : 1.0.5 +Component : {Trino, Hive metastore} +Id : /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/west us 2/ + availableclusterversions/trino_0.410.0-1.0.5 +IsPreview : False +Name : trino_0.410.0-1.0.5 +OssVersion : 0.410.0 +SystemData : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api40.SystemData +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : +``` + +Get all available cluster versions in West US 2 + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The name of the Azure region. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterVersion + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksCluster.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksCluster.md new file mode 100644 index 000000000000..fde2ca76c1c8 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksCluster.md @@ -0,0 +1,221 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonakscluster +schema: 2.0.0 +--- + +# Get-AzHdInsightOnAksCluster + +## SYNOPSIS +Gets a HDInsight cluster. + +## SYNTAX + +### List (Default) +``` +Get-AzHdInsightOnAksCluster -PoolName -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzHdInsightOnAksCluster -InputObject [-DefaultProfile ] + [] +``` + +### GetViaIdentityClusterpool +``` +Get-AzHdInsightOnAksCluster -ClusterpoolInputObject -Name + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets a HDInsight cluster. + +## EXAMPLES + +### Example 1: lsit all HDInsight gen2 clusters in a pool. +```powershell +$clusterResourceGroupName = "your-resourceGroup" +$clusterpoolName = "your-clusterpool" +Get-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -PoolName $clusterpoolName +``` + +```output +ApplicationLogStdErrorEnabled : False +ApplicationLogStdOutEnabled : False +AuthorizationProfileGroupId : +AuthorizationProfileUserId : {00000000-0000-0000-0000-000000000000} +AutoscaleProfileAutoscaleType : +AutoscaleProfileEnabled : False +AutoscaleProfileGracefulDecommissionTimeout : +ClusterType : Flink +ComputeProfileNode : {Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProfil + e, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProf + ile} +ConnectivityProfileSsh : +CoordinatorDebugEnable : +... +``` + +List all clusters in a pool. + +### Example 2: Get a HDInsight gen2 cluster +```powershell +$clusterResourceGroupName = "your-resourceGroup" +$clusterpoolName = "your-clusterpool" +$clusterName = "your-clustername" +Get-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -PoolName $clusterpoolName -Name $clusterName +``` + +```output +ApplicationLogStdErrorEnabled : False +ApplicationLogStdOutEnabled : False +AuthorizationProfileGroupId : +AuthorizationProfileUserId : {00000000-0000-0000-0000-000000000000} +AutoscaleProfileAutoscaleType : +AutoscaleProfileEnabled : False +AutoscaleProfileGracefulDecommissionTimeout : +ClusterType : Flink +ComputeProfileNode : {Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProfil + e, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProf + ile} +ConnectivityProfileSsh : +CoordinatorDebugEnable : +... +``` + +Get a HDInsight gen2 cluster + +## PARAMETERS + +### -ClusterpoolInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: GetViaIdentityClusterpool +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the HDInsight cluster. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityClusterpool +Aliases: ClusterName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PoolName +The name of the cluster pool. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: ClusterPoolName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksClusterAvailableUpgrade.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksClusterAvailableUpgrade.md new file mode 100644 index 000000000000..01b9d8d61d93 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksClusterAvailableUpgrade.md @@ -0,0 +1,151 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusteravailableupgrade +schema: 2.0.0 +--- + +# Get-AzHdInsightOnAksClusterAvailableUpgrade + +## SYNOPSIS +List a cluster available upgrade. + +## SYNTAX + +``` +Get-AzHdInsightOnAksClusterAvailableUpgrade -ClusterName -ClusterPoolName + -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +List a cluster available upgrade. + +## EXAMPLES + +### Example 1: List a cluster available upgrade. +```powershell +Get-AzHdInsightOnAksClusterAvailableUpgrade -ResourceGroupName PStestGroup -ClusterPoolName hilo-pool -ClusterName flinkcluster +``` + +```output +Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/flinkcluster/availableUpgrades/HotfixUpgrade_Webssh_0.4.2-1.1.1.6_20240103 +Name : HotfixUpgrade_Webssh_0.4.2-1.1.1.6_20240103 +Property : { + "upgradeType": "HotfixUpgrade", + "description": "BugBash", + "sourceOssVersion": "0.4.2", + "sourceClusterVersion": "1.1.1", + "sourceBuildNumber": "6", + "targetOssVersion": "0.4.2", + "targetClusterVersion": "1.1.1", + "targetBuildNumber": "7", + "componentName": "Webssh", + "severity": "low", + "extendedProperties": " ", + "createdTime": "2024-03-12T07:22:42.0000000Z" + } +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : +UpgradeType : HotfixUpgrade +``` + +List a flink cluster available upgrade. + +## PARAMETERS + +### -ClusterName +The name of the HDInsight cluster. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterPoolName +The name of the cluster pool. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgrade + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksClusterInstanceView.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksClusterInstanceView.md new file mode 100644 index 000000000000..32020f414e2b --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksClusterInstanceView.md @@ -0,0 +1,189 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterinstanceview +schema: 2.0.0 +--- + +# Get-AzHdInsightOnAksClusterInstanceView + +## SYNOPSIS +Gets the status of a cluster instance. + +## SYNTAX + +### Get (Default) +``` +Get-AzHdInsightOnAksClusterInstanceView -ClusterName -ClusterPoolName + -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzHdInsightOnAksClusterInstanceView -InputObject [-DefaultProfile ] + [] +``` + +### GetViaIdentityClusterpool +``` +Get-AzHdInsightOnAksClusterInstanceView -ClusterName + -ClusterpoolInputObject [-DefaultProfile ] [] +``` + +### List +``` +Get-AzHdInsightOnAksClusterInstanceView -ClusterName -ClusterPoolName + -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets the status of a cluster instance. + +## EXAMPLES + +### Example 1: Gets the status of a session cluster instance. +```powershell +$clusterResourceGroupName = "your-resourceGroup" +$clusterpoolName = "your-clusterpool" +$clusterName = "your-clustername" +Get-AzHdInsightOnAksClusterInstanceView -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName +``` + +```output +Name : default +ServiceStatuses : {Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceStatus, Microsoft.Azure.PowerSh + ell.Cmdlets.HdInsightOnAks.Models.ServiceStatus, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnA + ks.Models.ServiceStatus, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api20230601Pre + view.ServiceStatus} +StatusMessage : +StatusReady : True +StatusReason : +``` + +Gets the status of a session cluster instance. + +## PARAMETERS + +### -ClusterName +The name of the HDInsight cluster. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityClusterpool, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterpoolInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: GetViaIdentityClusterpool +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ClusterPoolName +The name of the cluster pool. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterInstanceViewResult + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksClusterJob.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksClusterJob.md new file mode 100644 index 000000000000..a6600415fc2d --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksClusterJob.md @@ -0,0 +1,148 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterjob +schema: 2.0.0 +--- + +# Get-AzHdInsightOnAksClusterJob + +## SYNOPSIS +Get jobs of HDInsight on AKS cluster. + +## SYNTAX + +``` +Get-AzHdInsightOnAksClusterJob -ClusterName -ClusterPoolName -ResourceGroupName + [-SubscriptionId ] [-Filter ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get jobs of HDInsight on AKS cluster. + +## EXAMPLES + +### Example 1: Get a job list for a cluster. +```powershell +$clusterResourceGroupName = "Group" +$clusterpoolName = "ps-test-pool" +$clusterName = "flinkcluster" +Get-AzHdInsightOnAksClusterJob -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName +``` + +```output +Id Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt Syste ---- ------------------- ------------------- ----------------------- ------------------------ ----- +/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Group/providers/Microsoft.HDInsight/clusterpools/ps-test-pool/clusters/flinkcluster/jobs/job1 +``` + +Get a job list for a cluster. + +## PARAMETERS + +### -ClusterName +The name of the HDInsight cluster. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterPoolName +The name of the cluster pool. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filter +The system query option to filter job returned in the response. +Allowed value is 'jobName eq {jobName}' or 'jarName eq {jarName}'. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksClusterPool.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksClusterPool.md new file mode 100644 index 000000000000..427ed5c92ff2 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksClusterPool.md @@ -0,0 +1,236 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterpool +schema: 2.0.0 +--- + +# Get-AzHdInsightOnAksClusterPool + +## SYNOPSIS +Gets a cluster pool. + +## SYNTAX + +### List (Default) +``` +Get-AzHdInsightOnAksClusterPool [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzHdInsightOnAksClusterPool -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzHdInsightOnAksClusterPool -InputObject [-DefaultProfile ] + [] +``` + +### List1 +``` +Get-AzHdInsightOnAksClusterPool -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets a cluster pool. + +## EXAMPLES + +### Example 1: list all HDInsight gen2 cluster pools in current subscription +```powershell +Get-AzHdInsightOnAksClusterPool +``` + +```output +AkClusterAgentPoolIdentityProfileMsiClientId : 00000000-0000-0000-0000-000000000000 +AkClusterAgentPoolIdentityProfileMsiObjectId : 00000000-0000-0000-0000-000000000000 +AkClusterAgentPoolIdentityProfileMsiResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-00000000-0000-0000-0000-000000000000_clusterpool_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/agentpool +AkClusterProfileAksClusterResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-000000000000000000000000000000/providers/Microsoft.ContainerService/managedClusters/clusterpool +AkClusterProfileAksVersion : 1.26 +AksManagedResourceGroupName : MC_hdi-00000000-0000-0000-0000-000000000000_clusterpool_westus2 +ComputeProfileCount : 3 +ComputeProfileVMSize : Standard_E4s_v3 +DeploymentId : 000000000000000000000000000000 +Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Group/providers/Microsoft.HDInsight/clusterpools/clusterpoolname +Location : West US 2 +LogAnalyticProfileEnabled : True +LogAnalyticProfileWorkspaceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/Group/providers/microsoft.operationalinsights/workspaces/testworkspace +ManagedResourceGroupName : hdi-000000000000000000000000000000 +Name : clusterpoolname +NetworkProfileSubnetId : +ProfileClusterPoolVersion : 1.0 +ProvisioningState : Succeeded +Status : Running +SystemData : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api40.SystemData +SystemDataCreatedAt : +... +``` + +list all HDInsight gen2 cluster pools in current subscription. + +### Example 2: list all HDInsight gen2 cluster pools in a resource group +```powershell +$clusterResourceGroupName = "your-resourceGroup" +Get-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName +``` + +```output +AkClusterAgentPoolIdentityProfileMsiClientId : 00000000-0000-0000-0000-000000000000 +AkClusterAgentPoolIdentityProfileMsiObjectId : 00000000-0000-0000-0000-000000000000 +AkClusterAgentPoolIdentityProfileMsiResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-00000000-0000-0000-0000-000000000000_clusterpool_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/agentpool +AkClusterProfileAksClusterResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-000000000000000000000000000000/providers/Microsoft.ContainerService/managedClusters/clusterpool +AkClusterProfileAksVersion : 1.26 +AksManagedResourceGroupName : MC_hdi-00000000-0000-0000-0000-000000000000_clusterpool_westus2 +ComputeProfileCount : 3 +ComputeProfileVMSize : Standard_E4s_v3 +DeploymentId : 000000000000000000000000000000 +Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Group/providers/Microsoft.HDInsight/clusterpools/clusterpoolname +Location : West US 2 +LogAnalyticProfileEnabled : True +LogAnalyticProfileWorkspaceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/Group/providers/microsoft.operationalinsights/workspaces/testworkspace +ManagedResourceGroupName : hdi-000000000000000000000000000000 +Name : clusterpoolname +NetworkProfileSubnetId : +ProfileClusterPoolVersion : 1.0 +ProvisioningState : Succeeded +Status : Running +SystemData : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api40.SystemData +SystemDataCreatedAt : +... +``` + +list all HDInsight gen2 cluster pools in a resource group. + +### Example 3: Get a HDInsight gen2 cluster pool in a resource group +```powershell +$clusterResourceGroupName = "your-resourceGroup" +$clusterpoolName = "your-clusterpool" +Get-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName -Name $clusterpoolName +``` + +```output +AkClusterAgentPoolIdentityProfileMsiClientId : 00000000-0000-0000-0000-000000000000 +AkClusterAgentPoolIdentityProfileMsiObjectId : 00000000-0000-0000-0000-000000000000 +AkClusterAgentPoolIdentityProfileMsiResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-00000000-0000-0000-0000-000000000000_clusterpool_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/agentpool +AkClusterProfileAksClusterResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-000000000000000000000000000000/providers/Microsoft.ContainerService/managedClusters/clusterpool +AkClusterProfileAksVersion : 1.26 +AksManagedResourceGroupName : MC_hdi-00000000-0000-0000-0000-000000000000_clusterpool_westus2 +ComputeProfileCount : 3 +ComputeProfileVMSize : Standard_E4s_v3 +DeploymentId : 000000000000000000000000000000 +Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Group/providers/Microsoft.HDInsight/clusterpools/clusterpoolname +Location : West US 2 +LogAnalyticProfileEnabled : True +LogAnalyticProfileWorkspaceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/Group/providers/microsoft.operationalinsights/workspaces/testworkspace +ManagedResourceGroupName : hdi-000000000000000000000000000000 +Name : clusterpoolname +NetworkProfileSubnetId : +ProfileClusterPoolVersion : 1.0 +ProvisioningState : Succeeded +Status : Running +SystemData : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api40.SystemData +SystemDataCreatedAt : +... +``` + +Get a HDInsight gen2 cluster pool in a resource group. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the cluster pool. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ClusterPoolName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List, List1 +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.md new file mode 100644 index 000000000000..249169816498 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.md @@ -0,0 +1,116 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterpoolavailableupgrade +schema: 2.0.0 +--- + +# Get-AzHdInsightOnAksClusterPoolAvailableUpgrade + +## SYNOPSIS +List a cluster pool available upgrade. + +## SYNTAX + +``` +Get-AzHdInsightOnAksClusterPoolAvailableUpgrade -ClusterPoolName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +List a cluster pool available upgrade. + +## EXAMPLES + +### Example 1: List a cluster pool available upgrade. +```powershell +Get-AzHdInsightOnAksClusterPoolAvailableUpgrade -ResourceGroupName PStestGroup -ClusterPoolName hilo-pool +``` + +```output +Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType +---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- +AKSPatchUpgrade +NodeOsUpgrade +``` + +List a cluster pool available upgrade. + +## PARAMETERS + +### -ClusterPoolName +The name of the cluster pool. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgrade + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksClusterServiceConfig.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksClusterServiceConfig.md new file mode 100644 index 000000000000..538c38b94cb5 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Get-AzHdInsightOnAksClusterServiceConfig.md @@ -0,0 +1,173 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterserviceconfig +schema: 2.0.0 +--- + +# Get-AzHdInsightOnAksClusterServiceConfig + +## SYNOPSIS +Lists the config dump of all services running in cluster. + +## SYNTAX + +``` +Get-AzHdInsightOnAksClusterServiceConfig -ClusterName -ClusterPoolName + -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +Lists the config dump of all services running in cluster. + +## EXAMPLES + +### Example 1: Lists the config dump of all services running in cluster. +```powershell +$clusterResourceGroupName = "your-resourceGroup" +$clusterpoolName = "your-clusterpool" +$clusterName = "your-clustername" +Get-AzHdInsightOnAksClusterServiceConfig -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName +``` + +```output +ComponentName : flink-configs +Content : +CustomKey : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResultPropertiesCustomKe + ys +DefaultKey : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResultPropertiesDefaultK + eys +FileName : flink-conf.yaml +Path : +ServiceName : flink-operator +Type : key-value + +ComponentName : flink-configs +Content : +CustomKey : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResultPropertiesCustomKe + ys +DefaultKey : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResultPropertiesDefaultK + eys +FileName : log4j-console.properties +Path : +ServiceName : flink-operator +Type : key-value + +ComponentName : hadoop-configs +Content : +CustomKey : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResultPropertiesCustomKe + ys +DefaultKey : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResultPropertiesDefaultK + eys +FileName : core-site.xml +Path : +ServiceName : flink-operator +Type : key-value + +ComponentName : flink-client-configs +Content : +CustomKey : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResultPropertiesCustomKe + ys +DefaultKey : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ServiceConfigListResultPropertiesDefaultK + eys +FileName : flink-conf.yaml +Path : +ServiceName : flink-operator +Type : key-value +``` + +Lists the config dump of all services running in a flink cluster. + +## PARAMETERS + +### -ClusterName +The name of the HDInsight cluster. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterPoolName +The name of the cluster pool. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IServiceConfigResult + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksCluster.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksCluster.md new file mode 100644 index 000000000000..4e64a8273da7 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksCluster.md @@ -0,0 +1,2245 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/new-azhdinsightonakscluster +schema: 2.0.0 +--- + +# New-AzHdInsightOnAksCluster + +## SYNOPSIS +Creates a cluster. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName -Location + [-SubscriptionId ] [-ApplicationLogStdErrorEnabled] [-ApplicationLogStdOutEnabled] + [-AssignedIdentityClientId ] [-AssignedIdentityObjectId ] + [-AssignedIdentityResourceId ] [-AuthorizationGroupId ] [-AuthorizationUserId ] + [-AutoscaleProfileAutoscaleType ] [-AutoscaleProfileEnabled] + [-AutoscaleProfileGracefulDecommissionTimeout ] [-ClusterAccessProfileEnableInternalIngress] + [-ClusterType ] [-ClusterVersion ] [-ComputeProfileNode ] + [-CoordinatorDebugEnable] [-CoordinatorDebugPort ] [-CoordinatorDebugSuspend] + [-CoordinatorHighAvailabilityEnabled] [-DatabaseHost ] [-DatabaseName ] + [-DatabasePasswordSecretRef ] [-DatabaseUsername ] [-DiskStorageDataDiskSize ] + [-DiskStorageDataDiskType ] [-EnableLogAnalytics] [-FlinkHiveCatalogDbConnectionUrl ] + [-FlinkHiveCatalogDbPasswordSecretName ] [-FlinkHiveCatalogDbUserName ] + [-FlinkProfileDeploymentMode ] [-FlinkStorageUrl ] [-FlinkTaskManagerReplicaCount ] + [-HistoryServerCpu ] [-HistoryServerMemory ] + [-HiveMetastoreDbConnectionAuthenticationMode ] [-JobManagerCpu ] [-JobManagerMemory ] + [-JobSpecArg ] [-JobSpecEntryClass ] [-JobSpecJarName ] + [-JobSpecJobJarDirectory ] [-JobSpecSavePointName ] [-JobSpecUpgradeMode ] + [-KafkaProfileEnableKRaft] [-KafkaProfileEnablePublicEndpoint] [-KafkaProfileRemoteStorageUri ] + [-KeyVaultResourceId ] [-LlapProfile ] [-LoadBasedConfigCooldownPeriod ] + [-LoadBasedConfigMaxNode ] [-LoadBasedConfigMinNode ] [-LoadBasedConfigPollInterval ] + [-LoadBasedConfigScalingRule ] [-LogAnalyticProfileMetricsEnabled] + [-MetastoreSpecDbConnectionAuthenticationMode ] [-OssVersion ] [-PrometheuProfileEnabled] + [-RangerAdmin ] [-RangerAuditStorageAccount ] [-RangerPluginProfileEnabled] + [-RangerUsersyncEnabled] [-RangerUsersyncGroup ] [-RangerUsersyncMode ] + [-RangerUsersyncUser ] [-RangerUsersyncUserMappingLocation ] + [-ScheduleBasedConfigDefaultCount ] [-ScheduleBasedConfigSchedule ] + [-ScheduleBasedConfigTimeZone ] [-ScriptActionProfile ] + [-SecretReference ] [-ServiceConfigsProfile ] + [-SparkHiveCatalogDbName ] [-SparkHiveCatalogDbPasswordSecretName ] + [-SparkHiveCatalogDbServerName ] [-SparkHiveCatalogDbUserName ] + [-SparkHiveCatalogKeyVaultId ] [-SparkStorageUrl ] [-SparkThriftUrl ] + [-SshProfileCount ] [-StorageHivecatalogName ] [-StorageHivecatalogSchema ] + [-StoragePartitionRetentionInDay ] [-StoragePath ] [-StubProfile ] + [-Tag ] [-TaskManagerCpu ] [-TaskManagerMemory ] + [-TrinoHiveCatalog ] [-TrinoProfileUserPluginsSpecPlugin ] + [-WorkerDebugEnable] [-WorkerDebugPort ] [-WorkerDebugSuspend] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Create +``` +New-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + -HdInsightOnAksCluster [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentity +``` +New-AzHdInsightOnAksCluster -InputObject -HdInsightOnAksCluster + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityClusterpool +``` +New-AzHdInsightOnAksCluster -ClusterpoolInputObject -Name + -HdInsightOnAksCluster [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaIdentityClusterpoolExpanded +``` +New-AzHdInsightOnAksCluster -ClusterpoolInputObject -Name + -Location [-ApplicationLogStdErrorEnabled] [-ApplicationLogStdOutEnabled] + [-AssignedIdentityClientId ] [-AssignedIdentityObjectId ] + [-AssignedIdentityResourceId ] [-AuthorizationGroupId ] [-AuthorizationUserId ] + [-AutoscaleProfileAutoscaleType ] [-AutoscaleProfileEnabled] + [-AutoscaleProfileGracefulDecommissionTimeout ] [-ClusterAccessProfileEnableInternalIngress] + [-ClusterType ] [-ClusterVersion ] [-ComputeProfileNode ] + [-CoordinatorDebugEnable] [-CoordinatorDebugPort ] [-CoordinatorDebugSuspend] + [-CoordinatorHighAvailabilityEnabled] [-DatabaseHost ] [-DatabaseName ] + [-DatabasePasswordSecretRef ] [-DatabaseUsername ] [-DiskStorageDataDiskSize ] + [-DiskStorageDataDiskType ] [-EnableLogAnalytics] [-FlinkHiveCatalogDbConnectionUrl ] + [-FlinkHiveCatalogDbPasswordSecretName ] [-FlinkHiveCatalogDbUserName ] + [-FlinkProfileDeploymentMode ] [-FlinkStorageUrl ] [-FlinkTaskManagerReplicaCount ] + [-HistoryServerCpu ] [-HistoryServerMemory ] + [-HiveMetastoreDbConnectionAuthenticationMode ] [-JobManagerCpu ] [-JobManagerMemory ] + [-JobSpecArg ] [-JobSpecEntryClass ] [-JobSpecJarName ] + [-JobSpecJobJarDirectory ] [-JobSpecSavePointName ] [-JobSpecUpgradeMode ] + [-KafkaProfileEnableKRaft] [-KafkaProfileEnablePublicEndpoint] [-KafkaProfileRemoteStorageUri ] + [-KeyVaultResourceId ] [-LlapProfile ] [-LoadBasedConfigCooldownPeriod ] + [-LoadBasedConfigMaxNode ] [-LoadBasedConfigMinNode ] [-LoadBasedConfigPollInterval ] + [-LoadBasedConfigScalingRule ] [-LogAnalyticProfileMetricsEnabled] + [-MetastoreSpecDbConnectionAuthenticationMode ] [-OssVersion ] [-PrometheuProfileEnabled] + [-RangerAdmin ] [-RangerAuditStorageAccount ] [-RangerPluginProfileEnabled] + [-RangerUsersyncEnabled] [-RangerUsersyncGroup ] [-RangerUsersyncMode ] + [-RangerUsersyncUser ] [-RangerUsersyncUserMappingLocation ] + [-ScheduleBasedConfigDefaultCount ] [-ScheduleBasedConfigSchedule ] + [-ScheduleBasedConfigTimeZone ] [-ScriptActionProfile ] + [-SecretReference ] [-ServiceConfigsProfile ] + [-SparkHiveCatalogDbName ] [-SparkHiveCatalogDbPasswordSecretName ] + [-SparkHiveCatalogDbServerName ] [-SparkHiveCatalogDbUserName ] + [-SparkHiveCatalogKeyVaultId ] [-SparkStorageUrl ] [-SparkThriftUrl ] + [-SshProfileCount ] [-StorageHivecatalogName ] [-StorageHivecatalogSchema ] + [-StoragePartitionRetentionInDay ] [-StoragePath ] [-StubProfile ] + [-Tag ] [-TaskManagerCpu ] [-TaskManagerMemory ] + [-TrinoHiveCatalog ] [-TrinoProfileUserPluginsSpecPlugin ] + [-WorkerDebugEnable] [-WorkerDebugPort ] [-WorkerDebugSuspend] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzHdInsightOnAksCluster -InputObject -Location + [-ApplicationLogStdErrorEnabled] [-ApplicationLogStdOutEnabled] [-AssignedIdentityClientId ] + [-AssignedIdentityObjectId ] [-AssignedIdentityResourceId ] + [-AuthorizationGroupId ] [-AuthorizationUserId ] + [-AutoscaleProfileAutoscaleType ] [-AutoscaleProfileEnabled] + [-AutoscaleProfileGracefulDecommissionTimeout ] [-ClusterAccessProfileEnableInternalIngress] + [-ClusterType ] [-ClusterVersion ] [-ComputeProfileNode ] + [-CoordinatorDebugEnable] [-CoordinatorDebugPort ] [-CoordinatorDebugSuspend] + [-CoordinatorHighAvailabilityEnabled] [-DatabaseHost ] [-DatabaseName ] + [-DatabasePasswordSecretRef ] [-DatabaseUsername ] [-DiskStorageDataDiskSize ] + [-DiskStorageDataDiskType ] [-EnableLogAnalytics] [-FlinkHiveCatalogDbConnectionUrl ] + [-FlinkHiveCatalogDbPasswordSecretName ] [-FlinkHiveCatalogDbUserName ] + [-FlinkProfileDeploymentMode ] [-FlinkStorageUrl ] [-FlinkTaskManagerReplicaCount ] + [-HistoryServerCpu ] [-HistoryServerMemory ] + [-HiveMetastoreDbConnectionAuthenticationMode ] [-JobManagerCpu ] [-JobManagerMemory ] + [-JobSpecArg ] [-JobSpecEntryClass ] [-JobSpecJarName ] + [-JobSpecJobJarDirectory ] [-JobSpecSavePointName ] [-JobSpecUpgradeMode ] + [-KafkaProfileEnableKRaft] [-KafkaProfileEnablePublicEndpoint] [-KafkaProfileRemoteStorageUri ] + [-KeyVaultResourceId ] [-LlapProfile ] [-LoadBasedConfigCooldownPeriod ] + [-LoadBasedConfigMaxNode ] [-LoadBasedConfigMinNode ] [-LoadBasedConfigPollInterval ] + [-LoadBasedConfigScalingRule ] [-LogAnalyticProfileMetricsEnabled] + [-MetastoreSpecDbConnectionAuthenticationMode ] [-OssVersion ] [-PrometheuProfileEnabled] + [-RangerAdmin ] [-RangerAuditStorageAccount ] [-RangerPluginProfileEnabled] + [-RangerUsersyncEnabled] [-RangerUsersyncGroup ] [-RangerUsersyncMode ] + [-RangerUsersyncUser ] [-RangerUsersyncUserMappingLocation ] + [-ScheduleBasedConfigDefaultCount ] [-ScheduleBasedConfigSchedule ] + [-ScheduleBasedConfigTimeZone ] [-ScriptActionProfile ] + [-SecretReference ] [-ServiceConfigsProfile ] + [-SparkHiveCatalogDbName ] [-SparkHiveCatalogDbPasswordSecretName ] + [-SparkHiveCatalogDbServerName ] [-SparkHiveCatalogDbUserName ] + [-SparkHiveCatalogKeyVaultId ] [-SparkStorageUrl ] [-SparkThriftUrl ] + [-SshProfileCount ] [-StorageHivecatalogName ] [-StorageHivecatalogSchema ] + [-StoragePartitionRetentionInDay ] [-StoragePath ] [-StubProfile ] + [-Tag ] [-TaskManagerCpu ] [-TaskManagerMemory ] + [-TrinoHiveCatalog ] [-TrinoProfileUserPluginsSpecPlugin ] + [-WorkerDebugEnable] [-WorkerDebugPort ] [-WorkerDebugSuspend] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Creates a cluster. + +## EXAMPLES + +### Example 1: Create simple Trino cluster +```powershell +# 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 +``` + +```output +ApplicationLogStdErrorEnabled : False +ApplicationLogStdOutEnabled : False +AuthorizationProfileGroupId : +AuthorizationProfileUserId : {00000000-0000-0000-0000-000000000000} +AutoscaleProfileAutoscaleType : +AutoscaleProfileEnabled : False +AutoscaleProfileGracefulDecommissionTimeout : +ClusterType : Trino +ComputeProfileNode : {Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProfil + e, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProf + ile} +ConnectivityProfileSsh : +CoordinatorDebugEnable : +... +``` + +Create Trino cluster with least parameters. + +### Example 2: Create Trino cluster with hive catalog +```powershell +# 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 +``` + +```output +ApplicationLogStdErrorEnabled : False +ApplicationLogStdOutEnabled : False +AuthorizationProfileGroupId : +AuthorizationProfileUserId : {00000000-0000-0000-0000-000000000000} +AutoscaleProfileAutoscaleType : +AutoscaleProfileEnabled : False +AutoscaleProfileGracefulDecommissionTimeout : +ClusterType : Trino +ComputeProfileNode : {Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProfil + e, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProf + ile} +ConnectivityProfileSsh : +CoordinatorDebugEnable : +... +``` + +Create Trino cluster with hive catalog feature. + +### Example 3: Create simple spark cluster +```powershell +$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 +``` + +```output +ApplicationLogStdErrorEnabled : False +ApplicationLogStdOutEnabled : False +AuthorizationProfileGroupId : +AuthorizationProfileUserId : {00000000-0000-0000-0000-000000000000} +AutoscaleProfileAutoscaleType : +AutoscaleProfileEnabled : False +AutoscaleProfileGracefulDecommissionTimeout : +ClusterType : Spark +ComputeProfileNode : {Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProfil + e, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProf + ile} +ConnectivityProfileSsh : +CoordinatorDebugEnable : +... +``` + +Create Spark cluster with least parameters. + +### Example 4: Create Spark cluster with hive catalog +```powershell +$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 +``` + +```output +ApplicationLogStdErrorEnabled : False +ApplicationLogStdOutEnabled : False +AuthorizationProfileGroupId : +AuthorizationProfileUserId : {00000000-0000-0000-0000-000000000000} +AutoscaleProfileAutoscaleType : +AutoscaleProfileEnabled : False +AutoscaleProfileGracefulDecommissionTimeout : +ClusterType : Spark +ComputeProfileNode : {Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProfil + e, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProf + ile} +ConnectivityProfileSsh : +CoordinatorDebugEnable : +... +``` + +Create Spark cluster with hive catalog feature. + +### Example 5: Create simple Flink cluster +```powershell +$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 +``` + +```output +ApplicationLogStdErrorEnabled : False +ApplicationLogStdOutEnabled : False +AuthorizationProfileGroupId : +AuthorizationProfileUserId : {00000000-0000-0000-0000-000000000000} +AutoscaleProfileAutoscaleType : +AutoscaleProfileEnabled : False +AutoscaleProfileGracefulDecommissionTimeout : +ClusterType : Flink +ComputeProfileNode : {Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProfil + e, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProf + ile} +ConnectivityProfileSsh : +CoordinatorDebugEnable : +... +``` + +Create Flink cluster with least parameters. + +### Example 6: Create Flink cluster with hive catalog +```powershell +$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 +``` + +```output +ApplicationLogStdErrorEnabled : False +ApplicationLogStdOutEnabled : False +AuthorizationProfileGroupId : +AuthorizationProfileUserId : {00000000-0000-0000-0000-000000000000} +AutoscaleProfileAutoscaleType : +AutoscaleProfileEnabled : False +AutoscaleProfileGracefulDecommissionTimeout : +ClusterType : Flink +ComputeProfileNode : {Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProfil + e, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProf + ile} +ConnectivityProfileSsh : +CoordinatorDebugEnable : +... +``` + +Create Flink cluster with hive catalog feature. + +## PARAMETERS + +### -ApplicationLogStdErrorEnabled +True if stderror is enabled, otherwise false. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ApplicationLogStdOutEnabled +True if stdout is enabled, otherwise false. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssignedIdentityClientId +ClientId of the MSI. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssignedIdentityObjectId +ObjectId of the MSI. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssignedIdentityResourceId +ResourceId of the MSI. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthorizationGroupId +AAD group Ids authorized for data plane access. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthorizationUserId +AAD user Ids authorized for data plane access. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AutoscaleProfileAutoscaleType +User to specify which type of Autoscale to be implemented - Scheduled Based or Load Based. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AutoscaleProfileEnabled +This indicates whether auto scale is enabled on HDInsight on AKS cluster. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterAccessProfileEnableInternalIngress +Whether to create cluster using private IP instead of public IP. +This property must be set at create time. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterpoolInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: CreateViaIdentityClusterpool, CreateViaIdentityClusterpoolExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ClusterType +The type of cluster. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterVersion +Version with 3/4 part. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ComputeProfileNode +The nodes definitions. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INodeProfile[] +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CoordinatorDebugEnable +The flag that if enable debug or not. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CoordinatorDebugPort +The debug port. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CoordinatorDebugSuspend +The flag that if suspend debug or not. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CoordinatorHighAvailabilityEnabled +The flag that if enable coordinator HA, uses multiple coordinator replicas with auto failover, one per each head node. +Default: true. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseHost +The database URL + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseName +The database name + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabasePasswordSecretRef +Reference for the database password + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseUsername +The name of the database user + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DiskStorageDataDiskType +Managed Disk Type. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnableLogAnalytics +True if log analytics is enabled for the cluster, otherwise false. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlinkHiveCatalogDbConnectionUrl +Connection string for hive metastore database. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlinkHiveCatalogDbPasswordSecretName +Secret reference name from secretsProfile.secrets containing password for database connection. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlinkHiveCatalogDbUserName +User name for database connection. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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 + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlinkStorageUrl +Storage account uri which is used for savepoint and checkpoint state. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlinkTaskManagerReplicaCount +The number of task managers. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HdInsightOnAksCluster +The cluster. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster +Parameter Sets: Create, CreateViaIdentity, CreateViaIdentityClusterpool +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -HistoryServerCpu +The required CPU. + +```yaml +Type: System.Single +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HistoryServerMemory +The required memory in MB, Container memory will be 110 percentile + +```yaml +Type: System.Int64 +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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-manageview=azuresql#authentication-and-authorization + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: CreateViaIdentity, CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JobManagerCpu +The required CPU. + +```yaml +Type: System.Single +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JobManagerMemory +The required memory in MB, Container memory will be 110 percentile + +```yaml +Type: System.Int64 +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JobSpecArg +A string property representing additional JVM arguments for the Flink job. +It should be space separated value. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JobSpecJarName +A string property that represents the name of the job JAR. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JobSpecJobJarDirectory +A string property that specifies the directory where the job JAR is located. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JobSpecSavePointName +A string property that represents the name of the savepoint for the Flink job + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KafkaProfileEnableKRaft +Expose Kafka cluster in KRaft mode. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KafkaProfileEnablePublicEndpoint +Expose worker nodes as public endpoints. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KafkaProfileRemoteStorageUri +Fully qualified path of Azure Storage container used for Tiered Storage. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KeyVaultResourceId +Name of the user Key Vault where all the cluster specific user secrets are stored. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LlapProfile +LLAP cluster profile. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LoadBasedConfigScalingRule +The scaling rules. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScalingRule[] +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The geo-location where the resource lives + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LogAnalyticProfileMetricsEnabled +True if metrics are enabled, otherwise false. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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-manageview=azuresql#authentication-and-authorization + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the HDInsight cluster. + +```yaml +Type: System.String +Parameter Sets: Create, CreateExpanded, CreateViaIdentityClusterpool, CreateViaIdentityClusterpoolExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: ClusterName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OssVersion +Version with three part. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PoolName +The name of the cluster pool. + +```yaml +Type: System.String +Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: ClusterPoolName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrometheuProfileEnabled +Enable Prometheus for cluster or not. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerAdmin +List of usernames that should be marked as ranger admins. +These usernames should match the user principal name (UPN) of the respective AAD users. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerAuditStorageAccount +Azure storage location of the blobs. +MSI should have read/write access to this Storage account. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerPluginProfileEnabled +Enable Ranger for cluster or not. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerUsersyncEnabled +Denotes whether usersync service should be enabled + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerUsersyncGroup +List of groups that should be synced. +These group names should match the object id of the respective AAD groups. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerUsersyncMode +User & groups can be synced automatically or via a static list that's refreshed. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerUsersyncUser +List of user names that should be synced. +These usernames should match the User principal name of the respective AAD users. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerUsersyncUserMappingLocation +Azure storage location of a mapping file that lists user & group associations. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScheduleBasedConfigDefaultCount +Setting default node count of current schedule configuration. +Default node count specifies the number of nodes which are default when an specified scaling operation is executed (scale up/scale down) + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScheduleBasedConfigSchedule +This specifies the schedules where scheduled based Autoscale to be enabled, the user has a choice to set multiple rules within the schedule across days and times (start/end). + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISchedule[] +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScheduleBasedConfigTimeZone +User has to specify the timezone on which the schedule has to be set for schedule based autoscale configuration. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScriptActionProfile +The script action profile list. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScriptActionProfile[] +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecretReference +Properties of Key Vault secret. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISecretReference[] +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceConfigsProfile +The service configs profiles. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile[] +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SparkHiveCatalogDbName +The database name. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SparkHiveCatalogDbPasswordSecretName +The secret name which contains the database user password. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SparkHiveCatalogDbServerName +The database server host. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SparkHiveCatalogDbUserName +The database user name. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SparkHiveCatalogKeyVaultId +The key vault resource id. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SparkStorageUrl +The default storage URL. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SparkThriftUrl +The thrift url. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SshProfileCount +Number of ssh pods per cluster. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageHivecatalogName +Hive Catalog name used to mount external tables on the logs written by trino, if not specified there tables are not created. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageHivecatalogSchema +Schema of the above catalog to use, to mount query logs as external tables, if not specified tables will be mounted under schema trinologs. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StoragePartitionRetentionInDay +Retention period for query log table partitions, this doesn't have any affect on actual data. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StoragePath +Azure storage location of the blobs. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StubProfile +Stub cluster profile. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TaskManagerCpu +The required CPU. + +```yaml +Type: System.Single +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TaskManagerMemory +The required memory in MB, Container memory will be 110 percentile + +```yaml +Type: System.Int64 +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TrinoHiveCatalog +hive catalog options. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOption[] +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TrinoProfileUserPluginsSpecPlugin +Trino user plugins. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoUserPlugin[] +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WorkerDebugEnable +The flag that if enable debug or not. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WorkerDebugPort +The debug port. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WorkerDebugSuspend +The flag that if suspend debug or not. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksClusterConfigFileObject.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksClusterConfigFileObject.md new file mode 100644 index 000000000000..01fdf43965c1 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksClusterConfigFileObject.md @@ -0,0 +1,77 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksClusterConfigFileObject +schema: 2.0.0 +--- + +# New-AzHdInsightOnAksClusterConfigFileObject + +## SYNOPSIS +Create cluster config file. + +## SYNTAX + +``` +New-AzHdInsightOnAksClusterConfigFileObject -FileName -Value [] +``` + +## DESCRIPTION +Create cluster config file. + +## EXAMPLES + +### Example 1: Create cluster config file +```powershell +$coreSiteConfigFile=New-AzHdInsightOnAksClusterConfigFileObject -FileName "core-site.xml" -Value @{"fs.defaultFS"="abfs://testcontainer@$teststorage.dfs.core.windows.net"} +``` + +This cmdlet create the config file "core-site.xml" and set the key "fs.defaultFS" with the value "abfs://testcontainer@$teststorage.dfs.core.windows.net" in this file. + +## PARAMETERS + +### -FileName +The name of the config file. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: Name + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Value +List of key value pairs where key represents a valid service configuration name and value represents the value of the config. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### System.Collections.HashTable + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterConfigFile + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksClusterHotfixUpgradeObject.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksClusterHotfixUpgradeObject.md new file mode 100644 index 000000000000..8b4b1b61bec6 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksClusterHotfixUpgradeObject.md @@ -0,0 +1,112 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksClusterHotfixUpgradeObject +schema: 2.0.0 +--- + +# New-AzHdInsightOnAksClusterHotfixUpgradeObject + +## SYNOPSIS +Create an object to hold the cluster upgrade parameters. + +## SYNTAX + +``` +New-AzHdInsightOnAksClusterHotfixUpgradeObject [-ComponentName ] [-TargetBuildNumber ] + [-TargetClusterVersion ] [-TargetOssVersion ] [] +``` + +## DESCRIPTION +Create an object to hold the cluster upgrade parameters. + +## EXAMPLES + +### Example 1: Create an object to hold the upgrade parameters. +```powershell +$hotfixObj = New-AzHdInsightOnAksClusterHotfixUpgradeObject -ComponentName Webssh -TargetBuildNumber 7 -TargetClusterVersion "1.1.1" -TargetOssVersion "0.4.2" +``` + +```output +Property UpgradeType +-------- ----------- +{… HotfixUpgrade +``` + +Create an object to hold the flink cluster HotfixUpgrade parameters. + +## PARAMETERS + +### -ComponentName +Name of component to be upgraded. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetBuildNumber +Target build number of component to be upgraded. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetClusterVersion +Target cluster version of component to be upgraded. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetOssVersion +Target OSS version of component to be upgraded. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksClusterPool.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksClusterPool.md new file mode 100644 index 000000000000..b010c7d7f7d8 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksClusterPool.md @@ -0,0 +1,532 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/new-azhdinsightonaksclusterpool +schema: 2.0.0 +--- + +# New-AzHdInsightOnAksClusterPool + +## SYNOPSIS +Create a cluster pool. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzHdInsightOnAksClusterPool -Name -ResourceGroupName -Location + [-SubscriptionId ] [-ClusterPoolVersion ] [-EnableLogAnalytics] + [-LogAnalyticWorkspaceResourceId ] [-ManagedResourceGroupName ] + [-NetworkProfileApiServerAuthorizedIPRange ] [-NetworkProfileEnablePrivateApiServer] + [-NetworkProfileOutboundType ] [-SubnetId ] [-Tag ] [-VmSize ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Create +``` +New-AzHdInsightOnAksClusterPool -Name -ResourceGroupName -ClusterPool + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaIdentity +``` +New-AzHdInsightOnAksClusterPool -InputObject -ClusterPool + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzHdInsightOnAksClusterPool -InputObject -Location + [-ClusterPoolVersion ] [-EnableLogAnalytics] [-LogAnalyticWorkspaceResourceId ] + [-ManagedResourceGroupName ] [-NetworkProfileApiServerAuthorizedIPRange ] + [-NetworkProfileEnablePrivateApiServer] [-NetworkProfileOutboundType ] [-SubnetId ] + [-Tag ] [-VmSize ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaJsonFilePath +``` +New-AzHdInsightOnAksClusterPool -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaJsonString +``` +New-AzHdInsightOnAksClusterPool -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Create a cluster pool. + +## EXAMPLES + +### Example 1: Create an Azure HDInsight gen2 cluster pool +```powershell +# Cluster pool configuration info +$location = "West US 3" +$clusterResourceGroupName = "Group" +$clusterpoolName = "your-clusterpool" +$vmSize = "Standard_E4s_v3" + +# Create the cluster pool +New-AzHdInsightOnAksClusterPool ` + -Name $clusterpoolName ` + -ResourceGroupName $clusterResourceGroupName ` + -Location $location ` + -VmSize $vmSize +``` + +```output +AkClusterAgentPoolIdentityProfileMsiClientId : 00000000-0000-0000-0000-000000000000 +AkClusterAgentPoolIdentityProfileMsiObjectId : 00000000-0000-0000-0000-000000000000 +AkClusterAgentPoolIdentityProfileMsiResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-00000000000000000000000000000_testpoolname_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testpoolname-agentpool +AkClusterProfileAksClusterResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-00000000000000000000000000000/providers/Microsoft.ContainerService/managedClusters/testpoolname +AkClusterProfileAksVersion : 1.26 +AksManagedResourceGroupName : MC_hdi-00000000000000000000000000000_testpoolname_westus3 +ComputeProfileCount : 3 +ComputeProfileVMSize : Standard_E4s_v3 +DeploymentId : 00000000000000000000000000000 +Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Group/providers/Microsoft.HDInsight/clusterpools/testpoolname +Location : West US 3 +LogAnalyticProfileEnabled : False +LogAnalyticProfileWorkspaceId : +ManagedResourceGroupName : hdi-00000000000000000000000000000 +Name : testpoolname +NetworkProfileSubnetId : +ProfileClusterPoolVersion : +ProvisioningState : Succeeded +Status : Running +SystemData : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api40.SystemData +SystemDataCreatedAt : +... +``` + +This command creates a cluster pool in the current subscription. + +### Example 2: Create an Azure HDInsight gen2 cluster pool enabled log analytics workspace +```powershell +# Cluster configuration info +$location = "East US 2" +$clusterResourceGroupName = "Group" +$clusterpoolName = "your-clusterpool" +$vmSize = "Standard_E4s_v3" + +# log analytics workspace info +$LogAnalyticProfileWorkspaceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group/providers/microsoft.operationalinsights/workspaces/loganalyticsworkspacename" + +# Create the cluster pool +New-AzHdInsightOnAksClusterPool ` + -Name $clusterpoolName ` + -ResourceGroupName $clusterResourceGroupName ` + -Location $location ` + -VmSize $vmSize ` + -EnableLogAnalytics ` + -LogAnalyticWorkspaceResourceId $LogAnalyticProfileWorkspaceId +``` + +```output +AkClusterAgentPoolIdentityProfileMsiClientId : 00000000-0000-0000-0000-000000000000 +AkClusterAgentPoolIdentityProfileMsiObjectId : 00000000-0000-0000-0000-000000000000 +AkClusterAgentPoolIdentityProfileMsiResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-00000000000000000000000000000_testpoolname_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testpoolname-agentpool +AkClusterProfileAksClusterResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-00000000000000000000000000000/providers/Microsoft.ContainerService/managedClusters/testpoolname +AkClusterProfileAksVersion : 1.26 +AksManagedResourceGroupName : MC_hdi-00000000000000000000000000000_testpoolname_westus3 +ComputeProfileCount : 3 +ComputeProfileVMSize : Standard_E4s_v3 +DeploymentId : 00000000000000000000000000000 +Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Group/providers/Microsoft.HDInsight/clusterpools/testpoolname +Location : West US 3 +LogAnalyticProfileEnabled : True +LogAnalyticProfileWorkspaceId :/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group/providers/microsoft.operationalinsights/workspaces/loganalyticsworkspacename" +ManagedResourceGroupName : hdi-00000000000000000000000000000 +Name : testpoolname +NetworkProfileSubnetId : +ProfileClusterPoolVersion : +ProvisioningState : Succeeded +Status : Running +SystemData : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api40.SystemData +SystemDataCreatedAt : +... +``` + +Create an Azure HDInsight gen2 cluster pool enabled azure monitor with log analytics workspace. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterPool +Cluster pool. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool +Parameter Sets: Create, CreateViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ClusterPoolVersion +Cluster pool version is a 2-part version. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnableLogAnalytics +True if log analytics is enabled for cluster pool, otherwise false. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: CreateViaIdentity, CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The geo-location where the resource lives + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LogAnalyticWorkspaceResourceId +Log analytics workspace to associate with the OMS agent. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ManagedResourceGroupName +A resource group created by RP, to hold the resources created by RP on-behalf of customers. +It will also be used to generate aksManagedResourceGroupName by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}. +Please make sure it meets resource group name restriction. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the cluster pool. + +```yaml +Type: System.String +Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: ClusterPoolName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkProfileApiServerAuthorizedIPRange +IP ranges are specified in CIDR format, e.g. +137.117.106.88/29. +This feature is not compatible with private AKS clusters. +So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkProfileEnablePrivateApiServer +ClusterPool is based on AKS cluster. +AKS cluster exposes the API server to public internet by default. +If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkProfileOutboundType +This can only be set at cluster pool creation time and cannot be changed later. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubnetId +Cluster pool subnet resource id. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VmSize +The virtual machine SKU. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.md new file mode 100644 index 000000000000..afec90d5b608 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.md @@ -0,0 +1,102 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject +schema: 2.0.0 +--- + +# New-AzHdInsightOnAksClusterPoolAKSUpgradeObject + +## SYNOPSIS +Create an object to hold the cluster pool upgrade parameters. + +## SYNTAX + +``` +New-AzHdInsightOnAksClusterPoolAKSUpgradeObject [-TargetAksVersion ] [-UpgradeAllClusterNode ] + [-UpgradeClusterPool ] [] +``` + +## DESCRIPTION +Create an object to hold the cluster pool upgrade parameters. + +## EXAMPLES + +### Example 1: Create an object to hold the cluster pool upgrade parameters. +```powershell +New-AzHdInsightOnAksClusterPoolAKSUpgradeObject -TargetAksVersion "1.27.9" -UpgradeClusterPool $true +``` + +```output +Property UpgradeType +-------- ----------- +{… AKSPatchUpgrade +``` + +Create an object to hold the flink cluster AKSPatchUpgrade parameters. + +## PARAMETERS + +### -TargetAksVersion +Target AKS version. +When it's not set, latest version will be used. +When upgradeClusterPool is true and upgradeAllClusterNodes is false, target version should be greater or equal to current version. +When upgradeClusterPool is false and upgradeAllClusterNodes is true, target version should be equal to AKS version of cluster pool. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UpgradeAllClusterNode +whether upgrade all clusters' nodes. +If it's true, upgradeClusterPool should be false. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UpgradeClusterPool +whether upgrade cluster pool or not. +If it's true, upgradeAllClusterNodes should be false. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksClusterServiceConfigObject.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksClusterServiceConfigObject.md new file mode 100644 index 000000000000..bc32485c655f --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksClusterServiceConfigObject.md @@ -0,0 +1,79 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksClusterServiceConfigObject +schema: 2.0.0 +--- + +# New-AzHdInsightOnAksClusterServiceConfigObject + +## SYNOPSIS +Create a component config. + +## SYNTAX + +``` +New-AzHdInsightOnAksClusterServiceConfigObject -ComponentName -File + [] +``` + +## DESCRIPTION +Create a component config. + +## EXAMPLES + +### Example 1: Create a component config. +```powershell +$coreSiteConfigFile=New-AzHdInsightOnAksClusterConfigFileObject -FileName "core-site.xml" -Value @{"fs.defaultFS"="abfs://testcontainer@$teststorage.dfs.core.windows.net"} +$yarnComponentConfig= New-AzHdInsightOnAksClusterServiceConfigObject -ComponentName "yarn-config" -File $coreSiteConfigFile +``` + +This cmdlet create the component config of "yarn-config" based the existing config file $coreSiteConfigFile. + +## PARAMETERS + +### -ComponentName +Name of the component the config files should apply to. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: Name + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -File +List of Config Files. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterConfigFile[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterConfigFile[] + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfig + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksClusterServiceConfigsProfileObject.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksClusterServiceConfigsProfileObject.md new file mode 100644 index 000000000000..36a59bdb6eeb --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksClusterServiceConfigsProfileObject.md @@ -0,0 +1,82 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksClusterServiceConfigsProfileObject +schema: 2.0.0 +--- + +# New-AzHdInsightOnAksClusterServiceConfigsProfileObject + +## SYNOPSIS +Create a service config profile. + +## SYNTAX + +``` +New-AzHdInsightOnAksClusterServiceConfigsProfileObject -Config -ServiceName + [] +``` + +## DESCRIPTION +Create a service config profile. + +## EXAMPLES + +### Example 1: Create a service config profile +```powershell +$coreSiteConfigFile=New-AzHdInsightOnAksClusterConfigFileObject -FileName "core-site.xml" -Value @{"fs.defaultFS"="abfs://testcontainer@$teststorage.dfs.core.windows.net"} +$yarnComponentConfig= New-AzHdInsightOnAksClusterServiceConfigObject -ComponentName "yarn-config" -File $coreSiteConfigFile +$yarnServiceConfigProfile=New-AzHdInsightOnAksClusterServiceConfigsProfileObject -ServiceName "yarn-service" -Config $yarnComponentConfig +``` + +This cmdlet creates the service config profile of "yarn-service" with the component service config. + +## PARAMETERS + +### -Config +List of service configs. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfig[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServiceName +Name of the service the configurations should apply to. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: Name + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfig[] + +### System.String + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksFlinkJobObject.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksFlinkJobObject.md new file mode 100644 index 000000000000..cba571721f33 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksFlinkJobObject.md @@ -0,0 +1,179 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksFlinkJobObject +schema: 2.0.0 +--- + +# New-AzHdInsightOnAksFlinkJobObject + +## SYNOPSIS +Create an object as a parameter for submitting cluster work + +## SYNTAX + +``` +New-AzHdInsightOnAksFlinkJobObject -Action -JobName [-Arg ] [-EntryClass ] + [-FlinkConfiguration ] [-JarName ] [-JobJarDirectory ] + [-SavePointName ] [] +``` + +## DESCRIPTION +Create an object as a parameter for submitting cluster work + +## EXAMPLES + +### Example 1: Create an object as a parameter for submitting cluster work. +```powershell + $flinkJobProperties = New-AzHdInsightOnAksFlinkJobObject -Action "NEW" -JobName "job1" ` + -JarName "JarName" -EntryClass "com.microsoft.hilo.flink.job.streaming.SleepJob" ` + -JobJarDirectory "abfs://flinkjob@hilosa.dfs.core.windows.net/jars" ` + -FlinkConfiguration @{parallelism=1} +``` + +```output +Id Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType Type +-- ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ---- + +``` + +Create an object as a parameter for submitting cluster work. + +## PARAMETERS + +### -Action +The reference name of the secret to be used in service configs. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Arg +A string property representing additional JVM arguments for the Flink job. +It should be space separated value. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EntryClass +A string property that specifies the entry class for the Flink job. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlinkConfiguration +Additional properties used to configure Flink jobs. +It allows users to set properties such as parallelism and jobSavePointDirectory. +It accepts additional key-value pairs as properties, where the keys are strings and the values are strings as well. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobPropertiesFlinkConfiguration +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JarName +A string property that represents the name of the job JAR + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JobJarDirectory +A string property that specifies the directory where the job JAR is located. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JobName +Name of job. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SavePointName +A string property that represents the name of the savepoint for the Flink job + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksNodeProfileObject.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksNodeProfileObject.md new file mode 100644 index 000000000000..63bc3855f0e8 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksNodeProfileObject.md @@ -0,0 +1,92 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksNodeProfileObject +schema: 2.0.0 +--- + +# New-AzHdInsightOnAksNodeProfileObject + +## SYNOPSIS +Create a node profile with SKU and worker count. + +## SYNTAX + +``` +New-AzHdInsightOnAksNodeProfileObject -Count -Type -VMSize [] +``` + +## DESCRIPTION +Create a node profile with SKU and worker count. + +## EXAMPLES + +### Example 1: Create a node profile with SKU and worker count. +```powershell +$vmSize="Standard_E8ads_v5"; +$workerCount=5; +$nodeProfile = New-AzHdInsightOnAksNodeProfileObject -Type "Worker" -Count $workerCount -VMSize $vmSize +``` + +Create a profile with SKU Standard_E8ads_v5 and 5 worker nodes. + +## PARAMETERS + +### -Count +The virtual machine SKU. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +The node type. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VMSize +The number of virtual machines. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INodeProfile + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksSecretReferenceObject.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksSecretReferenceObject.md new file mode 100644 index 000000000000..730782b261e2 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksSecretReferenceObject.md @@ -0,0 +1,107 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksSecretReferenceObject +schema: 2.0.0 +--- + +# New-AzHdInsightOnAksSecretReferenceObject + +## SYNOPSIS +Create a reference to provide a secret to store the password for accessing the database. + +## SYNTAX + +``` +New-AzHdInsightOnAksSecretReferenceObject -ReferenceName -SecretName [-Version ] + [] +``` + +## DESCRIPTION +Create a reference to provide a secret to store the password for accessing the database. +$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 +NA + +## EXAMPLES + +### Example 1: Create a reference to provide a secret to store the password for accessing the database. +```powershell +$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 +``` + +```output +KeyVaultObjectName ReferenceName Type Version +------------------ ------------- ---- ------- +{your secret name} {your secret reference name} Secret +``` + +Create a reference to provide a secret to store the password for accessing the database. + +## PARAMETERS + +### -ReferenceName +The reference name of the secret to be used in service configs. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecretName +The secret name in the key vault. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Version +The version of the secret in key vault. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISecretReference + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksTrinoHiveCatalogObject.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksTrinoHiveCatalogObject.md new file mode 100644 index 000000000000..9b72b61dc7cc --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/New-AzHdInsightOnAksTrinoHiveCatalogObject.md @@ -0,0 +1,134 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksTrinoHiveCatalogObject +schema: 2.0.0 +--- + +# New-AzHdInsightOnAksTrinoHiveCatalogObject + +## SYNOPSIS +Create a hive catalog configured as a Trino cluster. + +## SYNTAX + +``` +New-AzHdInsightOnAksTrinoHiveCatalogObject -CatalogName -MetastoreDbConnectionPasswordSecret + -MetastoreDbConnectionUrl -MetastoreDbConnectionUserName [-MetastoreWarehouseDir ] + [] +``` + +## DESCRIPTION +Create a hive catalog configured as a Trino cluster. + +## EXAMPLES + +### Example 1: Create a hive catalog configured as a Trino cluster. +```powershell +$catalogName="{your catalog name}" +$metastoreDbConnectionURL="jdbc:sqlserver://{your sql server url};database={your db name};encrypt=truetrustServerCertificate=true;loginTimeout=30;" +$metastoreDbUserName="{your db user name}" +$metastoreDbPasswordSecret="{secretName}" +$metastoreWarehouseDir="abfs://{your container name}@{your adls gen2 endpoint}/{your path}" + +New-AzHdInsightOnAksTrinoHiveCatalogObject -CatalogName $catalogName -MetastoreDbConnectionUrl $metastoreDbConnectionURL -MetastoreDbConnectionUserName $metastoreDbUserName -MetastoreDbConnectionPasswordSecret $metastoreDbPasswordSecret +``` + +```output +CatalogName MetastoreDbConnectionPasswordSecret MetastoreDbConnectionUrl +----------- ----------------------------------- ------------------------ +{your catalog name} {secretName} jdbc:sqlserver://{your sql server url};database={your db name};encrypt=truet… +``` + +Create a hive catalog configured as a Trino cluster. + +## PARAMETERS + +### -CatalogName +Name of trino catalog which should use specified hive metastore. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MetastoreDbConnectionPasswordSecret +Password secret for hive metastore database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MetastoreDbConnectionUrl +Connection string for hive metastore database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MetastoreDbConnectionUserName +User name for hive metastore database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MetastoreWarehouseDir +Warehouse directory for hive metastore database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOption + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/README.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/README.md new file mode 100644 index 000000000000..33aa807c53aa --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/README.md @@ -0,0 +1,11 @@ +# Docs +This directory contains the documentation of the cmdlets for the `Az.HdInsightOnAks` module. To run documentation generation, use the `generate-help.ps1` script at the root module folder. Files in this folder will *always be overridden on regeneration*. To update documentation examples, please use the `..\examples` folder. + +## Info +- Modifiable: no +- Generated: all +- Committed: yes +- Packaged: yes + +## Details +The process of documentation generation loads `Az.HdInsightOnAks` and analyzes the exported cmdlets from the module. It recognizes the [help comments](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) that are generated into the scripts in the `..\exports` folder. Additionally, when writing custom cmdlets in the `..\custom` folder, you can use the help comments syntax, which decorate the exported scripts at build-time. The documentation examples are taken from the `..\examples` folder. \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Remove-AzHdInsightOnAksCluster.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Remove-AzHdInsightOnAksCluster.md new file mode 100644 index 000000000000..ed566d7359f1 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Remove-AzHdInsightOnAksCluster.md @@ -0,0 +1,252 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/remove-azhdinsightonakscluster +schema: 2.0.0 +--- + +# Remove-AzHdInsightOnAksCluster + +## SYNOPSIS +Deletes a cluster. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzHdInsightOnAksCluster -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityClusterpool +``` +Remove-AzHdInsightOnAksCluster -ClusterpoolInputObject -Name + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a cluster. + +## EXAMPLES + +### Example 1: Remove an Azure HDInsight gen2 cluster +```powershell +$clusterResourceGroupName = "Group" +$clusterpoolName = "your-clusterpool" +$clusterName = "yourcluster" +Remove-AzHdInsightOnAksCluster ` + -Name $clusterName ` + -PoolName $clusterpoolName ` + -ResourceGroupName $clusterResourceGroupName ` +``` + +Remove an Azure HDInsight gen2 cluster. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterpoolInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: DeleteViaIdentityClusterpool +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the HDInsight cluster. + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityClusterpool +Aliases: ClusterName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PoolName +The name of the cluster pool. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: ClusterPoolName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Remove-AzHdInsightOnAksClusterPool.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Remove-AzHdInsightOnAksClusterPool.md new file mode 100644 index 000000000000..c3eb2ca5ea22 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Remove-AzHdInsightOnAksClusterPool.md @@ -0,0 +1,211 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/remove-azhdinsightonaksclusterpool +schema: 2.0.0 +--- + +# Remove-AzHdInsightOnAksClusterPool + +## SYNOPSIS +Deletes a Cluster Pool. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzHdInsightOnAksClusterPool -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzHdInsightOnAksClusterPool -InputObject [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a Cluster Pool. + +## EXAMPLES + +### Example 1: Remove an Azure HDInsight gen2 cluster pool +```powershell +$clusterResourceGroupName = "Group" +$clusterpoolName = "your-clusterpool" +Remove-AzHdInsightOnAksClusterPool -Name $clusterpoolName -ResourceGroupName $clusterResourceGroupName +``` + +Remove an Azure HDInsight gen2 cluster pool. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the cluster pool. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: ClusterPoolName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Resize-AzHdInsightOnAksCluster.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Resize-AzHdInsightOnAksCluster.md new file mode 100644 index 000000000000..762e1d05ca21 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Resize-AzHdInsightOnAksCluster.md @@ -0,0 +1,393 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/resize-azhdinsightonakscluster +schema: 2.0.0 +--- + +# Resize-AzHdInsightOnAksCluster + +## SYNOPSIS +Resize an existing Cluster. + +## SYNTAX + +### ResizeExpanded (Default) +``` +Resize-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + -Location [-SubscriptionId ] [-Tag ] [-TargetWorkerNodeCount ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Resize +``` +Resize-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + -ClusterResizeRequest [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ResizeViaIdentity +``` +Resize-AzHdInsightOnAksCluster -InputObject + -ClusterResizeRequest [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### ResizeViaIdentityClusterpool +``` +Resize-AzHdInsightOnAksCluster -ClusterpoolInputObject -Name + -ClusterResizeRequest [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### ResizeViaIdentityClusterpoolExpanded +``` +Resize-AzHdInsightOnAksCluster -ClusterpoolInputObject -Name + -Location [-Tag ] [-TargetWorkerNodeCount ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ResizeViaIdentityExpanded +``` +Resize-AzHdInsightOnAksCluster -InputObject -Location [-Tag ] + [-TargetWorkerNodeCount ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### ResizeViaJsonFilePath +``` +Resize-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### ResizeViaJsonString +``` +Resize-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Resize an existing Cluster. + +## EXAMPLES + +### Example 1: Resize the number of working nodes in the cluster. +```powershell +$clusterResourceGroupName = "your-resourceGroup" +$clusterpoolName = "your-clusterpool" +$clusterName = "your-clustername" +$targetWorkerNodeCount = 6 +$location = "west us 2" + +Resize-AzHdInsightOnAksCluster ` + -ResourceGroupName $clusterResourceGroupName ` + -Location $location ` + -PoolName $clusterpoolName ` + -Name $clusterName ` + -TargetWorkerNodeCount $targetWorkerNodeCount +``` + +```output +ApplicationLogStdErrorEnabled : +ApplicationLogStdOutEnabled : +AuthorizationProfileGroupId : +AuthorizationProfileUserId : +AutoscaleProfileAutoscaleType : +AutoscaleProfileEnabled : False +AutoscaleProfileGracefulDecommissionTimeout : +ClusterType : +ComputeProfileNode : +ConnectivityProfileSsh : +CoordinatorDebugEnable : +CoordinatorDebugPort : +CoordinatorDebugSuspend : +CoordinatorHighAvailabilityEnabled : +DeploymentId : +FlinkProfileNumReplica : +HistoryServerCpu : 0 +HistoryServerMemory : 0 +... +``` + +Resize the number to 6 of working nodes in the cluster. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterpoolInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: ResizeViaIdentityClusterpool, ResizeViaIdentityClusterpoolExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ClusterResizeRequest +The parameters for resizing a cluster. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResizeData +Parameter Sets: Resize, ResizeViaIdentity, ResizeViaIdentityClusterpool +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: ResizeViaIdentity, ResizeViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Resize operation + +```yaml +Type: System.String +Parameter Sets: ResizeViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Resize operation + +```yaml +Type: System.String +Parameter Sets: ResizeViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The geo-location where the resource lives + +```yaml +Type: System.String +Parameter Sets: ResizeExpanded, ResizeViaIdentityClusterpoolExpanded, ResizeViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the HDInsight cluster. + +```yaml +Type: System.String +Parameter Sets: Resize, ResizeExpanded, ResizeViaIdentityClusterpool, ResizeViaIdentityClusterpoolExpanded, ResizeViaJsonFilePath, ResizeViaJsonString +Aliases: ClusterName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PoolName +The name of the cluster pool. + +```yaml +Type: System.String +Parameter Sets: Resize, ResizeExpanded, ResizeViaJsonFilePath, ResizeViaJsonString +Aliases: ClusterPoolName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Resize, ResizeExpanded, ResizeViaJsonFilePath, ResizeViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Resize, ResizeExpanded, ResizeViaJsonFilePath, ResizeViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: ResizeExpanded, ResizeViaIdentityClusterpoolExpanded, ResizeViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetWorkerNodeCount +Target node count of worker node. + +```yaml +Type: System.Int32 +Parameter Sets: ResizeExpanded, ResizeViaIdentityClusterpoolExpanded, ResizeViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResizeData + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Set-AzHdInsightOnAksClusterPool.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Set-AzHdInsightOnAksClusterPool.md new file mode 100644 index 000000000000..43fd2a6e723c --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Set-AzHdInsightOnAksClusterPool.md @@ -0,0 +1,458 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/set-azhdinsightonaksclusterpool +schema: 2.0.0 +--- + +# Set-AzHdInsightOnAksClusterPool + +## SYNOPSIS +Create a cluster pool. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzHdInsightOnAksClusterPool -Name -ResourceGroupName -Location + [-SubscriptionId ] [-ClusterPoolVersion ] [-EnableLogAnalytics] + [-LogAnalyticWorkspaceResourceId ] [-ManagedResourceGroupName ] + [-NetworkProfileApiServerAuthorizedIPRange ] [-NetworkProfileEnablePrivateApiServer] + [-NetworkProfileOutboundType ] [-SubnetId ] [-Tag ] [-VmSize ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Update +``` +Set-AzHdInsightOnAksClusterPool -Name -ResourceGroupName -ClusterPool + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaJsonFilePath +``` +Set-AzHdInsightOnAksClusterPool -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaJsonString +``` +Set-AzHdInsightOnAksClusterPool -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Create a cluster pool. + +## EXAMPLES + +### Example 1: Update an Azure HDInsight gen2 cluster pool. +```powershell +# Cluster configuration info +$location = "East US 2" +$clusterResourceGroupName = "Group" +$clusterpoolName = "your-clusterpool" +$vmSize = "Standard_E4s_v3" + +# log analytics workspace info +$LogAnalyticProfileWorkspaceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group/providers/microsoft.operationalinsights/workspaces/loganalyticsworkspacename" + +Set-AzHdInsightOnAksClusterPool ` + -Name $clusterpoolName ` + -ResourceGroupName $clusterResourceGroupName ` + -VmSize $vmSize ` + -Location $location ` + -EnableLogAnalytics ` + -LogAnalyticWorkspaceResourceId $LogAnalyticProfileWorkspaceId +``` + +```output +AkClusterAgentPoolIdentityProfileMsiClientId : 00000000-0000-0000-0000-000000000000 +AkClusterAgentPoolIdentityProfileMsiObjectId : 00000000-0000-0000-0000-000000000000 +AkClusterAgentPoolIdentityProfileMsiResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-00000000000000000000000000000_testpoolname_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testpoolname-agentpool +AkClusterProfileAksClusterResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-00000000000000000000000000000/providers/Microsoft.ContainerService/managedClusters/testpoolname +AkClusterProfileAksVersion : 1.26 +AksManagedResourceGroupName : MC_hdi-00000000000000000000000000000_testpoolname_westus3 +ComputeProfileCount : 3 +ComputeProfileVMSize : Standard_E4s_v3 +DeploymentId : 00000000000000000000000000000 +Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Group/providers/Microsoft.HDInsight/clusterpools/testpoolname +Location : West US 3 +LogAnalyticProfileEnabled : True +LogAnalyticProfileWorkspaceId :/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group/providers/microsoft.operationalinsights/workspaces/loganalyticsworkspacename" +ManagedResourceGroupName : hdi-00000000000000000000000000000 +Name : testpoolname +NetworkProfileSubnetId : +ProfileClusterPoolVersion : +ProvisioningState : Succeeded +Status : Running +SystemData : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api40.SystemData +SystemDataLastModifiedAt : 2023/9/7 6:50:07 +SystemDataLastModifiedBy : xxxxx@microsoft.com +SystemDataLastModifiedByType : User +Tag : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api40.TrackedResourceTags +Type : microsoft.hdinsight/clusterpools +``` + +Update an Azure HDInsight gen2 cluster pool enableLogAnalytics. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterPool +Cluster pool. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool +Parameter Sets: Update +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ClusterPoolVersion +Cluster pool version is a 2-part version. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnableLogAnalytics +True if log analytics is enabled for cluster pool, otherwise false. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The geo-location where the resource lives + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LogAnalyticWorkspaceResourceId +Log analytics workspace to associate with the OMS agent. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ManagedResourceGroupName +A resource group created by RP, to hold the resources created by RP on-behalf of customers. +It will also be used to generate aksManagedResourceGroupName by pattern: MC_{managedResourceGroupName}_{clusterPoolName}_{region}. +Please make sure it meets resource group name restriction. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the cluster pool. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ClusterPoolName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkProfileApiServerAuthorizedIPRange +IP ranges are specified in CIDR format, e.g. +137.117.106.88/29. +This feature is not compatible with private AKS clusters. +So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkProfileEnablePrivateApiServer +ClusterPool is based on AKS cluster. +AKS cluster exposes the API server to public internet by default. +If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkProfileOutboundType +This can only be set at cluster pool creation time and cannot be changed later. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubnetId +Cluster pool subnet resource id. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VmSize +The virtual machine SKU. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Start-AzHdInsightOnAksClusterJob.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Start-AzHdInsightOnAksClusterJob.md new file mode 100644 index 000000000000..c6d0cc1795f5 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Start-AzHdInsightOnAksClusterJob.md @@ -0,0 +1,338 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/start-azhdinsightonaksclusterjob +schema: 2.0.0 +--- + +# Start-AzHdInsightOnAksClusterJob + +## SYNOPSIS +Operations on jobs of HDInsight on AKS cluster. + +## SYNTAX + +### RunExpanded (Default) +``` +Start-AzHdInsightOnAksClusterJob -ClusterName -ClusterPoolName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### Run +``` +Start-AzHdInsightOnAksClusterJob -ClusterName -ClusterPoolName -ResourceGroupName + -ClusterJob [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### RunViaIdentity +``` +Start-AzHdInsightOnAksClusterJob -InputObject -ClusterJob + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### RunViaIdentityClusterpool +``` +Start-AzHdInsightOnAksClusterJob -ClusterName -ClusterpoolInputObject + -ClusterJob [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### RunViaIdentityClusterpoolExpanded +``` +Start-AzHdInsightOnAksClusterJob -ClusterName -ClusterpoolInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### RunViaIdentityExpanded +``` +Start-AzHdInsightOnAksClusterJob -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### RunViaJsonFilePath +``` +Start-AzHdInsightOnAksClusterJob -ClusterName -ClusterPoolName -ResourceGroupName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### RunViaJsonString +``` +Start-AzHdInsightOnAksClusterJob -ClusterName -ClusterPoolName -ResourceGroupName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Operations on jobs of HDInsight on AKS cluster. + +## EXAMPLES + +### Example 1: Start a job in the flink cluster. +```powershell +$clusterResourceGroupName = "Group" +$clusterpoolName = "ps-test-pool" +$clusterName = "flinkcluster" +$flinkJobProperties = New-AzHdInsightOnAksFlinkJobObject -Action "NEW" -JobName "job1" ` + -JarName "JarName" -EntryClass "com.microsoft.hilo.flink.job.streaming.SleepJob" ` + -JobJarDirectory "abfs://flinkjob@hilosa.dfs.core.windows.net/jars" ` + -FlinkConfiguration @{parallelism=1} +Start-AzHdInsightOnAksClusterJob -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName -ClusterJob $flinkJobProperties +``` + +```output +Id : /providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/0d1c65ea-bd83-4e70-87 + a1-6eac9871416a*93BE3F5F38E851939A0189D16172AE096513F606F83B4B31C7549306E4C696F3 +JobType : FlinkJob +Name : 0d1c65ea-bd83-4e70-87a1-6eac9871416a*93BE3F5F38E851939A0189D16172AE096513F606F83B4B31C75 + 49306E4C696F3 +Property : { + "jobType": "FlinkJob" + } +ResourceGroupName : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : +``` + +Start a job in the flink cluster. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterJob +Cluster job. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob +Parameter Sets: Run, RunViaIdentity, RunViaIdentityClusterpool +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ClusterName +The name of the HDInsight cluster. + +```yaml +Type: System.String +Parameter Sets: Run, RunExpanded, RunViaIdentityClusterpool, RunViaIdentityClusterpoolExpanded, RunViaJsonFilePath, RunViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterpoolInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: RunViaIdentityClusterpool, RunViaIdentityClusterpoolExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ClusterPoolName +The name of the cluster pool. + +```yaml +Type: System.String +Parameter Sets: Run, RunExpanded, RunViaJsonFilePath, RunViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: RunViaIdentity, RunViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Run operation + +```yaml +Type: System.String +Parameter Sets: RunViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Run operation + +```yaml +Type: System.String +Parameter Sets: RunViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Run, RunExpanded, RunViaJsonFilePath, RunViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Run, RunExpanded, RunViaJsonFilePath, RunViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Test-AzHdInsightOnAksLocationNameAvailability.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Test-AzHdInsightOnAksLocationNameAvailability.md new file mode 100644 index 000000000000..d69c0dc8e96d --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Test-AzHdInsightOnAksLocationNameAvailability.md @@ -0,0 +1,259 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/test-azhdinsightonakslocationnameavailability +schema: 2.0.0 +--- + +# Test-AzHdInsightOnAksLocationNameAvailability + +## SYNOPSIS +Check the availability of the resource name. + +## SYNTAX + +### CheckExpanded (Default) +``` +Test-AzHdInsightOnAksLocationNameAvailability -Location [-SubscriptionId ] [-Name ] + [-Type ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### Check +``` +Test-AzHdInsightOnAksLocationNameAvailability -Location + -NameAvailabilityParameter [-SubscriptionId ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CheckViaIdentity +``` +Test-AzHdInsightOnAksLocationNameAvailability -InputObject + -NameAvailabilityParameter [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### CheckViaIdentityExpanded +``` +Test-AzHdInsightOnAksLocationNameAvailability -InputObject [-Name ] + [-Type ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CheckViaJsonFilePath +``` +Test-AzHdInsightOnAksLocationNameAvailability -Location -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CheckViaJsonString +``` +Test-AzHdInsightOnAksLocationNameAvailability -Location -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Check the availability of the resource name. + +## EXAMPLES + +### Example 1: Check the availability of the cluster pool name. +```powershell +$location="west us 2" +$name="testname" +Test-AzHdInsightOnAksLocationNameAvailability -Location $location -Name $name -Type Microsoft.HDInsight/clusterPools/clusters +``` + +```output +Message NameAvailable Reason +------- ------------- ------ +Cluster name must follow the 'clusterpool/cluster' format False Invalid +``` + +Check the availability of the cluster pool name in West Us 2. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: CheckViaIdentity, CheckViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The name of the Azure region. + +```yaml +Type: System.String +Parameter Sets: Check, CheckExpanded, CheckViaJsonFilePath, CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name for checking availability. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NameAvailabilityParameter +Details of check name availability request body. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INameAvailabilityParameters +Parameter Sets: Check, CheckViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Check, CheckExpanded, CheckViaJsonFilePath, CheckViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +The resource type in Microsoft.HDInsight. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INameAvailabilityParameters + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INameAvailabilityResult + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Update-AzHdInsightOnAksCluster.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Update-AzHdInsightOnAksCluster.md new file mode 100644 index 000000000000..63cc0e31703a --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Update-AzHdInsightOnAksCluster.md @@ -0,0 +1,1020 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/update-azhdinsightonakscluster +schema: 2.0.0 +--- + +# Update-AzHdInsightOnAksCluster + +## SYNOPSIS +Updates an existing Cluster. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + [-SubscriptionId ] [-ApplicationLogStdErrorEnabled] [-ApplicationLogStdOutEnabled] + [-AuthorizationProfileGroupId ] [-AuthorizationProfileUserId ] + [-AutoscaleProfileAutoscaleType ] [-AutoscaleProfileEnabled] + [-AutoscaleProfileGracefulDecommissionTimeout ] + [-ClusterProfileScriptActionProfile ] + [-ClusterProfileServiceConfigsProfile ] [-DatabaseHost ] + [-DatabaseName ] [-DatabasePasswordSecretRef ] [-DatabaseUsername ] + [-LoadBasedConfigCooldownPeriod ] [-LoadBasedConfigMaxNode ] [-LoadBasedConfigMinNode ] + [-LoadBasedConfigPollInterval ] [-LoadBasedConfigScalingRule ] + [-LogAnalyticProfileEnabled] [-LogAnalyticProfileMetricsEnabled] [-PrometheuProfileEnabled] + [-RangerAdmin ] [-RangerAuditStorageAccount ] [-RangerPluginProfileEnabled] + [-RangerUsersyncEnabled] [-RangerUsersyncGroup ] [-RangerUsersyncMode ] + [-RangerUsersyncUser ] [-RangerUsersyncUserMappingLocation ] + [-ScheduleBasedConfigDefaultCount ] [-ScheduleBasedConfigSchedule ] + [-ScheduleBasedConfigTimeZone ] [-SshProfileCount ] [-Tag ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Update +``` +Update-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + -ClusterPatchRequest [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentity +``` +Update-AzHdInsightOnAksCluster -InputObject -ClusterPatchRequest + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityClusterpool +``` +Update-AzHdInsightOnAksCluster -ClusterpoolInputObject -Name + -ClusterPatchRequest [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityClusterpoolExpanded +``` +Update-AzHdInsightOnAksCluster -ClusterpoolInputObject -Name + [-ApplicationLogStdErrorEnabled] [-ApplicationLogStdOutEnabled] [-AuthorizationProfileGroupId ] + [-AuthorizationProfileUserId ] [-AutoscaleProfileAutoscaleType ] [-AutoscaleProfileEnabled] + [-AutoscaleProfileGracefulDecommissionTimeout ] + [-ClusterProfileScriptActionProfile ] + [-ClusterProfileServiceConfigsProfile ] [-DatabaseHost ] + [-DatabaseName ] [-DatabasePasswordSecretRef ] [-DatabaseUsername ] + [-LoadBasedConfigCooldownPeriod ] [-LoadBasedConfigMaxNode ] [-LoadBasedConfigMinNode ] + [-LoadBasedConfigPollInterval ] [-LoadBasedConfigScalingRule ] + [-LogAnalyticProfileEnabled] [-LogAnalyticProfileMetricsEnabled] [-PrometheuProfileEnabled] + [-RangerAdmin ] [-RangerAuditStorageAccount ] [-RangerPluginProfileEnabled] + [-RangerUsersyncEnabled] [-RangerUsersyncGroup ] [-RangerUsersyncMode ] + [-RangerUsersyncUser ] [-RangerUsersyncUserMappingLocation ] + [-ScheduleBasedConfigDefaultCount ] [-ScheduleBasedConfigSchedule ] + [-ScheduleBasedConfigTimeZone ] [-SshProfileCount ] [-Tag ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzHdInsightOnAksCluster -InputObject [-ApplicationLogStdErrorEnabled] + [-ApplicationLogStdOutEnabled] [-AuthorizationProfileGroupId ] + [-AuthorizationProfileUserId ] [-AutoscaleProfileAutoscaleType ] [-AutoscaleProfileEnabled] + [-AutoscaleProfileGracefulDecommissionTimeout ] + [-ClusterProfileScriptActionProfile ] + [-ClusterProfileServiceConfigsProfile ] [-DatabaseHost ] + [-DatabaseName ] [-DatabasePasswordSecretRef ] [-DatabaseUsername ] + [-LoadBasedConfigCooldownPeriod ] [-LoadBasedConfigMaxNode ] [-LoadBasedConfigMinNode ] + [-LoadBasedConfigPollInterval ] [-LoadBasedConfigScalingRule ] + [-LogAnalyticProfileEnabled] [-LogAnalyticProfileMetricsEnabled] [-PrometheuProfileEnabled] + [-RangerAdmin ] [-RangerAuditStorageAccount ] [-RangerPluginProfileEnabled] + [-RangerUsersyncEnabled] [-RangerUsersyncGroup ] [-RangerUsersyncMode ] + [-RangerUsersyncUser ] [-RangerUsersyncUserMappingLocation ] + [-ScheduleBasedConfigDefaultCount ] [-ScheduleBasedConfigSchedule ] + [-ScheduleBasedConfigTimeZone ] [-SshProfileCount ] [-Tag ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### Upgrade +``` +Update-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + -ClusterUpgradeRequest [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpgradeExpanded +``` +Update-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + -UpgradeType [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpgradeViaIdentity +``` +Update-AzHdInsightOnAksCluster -InputObject -ClusterUpgradeRequest + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpgradeViaIdentityClusterpool +``` +Update-AzHdInsightOnAksCluster -ClusterpoolInputObject -Name + -ClusterUpgradeRequest [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpgradeViaIdentityClusterpoolExpanded +``` +Update-AzHdInsightOnAksCluster -ClusterpoolInputObject -Name + -UpgradeType [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpgradeViaIdentityExpanded +``` +Update-AzHdInsightOnAksCluster -InputObject -UpgradeType + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpgradeViaJsonFilePath +``` +Update-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpgradeViaJsonString +``` +Update-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Updates an existing Cluster. + +## EXAMPLES + +### Example 1: Update a cluster service config. +```powershell +$clusterResourceGroupName = "Group" +$clusterpoolName = "ps-test-pool" +$clusterName = "flinkcluster" +$coreSiteConfigFile = New-AzHdInsightOnAksClusterConfigFileObject -FileName "core-site.xml" -Value @{"testvalue1"="111"} +$yarnComponentConfig = New-AzHdInsightOnAksClusterServiceConfigObject -ComponentName "hadoop-config" -File $coreSiteConfigFile +$yarnServiceConfigProfile = New-AzHdInsightOnAksClusterServiceConfigsProfileObject -ServiceName "yarn-service" -Config $yarnComponentConfig + +Update-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -PoolName $clusterpoolName -Name $clusterName -ClusterProfileServiceConfigsProfile $yarnServiceConfigProfile +``` + +```output +ApplicationLogStdErrorEnabled : False +ApplicationLogStdOutEnabled : False +AuthorizationProfileGroupId : +AuthorizationProfileUserId : {00000000-0000-0000-0000-000000000000} +AutoscaleProfileAutoscaleType : +AutoscaleProfileEnabled : False +AutoscaleProfileGracefulDecommissionTimeout : +ClusterType : Spark +ComputeProfileNode : {Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProfile, Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.NodeProfile} +ConnectivityProfileSsh : +CoordinatorDebugEnable : +... +``` + +Add a key-value `"testvalue1"="111"` to the cluster config file `core-site.xml`. + +### Example 2: Upgrade a cluster. +```powershell +$clusterResourceGroupName = "Group" +$clusterpoolName = "ps-test-pool" +$clusterName = "flinkcluster" +$hotfixObj = New-AzHdInsightOnAksClusterHotfixUpgradeObject -ComponentName Webssh -TargetBuildNumber 7 -TargetClusterVersion "1.1.1" -TargetOssVersion "0.4.2" +Update-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName -ClusterUpgradeRequest $hotfixObj +``` + +```output +AccessProfileEnableInternalIngress : False +AccessProfilePrivateLinkServiceId : +ApplicationLogStdErrorEnabled : +ApplicationLogStdOutEnabled : +AuthorizationProfileGroupId : +AuthorizationProfileUserId : +AutoscaleProfileAutoscaleType : +AutoscaleProfileEnabled : False +AutoscaleProfileGracefulDecommissionTimeout : +ClusterType : +ComputeProfileNode : +ConnectivityEndpointBootstrapServerEndpoint : +ConnectivityEndpointBrokerEndpoint : +ConnectivityProfileSsh : +CoordinatorDebugEnable : +CoordinatorDebugPort : +CoordinatorDebugSuspend : +CoordinatorHighAvailabilityEnabled : +DatabaseHost : +DatabaseName : +DatabasePasswordSecretRef : +DatabaseUsername : +DeploymentId : +DiskStorageDataDiskSize : 0 +... +``` + +Upgrade a cluster with type HotFix. + +## PARAMETERS + +### -ApplicationLogStdErrorEnabled +True if stderror is enabled, otherwise false. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ApplicationLogStdOutEnabled +True if stdout is enabled, otherwise false. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthorizationProfileGroupId +AAD group Ids authorized for data plane access. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthorizationProfileUserId +AAD user Ids authorized for data plane access. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AutoscaleProfileAutoscaleType +User to specify which type of Autoscale to be implemented - Scheduled Based or Load Based. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AutoscaleProfileEnabled +This indicates whether auto scale is enabled on HDInsight on AKS cluster. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterPatchRequest +The patch for a cluster. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatch +Parameter Sets: Update, UpdateViaIdentity, UpdateViaIdentityClusterpool +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ClusterpoolInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: UpdateViaIdentityClusterpool, UpdateViaIdentityClusterpoolExpanded, UpgradeViaIdentityClusterpool, UpgradeViaIdentityClusterpoolExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ClusterProfileScriptActionProfile +The script action profile list. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScriptActionProfile[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterProfileServiceConfigsProfile +The service configs profiles. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterUpgradeRequest +Cluster Upgrade. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade +Parameter Sets: Upgrade, UpgradeViaIdentity, UpgradeViaIdentityClusterpool +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DatabaseHost +The database URL + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseName +The database name + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabasePasswordSecretRef +Reference for the database password + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseUsername +The name of the database user + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: UpdateViaIdentity, UpdateViaIdentityExpanded, UpgradeViaIdentity, UpgradeViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath, UpgradeViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString, UpgradeViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LoadBasedConfigScalingRule +The scaling rules. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScalingRule[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LogAnalyticProfileEnabled +True if log analytics is enabled for the cluster, otherwise false. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LogAnalyticProfileMetricsEnabled +True if metrics are enabled, otherwise false. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the HDInsight cluster. + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded, UpdateViaIdentityClusterpool, UpdateViaIdentityClusterpoolExpanded, UpdateViaJsonFilePath, UpdateViaJsonString, Upgrade, UpgradeExpanded, UpgradeViaIdentityClusterpool, UpgradeViaIdentityClusterpoolExpanded, UpgradeViaJsonFilePath, UpgradeViaJsonString +Aliases: ClusterName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PoolName +The name of the cluster pool. + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString, Upgrade, UpgradeExpanded, UpgradeViaJsonFilePath, UpgradeViaJsonString +Aliases: ClusterPoolName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrometheuProfileEnabled +Enable Prometheus for cluster or not. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerAdmin +List of usernames that should be marked as ranger admins. +These usernames should match the user principal name (UPN) of the respective AAD users. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerAuditStorageAccount +Azure storage location of the blobs. +MSI should have read/write access to this Storage account. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerPluginProfileEnabled +Enable Ranger for cluster or not. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerUsersyncEnabled +Denotes whether usersync service should be enabled + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerUsersyncGroup +List of groups that should be synced. +These group names should match the object id of the respective AAD groups. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerUsersyncMode +User & groups can be synced automatically or via a static list that's refreshed. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerUsersyncUser +List of user names that should be synced. +These usernames should match the User principal name of the respective AAD users. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerUsersyncUserMappingLocation +Azure storage location of a mapping file that lists user & group associations. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString, Upgrade, UpgradeExpanded, UpgradeViaJsonFilePath, UpgradeViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScheduleBasedConfigDefaultCount +Setting default node count of current schedule configuration. +Default node count specifies the number of nodes which are default when an specified scaling operation is executed (scale up/scale down) + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScheduleBasedConfigSchedule +This specifies the schedules where scheduled based Autoscale to be enabled, the user has a choice to set multiple rules within the schedule across days and times (start/end). + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISchedule[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScheduleBasedConfigTimeZone +User has to specify the timezone on which the schedule has to be set for schedule based autoscale configuration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SshProfileCount +Number of ssh pods per cluster. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString, Upgrade, UpgradeExpanded, UpgradeViaJsonFilePath, UpgradeViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UpgradeType +Type of upgrade. + +```yaml +Type: System.String +Parameter Sets: UpgradeExpanded, UpgradeViaIdentityClusterpoolExpanded, UpgradeViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatch + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Update-AzHdInsightOnAksClusterPool.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Update-AzHdInsightOnAksClusterPool.md new file mode 100644 index 000000000000..de6ed6f670fb --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Update-AzHdInsightOnAksClusterPool.md @@ -0,0 +1,358 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/update-azhdinsightonaksclusterpool +schema: 2.0.0 +--- + +# Update-AzHdInsightOnAksClusterPool + +## SYNOPSIS +Upgrade a cluster pool. + +## SYNTAX + +### UpgradeExpanded (Default) +``` +Update-AzHdInsightOnAksClusterPool -Name -ResourceGroupName -UpgradeType + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### Upgrade +``` +Update-AzHdInsightOnAksClusterPool -Name -ResourceGroupName + -ClusterPoolUpgradeRequest [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpgradeViaIdentity +``` +Update-AzHdInsightOnAksClusterPool -InputObject + -ClusterPoolUpgradeRequest [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpgradeViaIdentityExpanded +``` +Update-AzHdInsightOnAksClusterPool -InputObject -UpgradeType + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpgradeViaJsonFilePath +``` +Update-AzHdInsightOnAksClusterPool -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpgradeViaJsonString +``` +Update-AzHdInsightOnAksClusterPool -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Upgrade a cluster pool. + +## EXAMPLES + +### Example 1: Upgrade a cluster pool(NodeOsUpgrade). +```powershell +$clusterResourceGroupName = "Group" +$clusterpoolName = "your-clusterpool" +Update-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName -ClusterPoolName $clusterpoolName -UpgradeType NodeOsUpgrade +``` + +```output +AkClusterProfileAkClusterAgentPoolIdentityProfileMsiClientId : +AkClusterProfileAkClusterAgentPoolIdentityProfileMsiObjectId : +AkClusterProfileAkClusterAgentPoolIdentityProfileMsiResourceId : +AkClusterProfileAksClusterResourceId : +AkClusterProfileAksVersion : +AksManagedResourceGroupName : +ComputeProfileCount : +ComputeProfileVMSize : +DeploymentId : +Id : /providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/29a21725-8fec-428a-911f-dccc6ec9a6d8*F7AC27D6EE8809127228CC9761587D363E49354C7A941A3D1D0AF885952AC245 +Location : +LogAnalyticProfileEnabled : False +LogAnalyticProfileWorkspaceId : +ManagedResourceGroupName : +Name : 29a21725-8fec-428a-911f-dccc6ec9a6d8*F7AC27D6EE8809127228CC9761587D363E49354C7A941A3D1D0AF885952AC245 +NetworkProfileApiServerAuthorizedIPRange : +NetworkProfileEnablePrivateApiServer : +NetworkProfileOutboundType : +NetworkProfileSubnetId : +ProfileClusterPoolVersion : +ProvisioningState : +ResourceGroupName : +Status : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Tag : {} +Type : +``` + +Upgrade a cluster pool and upgrade type is NodeOsUpgrade. + +### Example 2: Upgrade a cluster pool(AKSPatchUpgrade). +```powershell +$clusterResourceGroupName = "Group" +$clusterpoolName = "your-clusterpool" +$upgradeObj = New-AzHdInsightOnAksClusterPoolAKSUpgradeObject -TargetAksVersion "1.27.9" -UpgradeClusterPool $true +Update-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName -ClusterPoolName $clusterpoolName -ClusterPoolUpgradeRequest $upgradeObj +``` + +```output +AkClusterProfileAkClusterAgentPoolIdentityProfileMsiClientId : +AkClusterProfileAkClusterAgentPoolIdentityProfileMsiObjectId : +AkClusterProfileAkClusterAgentPoolIdentityProfileMsiResourceId : +AkClusterProfileAksClusterResourceId : +AkClusterProfileAksVersion : +AksManagedResourceGroupName : +ComputeProfileCount : +ComputeProfileVMSize : +DeploymentId : +Id : /providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/0aea8755-7a43-4c4a-96ea-a2879b9cb820*F7AC27D6EE8809127228CC9761587D363E49354C7A941A3D1D0AF885952AC245 +Location : +LogAnalyticProfileEnabled : False +LogAnalyticProfileWorkspaceId : +ManagedResourceGroupName : +Name : 0aea8755-7a43-4c4a-96ea-a2879b9cb820*F7AC27D6EE8809127228CC9761587D363E49354C7A941A3D1D0AF885952AC245 +NetworkProfileApiServerAuthorizedIPRange : +NetworkProfileEnablePrivateApiServer : +NetworkProfileOutboundType : +NetworkProfileSubnetId : +ProfileClusterPoolVersion : +ProvisioningState : +ResourceGroupName : +Status : +... +``` + +Upgrade a cluster pool and upgrade type is NodeOsUpgrade. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterPoolUpgradeRequest +Cluster Pool Upgrade. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade +Parameter Sets: Upgrade, UpgradeViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: UpgradeViaIdentity, UpgradeViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Upgrade operation + +```yaml +Type: System.String +Parameter Sets: UpgradeViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Upgrade operation + +```yaml +Type: System.String +Parameter Sets: UpgradeViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the cluster pool. + +```yaml +Type: System.String +Parameter Sets: Upgrade, UpgradeExpanded, UpgradeViaJsonFilePath, UpgradeViaJsonString +Aliases: ClusterPoolName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Upgrade, UpgradeExpanded, UpgradeViaJsonFilePath, UpgradeViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Upgrade, UpgradeExpanded, UpgradeViaJsonFilePath, UpgradeViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UpgradeType +Type of upgrade. + +```yaml +Type: System.String +Parameter Sets: UpgradeExpanded, UpgradeViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Update-AzHdInsightOnAksClusterPoolTag.md b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Update-AzHdInsightOnAksClusterPoolTag.md new file mode 100644 index 000000000000..d711d46c6466 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/help/Update-AzHdInsightOnAksClusterPoolTag.md @@ -0,0 +1,319 @@ +--- +external help file: +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/update-azhdinsightonaksclusterpooltag +schema: 2.0.0 +--- + +# Update-AzHdInsightOnAksClusterPoolTag + +## SYNOPSIS +Updates an existing Cluster Pool Tags. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzHdInsightOnAksClusterPoolTag -ClusterPoolName -ResourceGroupName + [-SubscriptionId ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### Update +``` +Update-AzHdInsightOnAksClusterPoolTag -ClusterPoolName -ResourceGroupName + -ClusterPoolTag [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentity +``` +Update-AzHdInsightOnAksClusterPoolTag -InputObject -ClusterPoolTag + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzHdInsightOnAksClusterPoolTag -InputObject [-Tag ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzHdInsightOnAksClusterPoolTag -ClusterPoolName -ResourceGroupName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzHdInsightOnAksClusterPoolTag -ClusterPoolName -ResourceGroupName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Updates an existing Cluster Pool Tags. + +## EXAMPLES + +### Example 1: Update an existing Cluster Pool Tags. +```powershell +$clusterResourceGroupName = "Group" +$clusterpoolName = "your-clusterpool" +$tag = @{name = "value"} + +Update-AzHdInsightOnAksClusterPoolTag ` + -ClusterPoolName $clusterpoolName ` + -ResourceGroupName $clusterResourceGroupName ` + -Tag $tag +``` + +```output +AkClusterAgentPoolIdentityProfileMsiClientId : 00000000-0000-0000-0000-000000000000 +AkClusterAgentPoolIdentityProfileMsiObjectId : 00000000-0000-0000-0000-000000000000 +AkClusterAgentPoolIdentityProfileMsiResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-00000000000000000000000000000_testpoolname_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testpoolname-agentpool +AkClusterProfileAksClusterResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-00000000000000000000000000000/providers/Microsoft.ContainerService/managedClusters/testpoolname +AkClusterProfileAksVersion : 1.26 +AksManagedResourceGroupName : MC_hdi-00000000000000000000000000000_testpoolname_westus3 +ComputeProfileCount : 3 +ComputeProfileVMSize : Standard_E4s_v3 +DeploymentId : 00000000000000000000000000000 +Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Group/providers/Microsoft.HDInsight/clusterpools/testpoolname +Location : West US 3 +LogAnalyticProfileEnabled : True +LogAnalyticProfileWorkspaceId :/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group/providers/microsoft.operationalinsights/workspaces/loganalyticsworkspacename" +ManagedResourceGroupName : hdi-00000000000000000000000000000 +Name : testpoolname +NetworkProfileSubnetId : +ProfileClusterPoolVersion : +ProvisioningState : Succeeded +Status : Running +SystemData : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api40.SystemData +SystemDataLastModifiedAt : 2023/9/7 6:50:07 +SystemDataLastModifiedBy : xxxxx@microsoft.com +SystemDataLastModifiedByType : User +Tag : Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.Api40.TrackedResourceTags +Type : microsoft.hdinsight/clusterpools +``` + +Update an existing Cluster Pool Tags. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterPoolName +The name of the cluster pool. + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterPoolTag +Tags object for patch operations. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITagsObject +Parameter Sets: Update, UpdateViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: UpdateViaIdentity, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITagsObject + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + +## NOTES + +## RELATED LINKS + diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/internal/Az.HdInsightOnAks.internal.psm1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/internal/Az.HdInsightOnAks.internal.psm1 index f25222045b5b..07852cf46437 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/internal/Az.HdInsightOnAks.internal.psm1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/internal/Az.HdInsightOnAks.internal.psm1 @@ -24,12 +24,12 @@ # Load the last folder if no profile is selected $profileDirectory = $directories | Select-Object -Last 1 } - + if($profileDirectory) { Write-Information "Loaded Azure profile '$($profileDirectory.Name)' for module '$($instance.Name)'" $exportsPath = $profileDirectory.FullName } - + if($exportsPath) { Get-ChildItem -Path $exportsPath -Recurse -Include '*.ps1' -File | ForEach-Object { . $_.FullName } $cmdletNames = Get-ScriptCmdlet -ScriptFolder $exportsPath diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test-module.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test-module.ps1 index bde2d7c2743f..d56a398aa0f1 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test-module.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test-module.ps1 @@ -74,13 +74,14 @@ try if ($TestMode -ne 'playback') { setupEnv + } else { + $env:AzPSAutorestTestPlaybackMode = $true } $testFolder = Join-Path $PSScriptRoot 'test' if ($null -ne $TestName) { Invoke-Pester -Script @{ Path = $testFolder } -TestName $TestName -ExcludeTag $ExcludeTag -EnableExit -OutputFile (Join-Path $testFolder "$moduleName-TestResults.xml") - } else - { + } else { Invoke-Pester -Script @{ Path = $testFolder } -ExcludeTag $ExcludeTag -EnableExit -OutputFile (Join-Path $testFolder "$moduleName-TestResults.xml") } } Finally @@ -89,6 +90,9 @@ try { cleanupEnv } + else { + $env:AzPSAutorestTestPlaybackMode = '' + } } Write-Host -ForegroundColor Green '-------------Done-------------' diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterCreate_Catalog.Tests.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterCreate_Catalog.Tests.ps1 new file mode 100644 index 000000000000..197bf89b31ef --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterCreate_Catalog.Tests.ps1 @@ -0,0 +1,105 @@ +if (($null -eq $TestName) -or ($TestName -contains 'ClusterCreate_Catalog')) { + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'sessionRecords\ClusterCreate_Catalog.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'ClusterCreate_Catalog' { + BeforeAll { + # Cluster configuration info + $location = "West US 3" + $clusterResourceGroupName = "PStestGroup" + $clusterpoolName = "hilo-pool" + $clusterType = "Trino" + $vmSize = "Standard_D4a_v4" + $ComputeProfileNode = New-AzHdInsightOnAksNodeProfileObject -Type "Worker" -Count 3 -VMSize "Standard_D16a_v4" + $keyVaultResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.KeyVault/vaults/sqlpass"; + $trinoHiveCatalogOption + $secretReference + $secretName = "sqlpassword" + + $catalogName = "catalog" + $metastoreDbConnectionURL = "jdbc:sqlserver://sqlserver.database.windows.net;database=data3;encrypt=true;trustServerCertificate=true;create=false;loginTimeout=30"; + $metastoreDbUserName = "hdi"; + $metastoreDbPasswordSecret = $secretName; + $metastoreWarehouseDir = "abfs://trinops@flinkdemo125stuoi.dfs.core.windows.net"; + } + + It "New-AzHdInsightOnAksSecretReferenceObject" { + $referenceName = "sqlpassword"; + $secretReference = New-AzHdInsightOnAksSecretReferenceObject -SecretName $secretName -ReferenceName $referenceName + + [Console]::WriteLine("New-AzHdInsightOnAksSecretReferenceObject done") + } + + It "New-AzHdInsightOnAksTrinoHiveCatalogObject" { + $trinoHiveCatalogOption = New-AzHdInsightOnAksTrinoHiveCatalogObject -CatalogName $catalogName -MetastoreWarehouseDir $metastoreWarehouseDir -MetastoreDbConnectionUrl $metastoreDbConnectionURL -MetastoreDbConnectionUserName $metastoreDbUserName -MetastoreDbConnectionPasswordSecret $metastoreDbPasswordSecret + + [Console]::WriteLine("New-AzHdInsightOnAksTrinoHiveCatalogObject done") + } + + It "New-AzHdInsightOnAksCluster_Trino" -Skip{ + $clusterType = "trino" + $clusterName = "pstrino" + $clusterVersion = (Get-AzHdInsightOnAksAvailableClusterVersion -Location $location | Where-Object { $_.ClusterType -eq $clusterType })[0] + + { New-AzHdInsightOnAksCluster -Name $clusterName -PoolName $clusterpoolName ` + -ResourceGroupName $clusterResourceGroupName ` + -Location $location ` + -ClusterType $clusterType ` + -ClusterVersion $clusterVersion.ClusterVersionValue ` + -OssVersion $clusterVersion.OssVersion ` + -ComputeProfileNode $ComputeProfileNode ` + -AuthorizationUserId $env.authorizationUserId ` + -AssignedIdentityClientId $env.msiClientId ` + -AssignedIdentityObjectId $env.msiObjectId ` + -AssignedIdentityResourceId $env.identityProfileMsiResourceId ` + -KeyVaultResourceId $keyVaultResourceId ` + -SecretReference $secretReference ` + -TrinoHiveCatalog $trinoHiveCatalogOption } | Should -Not -Throw + + [Console]::WriteLine("New-AzHdInsightOnAksCluster_Trino done") + } + + It "New-AzHdInsightOnAksCluster_Spark" -Skip{ + $clusterType = "Spark" + $clusterName = "sparkps" + $StorageUri = "abfs://pscontainer4@hilostorage.dfs.core.windows.net" + $clusterVersion = (Get-AzHdInsightOnAksAvailableClusterVersion -Location $location | Where-Object { $_.ClusterType -eq $clusterType })[1] + + { New-AzHdInsightOnAksCluster -Name $clusterName -PoolName $clusterpoolName ` + -ResourceGroupName $clusterResourceGroupName ` + -Location $location ` + -ClusterType $clusterType ` + -ClusterVersion $clusterVersion.ClusterVersionValue ` + -OssVersion $clusterVersion.OssVersion ` + -ComputeProfileNode $ComputeProfileNode ` + -AuthorizationUserId $env.authorizationUserId ` + -AssignedIdentityClientId $env.msiClientId ` + -AssignedIdentityObjectId $env.msiObjectId ` + -AssignedIdentityResourceId $env.identityProfileMsiResourceId ` + -SecretReference $secretReference ` + -SparkHiveCatalogDbName "data3" ` + -SparkHiveCatalogDbPasswordSecretName $secretName ` + -SparkHiveCatalogDbServerName "sqlserver" ` + -SparkHiveCatalogDbUserName $metastoreDbUserName ` + -SparkHiveCatalogKeyVaultId $keyVaultResourceId ` + -SparkStorageUrl $StorageUri + } | Should -Not -Throw + + [Console]::WriteLine("New-AzHdInsightOnAksCluster_Trino done") + } + + AfterAll { + # Remove-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -Name $clusterName -PoolName $clusterpoolName + } +} diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterCreate_Trino.Tests.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterCreate_Trino.Tests.ps1 deleted file mode 100644 index 7ef0cd162a4b..000000000000 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterCreate_Trino.Tests.ps1 +++ /dev/null @@ -1,76 +0,0 @@ -if(($null -eq $TestName) -or ($TestName -contains 'ClusterCreate_Trino')) -{ - $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' - if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' - } - . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'sessionRecords\ClusterCreate_Trino.Recording.json' - $currentPath = $PSScriptRoot - while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent - } - . ($mockingPath | Select-Object -First 1).FullName -} - -Describe 'ClusterCreate_Trino' { - BeforeAll { - # Cluster configuration info - $location = "West US 3" - $clusterResourceGroupName = "PStestGroup" - $clusterpoolName = "ps-test-pool-operations" - $clusterType = "Trino" - $vmSize = "Standard_E4s_v3" - $clusterVersion= (Get-AzHdInsightOnAksAvailableClusterVersion -Location $location | Where-Object {$_.ClusterType -eq $clusterType})[0] - $ComputeProfileNode = New-AzHdInsightOnAksNodeProfileObject -Type "Worker" -Count 3 -VMSize "Standard_D8d_v5" - $keyVaultResourceId="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.KeyVault/vaults/sqlpass"; - $trinoHiveCatalogOption - $secretReference - $secretName="{your secret name on keyVault}" - $clusterName = "testpstrino" - } - - It "New-AzHdInsightOnAksSecretReferenceObject"{ - $referenceName="{your secret reference name}"; - $secretReference=New-AzHdInsightOnAksSecretReferenceObject -SecretName $secretName -ReferenceName $referenceName - - [Console]::WriteLine("New-AzHdInsightOnAksSecretReferenceObject done") - } - - It "New-AzHdInsightOnAksTrinoHiveCatalogObject"{ - $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 - - [Console]::WriteLine("New-AzHdInsightOnAksTrinoHiveCatalogObject done") - } - - It "New-AzHdInsightOnAksCluster_Trino"{ - $clusterType = "trino" - - { New-AzHdInsightOnAksCluster -Name $clusterName -PoolName $clusterpoolName ` - -ResourceGroupName $clusterResourceGroupName ` - -Location $location ` - -ClusterType $clusterType ` - -ClusterVersion $clusterVersion.ClusterVersionValue ` - -OssVersion $clusterVersion.OssVersion ` - -ComputeProfileNode $ComputeProfileNode ` - -AuthorizationUserId $env.authorizationUserId ` - -AssignedIdentityClientId $env.msiClientId ` - -AssignedIdentityObjectId $env.msiObjectId ` - -AssignedIdentityResourceId $env.identityProfileMsiResourceId ` - -KeyVaultResourceId $keyVaultResourceId ` - -SecretReference $secretReference ` - -TrinoHiveCatalog $trinoHiveCatalogOption } | Should -Not -Throw - - [Console]::WriteLine("New-AzHdInsightOnAksCluster_Trino done") - } - - # AfterAll{ - # Remove-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -Name $clusterName -PoolName $clusterpoolName - # } -} diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterJob.Tests.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterJob.Tests.ps1 index 53789fb95f67..f46aedde34a9 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterJob.Tests.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterJob.Tests.ps1 @@ -1,66 +1,63 @@ -if(($null -eq $TestName) -or ($TestName -contains 'ClusterJob')) -{ - $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' - if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' - } - . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'sessionRecords\ClusterJob.Recording.json' - $currentPath = $PSScriptRoot - while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent - } - . ($mockingPath | Select-Object -First 1).FullName +if (($null -eq $TestName) -or ($TestName -contains 'ClusterJob')) { + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'sessionRecords\ClusterJob.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName } Describe 'ClusterJob' { BeforeAll { # Cluster configuration info - $location = "West US 3" - $clusterResourceGroupName = "Group" - $clusterpoolName = "ps-test-pool" - $clusterName = "flinkcluster" - + $location = "westus3" + $clusterResourceGroupName = "PStestGroup" + $clusterpoolName = "hilo-pool" + $clusterName = "cluster202432112341" $clusterType = "Flink" - $vmSize = "Standard_E4s_v3" - $clusterVersion= (Get-AzHdInsightOnAksAvailableClusterVersion -Location $location | Where-Object {$_.ClusterType -eq $clusterType})[0] - $ComputeProfileNode = New-AzHdInsightOnAksNodeProfileObject -Type "Worker" -Count 3 -VMSize "Standard_D8d_v5" + $clusterVersion = (Get-AzHdInsightOnAksAvailableClusterVersion -Location $location | Where-Object { $_.ClusterType -eq $clusterType } | Where-Object ClusterPoolVersion -eq "1.1")[1] + $ComputeProfileNode = New-AzHdInsightOnAksNodeProfileObject -Type "Worker" -Count 3 -VMSize "Standard_D16as_v4" + + $StorageUri = "abfs://pscontainer3@hilostorage.dfs.core.windows.net" } # If you do not have a cluster, please use this to create a cluster, then do the following tests. It "New-AzHdInsightOnAksCluster_Flink" -Skip { - $clusterName = "testpsflink1" - $storageUri = "abfs://testcontainerflink2@hilostorage.dfs.core.windows.net" New-AzHdInsightOnAksCluster -Name $clusterName -PoolName $clusterpoolName ` - -ResourceGroupName $clusterResourceGroupName ` - -Location $location ` - -ClusterType $clusterType ` - -ClusterVersion $clusterVersion.ClusterVersionValue ` - -OssVersion $clusterVersion.OssVersion ` - -ComputeProfileNode $ComputeProfileNode ` - -AuthorizationUserId $env.authorizationUserId ` - -AssignedIdentityClientId $env.msiClientId ` - -AssignedIdentityObjectId $env.msiObjectId ` - -AssignedIdentityResourceId $env.identityProfileMsiResourceId ` - -FlinkStorageUrl $storageUri ` - -JobManagerCpu 1 -JobManagerMemory 2000 -TaskManagerCpu 6 -TaskManagerMemory 49016 + -ResourceGroupName $clusterResourceGroupName ` + -Location $location ` + -ClusterType $clusterType ` + -ClusterVersion $clusterVersion.ClusterVersionValue ` + -OssVersion $clusterVersion.OssVersion ` + -ComputeProfileNode $ComputeProfileNode ` + -AuthorizationUserId $env.authorizationUserId ` + -AssignedIdentityClientId $env.msiClientId ` + -AssignedIdentityObjectId $env.msiObjectId ` + -AssignedIdentityResourceId $env.identityProfileMsiResourceId ` + -FlinkStorageUrl $storageUri ` + -JobManagerCpu 1 -JobManagerMemory 2000 -TaskManagerCpu 14 -TaskManagerMemory 49016 -HistoryServerCpu 0.25 -HistoryServerMemory 2000 [Console]::WriteLine("New-AzHdInsightOnAksCluster_Flink done") } - It "Start-AzHdInsightOnAksClusterJob"{ + It "Start-AzHdInsightOnAksClusterJob" { $flinkJobProperties = New-AzHdInsightOnAksFlinkJobObject -Action "NEW" -JobName "job1" ` - -JarName "JarName" -EntryClass "com.microsoft.hilo.flink.job.streaming.SleepJob" ` - -JobJarDirectory "abfs://flinkjob@hilosa.dfs.core.windows.net/jars" ` - -FlinkConfiguration @{parallelism=1} + -JarName "JarName" -EntryClass "com.microsoft.hilo.flink.job.streaming.SleepJob" ` + -JobJarDirectory "abfs://flinkjob@hilosa.dfs.core.windows.net/jars" ` + -FlinkConfiguration @{parallelism = 1 } [Console]::WriteLine("New-AzHdInsightOnAksFlinkJobProperties done") - {$script:jobRes=Start-AzHdInsightOnAksClusterJob -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName -ClusterJob $flinkJobProperties} | Should -Not -Throw + { $script:jobRes = Start-AzHdInsightOnAksClusterJob -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName -ClusterJob $flinkJobProperties } | Should -Not -Throw $script:jobRes.JobType | Should -Be "FlinkJob" $script:jobRes.Id | Should -Not -BeNullOrEmpty @@ -69,15 +66,15 @@ Describe 'ClusterJob' { - It "Start-AzHdInsightOnAksClusterJob"{ + It "Start-AzHdInsightOnAksClusterJob" { - {$script:jobs=Get-AzHdInsightOnAksClusterJob -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName } | Should -Not -Throw + { $script:jobs = Get-AzHdInsightOnAksClusterJob -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName } | Should -Not -Throw $script:jobs[0].JobType | Should -Be "FlinkJob" [Console]::WriteLine("Get-AzHdInsightOnAksClusterJob done") } - AfterAll{ + AfterAll { # Remove-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName -Name $clusterpoolName } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterOperations.Tests.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterOperations.Tests.ps1 index 8adc22478910..09f548d98d38 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterOperations.Tests.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterOperations.Tests.ps1 @@ -1,17 +1,16 @@ -if(($null -eq $TestName) -or ($TestName -contains 'ClusterOperations')) -{ - $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' - if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' - } - . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'sessionRecords\ClusterOperations.Recording.json' - $currentPath = $PSScriptRoot - while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent - } - . ($mockingPath | Select-Object -First 1).FullName +if (($null -eq $TestName) -or ($TestName -contains 'ClusterOperations')) { + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'sessionRecords\ClusterOperations.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName } # If you did not manually create a clusterpool, please uncomment the code. @@ -20,43 +19,46 @@ Describe 'ClusterOperations' { $location = "West US 3" # need create resources group manually. $clusterResourceGroupName = "PStestGroup" - $clusterpoolName = "ps-test-cluster-pool" - $clusterType = "Trino" - $vmSize = "Standard_E4s_v3" + $clusterpoolName = "hilo-pool" + $clusterType = "Spark" + $poolvmSize = "Standard_E4s_v3" $clusterName = "testpsoperations" - { New-AzHdInsightOnAksClusterPool -Name $clusterpoolName -ResourceGroupName $clusterResourceGroupName -VmSize $vmSize -Location $location} | Should -Not -Throw - $clusterVersion= (Get-AzHdInsightOnAksAvailableClusterVersion -Location $location | Where-Object {$_.ClusterType -eq $clusterType})[0] + $StorageUri = "abfs://pscontainer2@hilostorage.dfs.core.windows.net" + { New-AzHdInsightOnAksClusterPool -Name $clusterpoolName -ResourceGroupName $clusterResourceGroupName -VmSize $poolvmSize -Location $location -ClusterPoolVersion 1.1 } | Should -Not -Throw + $clusterVersion = (Get-AzHdInsightOnAksAvailableClusterVersion -Location $location | Where-Object { $_.ClusterType -eq $clusterType } | Where-Object ClusterPoolVersion -eq "1.1")[0] [Console]::WriteLine("Get-AzHdInsightOnAksAvailableClusterVersion done") } It "Get AzHdInsightOnAksLocationNameAvailability" { - $teststring=$clusterpoolName,$clusterName -join "/" - { $script:res = Test-AzHdInsightOnAksLocationNameAvailability -Location $location -Name $teststring -Type Microsoft.HDInsight/clusterPools/clusters} | Should -Not -Throw + $teststring = $clusterpoolName, $clusterName -join "/" + { $script:res = Test-AzHdInsightOnAksLocationNameAvailability -Location $location -Name $teststring -Type Microsoft.HDInsight/clusterPools/clusters } | Should -Not -Throw $script:res.nameAvailable | Should -Be $true [Console]::WriteLine("Test-AzHdInsightOnAksLocationNameAvailability done") } It 'New AzHdInsightOnAksCluster' { - { $script:ComputeProfileNode = New-AzHdInsightOnAksNodeProfileObject -Type "Worker" -Count 3 -VMSize "Standard_D8d_v5" } | Should -Not -Throw + { $script:ComputeProfileNode = New-AzHdInsightOnAksNodeProfileObject -Type "Worker" -Count 3 -VMSize "Standard_D16a_v4" } | Should -Not -Throw $script:ComputeProfileNode.Type | Should -Be "Worker" $script:ComputeProfileNode.Count | Should -Be 3 - $script:ComputeProfileNode.VMSize | Should -Be "Standard_D8d_v5" + $script:ComputeProfileNode.VMSize | Should -Be "Standard_D16a_v4" [Console]::WriteLine("New-AzHdInsightOnAksNodeProfileObject done") { New-AzHdInsightOnAksCluster -Name $clusterName -PoolName $clusterpoolName ` - -ResourceGroupName $clusterResourceGroupName ` - -Location $location ` - -ClusterType $clusterType ` - -ClusterVersion $clusterVersion.ClusterVersionValue ` - -OssVersion $clusterVersion.OssVersion ` - -ComputeProfileNode $script:ComputeProfileNode ` - -AuthorizationUserId $env.authorizationUserId ` - -AssignedIdentityClientId $env.msiClientId ` - -AssignedIdentityObjectId $env.msiObjectId ` - -AssignedIdentityResourceId $env.identityProfileMsiResourceId ` } | Should -Not -Throw + -ResourceGroupName $clusterResourceGroupName ` + -Location $location ` + -ClusterType $clusterType ` + -ClusterVersion $clusterVersion.ClusterVersionValue ` + -OssVersion $clusterVersion.OssVersion ` + -ComputeProfileNode $script:ComputeProfileNode ` + -AuthorizationUserId $env.authorizationUserId ` + -AssignedIdentityClientId $env.msiClientId ` + -AssignedIdentityObjectId $env.msiObjectId ` + -AssignedIdentityResourceId $env.identityProfileMsiResourceId ` + -SparkStorageUrl $StorageUri + } | Should -Not -Throw [Console]::WriteLine("New-AzHdInsightOnAksCluster done") @@ -80,8 +82,8 @@ Describe 'ClusterOperations' { [Console]::WriteLine("Get-AzHdInsightOnAksCluster done") } - It "Resize AzHdInsightOnAksCluster"{ - {Resize-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -Location $location -PoolName $clusterpoolName -Name $clusterName -TargetWorkerNodeCount 6} | Should -Not -Throw + It "Resize AzHdInsightOnAksCluster" { + { Resize-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -Location $location -PoolName $clusterpoolName -Name $clusterName -TargetWorkerNodeCount 6 } | Should -Not -Throw { $script:cluster = Get-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -PoolName $clusterpoolName -Name $clustername } | Should -Not -Throw $script:cluster.ComputeProfileNode[1].Count | Should -Be 6 @@ -102,10 +104,10 @@ Describe 'ClusterOperations' { [Console]::WriteLine("Remove-AzHdInsightOnAksCluster done") } - AfterAll { - { Remove-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName -Name $clusterpoolName } | Should -Not -Throw + # AfterAll { + # { Remove-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName -Name $clusterpoolName } | Should -Not -Throw - [Console]::WriteLine("Remove-AzHdInsightOnAksClusterPool done") + # [Console]::WriteLine("Remove-AzHdInsightOnAksClusterPool done") - } + # } } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterPoolOperations.Tests.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterPoolOperations.Tests.ps1 index 78d0133fad0e..1a7d659c7115 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterPoolOperations.Tests.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterPoolOperations.Tests.ps1 @@ -1,17 +1,16 @@ -if(($null -eq $TestName) -or ($TestName -contains 'ClusterPoolOperations')) -{ - $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' - if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' - } - . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'sessionRecords\ClusterPoolOperations.Recording.json' - $currentPath = $PSScriptRoot - while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent - } - . ($mockingPath | Select-Object -First 1).FullName +if (($null -eq $TestName) -or ($TestName -contains 'ClusterPoolOperations')) { + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'sessionRecords\ClusterPoolOperations.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName } Describe 'ClusterPoolOperations' { @@ -19,9 +18,9 @@ Describe 'ClusterPoolOperations' { $location = "West US 3" # need create resources group manually. $clusterResourceGroupName = "PStestGroup" - $clusterpoolName = "ps-test-pool-operations" + $clusterpoolName = "hilo-pool" $vmSize = "Standard_E4s_v3" - $LogAnalyticProfileWorkspaceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/psgroup/providers/microsoft.operationalinsights/workspaces/testworkspace" + $LogAnalyticProfileWorkspaceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/pstestgroup/providers/microsoft.operationalinsights/workspaces/testhiloworkspace" } @@ -34,18 +33,18 @@ Describe 'ClusterPoolOperations' { [Console]::WriteLine("Get-AzHdInsightOnAksAvailableClusterPoolVersion done") - {$script:clusterpool = New-AzHdInsightOnAksClusterPool -Name $clusterpoolName -ResourceGroupName $clusterResourceGroupName -ClusterPoolVersion $script:availableVersions[0].ClusterPoolVersionValue -VmSize $vmSize -Location $location} | Should -Not -Throw + { $script:clusterpool = New-AzHdInsightOnAksClusterPool -Name $clusterpoolName -ResourceGroupName $clusterResourceGroupName -ClusterPoolVersion $script:availableVersions[1].ClusterPoolVersionValue -VmSize $vmSize -Location $location } | Should -Not -Throw $script:clusterpool.Name | Should -Be $clusterpoolName $script:clusterpool.Location | Should -Be $location $script:clusterpool.ClusterPoolVersion | Should -Be $clusterPoolVersion - [Console]::WriteLine("NewAzHdInsightOnAksClusterPool done") + [Console]::WriteLine("New-AzHdInsightOnAksClusterPool done") } - It 'Set AzHdInsightOnAksClusterPool LogWorkSpace'{ + It 'Set AzHdInsightOnAksClusterPool LogWorkSpace' { { $script:clusterpool = Set-AzHdInsightOnAksClusterPool -Name $clusterpoolName -ResourceGroupName $clusterResourceGroupName -VmSize $vmSize -Location $location ` - -EnableLogAnalytics ` - -LogAnalyticWorkspaceResourceId $LogAnalyticProfileWorkspaceId + -EnableLogAnalytics ` + -LogAnalyticWorkspaceResourceId $LogAnalyticProfileWorkspaceId } | Should -Not -Throw $script:clusterpool.LogAnalyticProfileWorkspaceId | Should -Be $LogAnalyticProfileWorkspaceId @@ -54,8 +53,7 @@ Describe 'ClusterPoolOperations' { It 'Get All AzHdInsightOnAksClusterPool in RG' { { $script:clusterpools = Get-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName } | Should -Not -Throw - $script:clusterpools[0].Name | Should -Be $clusterpoolName - $script:clusterpools[0].Location | Should -Be $location + $script:clusterpools | Should -Not -BeNullOrEmpty [Console]::WriteLine("Get-AzHdInsightOnAksClusterPool done") } @@ -68,8 +66,8 @@ Describe 'ClusterPoolOperations' { [Console]::WriteLine("Get-AzHdInsightOnAksClusterPool done") } - It 'Update-AzHdInsightOnAksClusterPoolTag'{ - $tag = @{ Tag = "powershell test"} + It 'Update-AzHdInsightOnAksClusterPoolTag' { + $tag = @{ Tag = "powershell test" } { Update-AzHdInsightOnAksClusterPoolTag -ResourceGroupName $clusterResourceGroupName -ClusterPoolName $clusterpoolName -Tag $tag } | Should -Not -Throw { $script:clusterpool = Get-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName -Name $clusterpoolName } | Should -Not -Throw @@ -80,10 +78,15 @@ Describe 'ClusterPoolOperations' { [Console]::WriteLine("Update-AzHdInsightOnAksClusterPoolTag done") } + It 'Get AzHdInsightOnAksClusterPool available upgrade' { + { $script:clusterpool = Get-AzHdInsightOnAksClusterPoolAvailableUpgrade -ResourceGroupName $clusterResourceGroupName -ClusterPoolName $clusterpoolName } | Should -Not -Throw + + [Console]::WriteLine("Get-AzHdInsightOnAksClusterPoolAvailableUpgrade done") + } + It 'Remove AzHdInsightOnAksClusterPool' { { Remove-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName -Name $clusterpoolName } | Should -Not -Throw [Console]::WriteLine("Remove-AzHdInsightOnAksClusterPool done") - } } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterUpdate.Tests.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterUpdate.Tests.ps1 new file mode 100644 index 000000000000..8173263310e4 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterUpdate.Tests.ps1 @@ -0,0 +1,78 @@ +if (($null -eq $TestName) -or ($TestName -contains 'ClusterUpdate')) { + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'sessionRecords\ClusterUpdate.Recording.json' + $currentPath = $PSScriptRoot + while (-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'ClusterUpdate' { + BeforeAll { + # Cluster configuration info + $location = "West US 3" + $clusterResourceGroupName = "PStestGroup" + $clusterpoolName = "hilo-pool" + $clusterName = "psspark" + $poolVmSize = "Standard_D4a_v4" + $clusterPoolVersion = "1.1" + $clusterType = "Spark" + $clusterOfferingVersions = Get-AzHdInsightOnAksAvailableClusterVersion -Location $location | Where-Object ClusterPoolVersion -eq $clusterPoolVersion | Where-Object ClusterType -eq $clusterType + $StorageUri = "abfs://pscontainer1@hilostorage.dfs.core.windows.net" + $ComputeProfileNode = New-AzHdInsightOnAksNodeProfileObject -Type "Worker" -Count 3 -VMSize "Standard_D16a_v4" + + # New-AzHdInsightOnAksClusterPool -Name $clusterpoolName -ResourceGroupName $clusterResourceGroupName -VmSize $poolVmSize -ClusterPoolVersion $clusterPoolVersion -Location $location + $coreSiteConfigKey = "testvalue1" + $coreSiteConfigValue = "111" + $yarnServiceConfigProfile + } + + # If you have donnot have a cluster, you can use this test to create a cluster, and then run other tests. + It "New-AzHdInsightOnAksCluster_Spark" -Skip { + + { New-AzHdInsightOnAksCluster -Name $clusterName -PoolName $clusterpoolName ` + -ResourceGroupName $clusterResourceGroupName ` + -Location $location ` + -ClusterType $clusterType ` + -ClusterVersion $clusterOfferingVersions[0].ClusterVersionValue -OssVersion $clusterOfferingVersions[0].OssVersion ` + -ComputeProfileNode $ComputeProfileNode ` + -AuthorizationUserId $env.authorizationUserId ` + -AssignedIdentityClientId $env.msiClientId ` + -AssignedIdentityObjectId $env.msiObjectId ` + -AssignedIdentityResourceId $env.identityProfileMsiResourceId ` + -SparkStorageUrl $StorageUri } | Should -Not -Throw + + [Console]::WriteLine("New-AzHdInsightOnAksCluster_Spark done") + } + + It "New AzHDInsightAksClusterServiceConfigsProfile" { + $coreSiteConfigFile = New-AzHdInsightOnAksClusterConfigFileObject -FileName "core-site.xml" -Value @{"testvalue1" = "111" } + $yarnComponentConfig = New-AzHdInsightOnAksClusterServiceConfigObject -ComponentName "hadoop-config" -File $coreSiteConfigFile + $yarnServiceConfigProfile = New-AzHdInsightOnAksClusterServiceConfigsProfileObject -ServiceName "yarn-service" -Config $yarnComponentConfig + + [Console]::WriteLine("New-AzHdInsightOnAksClusterServiceConfigsProfileObject done") + } + + It "Update AzHdInsightOnAksCluster" { + { Update-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -PoolName $clusterpoolName -Name $clusterName -ClusterProfileServiceConfigsProfile $yarnServiceConfigProfile } | Should -Not -Throw + + [Console]::WriteLine("Update-AzHdInsightOnAksCluster done") + } + + It "Get AzHdInsightOnAksClusterServiceConfig" { + { $script:configs = Get-AzHdInsightOnAksClusterServiceConfig -ResourceGroupName $clusterResourceGroupName -ClusterPoolName $clusterpoolName -ClusterName $clusterName } | Should -Not -Throw + $config = $script:configs | Where-Object ServiceName -eq "yarn-service" | Where-Object ComponentName -eq "hadoop-config" | Where-Object FileName -eq "core-site.xml" + + $config.CustomKey.Keys | Should -Be $coreSiteConfigKey + $config.CustomKey.Values | Should -Be $coreSiteConfigValue + + [Console]::WriteLine("Get-AzHdInsightOnAksClusterServiceConfig done") + } + +} diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterUpdateConfig.Tests.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterUpdateConfig.Tests.ps1 deleted file mode 100644 index a9a9eec7b81f..000000000000 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterUpdateConfig.Tests.ps1 +++ /dev/null @@ -1,85 +0,0 @@ -if(($null -eq $TestName) -or ($TestName -contains 'ClusterUpdateConfig')) -{ - $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' - if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' - } - . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'sessionRecords\ClusterUpdateConfig.Recording.json' - $currentPath = $PSScriptRoot - while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent - } - . ($mockingPath | Select-Object -First 1).FullName -} - -Describe 'ClusterUpdateConfig' { - BeforeAll { - # Cluster configuration info - $location = "West US 3" - $clusterResourceGroupName = "PStestGroup" - $clusterpoolName = "ps-test-pool-operations" - $clusterName = "testpsspark" - $vmSize = "Standard_E4s_v3" - $clusterOfferingVersions = Get-AzHdInsightOnAksAvailableClusterVersion -Location $location - $StorageUri = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.Storage/storageAccounts/hilostorage" - $ComputeProfileNode = New-AzHdInsightOnAksNodeProfileObject -Type "Worker" -Count 3 -VMSize "Standard_D8d_v5" - - # New-AzHdInsightOnAksClusterPool -Name $clusterpoolName -ResourceGroupName $clusterResourceGroupName -VmSize $vmSize -Location $location - $coreSiteConfigKey="testvalue1" - $coreSiteConfigValue="111" - $yarnServiceConfigProfile - } - - # If you have donnot have a cluster, you can use this test to create a cluster, and then run other tests. - It "New-AzHdInsightOnAksCluster_Spark" -Skip { - $clusterType = "Spark" - $StorageUri = "abfs://testcontainer1@hilostorage.dfs.core.windows.net" - - { New-AzHdInsightOnAksCluster -Name $clusterName -PoolName $clusterpoolName ` - -ResourceGroupName $clusterResourceGroupName ` - -Location $location ` - -ClusterType $clusterType ` - -ClusterVersion $clusterOfferingVersions[1].ClusterVersionValue -OssVersion $clusterOfferingVersions[1].OssVersion ` - -ServiceConfigsProfile $profileServiceConfigsProfile ` - -ComputeProfileNode $ComputeProfileNode ` - -AuthorizationUserId $env.authorizationUserId ` - -AssignedIdentityClientId $env.msiClientId ` - -AssignedIdentityObjectId $env.msiObjectId ` - -AssignedIdentityResourceId $env.identityProfileMsiResourceId ` - -SparkStorageUrl $StorageUri } | Should -Not -Throw - - [Console]::WriteLine("New-AzHdInsightOnAksCluster_Spark done") - } - - It "New AzHDInsightAksClusterServiceConfigsProfile"{ - $coreSiteConfigFile = New-AzHdInsightOnAksClusterConfigFileObject -FileName "core-site.xml" -Value @{"testvalue1"="111"} - $yarnComponentConfig = New-AzHdInsightOnAksClusterServiceConfigObject -ComponentName "hadoop-config" -File $coreSiteConfigFile - $yarnServiceConfigProfile = New-AzHdInsightOnAksClusterServiceConfigsProfileObject -ServiceName "yarn-service" -Config $yarnComponentConfig - - [Console]::WriteLine("New-AzHdInsightOnAksClusterServiceConfigsProfileObject done") - } - - It "Update AzHdInsightOnAksCluster"{ - { Update-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -PoolName $clusterpoolName -Name $clusterName -ClusterProfileServiceConfigsProfile $yarnServiceConfigProfile} | Should -Not -Throw - - [Console]::WriteLine("Update-AzHdInsightOnAksCluster done") - } - - It "Get AzHdInsightOnAksClusterServiceConfig"{ - { $script:configs = Get-AzHdInsightOnAksClusterServiceConfig -ResourceGroupName $clusterResourceGroupName -ClusterPoolName $clusterpoolName -ClusterName $clusterName } | Should -Not -Throw - $config - foreach ($config in $script:configs) { - if ($config.ComponentName -eq "hadoop-config" -And $config.FileName -eq "core-site.xml" -And $config.ServiceName -eq "yarn-service"){ - break - } - } - $config.CustomKey.Keys | Should -Be $coreSiteConfigKey - $config.CustomKey.Values | Should -Be $coreSiteConfigValue - - - [Console]::WriteLine("Get-AzHdInsightOnAksClusterServiceConfig done") - } - -} diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/Get-AzHdInsightOnAksClusterAvailableUpgrade.Tests.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/Get-AzHdInsightOnAksClusterAvailableUpgrade.Tests.ps1 new file mode 100644 index 000000000000..b1102c128a31 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/Get-AzHdInsightOnAksClusterAvailableUpgrade.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzHdInsightOnAksClusterAvailableUpgrade')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzHdInsightOnAksClusterAvailableUpgrade.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzHdInsightOnAksClusterAvailableUpgrade' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.Tests.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.Tests.ps1 new file mode 100644 index 000000000000..e0abfb6b379f --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzHdInsightOnAksClusterPoolAvailableUpgrade')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzHdInsightOnAksClusterPoolAvailableUpgrade' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/New-AzHdInsightOnAksClusterHotfixUpgradeObject.Tests.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/New-AzHdInsightOnAksClusterHotfixUpgradeObject.Tests.ps1 new file mode 100644 index 000000000000..c514c81c8a72 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/New-AzHdInsightOnAksClusterHotfixUpgradeObject.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzHdInsightOnAksClusterHotfixUpgradeObject')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzHdInsightOnAksClusterHotfixUpgradeObject.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzHdInsightOnAksClusterHotfixUpgradeObject' { + It 'Create' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.Tests.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.Tests.ps1 new file mode 100644 index 000000000000..472f5ba5882e --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzHdInsightOnAksClusterPoolAKSUpgradeObject')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzHdInsightOnAksClusterPoolAKSUpgradeObject' { + It 'Create' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/New-AzHdInsightOnAksHotfixUpgradeObject.Tests.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/New-AzHdInsightOnAksHotfixUpgradeObject.Tests.ps1 new file mode 100644 index 000000000000..99f7b3eea60b --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/New-AzHdInsightOnAksHotfixUpgradeObject.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzHdInsightOnAksHotfixUpgradeObject')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzHdInsightOnAksHotfixUpgradeObject.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzHdInsightOnAksHotfixUpgradeObject' { + It 'Create' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/Update-AzHdInsightOnAksClusterPool.Tests.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/Update-AzHdInsightOnAksClusterPool.Tests.ps1 new file mode 100644 index 000000000000..14a5acdb97fb --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/Update-AzHdInsightOnAksClusterPool.Tests.ps1 @@ -0,0 +1,41 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzHdInsightOnAksClusterPool')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzHdInsightOnAksClusterPool.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzHdInsightOnAksClusterPool' { + It 'UpgradeExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpgradeViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpgradeViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Upgrade' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpgradeViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpgradeViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/env.json b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/env.json index 91918515c99f..4e29fbdfea2a 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/env.json +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/env.json @@ -1,8 +1,8 @@ { - "identityProfileMsiResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi", + "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "SubscriptionId": "00000000-0000-0000-0000-000000000000", "msiClientId": "00000000-0000-0000-0000-000000000000", + "authorizationUserId": "00000000-0000-0000-0000-000000000000", "msiObjectId": "00000000-0000-0000-0000-000000000000", - "SubscriptionId": "00000000-0000-0000-0000-000000000000", - "Tenant": "00000000-0000-0000-0000-000000000000", - "authorizationUserId": "00000000-0000-0000-0000-000000000000" + "identityProfileMsiResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi" } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/loadEnv.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/loadEnv.ps1 index 5f079e89615e..6a7c385c6b7d 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/loadEnv.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/loadEnv.ps1 @@ -25,5 +25,5 @@ if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) { $env = @{} if (Test-Path -Path $envFilePath) { $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json - $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant} + $PSDefaultParameterValues=@{"*:Tenant"=$env.Tenant} } \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterCreate_Catalog.Recording.json b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterCreate_Catalog.Recording.json new file mode 100644 index 000000000000..3b2aea32ea14 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterCreate_Catalog.Recording.json @@ -0,0 +1,1591 @@ +{ + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableClusterVersions?api-version=2023-11-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West%20US%203/availableClusterVersions?api-version=2023-11-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "390d18a3-9caf-449a-b59a-113284c1c082" ], + "CommandName": [ "Get-AzHdInsightOnAksAvailableClusterVersion" ], + "FullCommandName": [ "Get-AzHdInsightOnAksAvailableClusterVersion_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-providerhub-traffic": [ "True" ], + "mise-correlation-id": [ "26694f12-2bba-4aac-8436-d1bcf8770731" ], + "x-ms-request-id": [ "ab9b6560-2323-4ff7-a4d3-57f9d5427807" ], + "x-ms-correlation-request-id": [ "f8000bb1-c9c1-4322-aa33-480cbc3dcabc" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T070156Z:f8000bb1-c9c1-4322-aa33-480cbc3dcabc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 90EE61949D474AC38AAC6D06287BF9E0 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:01:55Z" ], + "Date": [ "Thu, 21 Mar 2024 07:01:56 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "6360" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/flink_1.16.0-1.0.6\",\"name\":\"flink_1.16.0-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"1.16.0\",\"clusterType\":\"Flink\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Flink\",\"version\":\"1.16.0\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/flink_1.17.0-1.1.0\",\"name\":\"flink_1.17.0-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"1.17.0\",\"clusterType\":\"Flink\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Flink\",\"version\":\"1.17.0\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/flink_1.17.0-1.1.1\",\"name\":\"flink_1.17.0-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"1.17.0\",\"clusterType\":\"Flink\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Flink\",\"version\":\"1.17.0\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/kafka_3.6.0-1.1.1\",\"name\":\"kafka_3.6.0-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"3.6.0\",\"clusterType\":\"Kafka\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Kafka\",\"version\":\"3.6.0\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/ranger_2.3.0-1.1.0\",\"name\":\"ranger_2.3.0-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"2.3.0\",\"clusterType\":\"Ranger\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/ranger_2.3.0-1.1.1\",\"name\":\"ranger_2.3.0-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"2.3.0\",\"clusterType\":\"Ranger\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/spark_3.3.1-1.0.6\",\"name\":\"spark_3.3.1-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"3.3.1\",\"clusterType\":\"Spark\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.1\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.6.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/spark_3.3.1-1.1.0\",\"name\":\"spark_3.3.1-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"3.3.1\",\"clusterType\":\"Spark\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.1\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.6.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/spark_3.3.1-1.1.1\",\"name\":\"spark_3.3.1-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"3.3.1\",\"clusterType\":\"Spark\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.4\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.8.3\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.1-1.0.0\",\"name\":\"stub_2.4.1-1.0.0\",\"properties\":{\"clusterVersion\":\"1.0.0\",\"ossVersion\":\"2.4.1\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.1\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.1-1.0.1\",\"name\":\"stub_2.4.1-1.0.1\",\"properties\":{\"clusterVersion\":\"1.0.1\",\"ossVersion\":\"2.4.1\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.1\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.2-1.0.0\",\"name\":\"stub_2.4.2-1.0.0\",\"properties\":{\"clusterVersion\":\"1.0.0\",\"ossVersion\":\"2.4.2\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.3-1.1.0\",\"name\":\"stub_2.4.3-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"2.4.3\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.3\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/trino_0.426.0-1.1.0\",\"name\":\"trino_0.426.0-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"0.426.0\",\"clusterType\":\"Trino\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Trino\",\"version\":\"426\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/trino_0.410.0-1.0.6\",\"name\":\"trino_0.410.0-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"0.410.0\",\"clusterType\":\"Trino\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Trino\",\"version\":\"410\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/trino_0.426.0-1.1.1\",\"name\":\"trino_0.426.0-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"0.426.0\",\"clusterType\":\"Trino\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Trino\",\"version\":\"426\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}]}}]}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$PUT+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino?api-version=2023-11-01-preview+2": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino?api-version=2023-11-01-preview", + "Content": "{\r\n \"location\": \"West US 3\",\r\n \"properties\": {\r\n \"computeProfile\": {\r\n \"nodes\": [\r\n {\r\n \"type\": \"Worker\",\r\n \"vmSize\": \"Standard_D16a_v4\",\r\n \"count\": 3\r\n }\r\n ]\r\n },\r\n \"clusterProfile\": {\r\n \"identityProfile\": {\r\n \"msiResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\r\n \"msiClientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"msiObjectId\": \"00000000-0000-0000-0000-000000000000\"\r\n },\r\n \"authorizationProfile\": {\r\n \"userIds\": [ \"00000000-0000-0000-0000-000000000000\" ]\r\n },\r\n \"secretsProfile\": {\r\n \"keyVaultResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.KeyVault/vaults/sqlpass\"\r\n },\r\n \"clusterVersion\": \"1.1.0\",\r\n \"ossVersion\": \"0.426.0\"\r\n },\r\n \"clusterType\": \"trino\"\r\n }\r\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "1009" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"0800bc46-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-providerhub-traffic": [ "True" ], + "mise-correlation-id": [ "72b65580-0253-4267-bb44-b44a2859e417" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34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hkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM" ], + "x-ms-request-id": [ "21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0" ], + "x-ms-correlation-request-id": [ "c3342773-1a53-40ff-914a-bd036fcce1da" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T070201Z:c3342773-1a53-40ff-914a-bd036fcce1da" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 96A90EE0126B4161980FBFB756859438 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:01:56Z" ], + "Date": [ "Thu, 21 Mar 2024 07:02:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1249" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"name\":\"pstrino\",\"type\":\"microsoft.hdinsight/clusterpools/clusters\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"v-user@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-21T07:01:57.98273Z\",\"lastModifiedBy\":\"v-user@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-21T07:01:57.98273Z\"},\"properties\":{\"computeProfile\":{\"nodes\":[{\"type\":\"Worker\",\"vmSize\":\"Standard_D16a_v4\",\"count\":3}]},\"clusterProfile\":{\"identityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\"msiClientId\":\"00000000-0000-0000-0000-000000000000\",\"msiObjectId\":\"00000000-0000-0000-0000-000000000000\"},\"authorizationProfile\":{\"userIds\":[\"00000000-0000-0000-0000-000000000000\"]},\"secretsProfile\":{\"keyVaultResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.KeyVault/vaults/sqlpass\"},\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"0.426.0\"},\"clusterType\":\"trino\",\"provisioningState\":\"Accepted\"}}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=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AcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDV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HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "696c2e74-1885-4bb8-b60d-ebfe2a00b2fb" ], + "x-ms-correlation-request-id": [ "3125d111-e32c-4387-9dbc-ba85216237ac" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T070232Z:3125d111-e32c-4387-9dbc-ba85216237ac" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: AD7DD73660E44ED3AF80718D32F4B60F Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:02:32Z" ], + "Date": [ "Thu, 21 Mar 2024 07:02:32 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aW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rMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGh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S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "b1faf16d-6c98-4a3c-9c2a-5b555cd38df0" ], + "x-ms-correlation-request-id": [ "3cc2a496-2275-44ce-902d-ef9b4efdf1e5" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T070303Z:3cc2a496-2275-44ce-902d-ef9b4efdf1e5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 400FC3791FD5464EB25C73D834C77831 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:03:03Z" ], + "Date": [ "Thu, 21 Mar 2024 07:03:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_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61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQ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C9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "38e5341f-d36d-4d5f-9c68-ffbfed22e964" ], + "x-ms-correlation-request-id": [ "e9d22c7e-3ffe-4d16-b094-2330b9aa8a92" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T070334Z:e9d22c7e-3ffe-4d16-b094-2330b9aa8a92" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: BEA5C1900C4B4B1795CB8BE6729D2570 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:03:34Z" ], + "Date": [ "Thu, 21 Mar 2024 07:03:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYm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Y3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4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8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "ea7d2851-4652-4cd6-b9c8-42412c8e33ed" ], + "x-ms-correlation-request-id": [ "4d3ef6de-d692-4466-a973-462083a48afa" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T070405Z:4d3ef6de-d692-4466-a973-462083a48afa" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 52094C6DA14247F4AE4981605F499D0C Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:04:04Z" ], + "Date": [ "Thu, 21 Mar 2024 07:04:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0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7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPA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KV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "01834f29-2233-4041-a1f9-df97c10ded26" ], + "x-ms-correlation-request-id": [ "454c9997-fe3c-46bb-97ec-a66b7b72153d" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T070436Z:454c9997-fe3c-46bb-97ec-a66b7b72153d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 990389AD535D4A5C9E02BD40CBB85721 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:04:35Z" ], + "Date": [ "Thu, 21 Mar 2024 07:04:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0a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hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBG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_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], + "x-ms-request-id": [ "a3a0774b-1398-489c-a182-99e79cf8a35f" ], + "x-ms-correlation-request-id": [ "24745cda-2c78-4e7a-8599-845ad55413eb" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T070507Z:24745cda-2c78-4e7a-8599-845ad55413eb" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 88F36D3F985B49BF8F66B04F63D0F9D1 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:05:06Z" ], + "Date": [ "Thu, 21 Mar 2024 07:05:06 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoM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QVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIw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lMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], + "x-ms-request-id": [ "d9e003f8-8742-4c46-aae6-ee0e6ba8d64d" ], + "x-ms-correlation-request-id": [ "7c1bcf67-d825-4c73-8793-4e6fc6f5e291" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T070538Z:7c1bcf67-d825-4c73-8793-4e6fc6f5e291" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 1EE070B6B43F4D808D2DA4F142D14CEF Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:05:37Z" ], + "Date": [ "Thu, 21 Mar 2024 07:05:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBA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odHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34B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kWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "eb3143c9-8abb-4fee-88a4-43fb3f1d251f" ], + "x-ms-correlation-request-id": [ "c79903f3-c957-481a-b184-e78c52fec0de" ], + "x-ms-routing-request-id": [ "JAPANWEST:20240321T070609Z:c79903f3-c957-481a-b184-e78c52fec0de" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 2FB37B3108024B2781D59463E226E9D4 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:06:08Z" ], + "Date": [ "Thu, 21 Mar 2024 07:06:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466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jcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQ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CFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "0c8011e9-159e-4551-8633-2a20a04f8c8c" ], + "x-ms-correlation-request-id": [ "aca6a925-b507-4a60-a5ef-87205e51aaea" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T070640Z:aca6a925-b507-4a60-a5ef-87205e51aaea" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 844E4FEA7D434E5C8CDDB8FF67A821A5 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:06:39Z" ], + "Date": [ "Thu, 21 Mar 2024 07:06:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0a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hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0Z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A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "aadc13ce-42f6-443c-8b18-3dc0c60a452f" ], + "x-ms-correlation-request-id": [ "7ba84c65-1236-48a1-a0e0-88ebf69fd0eb" ], + "x-ms-routing-request-id": [ "JAPANWEST:20240321T070711Z:7ba84c65-1236-48a1-a0e0-88ebf69fd0eb" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 37907158C6354E5D843C372E844B78FB Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:07:10Z" ], + "Date": [ "Thu, 21 Mar 2024 07:07:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQ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eO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6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J5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], + "x-ms-request-id": [ "3cdd5c38-4821-45b3-9bf9-ad02b5233d4f" ], + "x-ms-correlation-request-id": [ "8e2964bb-84b6-4a03-a367-83798f2696a7" ], + "x-ms-routing-request-id": [ "JAPANWEST:20240321T070741Z:8e2964bb-84b6-4a03-a367-83798f2696a7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 24AAF48041D2401485A20085D453BC52 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:07:41Z" ], + "Date": [ "Thu, 21 Mar 2024 07:07:41 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj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ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVt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hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "459ee8ff-3288-47a5-b8ce-3245ff2a2c7c" ], + "x-ms-correlation-request-id": [ "35a8defc-aa5a-4e78-99d1-2bdf2a7dd643" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T070812Z:35a8defc-aa5a-4e78-99d1-2bdf2a7dd643" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 39E1E59B5CFB4C8FAA12717C4C3BE89A Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:08:12Z" ], + "Date": [ "Thu, 21 Mar 2024 07:08:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4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mZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t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bAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "15" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "4203cdcb-3690-47a5-9d96-6ab4b191fda5" ], + "x-ms-correlation-request-id": [ "c36aa35a-2e0e-4c9b-95c1-8d12742755af" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T070843Z:c36aa35a-2e0e-4c9b-95c1-8d12742755af" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: BBC2696B87EC4BCC8D4A66CAE2196026 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:08:43Z" ], + "Date": [ "Thu, 21 Mar 2024 07:08:42 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPt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hnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdj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oGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "e22ea1e0-073d-461a-80a1-eedd560de229" ], + "x-ms-correlation-request-id": [ "1939f352-cdf6-43b0-b083-5b7f1858e6e1" ], + "x-ms-routing-request-id": [ "JAPANWEST:20240321T070914Z:1939f352-cdf6-43b0-b083-5b7f1858e6e1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 819ECAB628654094B5DCCDCFF4D979FF Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:09:13Z" ], + "Date": [ "Thu, 21 Mar 2024 07:09:13 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlL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EXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Ls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RA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "db743af7-406a-46fd-a523-ed25a77e43ee" ], + "x-ms-correlation-request-id": [ "5f768ca3-fcde-49dc-a7b9-fb01f9c6732a" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T070944Z:5f768ca3-fcde-49dc-a7b9-fb01f9c6732a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 2E94132481FA424EA4189A411081EAF9 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:09:44Z" ], + "Date": [ "Thu, 21 Mar 2024 07:09:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4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C82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBB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FodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "1a70f754-f387-4037-bbe3-cf0f44ddd5e4" ], + "x-ms-correlation-request-id": [ "a27bcd48-eb49-4d31-a28a-13f4d3296c07" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T071015Z:a27bcd48-eb49-4d31-a28a-13f4d3296c07" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 2656F624C12743EFAAF1F1353E664CF0 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:10:15Z" ], + "Date": [ "Thu, 21 Mar 2024 07:10:14 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoF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UlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+19": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-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vdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], + "x-ms-request-id": [ "17beefd4-4959-4041-b24c-1704033104b7" ], + "x-ms-correlation-request-id": [ "3a752c79-ff7c-442c-912a-11497ddb3aa5" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T071046Z:3a752c79-ff7c-442c-912a-11497ddb3aa5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 8D3E538D0241454295E2C6D5423A568E Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:10:45Z" ], + "Date": [ "Thu, 21 Mar 2024 07:10:46 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZC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Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+20": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ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h1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], + "x-ms-request-id": [ "9ce1fc2f-f88b-462c-b862-172c0bb9b628" ], + "x-ms-correlation-request-id": [ "128de69b-81f3-4940-a798-30ecb356e6ce" ], + "x-ms-routing-request-id": [ "JAPANWEST:20240321T071117Z:128de69b-81f3-4940-a798-30ecb356e6ce" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 5B14D551EDDD47EF8B7F394AD9165BE9 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:11:16Z" ], + "Date": [ "Thu, 21 Mar 2024 07:11:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvb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CtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+21": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45q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v3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], + "x-ms-request-id": [ "2b660e22-b944-4618-9c26-ffa4201b8b0a" ], + "x-ms-correlation-request-id": [ "67a2033d-50ee-4ea8-954f-fd81833a1a20" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T071147Z:67a2033d-50ee-4ea8-954f-fd81833a1a20" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: A2E8A52CBC7F47518A256D9C47B1B318 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:11:47Z" ], + "Date": [ "Thu, 21 Mar 2024 07:11:47 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWY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cB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+22": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNx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Oi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "22" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11994" ], + "x-ms-request-id": [ "dd987898-e9d1-4efa-b19e-757ec70b2ecd" ], + "x-ms-correlation-request-id": [ "7a7428cc-8edf-4b18-88e7-532869fe02b3" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T071218Z:7a7428cc-8edf-4b18-88e7-532869fe02b3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: D8A4FE503D664C8DA7D66BF2BD7138D5 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:12:18Z" ], + "Date": [ "Thu, 21 Mar 2024 07:12:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K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JbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+23": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0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7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "23" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11995" ], + "x-ms-request-id": [ "1fae55ed-7d62-4ee0-9280-280221fd206f" ], + "x-ms-correlation-request-id": [ "d52c5378-bde5-471e-8736-74d10363cfca" ], + "x-ms-routing-request-id": [ "JAPANWEST:20240321T071249Z:d52c5378-bde5-471e-8736-74d10363cfca" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 4AE06DB3442C432694DB0B591141DA18 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:12:49Z" ], + "Date": [ "Thu, 21 Mar 2024 07:12:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WP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loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+24": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2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1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "24" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11995" ], + "x-ms-request-id": [ "8260b9d2-6f57-4465-8b22-84ac4416b735" ], + "x-ms-correlation-request-id": [ "fa005875-d6af-4139-a799-0c6a917dc3d2" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T071320Z:fa005875-d6af-4139-a799-0c6a917dc3d2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: A5BB962064C64D49BC2AD7E3D876D88D Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:13:19Z" ], + "Date": [ "Thu, 21 Mar 2024 07:13:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJ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0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+25": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258O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5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "25" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], + "x-ms-request-id": [ "20f7750b-963d-4511-8b06-2c6702e884b3" ], + "x-ms-correlation-request-id": [ "54637a23-5e69-49ff-995e-d5c42ae5ab4f" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T071351Z:54637a23-5e69-49ff-995e-d5c42ae5ab4f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 2354C20001AA43BA90D254DEA25006BA Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:13:50Z" ], + "Date": [ "Thu, 21 Mar 2024 07:13:51 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v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OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+26": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHi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WUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "26" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], + "x-ms-request-id": [ "2b8bd4b9-835c-4c6f-a193-b13e8efe4128" ], + "x-ms-correlation-request-id": [ "2037046e-c272-45e6-8b7f-2db7949b5912" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T071422Z:2037046e-c272-45e6-8b7f-2db7949b5912" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 8E1ABB9F6D1B43589E85849639B7DAF4 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:14:21Z" ], + "Date": [ "Thu, 21 Mar 2024 07:14:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHL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MDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+27": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=M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KGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "27" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11995" ], + "x-ms-request-id": [ "4940ee31-8163-4b89-a381-b399d4d48ed5" ], + "x-ms-correlation-request-id": [ "f6f30562-c4a8-4d84-a6ec-2461b8c7dc68" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T071452Z:f6f30562-c4a8-4d84-a6ec-2461b8c7dc68" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 6939304C63B34C1D833367999E08E9C3 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:14:52Z" ], + "Date": [ "Thu, 21 Mar 2024 07:14:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA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qVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+28": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS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\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "28" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], + "x-ms-request-id": [ "fefe6bb0-bd14-4fb4-aa6b-0941500a1099" ], + "x-ms-correlation-request-id": [ "f7b56c55-a717-4e31-a7e5-28a8efd0d82d" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T071523Z:f7b56c55-a717-4e31-a7e5-28a8efd0d82d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 5388E439E56F41EEB92A593418747004 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:15:23Z" ], + "Date": [ "Thu, 21 Mar 2024 07:15:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJ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0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+29": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258O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5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "29" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "46b4bbe4-ba6f-4afe-a0db-9f3c70bde225" ], + "x-ms-correlation-request-id": [ "5486ce91-7728-452a-91d5-302be7d0e6a4" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T071554Z:5486ce91-7728-452a-91d5-302be7d0e6a4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 10F0F3AF927F45B0BD7AC9B0AF988D04 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:15:53Z" ], + "Date": [ "Thu, 21 Mar 2024 07:15:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjz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FmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+30": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDj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JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "30" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "c028ee82-060f-49b2-9a55-e8304457cf22" ], + "x-ms-correlation-request-id": [ "90fca60f-6e53-468f-b2e5-31ea5c0ca0e7" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T071625Z:90fca60f-6e53-468f-b2e5-31ea5c0ca0e7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 9CD893F4B79241E7A0C5709F0DE87681 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:16:24Z" ], + "Date": [ "Thu, 21 Mar 2024 07:16:24 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0S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YSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+31": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466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jcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "31" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005367-0000-0700-0000-65fbdb680000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "0084c629-bf2b-4cdf-b041-28b1ca1525f5" ], + "x-ms-correlation-request-id": [ "14dbd197-fbee-4939-b09c-22cb5218d026" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T071655Z:14dbd197-fbee-4939-b09c-22cb5218d026" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: E6108DDF7207424C95CE948037E92E6D Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:16:55Z" ], + "Date": [ "Thu, 21 Mar 2024 07:16:55 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAA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TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM+32": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B?api-version=2023-11-01-preview\u0026t=638466013217796660\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0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1A\u0026s=JN6A_kVH4OFU6otBKrEXaNCtUpEuVkeO0svu6vSlbFZqky0HhjKd92Wt9nZAajcLRsI1XrDCxIfdeuEnheRAdcTZ8Q7ICGrpH06MNX5v_w1RLMo5iQ5oZqJ8go4zZL5VA0lXteipVoh5wxIclbbo4kvMWDP_sriqK5OuvWz3E5NRJ01PV3L9hylKrOHTeZCK7bGV1-62ApBurZn7X2XC_S7sQiCr0uzKq0ywh2EalesySJKnUd5Z9RuRA61sv3mHQVScccJ5sIaGotr11HVl7pTiwl8tnpEgC82u6RcB_5ZFmV1ED-OrbOtyVv3fBnp6K4-fMVu2GfU9JdZ0cqMNxw\u0026h=leve3CBzVlbpHaKh8CCLu5my8F0J8NrspAwZw4CaJEM", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "32" ], + "x-ms-client-request-id": [ "c40e3df8-c842-45aa-bb8e-0f8827ac642a" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"830020c5-0000-4d00-0000-65fbdef70000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], + "x-ms-request-id": [ "866e7799-7296-4a8c-bfa8-de507568abc1" ], + "x-ms-correlation-request-id": [ "dfd9549e-8920-436c-bf81-b21f352d053e" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T071726Z:dfd9549e-8920-436c-bf81-b21f352d053e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: CC94DF513B444BE4B16119CC33A17981 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:17:26Z" ], + "Date": [ "Thu, 21 Mar 2024 07:17:26 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "832" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"name\":\"21e3b1db-a8c4-4cfe-8de3-d8cb05a1d0a0*20A82C666313C5DA4C40175B34BF726861B637DB0B8897D88280A073162B5B8B\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/pstrino\",\"status\":\"Failed\",\"startTime\":\"2024-03-21T07:02:00.5188424Z\",\"error\":{\"code\":\"InvalidClusterSpec\",\"message\":\"The cluster instance deployment failed with reason \u0027System.InvalidChildResource\u0027 and message \u0027Failed to reconcile generation 1. Failed to deploy child resources 212d96c30949432aa3cded125a0ea93d/212d96c30949432aa3cded125a0ea93d due to bad request. Response code: 404.\u0027.\"}}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Spark+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableClusterVersions?api-version=2023-11-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West%20US%203/availableClusterVersions?api-version=2023-11-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "33" ], + "x-ms-client-request-id": [ "807d7423-9d43-444e-9745-e9ac7c533192" ], + "CommandName": [ "Get-AzHdInsightOnAksAvailableClusterVersion" ], + "FullCommandName": [ "Get-AzHdInsightOnAksAvailableClusterVersion_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-providerhub-traffic": [ "True" ], + "mise-correlation-id": [ "174cfae1-facf-44bc-8a0a-13e0903bb49a" ], + "x-ms-request-id": [ "9c7875c8-0050-41e3-b7ac-ddaeac597c8c" ], + "x-ms-correlation-request-id": [ "207d89d8-16e9-4089-a6c8-2c087d3bfea9" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T071727Z:207d89d8-16e9-4089-a6c8-2c087d3bfea9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 4745540FB98E4B2F9D7CA4122E0F3CAB Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:17:26Z" ], + "Date": [ "Thu, 21 Mar 2024 07:17:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "6360" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/flink_1.16.0-1.0.6\",\"name\":\"flink_1.16.0-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"1.16.0\",\"clusterType\":\"Flink\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Flink\",\"version\":\"1.16.0\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/flink_1.17.0-1.1.0\",\"name\":\"flink_1.17.0-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"1.17.0\",\"clusterType\":\"Flink\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Flink\",\"version\":\"1.17.0\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/flink_1.17.0-1.1.1\",\"name\":\"flink_1.17.0-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"1.17.0\",\"clusterType\":\"Flink\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Flink\",\"version\":\"1.17.0\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/kafka_3.6.0-1.1.1\",\"name\":\"kafka_3.6.0-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"3.6.0\",\"clusterType\":\"Kafka\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Kafka\",\"version\":\"3.6.0\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/ranger_2.3.0-1.1.0\",\"name\":\"ranger_2.3.0-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"2.3.0\",\"clusterType\":\"Ranger\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/ranger_2.3.0-1.1.1\",\"name\":\"ranger_2.3.0-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"2.3.0\",\"clusterType\":\"Ranger\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/spark_3.3.1-1.0.6\",\"name\":\"spark_3.3.1-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"3.3.1\",\"clusterType\":\"Spark\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.1\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.6.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/spark_3.3.1-1.1.0\",\"name\":\"spark_3.3.1-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"3.3.1\",\"clusterType\":\"Spark\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.1\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.6.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/spark_3.3.1-1.1.1\",\"name\":\"spark_3.3.1-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"3.3.1\",\"clusterType\":\"Spark\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.4\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.8.3\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.1-1.0.0\",\"name\":\"stub_2.4.1-1.0.0\",\"properties\":{\"clusterVersion\":\"1.0.0\",\"ossVersion\":\"2.4.1\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.1\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.1-1.0.1\",\"name\":\"stub_2.4.1-1.0.1\",\"properties\":{\"clusterVersion\":\"1.0.1\",\"ossVersion\":\"2.4.1\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.1\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.2-1.0.0\",\"name\":\"stub_2.4.2-1.0.0\",\"properties\":{\"clusterVersion\":\"1.0.0\",\"ossVersion\":\"2.4.2\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.3-1.1.0\",\"name\":\"stub_2.4.3-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"2.4.3\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.3\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/trino_0.426.0-1.1.0\",\"name\":\"trino_0.426.0-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"0.426.0\",\"clusterType\":\"Trino\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Trino\",\"version\":\"426\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/trino_0.410.0-1.0.6\",\"name\":\"trino_0.410.0-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"0.410.0\",\"clusterType\":\"Trino\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Trino\",\"version\":\"410\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/trino_0.426.0-1.1.1\",\"name\":\"trino_0.426.0-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"0.426.0\",\"clusterType\":\"Trino\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Trino\",\"version\":\"426\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}]}}]}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Spark+$PUT+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/sparkps?api-version=2023-11-01-preview+2": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/sparkps?api-version=2023-11-01-preview", + "Content": "{\r\n \"location\": \"West US 3\",\r\n \"properties\": {\r\n \"computeProfile\": {\r\n \"nodes\": [\r\n {\r\n \"type\": \"Worker\",\r\n \"vmSize\": \"Standard_D16a_v4\",\r\n \"count\": 3\r\n }\r\n ]\r\n },\r\n \"clusterProfile\": {\r\n \"identityProfile\": {\r\n \"msiResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\r\n \"msiClientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"msiObjectId\": \"00000000-0000-0000-0000-000000000000\"\r\n },\r\n \"authorizationProfile\": {\r\n \"userIds\": [ \"00000000-0000-0000-0000-000000000000\" ]\r\n },\r\n \"sparkProfile\": {\r\n \"metastoreSpec\": {\r\n \"dbServerHost\": \"sqlserver\",\r\n \"dbName\": \"data3\",\r\n \"dbUserName\": \"hdi\",\r\n \"dbPasswordSecretName\": \"sqlpassword\",\r\n \"keyVaultId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.KeyVault/vaults/sqlpass\"\r\n },\r\n \"defaultStorageUrl\": \"abfs://pscontainer4@hilostorage.dfs.core.windows.net\"\r\n },\r\n \"clusterVersion\": \"1.1.0\",\r\n \"ossVersion\": \"3.3.1\"\r\n },\r\n \"clusterType\": \"Spark\"\r\n }\r\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "1288" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08006b47-0000-0700-0000-65fbdf0b0000\"" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-providerhub-traffic": [ "True" ], + "mise-correlation-id": [ "fe5eef9c-7902-4cda-a23a-7ccce09f08e0" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/321a814f-3bd5-42e0-a743-43a10c9e6b50*CD435D392E9DBD6B69031B4841CA28503A8B0BF51B0AEE6C47E87E84CB0CB335?api-version=2023-11-01-preview\u0026t=638466022521295287\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8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VHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=HKUp8KsSeXKXme_7EEy1faecIJHt2qGuu4P1_chhHQfxpjyjOY5O6l5G6_8tEZUCp7zCt1s0w1sKjC1z0KVz52c9z49iMCrs-84lMhdG8Ex65oU6J2OWqIRUiO6S3dWO0Ur98dhBBS0d4CjMm_m6rPEQjrc32j1uZL8AzPEFDI_oUPtA-LBCntXo1yNv-vFBni9IwyRND5UJUmb08mjG0HqmcHcdMy28FZ5F_bsVljYCnzDSUw73i7Y2LZrEYhAz-GkK8Mz75AFLXIyHda1r-pk7ka3ZlAvTwnsWO47cPI5R0rTqxjR6xNeVotPht64vGapqg0kYiRSJBM0JNCP4FA\u0026h=HnSi_9bIF85-LUS1lvEikiEQgHEdpfF_EyslPM-nnFQ" ], + "x-ms-request-id": [ "321a814f-3bd5-42e0-a743-43a10c9e6b50" ], + "x-ms-correlation-request-id": [ "88a819a9-fc2d-4c37-9e80-065749bb7aef" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T071732Z:88a819a9-fc2d-4c37-9e80-065749bb7aef" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: E6DC3CEE6B5B4F8F88F2CA5D3AB04626 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:17:27Z" ], + "Date": [ "Thu, 21 Mar 2024 07:17:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1446" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/sparkps\",\"name\":\"sparkps\",\"type\":\"microsoft.hdinsight/clusterpools/clusters\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"v-user@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-21T07:17:28.8327058Z\",\"lastModifiedBy\":\"v-user@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-21T07:17:28.8327058Z\"},\"properties\":{\"computeProfile\":{\"nodes\":[{\"type\":\"Worker\",\"vmSize\":\"Standard_D16a_v4\",\"count\":3}]},\"clusterProfile\":{\"identityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\"msiClientId\":\"00000000-0000-0000-0000-000000000000\",\"msiObjectId\":\"00000000-0000-0000-0000-000000000000\"},\"authorizationProfile\":{\"userIds\":[\"00000000-0000-0000-0000-000000000000\"]},\"sparkProfile\":{\"metastoreSpec\":{\"dbServerHost\":\"sqlserver\",\"dbName\":\"data3\",\"dbUserName\":\"hdi\",\"dbPasswordSecretName\":\"sqlpassword\",\"keyVaultId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.KeyVault/vaults/sqlpass\"},\"defaultStorageUrl\":\"abfs://pscontainer4@hilostorage.dfs.core.windows.net\"},\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"3.3.1\"},\"clusterType\":\"Spark\",\"provisioningState\":\"Accepted\"}}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Spark+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/321a814f-3bd5-42e0-a743-43a10c9e6b50*CD435D392E9DBD6B69031B4841CA28503A8B0BF51B0AEE6C47E87E84CB0CB335?api-version=2023-11-01-preview\u0026t=638466022521295287\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhp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Y3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=HKUp8KsSeXKXme_7EEy1faecIJHt2qGuu4P1_chhHQfxpjyjOY5O6l5G6_8tEZUCp7zCt1s0w1sKjC1z0KVz52c9z49iMCrs-84lMhdG8Ex65oU6J2OWqIRUiO6S3dWO0Ur98dhBBS0d4CjMm_m6rPEQjrc32j1uZL8AzPEFDI_oUPtA-LBCntXo1yNv-vFBni9IwyRND5UJUmb08mjG0HqmcHcdMy28FZ5F_bsVljYCnzDSUw73i7Y2LZrEYhAz-GkK8Mz75AFLXIyHda1r-pk7ka3ZlAvTwnsWO47cPI5R0rTqxjR6xNeVotPht64vGapqg0kYiRSJBM0JNCP4FA\u0026h=HnSi_9bIF85-LUS1lvEikiEQgHEdpfF_EyslPM-nnFQ+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/321a814f-3bd5-42e0-a743-43a10c9e6b50*CD435D392E9DBD6B69031B4841CA28503A8B0BF51B0AE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DHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=HKUp8KsSeXKXme_7EEy1faecIJHt2qGuu4P1_chhHQfxpjyjOY5O6l5G6_8tEZUCp7zCt1s0w1sKjC1z0KVz52c9z49iMCrs-84lMhdG8Ex65oU6J2OWqIRUiO6S3dWO0Ur98dhBBS0d4CjMm_m6rPEQjrc32j1uZL8AzPEFDI_oUPtA-LBCntXo1yNv-vFBni9IwyRND5UJUmb08mjG0HqmcHcdMy28FZ5F_bsVljYCnzDSUw73i7Y2LZrEYhAz-GkK8Mz75AFLXIyHda1r-pk7ka3ZlAvTwnsWO47cPI5R0rTqxjR6xNeVotPht64vGapqg0kYiRSJBM0JNCP4FA\u0026h=HnSi_9bIF85-LUS1lvEikiEQgHEdpfF_EyslPM-nnFQ", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "35" ], + "x-ms-client-request-id": [ "02a1500b-4857-4599-9977-6c939fbf1669" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005868-0000-0700-0000-65fbdf0b0000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "b1f6bcce-bd28-43b0-9bb8-eddddc826d87" ], + "x-ms-correlation-request-id": [ "170348ba-af95-439e-9ccd-6d5c09cbcead" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T071802Z:170348ba-af95-439e-9ccd-6d5c09cbcead" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 80DF239E463447B6B3D4E7F6D7E3C706 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:18:02Z" ], + "Date": [ "Thu, 21 Mar 2024 07:18:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/321a814f-3bd5-42e0-a743-43a10c9e6b50*CD435D392E9DBD6B69031B4841CA28503A8B0BF51B0AEE6C47E87E84CB0CB335\",\"name\":\"321a814f-3bd5-42e0-a743-43a10c9e6b50*CD435D392E9DBD6B69031B4841CA28503A8B0BF51B0AEE6C47E87E84CB0CB335\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/sparkps\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:17:31.7337169Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Spark+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/321a814f-3bd5-42e0-a743-43a10c9e6b50*CD435D392E9DBD6B69031B4841CA28503A8B0BF51B0AEE6C47E87E84CB0CB335?api-version=2023-11-01-preview\u0026t=638466022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cOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=HKUp8KsSeXKXme_7EEy1faecIJHt2qGuu4P1_chhHQfxpjyjOY5O6l5G6_8tEZUCp7zCt1s0w1sKjC1z0KVz52c9z49iMCrs-84lMhdG8Ex65oU6J2OWqIRUiO6S3dWO0Ur98dhBBS0d4CjMm_m6rPEQjrc32j1uZL8AzPEFDI_oUPtA-LBCntXo1yNv-vFBni9IwyRND5UJUmb08mjG0HqmcHcdMy28FZ5F_bsVljYCnzDSUw73i7Y2LZrEYhAz-GkK8Mz75AFLXIyHda1r-pk7ka3ZlAvTwnsWO47cPI5R0rTqxjR6xNeVotPht64vGapqg0kYiRSJBM0JNCP4FA\u0026h=HnSi_9bIF85-LUS1lvEikiEQgHEdpfF_EyslPM-nnFQ+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/321a814f-3bd5-42e0-a743-43a10c9e6b50*CD435D392E9DBD6B69031B4841CA28503A8B0BF51B0AEE6C47E87E84CB0CB335?api-version=2023-11-01-preview\u0026t=638466022521295287\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQD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Fm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=HKUp8KsSeXKXme_7EEy1faecIJHt2qGuu4P1_chhHQfxpjyjOY5O6l5G6_8tEZUCp7zCt1s0w1sKjC1z0KVz52c9z49iMCrs-84lMhdG8Ex65oU6J2OWqIRUiO6S3dWO0Ur98dhBBS0d4CjMm_m6rPEQjrc32j1uZL8AzPEFDI_oUPtA-LBCntXo1yNv-vFBni9IwyRND5UJUmb08mjG0HqmcHcdMy28FZ5F_bsVljYCnzDSUw73i7Y2LZrEYhAz-GkK8Mz75AFLXIyHda1r-pk7ka3ZlAvTwnsWO47cPI5R0rTqxjR6xNeVotPht64vGapqg0kYiRSJBM0JNCP4FA\u0026h=HnSi_9bIF85-LUS1lvEikiEQgHEdpfF_EyslPM-nnFQ", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "36" ], + "x-ms-client-request-id": [ "02a1500b-4857-4599-9977-6c939fbf1669" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005868-0000-0700-0000-65fbdf0b0000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "9f39bba4-6c46-424b-977a-082115830157" ], + "x-ms-correlation-request-id": [ "366e8e02-5814-4c92-8d44-fbc3903ecb05" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T071833Z:366e8e02-5814-4c92-8d44-fbc3903ecb05" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 7233308C878D4EACA4141B57BA2880AC Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:18:33Z" ], + "Date": [ "Thu, 21 Mar 2024 07:18:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/321a814f-3bd5-42e0-a743-43a10c9e6b50*CD435D392E9DBD6B69031B4841CA28503A8B0BF51B0AEE6C47E87E84CB0CB335\",\"name\":\"321a814f-3bd5-42e0-a743-43a10c9e6b50*CD435D392E9DBD6B69031B4841CA28503A8B0BF51B0AEE6C47E87E84CB0CB335\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/sparkps\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:17:31.7337169Z\"}", + "isContentBase64": false + } + }, + "ClusterCreate_Catalog+[NoContext]+New-AzHdInsightOnAksCluster_Spark+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/321a814f-3bd5-42e0-a743-43a10c9e6b50*CD435D392E9DBD6B69031B4841CA28503A8B0BF51B0AEE6C47E87E84CB0CB335?api-version=2023-11-01-preview\u0026t=638466022521295287\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS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\u0026s=HKUp8KsSeXKXme_7EEy1faecIJHt2qGuu4P1_chhHQfxpjyjOY5O6l5G6_8tEZUCp7zCt1s0w1sKjC1z0KVz52c9z49iMCrs-84lMhdG8Ex65oU6J2OWqIRUiO6S3dWO0Ur98dhBBS0d4CjMm_m6rPEQjrc32j1uZL8AzPEFDI_oUPtA-LBCntXo1yNv-vFBni9IwyRND5UJUmb08mjG0HqmcHcdMy28FZ5F_bsVljYCnzDSUw73i7Y2LZrEYhAz-GkK8Mz75AFLXIyHda1r-pk7ka3ZlAvTwnsWO47cPI5R0rTqxjR6xNeVotPht64vGapqg0kYiRSJBM0JNCP4FA\u0026h=HnSi_9bIF85-LUS1lvEikiEQgHEdpfF_EyslPM-nnFQ+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/321a814f-3bd5-42e0-a743-43a10c9e6b50*CD435D392E9DBD6B69031B4841CA28503A8B0BF51B0AEE6C47E87E84CB0CB335?api-version=2023-11-01-preview\u0026t=638466022521295287\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTT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Z5F_bsVljYCnzDSUw73i7Y2LZrEYhAz-GkK8Mz75AFLXIyHda1r-pk7ka3ZlAvTwnsWO47cPI5R0rTqxjR6xNeVotPht64vGapqg0kYiRSJBM0JNCP4FA\u0026h=HnSi_9bIF85-LUS1lvEikiEQgHEdpfF_EyslPM-nnFQ", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "37" ], + "x-ms-client-request-id": [ "02a1500b-4857-4599-9977-6c939fbf1669" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"08005868-0000-0700-0000-65fbdf0b0000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11993" ], + "x-ms-request-id": [ "47d3c495-9b53-4914-90b4-2fd94ecc8cb6" ], + "x-ms-correlation-request-id": [ "6b38e462-c379-4493-90ee-a65b8b10e34c" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T071904Z:6b38e462-c379-4493-90ee-a65b8b10e34c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: A562966C350B4C40AEE7B0C530EC3B25 Ref B: TYO01EDGE3117 Ref C: 2024-03-21T07:19:04Z" ], + "Date": [ "Thu, 21 Mar 2024 07:19:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/321a814f-3bd5-42e0-a743-43a10c9e6b50*CD435D392E9DBD6B69031B4841CA28503A8B0BF51B0AEE6C47E87E84CB0CB335\",\"name\":\"321a814f-3bd5-42e0-a743-43a10c9e6b50*CD435D392E9DBD6B69031B4841CA28503A8B0BF51B0AEE6C47E87E84CB0CB335\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/sparkps\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T07:17:31.7337169Z\"}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterCreate_Trino.Recording.json b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterCreate_Trino.Recording.json deleted file mode 100644 index e9d5c1a183bb..000000000000 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterCreate_Trino.Recording.json +++ /dev/null @@ -1,699 +0,0 @@ -{ - "ClusterCreate_Trino+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableClusterVersions?api-version=2023-06-01-preview+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West%20US%203/availableClusterVersions?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "256914d8-b59e-4ff2-8018-e775dbb9cbd5" ], - "CommandName": [ "Get-AzHdInsightOnAksAvailableClusterVersion" ], - "FullCommandName": [ "Get-AzHdInsightOnAksAvailableClusterVersion_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], - "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "9bda5867-9f79-4637-8d93-3d2bd975b05f" ], - "x-ms-request-id": [ "d6275fc8-47a8-4873-b8a4-a266c17fb03a" ], - "x-ms-correlation-request-id": [ "146d5b90-e6b8-4b74-bf63-7551e948b779" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T041718Z:146d5b90-e6b8-4b74-bf63-7551e948b779" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: DF760C00E6624D16968F94FD834EE41E Ref B: TYO201100117023 Ref C: 2023-09-14T04:17:16Z" ], - "Date": [ "Thu, 14 Sep 2023 04:17:17 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2762" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/flink_1.16.0-1.0.6\",\"name\":\"flink_1.16.0-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"1.16.0\",\"clusterType\":\"Flink\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Flink\",\"version\":\"1.16.0\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/spark_3.3.1-1.0.6\",\"name\":\"spark_3.3.1-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"3.3.1\",\"clusterType\":\"Spark\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.1\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.6.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.1-1.0.0\",\"name\":\"stub_2.4.1-1.0.0\",\"properties\":{\"clusterVersion\":\"1.0.0\",\"ossVersion\":\"2.4.1\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.1\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.1-1.0.1\",\"name\":\"stub_2.4.1-1.0.1\",\"properties\":{\"clusterVersion\":\"1.0.1\",\"ossVersion\":\"2.4.1\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.1\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.2-1.0.0\",\"name\":\"stub_2.4.2-1.0.0\",\"properties\":{\"clusterVersion\":\"1.0.0\",\"ossVersion\":\"2.4.2\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.3-1.1.0\",\"name\":\"stub_2.4.3-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"2.4.3\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.3\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/trino_0.410.0-1.0.6\",\"name\":\"trino_0.410.0-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"0.410.0\",\"clusterType\":\"Trino\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Trino\",\"version\":\"410\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}]}}]}" - } - }, - "ClusterCreate_Trino+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$PUT+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpstrino?api-version=2023-06-01-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpstrino?api-version=2023-06-01-preview", - "Content": "{\r\n \"location\": \"West US 3\",\r\n \"properties\": {\r\n \"computeProfile\": {\r\n \"nodes\": [\r\n {\r\n \"type\": \"Worker\",\r\n \"vmSize\": \"Standard_D8d_v5\",\r\n \"count\": 3\r\n }\r\n ]\r\n },\r\n \"clusterProfile\": {\r\n \"identityProfile\": {\r\n \"msiResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\r\n \"msiClientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"msiObjectId\": \"00000000-0000-0000-0000-000000000000\"\r\n },\r\n \"authorizationProfile\": {\r\n \"userIds\": [ \"00000000-0000-0000-0000-000000000000\" ]\r\n },\r\n \"secretsProfile\": {\r\n \"keyVaultResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.KeyVault/vaults/sqlpass\"\r\n },\r\n \"clusterVersion\": \"1.0.6\",\r\n \"ossVersion\": \"0.410.0\"\r\n },\r\n \"clusterType\": \"trino\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "1008" ] - } - }, - "Response": { - "StatusCode": 201, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"ed01e86b-0000-0100-0000-650289530000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "58cd1838-840d-4a81-a943-1ec6914d3d1e" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "81bd7a81-9bfb-4872-91e5-f45df64e42fd" ], - "x-ms-correlation-request-id": [ "732db0d6-1ca9-44e3-9fca-ed29e55acba8" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T041723Z:732db0d6-1ca9-44e3-9fca-ed29e55acba8" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 62DB62C18B8D466EB5F0C3A297ADB64E Ref B: TYO201100117023 Ref C: 2023-09-14T04:17:18Z" ], - "Date": [ "Thu, 14 Sep 2023 04:17:22 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "1272" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpstrino\",\"name\":\"testpstrino\",\"type\":\"microsoft.hdinsight/clusterpools/clusters\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"{username}\",\"createdByType\":\"User\",\"createdAt\":\"2023-09-14T04:17:19.571768Z\",\"lastModifiedBy\":\"{username}\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-09-14T04:17:19.571768Z\"},\"properties\":{\"computeProfile\":{\"nodes\":[{\"type\":\"Worker\",\"vmSize\":\"Standard_D8d_v5\",\"count\":3}]},\"clusterProfile\":{\"identityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\"msiClientId\":\"00000000-0000-0000-0000-000000000000\",\"msiObjectId\":\"00000000-0000-0000-0000-000000000000\"},\"authorizationProfile\":{\"userIds\":[\"00000000-0000-0000-0000-000000000000\"]},\"secretsProfile\":{\"keyVaultResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.KeyVault/vaults/sqlpass\"},\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"0.410.0\"},\"clusterType\":\"trino\",\"provisioningState\":\"Accepted\"}}" - } - }, - "ClusterCreate_Trino+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "4f3e33d4-2f15-4548-9016-4e5d90b699f1" ], - "CommandName": [ "New-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"a1000fec-0000-0100-0000-650289530000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "4fcde218-74a2-4dc4-8b47-d8456741105a" ], - "x-ms-correlation-request-id": [ "1e907186-2d0e-4ca5-afad-2e0a8f2eb89c" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T041753Z:1e907186-2d0e-4ca5-afad-2e0a8f2eb89c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A95E66DEED4C496990557308555D6975 Ref B: TYO201100117023 Ref C: 2023-09-14T04:17:53Z" ], - "Date": [ "Thu, 14 Sep 2023 04:17:52 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "533" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"name\":\"81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpstrino\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T04:17:23.0816899Z\"}" - } - }, - "ClusterCreate_Trino+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "4f3e33d4-2f15-4548-9016-4e5d90b699f1" ], - "CommandName": [ "New-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"a1000fec-0000-0100-0000-650289530000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "b2b13c1c-ad87-4f5e-a5c1-496709c4e1ec" ], - "x-ms-correlation-request-id": [ "240ac408-1658-46d2-bdbb-10d170d1d691" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T041824Z:240ac408-1658-46d2-bdbb-10d170d1d691" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: B172233D8F9245648AC68696935980EE Ref B: TYO201100117023 Ref C: 2023-09-14T04:18:24Z" ], - "Date": [ "Thu, 14 Sep 2023 04:18:24 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "533" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"name\":\"81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpstrino\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T04:17:23.0816899Z\"}" - } - }, - "ClusterCreate_Trino+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "4f3e33d4-2f15-4548-9016-4e5d90b699f1" ], - "CommandName": [ "New-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"a1000fec-0000-0100-0000-650289530000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], - "x-ms-request-id": [ "fa6c69ca-d18a-4f37-9c9a-fc6f159fbef9" ], - "x-ms-correlation-request-id": [ "978e03f6-276d-490a-bf38-2c7a0c199054" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T041855Z:978e03f6-276d-490a-bf38-2c7a0c199054" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 541D2068EE174422B6E5BBC97FBFEE5D Ref B: TYO201100117023 Ref C: 2023-09-14T04:18:54Z" ], - "Date": [ "Thu, 14 Sep 2023 04:18:55 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "533" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"name\":\"81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpstrino\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T04:17:23.0816899Z\"}" - } - }, - "ClusterCreate_Trino+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "4f3e33d4-2f15-4548-9016-4e5d90b699f1" ], - "CommandName": [ "New-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"a1000fec-0000-0100-0000-650289530000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "4aed07ac-4073-4afa-bd9d-5fdce8079546" ], - "x-ms-correlation-request-id": [ "461d4b29-7938-4024-a41e-1df81ccbf341" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T041926Z:461d4b29-7938-4024-a41e-1df81ccbf341" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: CE33B1B2AF5E484A9027E18E9F0F0B44 Ref B: TYO201100117023 Ref C: 2023-09-14T04:19:25Z" ], - "Date": [ "Thu, 14 Sep 2023 04:19:26 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "533" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"name\":\"81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpstrino\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T04:17:23.0816899Z\"}" - } - }, - "ClusterCreate_Trino+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "4f3e33d4-2f15-4548-9016-4e5d90b699f1" ], - "CommandName": [ "New-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"a1000fec-0000-0100-0000-650289530000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11988" ], - "x-ms-request-id": [ "36873eef-b52e-43f0-8112-651bd776140e" ], - "x-ms-correlation-request-id": [ "f4325fcb-34c8-4853-8343-0dc858167745" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T041957Z:f4325fcb-34c8-4853-8343-0dc858167745" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E9B8B191E1044D868F8FB57C83B552FF Ref B: TYO201100117023 Ref C: 2023-09-14T04:19:56Z" ], - "Date": [ "Thu, 14 Sep 2023 04:19:57 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "533" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"name\":\"81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpstrino\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T04:17:23.0816899Z\"}" - } - }, - "ClusterCreate_Trino+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "4f3e33d4-2f15-4548-9016-4e5d90b699f1" ], - "CommandName": [ "New-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"a1000fec-0000-0100-0000-650289530000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "549cc572-224a-47fb-8665-ca3f76451ac7" ], - "x-ms-correlation-request-id": [ "b3fe6157-dada-4abc-80c6-4212324853cb" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T042027Z:b3fe6157-dada-4abc-80c6-4212324853cb" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 57A8759B3B3149C4AAD75E3042D0DBD1 Ref B: TYO201100117023 Ref C: 2023-09-14T04:20:27Z" ], - "Date": [ "Thu, 14 Sep 2023 04:20:27 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "533" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"name\":\"81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpstrino\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T04:17:23.0816899Z\"}" - } - }, - "ClusterCreate_Trino+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "4f3e33d4-2f15-4548-9016-4e5d90b699f1" ], - "CommandName": [ "New-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"a1000fec-0000-0100-0000-650289530000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "81f91161-479b-45e5-8548-5a3cfb3872fa" ], - "x-ms-correlation-request-id": [ "e87d0dfe-5a65-40f9-93ea-37f5cb287559" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T042058Z:e87d0dfe-5a65-40f9-93ea-37f5cb287559" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6DBAB6AACB924329B59C468CC001A1CF Ref B: TYO201100117023 Ref C: 2023-09-14T04:20:57Z" ], - "Date": [ "Thu, 14 Sep 2023 04:20:58 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "533" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"name\":\"81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpstrino\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T04:17:23.0816899Z\"}" - } - }, - "ClusterCreate_Trino+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "4f3e33d4-2f15-4548-9016-4e5d90b699f1" ], - "CommandName": [ "New-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"a1000fec-0000-0100-0000-650289530000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "b0d65dd5-bd99-41fc-a55a-cb5abffb82d5" ], - "x-ms-correlation-request-id": [ "d7936c5a-388e-452e-a0cb-7a2eb8a1c49c" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T042129Z:d7936c5a-388e-452e-a0cb-7a2eb8a1c49c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 9E5ED8585E3D46248C5248A1145FFB86 Ref B: TYO201100117023 Ref C: 2023-09-14T04:21:28Z" ], - "Date": [ "Thu, 14 Sep 2023 04:21:29 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "533" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"name\":\"81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpstrino\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T04:17:23.0816899Z\"}" - } - }, - "ClusterCreate_Trino+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview+10": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "4f3e33d4-2f15-4548-9016-4e5d90b699f1" ], - "CommandName": [ "New-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"a1000fec-0000-0100-0000-650289530000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "0f1e9e76-5334-4c5b-961a-1c9b9de76104" ], - "x-ms-correlation-request-id": [ "ccc97428-562f-46cb-b76d-eebe8f22da0b" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T042200Z:ccc97428-562f-46cb-b76d-eebe8f22da0b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E0501CA2E9904137A8D3797665A9C82B Ref B: TYO201100117023 Ref C: 2023-09-14T04:21:59Z" ], - "Date": [ "Thu, 14 Sep 2023 04:22:00 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "533" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"name\":\"81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpstrino\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T04:17:23.0816899Z\"}" - } - }, - "ClusterCreate_Trino+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview+11": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "4f3e33d4-2f15-4548-9016-4e5d90b699f1" ], - "CommandName": [ "New-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"a1000fec-0000-0100-0000-650289530000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], - "x-ms-request-id": [ "9bb5371d-009b-49a8-9c16-5e4e143cb929" ], - "x-ms-correlation-request-id": [ "f164e69c-1c95-4f73-ae17-dc9f94ce907a" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T042231Z:f164e69c-1c95-4f73-ae17-dc9f94ce907a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: C7F1501951F047FBB94F4C02E6A77E86 Ref B: TYO201100117023 Ref C: 2023-09-14T04:22:30Z" ], - "Date": [ "Thu, 14 Sep 2023 04:22:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "533" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"name\":\"81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpstrino\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T04:17:23.0816899Z\"}" - } - }, - "ClusterCreate_Trino+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview+12": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "4f3e33d4-2f15-4548-9016-4e5d90b699f1" ], - "CommandName": [ "New-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"a1000fec-0000-0100-0000-650289530000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "d348dc4f-b23a-44ec-874b-e218dccf1bf6" ], - "x-ms-correlation-request-id": [ "73669d83-3013-439b-94e5-0e0a719015b7" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T042301Z:73669d83-3013-439b-94e5-0e0a719015b7" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: ED38993E83A941DE943192B451EB28A1 Ref B: TYO201100117023 Ref C: 2023-09-14T04:23:01Z" ], - "Date": [ "Thu, 14 Sep 2023 04:23:01 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "533" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"name\":\"81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpstrino\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T04:17:23.0816899Z\"}" - } - }, - "ClusterCreate_Trino+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview+13": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "4f3e33d4-2f15-4548-9016-4e5d90b699f1" ], - "CommandName": [ "New-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"a1000fec-0000-0100-0000-650289530000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "03f3f4bb-1311-44f5-836a-fd969b7dcaa2" ], - "x-ms-correlation-request-id": [ "82a2012b-7df5-44e5-805e-5231fd842834" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T042332Z:82a2012b-7df5-44e5-805e-5231fd842834" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D250C8DDFC7E4931B3A535805A6FF0D3 Ref B: TYO201100117023 Ref C: 2023-09-14T04:23:31Z" ], - "Date": [ "Thu, 14 Sep 2023 04:23:32 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "533" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"name\":\"81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpstrino\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T04:17:23.0816899Z\"}" - } - }, - "ClusterCreate_Trino+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview+14": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "4f3e33d4-2f15-4548-9016-4e5d90b699f1" ], - "CommandName": [ "New-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"a1000fec-0000-0100-0000-650289530000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "636b3d65-aeff-41c9-bf07-cfb2f8434dc9" ], - "x-ms-correlation-request-id": [ "0c17c8f9-13fd-4116-b8b5-fe1659f61eda" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T042403Z:0c17c8f9-13fd-4116-b8b5-fe1659f61eda" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: B19BB013CDC045189EC9598FC2CDD382 Ref B: TYO201100117023 Ref C: 2023-09-14T04:24:02Z" ], - "Date": [ "Thu, 14 Sep 2023 04:24:03 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "533" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"name\":\"81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpstrino\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T04:17:23.0816899Z\"}" - } - }, - "ClusterCreate_Trino+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview+15": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "4f3e33d4-2f15-4548-9016-4e5d90b699f1" ], - "CommandName": [ "New-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"0f00ef37-0000-4d00-0000-65028b000000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "969d7a4d-18ba-44b3-bf8d-3820c8c37aba" ], - "x-ms-correlation-request-id": [ "bca7db9d-19b0-4250-9b76-51a8146b5620" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T042434Z:bca7db9d-19b0-4250-9b76-51a8146b5620" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F72B7942F46144D9AE18BEF46F0403D7 Ref B: TYO201100117023 Ref C: 2023-09-14T04:24:33Z" ], - "Date": [ "Thu, 14 Sep 2023 04:24:33 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "552" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"name\":\"81bd7a81-9bfb-4872-91e5-f45df64e42fd*653DBBC27588EE803A1C2CDFBC7F113CDAA4B826F79E885322E4E2A0A7FAA2C2\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpstrino\",\"status\":\"Succeeded\",\"startTime\":\"2023-09-14T04:17:23.0816899Z\",\"properties\":null}" - } - }, - "ClusterCreate_Trino+[NoContext]+New-AzHdInsightOnAksCluster_Trino+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpstrino?api-version=2023-06-01-preview+16": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpstrino?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "4f3e33d4-2f15-4548-9016-4e5d90b699f1" ], - "CommandName": [ "New-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"ed01abba-0000-0100-0000-65028ae10000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "6712480a-dc0d-4d4a-b69e-eb00b0d7790c" ], - "x-ms-correlation-request-id": [ "f5f3bfd1-c1b8-456f-b7c2-28929333d338" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T042435Z:f5f3bfd1-c1b8-456f-b7c2-28929333d338" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5C9724E3242F4C5FB232647C7FBFFA45 Ref B: TYO201100117023 Ref C: 2023-09-14T04:24:34Z" ], - "Date": [ "Thu, 14 Sep 2023 04:24:34 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "1602" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpstrino\",\"name\":\"testpstrino\",\"type\":\"microsoft.hdinsight/clusterpools/clusters\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"{username}\",\"createdByType\":\"User\",\"createdAt\":\"2023-09-14T04:17:19.571768Z\",\"lastModifiedBy\":\"{username}\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-09-14T04:17:19.571768Z\"},\"properties\":{\"clusterType\":\"trino\",\"computeProfile\":{\"nodes\":[{\"type\":\"Head\",\"vmSize\":\"Standard_D8d_v5\",\"count\":2},{\"type\":\"Worker\",\"vmSize\":\"Standard_D8d_v5\",\"count\":3}]},\"clusterProfile\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"0.410.0\",\"components\":[{\"name\":\"Trino\",\"version\":\"410\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}],\"identityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\"msiClientId\":\"00000000-0000-0000-0000-000000000000\",\"msiObjectId\":\"00000000-0000-0000-0000-000000000000\"},\"authorizationProfile\":{\"userIds\":[\"00000000-0000-0000-0000-000000000000\"]},\"secretsProfile\":{\"keyVaultResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.KeyVault/vaults/sqlpass\"},\"connectivityProfile\":{\"web\":{\"fqdn\":\"testpstrino.35577def5af24f028250caaba161bf2b.westus2.tip.hdinsightaks.net\"}}},\"deploymentId\":\"35577def5af24f028250caaba161bf2b\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}" - } - } -} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterJob.Recording.json b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterJob.Recording.json index c1a0a66a3033..48a318a435a1 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterJob.Recording.json +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterJob.Recording.json @@ -1,17 +1,17 @@ { - "ClusterJob+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableClusterVersions?api-version=2023-06-01-preview+1": { + "ClusterJob+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableClusterVersions?api-version=2023-11-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West%20US%203/availableClusterVersions?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableClusterVersions?api-version=2023-11-01-preview", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "0f6aa3df-6e5c-42f0-bd4e-5a1ab1d64d45" ], + "x-ms-client-request-id": [ "61eb8165-702d-4c7b-90f1-48e865f1f865" ], "CommandName": [ "Get-AzHdInsightOnAksAvailableClusterVersion" ], "FullCommandName": [ "Get-AzHdInsightOnAksAvailableClusterVersion_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.HdInsightOnAks/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,31 +22,31 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "72e7e7a6-ebd5-468a-a15f-41547820f1f3" ], - "x-ms-request-id": [ "8b779da9-ae0c-4f81-9b6c-7f4c2ff9ab90" ], - "x-ms-correlation-request-id": [ "4f83a5f4-2513-46b1-899d-ecb2de5011c4" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230915T041846Z:4f83a5f4-2513-46b1-899d-ecb2de5011c4" ], + "mise-correlation-id": [ "bc4a2d54-14b8-4ad4-9097-56baf132ad22" ], + "x-ms-request-id": [ "fc1c57c0-cbee-46f2-afc2-f509f61d8387" ], + "x-ms-correlation-request-id": [ "63501caf-a9b4-44cc-b498-04549dca7b55" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T052219Z:63501caf-a9b4-44cc-b498-04549dca7b55" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F3FC199D3CF44964B775401180CAC20D Ref B: TYO201100114025 Ref C: 2023-09-15T04:18:45Z" ], - "Date": [ "Fri, 15 Sep 2023 04:18:45 GMT" ] + "X-MSEdge-Ref": [ "Ref A: FBB2F4729809478983F914E4B2DAAB0F Ref B: TYO201100115007 Ref C: 2024-03-21T05:22:18Z" ], + "Date": [ "Thu, 21 Mar 2024 05:22:18 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2762" ], + "Content-Length": [ "6328" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/flink_1.16.0-1.0.6\",\"name\":\"flink_1.16.0-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"1.16.0\",\"clusterType\":\"Flink\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Flink\",\"version\":\"1.16.0\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/spark_3.3.1-1.0.6\",\"name\":\"spark_3.3.1-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"3.3.1\",\"clusterType\":\"Spark\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.1\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.6.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.1-1.0.0\",\"name\":\"stub_2.4.1-1.0.0\",\"properties\":{\"clusterVersion\":\"1.0.0\",\"ossVersion\":\"2.4.1\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.1\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.1-1.0.1\",\"name\":\"stub_2.4.1-1.0.1\",\"properties\":{\"clusterVersion\":\"1.0.1\",\"ossVersion\":\"2.4.1\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.1\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.2-1.0.0\",\"name\":\"stub_2.4.2-1.0.0\",\"properties\":{\"clusterVersion\":\"1.0.0\",\"ossVersion\":\"2.4.2\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.3-1.1.0\",\"name\":\"stub_2.4.3-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"2.4.3\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.3\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/trino_0.410.0-1.0.6\",\"name\":\"trino_0.410.0-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"0.410.0\",\"clusterType\":\"Trino\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Trino\",\"version\":\"410\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableclusterversions/flink_1.16.0-1.0.6\",\"name\":\"flink_1.16.0-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"1.16.0\",\"clusterType\":\"Flink\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Flink\",\"version\":\"1.16.0\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableclusterversions/flink_1.17.0-1.1.0\",\"name\":\"flink_1.17.0-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"1.17.0\",\"clusterType\":\"Flink\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Flink\",\"version\":\"1.17.0\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableclusterversions/flink_1.17.0-1.1.1\",\"name\":\"flink_1.17.0-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"1.17.0\",\"clusterType\":\"Flink\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Flink\",\"version\":\"1.17.0\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableclusterversions/kafka_3.6.0-1.1.1\",\"name\":\"kafka_3.6.0-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"3.6.0\",\"clusterType\":\"Kafka\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Kafka\",\"version\":\"3.6.0\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableclusterversions/ranger_2.3.0-1.1.0\",\"name\":\"ranger_2.3.0-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"2.3.0\",\"clusterType\":\"Ranger\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableclusterversions/ranger_2.3.0-1.1.1\",\"name\":\"ranger_2.3.0-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"2.3.0\",\"clusterType\":\"Ranger\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableclusterversions/spark_3.3.1-1.0.6\",\"name\":\"spark_3.3.1-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"3.3.1\",\"clusterType\":\"Spark\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.1\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.6.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableclusterversions/spark_3.3.1-1.1.0\",\"name\":\"spark_3.3.1-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"3.3.1\",\"clusterType\":\"Spark\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.1\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.6.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableclusterversions/spark_3.3.1-1.1.1\",\"name\":\"spark_3.3.1-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"3.3.1\",\"clusterType\":\"Spark\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.4\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.8.3\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableclusterversions/stub_2.4.1-1.0.0\",\"name\":\"stub_2.4.1-1.0.0\",\"properties\":{\"clusterVersion\":\"1.0.0\",\"ossVersion\":\"2.4.1\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.1\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableclusterversions/stub_2.4.1-1.0.1\",\"name\":\"stub_2.4.1-1.0.1\",\"properties\":{\"clusterVersion\":\"1.0.1\",\"ossVersion\":\"2.4.1\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.1\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableclusterversions/stub_2.4.2-1.0.0\",\"name\":\"stub_2.4.2-1.0.0\",\"properties\":{\"clusterVersion\":\"1.0.0\",\"ossVersion\":\"2.4.2\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableclusterversions/stub_2.4.3-1.1.0\",\"name\":\"stub_2.4.3-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"2.4.3\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.3\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableclusterversions/trino_0.426.0-1.1.0\",\"name\":\"trino_0.426.0-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"0.426.0\",\"clusterType\":\"Trino\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Trino\",\"version\":\"426\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableclusterversions/trino_0.410.0-1.0.6\",\"name\":\"trino_0.410.0-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"0.410.0\",\"clusterType\":\"Trino\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Trino\",\"version\":\"410\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/westus3/availableclusterversions/trino_0.426.0-1.1.1\",\"name\":\"trino_0.426.0-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"0.426.0\",\"clusterType\":\"Trino\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Trino\",\"version\":\"426\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}]}}]}", "isContentBase64": false } }, - "ClusterJob+[NoContext]+Start-AzHdInsightOnAksClusterJob+$POST+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Group/providers/Microsoft.HDInsight/clusterpools/ps-test-pool/clusters/flinkcluster/runJob?api-version=2023-06-01-preview+1": { + "ClusterJob+[NoContext]+Start-AzHdInsightOnAksClusterJob+$POST+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/cluster202432112341/runJob?api-version=2023-11-01-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Group/providers/Microsoft.HDInsight/clusterpools/ps-test-pool/clusters/flinkcluster/runJob?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/cluster202432112341/runJob?api-version=2023-11-01-preview", "Content": "{\r\n \"properties\": {\r\n \"jobType\": \"FlinkJob\",\r\n \"jobName\": \"job1\",\r\n \"jobJarDirectory\": \"abfs://flinkjob@hilosa.dfs.core.windows.net/jars\",\r\n \"jarName\": \"JarName\",\r\n \"entryClass\": \"com.microsoft.hilo.flink.job.streaming.SleepJob\",\r\n \"args\": \"\",\r\n \"action\": \"NEW\",\r\n \"flinkConfiguration\": {\r\n \"parallelism\": \"1\"\r\n }\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -61,19 +61,19 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/28527709-43cb-4b9d-84b9-d6d221bb1e18*93BE3F5F38E851939A0189D16172AE096513F606F83B4B31C7549306E4C696F3?api-version=2023-06-01-preview" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f9c883c-2d68-4017-926c-3ff986164dd9*EDA85E82EBAC6CD9306E46C4CFF5E6F09D614E3B437AF6757C7D1469DC178709?api-version=2023-11-01-preview\u0026t=638465953415474098\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQ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jLNU6vF0vCktJuBymi6anlcv1fRik4jletdYOgodLbxFQOzdefRzNcji8l2AnSbCsuSxx8ANy6LXxJl4w7rYtSlpD6DkJCIuXYP8DDFsqpPTB109tw74Nbib3Ijp0WqOlMjdFvVfH2MBGJHvXFJuWnWm8GndzLkinxHNABJb4fzH_J7nAw2z2taV0TBRjPnNKFk2Hd1YmSRXpiN-9gsy_LY_QRYAHJ6X_-I3nbZ07Q\u0026h=am-acH0ymp95vAcXmx7f5tOzSke11B0J-BjyXJeK_nM" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "73e7085f-2460-4e55-95af-14c7bd8a6e19" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/28527709-43cb-4b9d-84b9-d6d221bb1e18*93BE3F5F38E851939A0189D16172AE096513F606F83B4B31C7549306E4C696F3?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "28527709-43cb-4b9d-84b9-d6d221bb1e18" ], - "x-ms-correlation-request-id": [ "95c980b9-ddd0-407c-8c5c-333e755a9c3f" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230915T041849Z:95c980b9-ddd0-407c-8c5c-333e755a9c3f" ], + "mise-correlation-id": [ "18b30e6b-40a0-4d9f-978f-925da4c97cfc" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f9c883c-2d68-4017-926c-3ff986164dd9*EDA85E82EBAC6CD9306E46C4CFF5E6F09D614E3B437AF6757C7D1469DC178709?api-version=2023-11-01-preview\u0026t=638465953415318147\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcN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XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=jGChMLsI2-9SfcCZQevb8cSA0ju2-tul09ppyCumIwU8NuAWS0LX8KFR3PN-gQAALDWBSbP9r-lhjIi_PdcKC5k4SHI2KMp0dvtCn-DwUzTF9fCwyeOpNPq5nR-g1UdDKn1JD05HphgvbI7ixl_74WNHTOYyWnB_M-zEaG9ANv2GGQMsUWqrciBKFJRKxrNw0UbPVjQvT76Ud4iluEd5E0hhVqlEGNWIeKrCNtZvoyrGetAwBOexruXo5Yu67hN9JMxxhtN_IH6bWwoZjIj649Uvvxjk3DNM8aAymDRdV2RpkVWSyv3lbY8dLFAUKnSccXqUCukV2I7z1L9v2WHcZw\u0026h=1MZ3w2iULpQoTc1ISqex_WRrS06oSdZ3sO8IQrElryY" ], + "x-ms-request-id": [ "8f9c883c-2d68-4017-926c-3ff986164dd9" ], + "x-ms-correlation-request-id": [ "009d7807-b713-40a9-8338-c1689d9ba9da" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T052221Z:009d7807-b713-40a9-8338-c1689d9ba9da" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1C3A9C5F80204B2FBAE5037E75A13F29 Ref B: TYO201100114025 Ref C: 2023-09-15T04:18:46Z" ], - "Date": [ "Fri, 15 Sep 2023 04:18:49 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 515019CBE68B4B8E9267F67BCF07FC4E Ref B: TYO201100115007 Ref C: 2024-03-21T05:22:19Z" ], + "Date": [ "Thu, 21 Mar 2024 05:22:20 GMT" ] }, "ContentHeaders": { "Content-Length": [ "4" ], @@ -84,20 +84,20 @@ "isContentBase64": false } }, - "ClusterJob+[NoContext]+Start-AzHdInsightOnAksClusterJob+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/28527709-43cb-4b9d-84b9-d6d221bb1e18*93BE3F5F38E851939A0189D16172AE096513F606F83B4B31C7549306E4C696F3?api-version=2023-06-01-preview+2": { + "ClusterJob+[NoContext]+Start-AzHdInsightOnAksClusterJob+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f9c883c-2d68-4017-926c-3ff986164dd9*EDA85E82EBAC6CD9306E46C4CFF5E6F09D614E3B437AF6757C7D1469DC178709?api-version=2023-11-01-preview\u0026t=638465953415318147\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwE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UuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=jGChMLsI2-9SfcCZQevb8cSA0ju2-tul09ppyCumIwU8NuAWS0LX8KFR3PN-gQAALDWBSbP9r-lhjIi_PdcKC5k4SHI2KMp0dvtCn-DwUzTF9fCwyeOpNPq5nR-g1UdDKn1JD05HphgvbI7ixl_74WNHTOYyWnB_M-zEaG9ANv2GGQMsUWqrciBKFJRKxrNw0UbPVjQvT76Ud4iluEd5E0hhVqlEGNWIeKrCNtZvoyrGetAwBOexruXo5Yu67hN9JMxxhtN_IH6bWwoZjIj649Uvvxjk3DNM8aAymDRdV2RpkVWSyv3lbY8dLFAUKnSccXqUCukV2I7z1L9v2WHcZw\u0026h=1MZ3w2iULpQoTc1ISqex_WRrS06oSdZ3sO8IQrElryY+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/28527709-43cb-4b9d-84b9-d6d221bb1e18*93BE3F5F38E851939A0189D16172AE096513F606F83B4B31C7549306E4C696F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f9c883c-2d68-4017-926c-3ff986164dd9*EDA85E82EBAC6CD9306E46C4CFF5E6F09D614E3B437AF6757C7D1469DC178709?api-version=2023-11-01-preview\u0026t=638465953415318147\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0S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YSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=jGChMLsI2-9SfcCZQevb8cSA0ju2-tul09ppyCumIwU8NuAWS0LX8KFR3PN-gQAALDWBSbP9r-lhjIi_PdcKC5k4SHI2KMp0dvtCn-DwUzTF9fCwyeOpNPq5nR-g1UdDKn1JD05HphgvbI7ixl_74WNHTOYyWnB_M-zEaG9ANv2GGQMsUWqrciBKFJRKxrNw0UbPVjQvT76Ud4iluEd5E0hhVqlEGNWIeKrCNtZvoyrGetAwBOexruXo5Yu67hN9JMxxhtN_IH6bWwoZjIj649Uvvxjk3DNM8aAymDRdV2RpkVWSyv3lbY8dLFAUKnSccXqUCukV2I7z1L9v2WHcZw\u0026h=1MZ3w2iULpQoTc1ISqex_WRrS06oSdZ3sO8IQrElryY", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "391fe896-3a8d-4782-bde3-da97e31b5dce" ], + "x-ms-client-request-id": [ "043e315b-d0d3-4cfa-a40f-2f01602e84b0" ], "CommandName": [ "Start-AzHdInsightOnAksClusterJob" ], "FullCommandName": [ "Start-AzHdInsightOnAksClusterJob_Run" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.HdInsightOnAks/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -107,40 +107,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"24009d32-0000-4d00-0000-6503db320000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "9dbfb659-3927-4a21-8adb-54df8650d4d5" ], - "x-ms-correlation-request-id": [ "8588a8e9-be99-4fca-8584-56ae65e4fc3b" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230915T041920Z:8588a8e9-be99-4fca-8584-56ae65e4fc3b" ], + "ETag": [ "\"0e00bff1-0000-0700-0000-65fbc4170000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11993" ], + "x-ms-request-id": [ "0a70553a-c978-4229-8b76-a2f2f4587ad7" ], + "x-ms-correlation-request-id": [ "6295fa5e-bf7b-4055-be83-733cffbbb6d8" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T052252Z:6295fa5e-bf7b-4055-be83-733cffbbb6d8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: B1BA3A862BD94D9CBD1D688677DC22EE Ref B: TYO201100114025 Ref C: 2023-09-15T04:19:19Z" ], - "Date": [ "Fri, 15 Sep 2023 04:19:19 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 86AB160B242A4B92B6B286797D7CD262 Ref B: TYO201100115007 Ref C: 2024-03-21T05:22:51Z" ], + "Date": [ "Thu, 21 Mar 2024 05:22:51 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "584" ], + "Content-Length": [ "616" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/28527709-43cb-4b9d-84b9-d6d221bb1e18*93BE3F5F38E851939A0189D16172AE096513F606F83B4B31C7549306E4C696F3\",\"name\":\"28527709-43cb-4b9d-84b9-d6d221bb1e18*93BE3F5F38E851939A0189D16172AE096513F606F83B4B31C7549306E4C696F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Group/providers/Microsoft.HDInsight/clusterpools/ps-test-pool/clusters/flinkcluster\",\"status\":\"Succeeded\",\"startTime\":\"2023-09-15T04:18:47.1160518Z\",\"endTime\":\"2023-09-15T04:18:58.9750179Z\",\"properties\":null}", + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f9c883c-2d68-4017-926c-3ff986164dd9*EDA85E82EBAC6CD9306E46C4CFF5E6F09D614E3B437AF6757C7D1469DC178709\",\"name\":\"8f9c883c-2d68-4017-926c-3ff986164dd9*EDA85E82EBAC6CD9306E46C4CFF5E6F09D614E3B437AF6757C7D1469DC178709\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/cluster202432112341\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-21T05:22:19.9294671Z\",\"endTime\":\"2024-03-21T05:22:31.9427219Z\",\"properties\":{\"jobStatus\":\"JOB_LAUNCH_FAILED\"}}", "isContentBase64": false } }, - "ClusterJob+[NoContext]+Start-AzHdInsightOnAksClusterJob+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/28527709-43cb-4b9d-84b9-d6d221bb1e18*93BE3F5F38E851939A0189D16172AE096513F606F83B4B31C7549306E4C696F3?api-version=2023-06-01-preview+3": { + "ClusterJob+[NoContext]+Start-AzHdInsightOnAksClusterJob+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f9c883c-2d68-4017-926c-3ff986164dd9*EDA85E82EBAC6CD9306E46C4CFF5E6F09D614E3B437AF6757C7D1469DC178709?api-version=2023-11-01-preview\u0026t=638465953415474098\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzA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3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=ebegg6dUslixlMMGmoyLraASGxMOEcuC5jIp6z_pkL2dC2Uh98Cc4NAeSe1tvWuCJpR3dnK9v7z5BoKk-dXBKeVzjl4bdDOCWahV5sONo3bFjLNU6vF0vCktJuBymi6anlcv1fRik4jletdYOgodLbxFQOzdefRzNcji8l2AnSbCsuSxx8ANy6LXxJl4w7rYtSlpD6DkJCIuXYP8DDFsqpPTB109tw74Nbib3Ijp0WqOlMjdFvVfH2MBGJHvXFJuWnWm8GndzLkinxHNABJb4fzH_J7nAw2z2taV0TBRjPnNKFk2Hd1YmSRXpiN-9gsy_LY_QRYAHJ6X_-I3nbZ07Q\u0026h=am-acH0ymp95vAcXmx7f5tOzSke11B0J-BjyXJeK_nM+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/28527709-43cb-4b9d-84b9-d6d221bb1e18*93BE3F5F38E851939A0189D16172AE096513F606F83B4B31C7549306E4C696F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f9c883c-2d68-4017-926c-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oZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=ebegg6dUslixlMMGmoyLraASGxMOEcuC5jIp6z_pkL2dC2Uh98Cc4NAeSe1tvWuCJpR3dnK9v7z5BoKk-dXBKeVzjl4bdDOCWahV5sONo3bFjLNU6vF0vCktJuBymi6anlcv1fRik4jletdYOgodLbxFQOzdefRzNcji8l2AnSbCsuSxx8ANy6LXxJl4w7rYtSlpD6DkJCIuXYP8DDFsqpPTB109tw74Nbib3Ijp0WqOlMjdFvVfH2MBGJHvXFJuWnWm8GndzLkinxHNABJb4fzH_J7nAw2z2taV0TBRjPnNKFk2Hd1YmSRXpiN-9gsy_LY_QRYAHJ6X_-I3nbZ07Q\u0026h=am-acH0ymp95vAcXmx7f5tOzSke11B0J-BjyXJeK_nM", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "391fe896-3a8d-4782-bde3-da97e31b5dce" ], + "x-ms-client-request-id": [ "043e315b-d0d3-4cfa-a40f-2f01602e84b0" ], "CommandName": [ "Start-AzHdInsightOnAksClusterJob" ], "FullCommandName": [ "Start-AzHdInsightOnAksClusterJob_Run" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.HdInsightOnAks/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -150,39 +150,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"24009d32-0000-4d00-0000-6503db320000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "f996d7d9-228f-4acf-908d-ee4c503f38df" ], - "x-ms-correlation-request-id": [ "2f205aba-6ba3-4b20-b392-aca89878324c" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230915T041920Z:2f205aba-6ba3-4b20-b392-aca89878324c" ], + "ETag": [ "\"0e00bff1-0000-0700-0000-65fbc4170000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11994" ], + "x-ms-request-id": [ "a4adae53-51b5-46a5-8216-3f8938e4ad0b" ], + "x-ms-correlation-request-id": [ "c5af5539-bf13-4411-a97d-35ba5f12868f" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T052252Z:c5af5539-bf13-4411-a97d-35ba5f12868f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 00900EB2CA23467FB5FF5817C342614B Ref B: TYO201100114025 Ref C: 2023-09-15T04:19:20Z" ], - "Date": [ "Fri, 15 Sep 2023 04:19:20 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 0E7CF8ED2A444402B4EB98A0B4121BB9 Ref B: TYO201100115007 Ref C: 2024-03-21T05:22:52Z" ], + "Date": [ "Thu, 21 Mar 2024 05:22:52 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "584" ], + "Content-Length": [ "616" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/28527709-43cb-4b9d-84b9-d6d221bb1e18*93BE3F5F38E851939A0189D16172AE096513F606F83B4B31C7549306E4C696F3\",\"name\":\"28527709-43cb-4b9d-84b9-d6d221bb1e18*93BE3F5F38E851939A0189D16172AE096513F606F83B4B31C7549306E4C696F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Group/providers/Microsoft.HDInsight/clusterpools/ps-test-pool/clusters/flinkcluster\",\"status\":\"Succeeded\",\"startTime\":\"2023-09-15T04:18:47.1160518Z\",\"endTime\":\"2023-09-15T04:18:58.9750179Z\",\"properties\":null}", + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f9c883c-2d68-4017-926c-3ff986164dd9*EDA85E82EBAC6CD9306E46C4CFF5E6F09D614E3B437AF6757C7D1469DC178709\",\"name\":\"8f9c883c-2d68-4017-926c-3ff986164dd9*EDA85E82EBAC6CD9306E46C4CFF5E6F09D614E3B437AF6757C7D1469DC178709\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/cluster202432112341\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-21T05:22:19.9294671Z\",\"endTime\":\"2024-03-21T05:22:31.9427219Z\",\"properties\":{\"jobStatus\":\"JOB_LAUNCH_FAILED\"}}", "isContentBase64": false } }, - "ClusterJob+[NoContext]+Start-AzHdInsightOnAksClusterJob+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Group/providers/Microsoft.HDInsight/clusterpools/ps-test-pool/clusters/flinkcluster/jobs?api-version=2023-06-01-preview+1": { + "ClusterJob+[NoContext]+Start-AzHdInsightOnAksClusterJob+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/cluster202432112341/jobs?api-version=2023-11-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Group/providers/Microsoft.HDInsight/clusterpools/ps-test-pool/clusters/flinkcluster/jobs?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/cluster202432112341/jobs?api-version=2023-11-01-preview", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "10e65fe6-38da-4357-87fa-db7975d7d612" ], + "x-ms-client-request-id": [ "1d3c9542-1e38-419e-8f5e-b4c3c377d656" ], "CommandName": [ "Get-AzHdInsightOnAksClusterJob" ], "FullCommandName": [ "Get-AzHdInsightOnAksClusterJob_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.HdInsightOnAks/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -193,24 +193,24 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "af30926f-6c2f-479f-b56c-530d155e5937" ], - "x-ms-request-id": [ "0db4485b-db4d-430f-9450-6cdb0f311c04" ], - "x-ms-correlation-request-id": [ "140eea69-3f7e-4a21-9a08-d6cbddfb2d59" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230915T041922Z:140eea69-3f7e-4a21-9a08-d6cbddfb2d59" ], + "mise-correlation-id": [ "ac99b2ca-e662-4f16-ad1e-1b00ea8c2b07" ], + "x-ms-request-id": [ "d66ea83f-087f-4790-b450-0d1d17aa89ca" ], + "x-ms-correlation-request-id": [ "680e96a3-0100-4288-9005-6272f5616818" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T052255Z:680e96a3-0100-4288-9005-6272f5616818" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 252E1E0DAB8D438A96FF0BD22CF85BBC Ref B: TYO201100114025 Ref C: 2023-09-15T04:19:20Z" ], - "Date": [ "Fri, 15 Sep 2023 04:19:22 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D172DB0BF3104D808BEDECAC14EEB8BB Ref B: TYO201100115007 Ref C: 2024-03-21T05:22:53Z" ], + "Date": [ "Thu, 21 Mar 2024 05:22:54 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "573" ], + "Content-Length": [ "1907" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Group/providers/Microsoft.HDInsight/clusterpools/ps-test-pool/clusters/flinkcluster/jobs/job1\",\"properties\":{\"jobType\":\"FlinkJob\",\"jobName\":\"job1\",\"jobJarDirectory\":\"abfs://flinkjob@hilosa.dfs.core.windows.net/jars\",\"jarName\":\"JarName\",\"action\":\"NEW\",\"entryClass\":\"com.microsoft.hilo.flink.job.streaming.SleepJob\",\"args\":\"\",\"flinkConfiguration\":{\"parallelism\":\"1\"},\"status\":\"JOB_LAUNCH_FAILED\",\"jobOutput\":\"Job execution failed. \\nFailed to download jar\",\"actionResult\":\"FAILED\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/cluster202432112341/jobs/job-05d-4b31-895b-a402cacd048a\",\"properties\":{\"jobType\":\"FlinkJob\",\"runId\":\"job-05d-4b31-895b-a402cacd048a\",\"jobName\":\"job1\",\"jobJarDirectory\":\"abfs://flinkjob@hilosa.dfs.core.windows.net/jars\",\"jarName\":\"JarName\",\"action\":\"NEW\",\"entryClass\":\"com.microsoft.hilo.flink.job.streaming.SleepJob\",\"args\":\"\",\"flinkConfiguration\":{\"parallelism\":\"1\"},\"status\":\"JOB_LAUNCH_FAILED\",\"jobOutput\":\"Job execution failed. \\nFailed to download jar\",\"actionResult\":\"FAILED\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/cluster202432112341/jobs/job-a31-4bfd-bf79-5a98eb4f5795\",\"properties\":{\"jobType\":\"FlinkJob\",\"runId\":\"job-a31-4bfd-bf79-5a98eb4f5795\",\"jobName\":\"job1\",\"jobJarDirectory\":\"abfs://flinkjob@hilosa.dfs.core.windows.net/jars\",\"jarName\":\"JarName\",\"action\":\"NEW\",\"entryClass\":\"com.microsoft.hilo.flink.job.streaming.SleepJob\",\"args\":\"\",\"flinkConfiguration\":{\"parallelism\":\"1\"},\"status\":\"JOB_LAUNCH_FAILED\",\"jobOutput\":\"Job execution failed. \\nFailed to download jar\",\"actionResult\":\"FAILED\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/cluster202432112341/jobs/job-e3e-4046-ac81-cebf3f2fbaf7\",\"properties\":{\"jobType\":\"FlinkJob\",\"runId\":\"job-e3e-4046-ac81-cebf3f2fbaf7\",\"jobName\":\"job1\",\"jobJarDirectory\":\"abfs://flinkjob@hilosa.dfs.core.windows.net/jars\",\"jarName\":\"JarName\",\"action\":\"NEW\",\"entryClass\":\"com.microsoft.hilo.flink.job.streaming.SleepJob\",\"args\":\"\",\"flinkConfiguration\":{\"parallelism\":\"1\"},\"status\":\"JOB_LAUNCH_FAILED\",\"jobOutput\":\"Job execution failed. \\nFailed to download jar\",\"actionResult\":\"FAILED\"}}]}", "isContentBase64": false } } diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterOperations.Recording.json b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterOperations.Recording.json index 2d6d3ae1b254..86b6572948b4 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterOperations.Recording.json +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterOperations.Recording.json @@ -1,14 +1,15 @@ { - "ClusterOperations+[NoContext]+[NoScenario]+$PUT+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool?api-version=2023-06-01-preview+1": { + "ClusterOperations+[NoContext]+[NoScenario]+$PUT+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool?api-version=2023-06-01-preview", - "Content": "{\r\n \"location\": \"West US 3\",\r\n \"properties\": {\r\n \"computeProfile\": {\r\n \"vmSize\": \"Standard_E4s_v3\"\r\n }\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview", + "Content": "{\r\n \"location\": \"West US 3\",\r\n \"properties\": {\r\n \"clusterPoolProfile\": {\r\n \"clusterPoolVersion\": \"1.1\"\r\n },\r\n \"computeProfile\": {\r\n \"vmSize\": \"Standard_E4s_v3\"\r\n }\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "123" ] + "Content-Length": [ "195" ] } }, "Response": { @@ -16,41 +17,43 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"19013dce-0000-0100-0000-65027bba0000\"" ], + "ETag": [ "\"6000b1f9-0000-0700-0000-65fb9a750000\"" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "a2952497-7b14-44ab-bdda-d3ac72cf2d86" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "d87357d6-0d78-4e30-bb27-88fcf73555fe" ], - "x-ms-correlation-request-id": [ "01f083e6-cb64-468b-b1f3-c8c2c6dce1ac" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T031922Z:01f083e6-cb64-468b-b1f3-c8c2c6dce1ac" ], + "mise-correlation-id": [ "c7db834b-11d4-4136-bede-ecfeb65080ab" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6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mqNo2f6upGq_9bP_G540nbRFR2FjsADRETBGsddXWD0JiS8wuALu6KQ23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q" ], + "x-ms-request-id": [ "470bb303-1619-42a5-aee3-321a6e6b51d1" ], + "x-ms-correlation-request-id": [ "6e0a904a-7dc2-4d3b-9bc6-335784a48fe9" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T022453Z:6e0a904a-7dc2-4d3b-9bc6-335784a48fe9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 365BD9A463424673B56CA4E7793FBC82 Ref B: TYO201100117051 Ref C: 2023-09-14T03:19:17Z" ], - "Date": [ "Thu, 14 Sep 2023 03:19:21 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9F99DAE0798F46C098A8C151F2F158A9 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:24:49Z" ], + "Date": [ "Thu, 21 Mar 2024 02:24:52 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "578" ], + "Content-Length": [ "606" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"name\":\"ps-test-cluster-pool\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"{username}\",\"createdByType\":\"User\",\"createdAt\":\"2023-09-14T03:19:18.1109237Z\",\"lastModifiedBy\":\"{username}\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-09-14T03:19:18.1109237Z\"},\"properties\":{\"computeProfile\":{\"vmSize\":\"Standard_E4s_v3\"},\"provisioningState\":\"Accepted\"}}" + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"name\":\"hilo-pool\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"v-user@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-21T02:24:50.5782608Z\",\"lastModifiedBy\":\"v-user@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-21T02:24:50.5782608Z\"},\"properties\":{\"clusterPoolProfile\":{\"clusterPoolVersion\":\"1.1\"},\"computeProfile\":{\"vmSize\":\"Standard_E4s_v3\"},\"provisioningState\":\"Accepted\"}}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+2": { + "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZP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oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=oC2XA5fomVgpcmqNo2f6upGq_9bP_G540nbRFR2FjsADRETBGsddXWD0JiS8wuALu6KQ23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTA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SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=oC2XA5fomVgpcmqNo2f6upGq_9bP_G540nbRFR2FjsADRETBGsddXWD0JiS8wuALu6KQ23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "049a4d7c-845e-4450-b55b-6685f781a00b" ], + "x-ms-client-request-id": [ "3e477c0b-0d76-4bde-a5ab-9e60c350e77e" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -60,38 +63,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"ce0224e4-0000-0100-0000-65027bba0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "x-ms-request-id": [ "4a4acfe7-5ce9-4cc7-8d8d-028f304ba8d3" ], - "x-ms-correlation-request-id": [ "e693d933-ad32-4ba0-84bd-5a680effd199" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T031953Z:e693d933-ad32-4ba0-84bd-5a680effd199" ], + "ETag": [ "\"0e00dfb7-0000-0700-0000-65fb9a740000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "696ef6ff-7586-4862-8b6c-c77207f3cf2e" ], + "x-ms-correlation-request-id": [ "153bea9d-9d80-4d8d-8649-76c86c801f96" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T022524Z:153bea9d-9d80-4d8d-8649-76c86c801f96" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 2B58466D85D34A158D0E787C16BC47E8 Ref B: TYO201100117051 Ref C: 2023-09-14T03:19:52Z" ], - "Date": [ "Thu, 14 Sep 2023 03:19:52 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 72154F9D073B4F619DE9767BA304DC1F Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:25:23Z" ], + "Date": [ "Thu, 21 Mar 2024 02:25:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "509" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:19:22.0446124Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:24:52.9218162Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+3": { + "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7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fzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO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sEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "049a4d7c-845e-4450-b55b-6685f781a00b" ], + "x-ms-client-request-id": [ "3e477c0b-0d76-4bde-a5ab-9e60c350e77e" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -101,38 +106,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"ce0224e4-0000-0100-0000-65027bba0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "x-ms-request-id": [ "d2ec9fc0-969f-4530-b489-83b025bdcbfa" ], - "x-ms-correlation-request-id": [ "02bb9398-3e1f-49be-aaf1-d00573b8b103" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032024Z:02bb9398-3e1f-49be-aaf1-d00573b8b103" ], + "ETag": [ "\"0e00dfb7-0000-0700-0000-65fb9a740000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "d41e7c8d-7d68-44ec-93ef-d68bd9e35a20" ], + "x-ms-correlation-request-id": [ "312be889-9ffe-44c6-8165-2976e0e92a7f" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T022555Z:312be889-9ffe-44c6-8165-2976e0e92a7f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E2559525B4D54850B1B92FA044B34A88 Ref B: TYO201100117051 Ref C: 2023-09-14T03:20:23Z" ], - "Date": [ "Thu, 14 Sep 2023 03:20:23 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B23A048DF5654D1896E8EB5B2DCC5233 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:25:54Z" ], + "Date": [ "Thu, 21 Mar 2024 02:25:54 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "509" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:19:22.0446124Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:24:52.9218162Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+4": { + "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCg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2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=oC2XA5fomVgpcmqNo2f6upGq_9bP_G540nbRFR2FjsADRETBGsddXWD0JiS8wuALu6KQ23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQow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TIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=oC2XA5fomVgpcmqNo2f6upGq_9bP_G540nbRFR2FjsADRETBGsddXWD0JiS8wuALu6KQ23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "049a4d7c-845e-4450-b55b-6685f781a00b" ], + "x-ms-client-request-id": [ "3e477c0b-0d76-4bde-a5ab-9e60c350e77e" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -142,38 +149,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"ce0224e4-0000-0100-0000-65027bba0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "9d1caea8-1c69-4587-99e8-72865f45fa97" ], - "x-ms-correlation-request-id": [ "60d91e91-53b9-4242-956f-f56fcf0f5f6f" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032055Z:60d91e91-53b9-4242-956f-f56fcf0f5f6f" ], + "ETag": [ "\"0e00dfb7-0000-0700-0000-65fb9a740000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "a12885c4-e2fd-4f44-8852-83b6b8eb0eef" ], + "x-ms-correlation-request-id": [ "cf38f2a9-ba45-44d4-8c2d-410340099683" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T022626Z:cf38f2a9-ba45-44d4-8c2d-410340099683" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1AF2CD79AA8644EC891C2D81B635AF21 Ref B: TYO201100117051 Ref C: 2023-09-14T03:20:54Z" ], - "Date": [ "Thu, 14 Sep 2023 03:20:54 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 1FEA72C680E0402FAF493A562E0CFC1A Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:26:25Z" ], + "Date": [ "Thu, 21 Mar 2024 02:26:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "509" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:19:22.0446124Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:24:52.9218162Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+5": { + "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u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H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=oC2XA5fomVgpcmqNo2f6upGq_9bP_G540nbRFR2FjsADRETBGsddXWD0JiS8wuALu6KQ23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRM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nY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=oC2XA5fomVgpcmqNo2f6upGq_9bP_G540nbRFR2FjsADRETBGsddXWD0JiS8wuALu6KQ23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "049a4d7c-845e-4450-b55b-6685f781a00b" ], + "x-ms-client-request-id": [ "3e477c0b-0d76-4bde-a5ab-9e60c350e77e" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -183,38 +192,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"ce0224e4-0000-0100-0000-65027bba0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], - "x-ms-request-id": [ "6e6c8f21-b309-4a13-ac55-1889a2ea4419" ], - "x-ms-correlation-request-id": [ "29f7429e-47c8-448d-872f-852f6e876299" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032126Z:29f7429e-47c8-448d-872f-852f6e876299" ], + "ETag": [ "\"0e00dfb7-0000-0700-0000-65fb9a740000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11995" ], + "x-ms-request-id": [ "e57f29ca-bf27-466f-86fc-099728a9f94f" ], + "x-ms-correlation-request-id": [ "63e30fd1-3345-4ee3-b2e5-0c084f969e8c" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T022657Z:63e30fd1-3345-4ee3-b2e5-0c084f969e8c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 023910A26A1B40ADB366862702C71310 Ref B: TYO201100117051 Ref C: 2023-09-14T03:21:25Z" ], - "Date": [ "Thu, 14 Sep 2023 03:21:25 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 702B59DE4EA040BDB75EA208DB93054B Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:26:56Z" ], + "Date": [ "Thu, 21 Mar 2024 02:26:56 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "509" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:19:22.0446124Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:24:52.9218162Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+6": { + "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBA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23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju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0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "049a4d7c-845e-4450-b55b-6685f781a00b" ], + "x-ms-client-request-id": [ "3e477c0b-0d76-4bde-a5ab-9e60c350e77e" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -224,38 +235,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"ce0224e4-0000-0100-0000-65027bba0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "b0bfb86f-3937-42d8-9fb9-550004345ff5" ], - "x-ms-correlation-request-id": [ "6df5ba3d-5a11-4f27-82ba-3f5079a60a7e" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032157Z:6df5ba3d-5a11-4f27-82ba-3f5079a60a7e" ], + "ETag": [ "\"0e00dfb7-0000-0700-0000-65fb9a740000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], + "x-ms-request-id": [ "189ffb6e-f3cb-458f-a3ea-bcac0be86c0d" ], + "x-ms-correlation-request-id": [ "7278cf0b-d869-4d02-908b-61bc5eab1412" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T022727Z:7278cf0b-d869-4d02-908b-61bc5eab1412" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E61F6FCE71984A30A2EF8323C31F9564 Ref B: TYO201100117051 Ref C: 2023-09-14T03:21:56Z" ], - "Date": [ "Thu, 14 Sep 2023 03:21:56 GMT" ] + "X-MSEdge-Ref": [ "Ref A: FC8B914C3AA9431CAD1C90D56D11FB3A Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:27:27Z" ], + "Date": [ "Thu, 21 Mar 2024 02:27:27 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "509" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:19:22.0446124Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:24:52.9218162Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+7": { + "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKj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+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQ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jBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=oC2XA5fomVgpcmqNo2f6upGq_9bP_G540nbRFR2FjsADRETBGsddXWD0JiS8wuALu6KQ23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "049a4d7c-845e-4450-b55b-6685f781a00b" ], + "x-ms-client-request-id": [ "3e477c0b-0d76-4bde-a5ab-9e60c350e77e" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -265,38 +278,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"ce0224e4-0000-0100-0000-65027bba0000\"" ], + "ETag": [ "\"0e00dfb7-0000-0700-0000-65fb9a740000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "x-ms-request-id": [ "dc8ef78f-f9b0-4ce9-8f6f-2da1c755ee7e" ], - "x-ms-correlation-request-id": [ "d94e222f-5454-428a-99e6-be77a5c0454a" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032227Z:d94e222f-5454-428a-99e6-be77a5c0454a" ], + "x-ms-request-id": [ "1a409c92-d04e-4aff-a1e2-5c475a75f5a2" ], + "x-ms-correlation-request-id": [ "f5346676-7b4c-4461-bf51-4cd3cc755ef8" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T022758Z:f5346676-7b4c-4461-bf51-4cd3cc755ef8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5DA4ABE8C7E147A9ACEBBF5F3F83C29F Ref B: TYO201100117051 Ref C: 2023-09-14T03:22:27Z" ], - "Date": [ "Thu, 14 Sep 2023 03:22:26 GMT" ] + "X-MSEdge-Ref": [ "Ref A: E030A26549314630B6E34F70B93EDC2C Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:27:58Z" ], + "Date": [ "Thu, 21 Mar 2024 02:27:57 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "509" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:19:22.0446124Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:24:52.9218162Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+8": { + "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580A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vhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=oC2XA5fomVgpcmqNo2f6upGq_9bP_G540nbRFR2FjsADRETBGsddXWD0JiS8wuALu6KQ23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0o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HSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=oC2XA5fomVgpcmqNo2f6upGq_9bP_G540nbRFR2FjsADRETBGsddXWD0JiS8wuALu6KQ23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "049a4d7c-845e-4450-b55b-6685f781a00b" ], + "x-ms-client-request-id": [ "3e477c0b-0d76-4bde-a5ab-9e60c350e77e" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -306,38 +321,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"ce0224e4-0000-0100-0000-65027bba0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "806fed54-7346-45a0-a2e0-57368977a51a" ], - "x-ms-correlation-request-id": [ "77feb26e-2c7d-4e5d-9bfa-15ec4c1ecc27" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032258Z:77feb26e-2c7d-4e5d-9bfa-15ec4c1ecc27" ], + "ETag": [ "\"0e00dfb7-0000-0700-0000-65fb9a740000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "af48d619-4f64-4006-81fa-0562c463a854" ], + "x-ms-correlation-request-id": [ "da90b695-23a2-413d-bb4d-b857721fa351" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T022829Z:da90b695-23a2-413d-bb4d-b857721fa351" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: DBEDA5B0235340E690FA2D3993D10462 Ref B: TYO201100117051 Ref C: 2023-09-14T03:22:57Z" ], - "Date": [ "Thu, 14 Sep 2023 03:22:58 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B00C8FC8C7944748BF525DD81DEEED77 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:28:28Z" ], + "Date": [ "Thu, 21 Mar 2024 02:28:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "509" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:19:22.0446124Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:24:52.9218162Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+9": { + "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2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XA5fomVgpcmqNo2f6upGq_9bP_G540nbRFR2FjsADRETBGsddXWD0JiS8wuALu6KQ23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9Say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dZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "049a4d7c-845e-4450-b55b-6685f781a00b" ], + "x-ms-client-request-id": [ "3e477c0b-0d76-4bde-a5ab-9e60c350e77e" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -347,38 +364,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"ce0224e4-0000-0100-0000-65027bba0000\"" ], + "ETag": [ "\"0e00dfb7-0000-0700-0000-65fb9a740000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "e9a7d1a4-93ac-4bb0-8b91-ba910cd44510" ], - "x-ms-correlation-request-id": [ "5615a217-528d-4b4d-bfb0-31a5f78ca722" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032329Z:5615a217-528d-4b4d-bfb0-31a5f78ca722" ], + "x-ms-request-id": [ "3c8cd32f-bc18-4cf3-bd52-6d89875cf83c" ], + "x-ms-correlation-request-id": [ "4c052042-c22d-4871-b48f-a09176a0d8b7" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T022859Z:4c052042-c22d-4871-b48f-a09176a0d8b7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5BA5F1290EB247D098566CC4D1D94B2B Ref B: TYO201100117051 Ref C: 2023-09-14T03:23:28Z" ], - "Date": [ "Thu, 14 Sep 2023 03:23:29 GMT" ] + "X-MSEdge-Ref": [ "Ref A: EC7D099714804DC0B834D57ABD3A116F Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:28:59Z" ], + "Date": [ "Thu, 21 Mar 2024 02:28:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "509" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:19:22.0446124Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:24:52.9218162Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+10": { + "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GU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WedRYdurCJKsEx_qE4Q+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEw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uZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=oC2XA5fomVgpcmqNo2f6upGq_9bP_G540nbRFR2FjsADRETBGsddXWD0JiS8wuALu6KQ23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "049a4d7c-845e-4450-b55b-6685f781a00b" ], + "x-ms-client-request-id": [ "3e477c0b-0d76-4bde-a5ab-9e60c350e77e" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -388,38 +407,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"ce0224e4-0000-0100-0000-65027bba0000\"" ], + "ETag": [ "\"0e00dfb7-0000-0700-0000-65fb9a740000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "ee6125fd-b53e-4329-be9e-3d1ce00cf72b" ], - "x-ms-correlation-request-id": [ "b3e0ce6b-ca80-4c19-a219-6a498686e6ef" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032400Z:b3e0ce6b-ca80-4c19-a219-6a498686e6ef" ], + "x-ms-request-id": [ "37d1b2a9-985f-408f-93ad-38623997a81f" ], + "x-ms-correlation-request-id": [ "7a24451b-3279-4b74-9e74-cfa9b18f67ca" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T022930Z:7a24451b-3279-4b74-9e74-cfa9b18f67ca" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: CA5F3C843F01464892F5BF82389F38AB Ref B: TYO201100117051 Ref C: 2023-09-14T03:23:59Z" ], - "Date": [ "Thu, 14 Sep 2023 03:24:00 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A34C59ABDC2E4A1FB9F7C2BB0B7C7B9A Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:29:30Z" ], + "Date": [ "Thu, 21 Mar 2024 02:29:29 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "509" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:19:22.0446124Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:24:52.9218162Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+11": { + "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d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QADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=oC2XA5fomVgpcmqNo2f6upGq_9bP_G540nbRFR2FjsADRETBGsddXWD0JiS8wuALu6KQ23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgP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uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=oC2XA5fomVgpcmqNo2f6upGq_9bP_G540nbRFR2FjsADRETBGsddXWD0JiS8wuALu6KQ23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "049a4d7c-845e-4450-b55b-6685f781a00b" ], + "x-ms-client-request-id": [ "3e477c0b-0d76-4bde-a5ab-9e60c350e77e" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -429,38 +450,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"ce0224e4-0000-0100-0000-65027bba0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "0b29ad1d-35f7-4746-8943-494fc1b88895" ], - "x-ms-correlation-request-id": [ "490f0285-849b-47af-8b7d-3fb431a34cea" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032431Z:490f0285-849b-47af-8b7d-3fb431a34cea" ], + "ETag": [ "\"0e00dfb7-0000-0700-0000-65fb9a740000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], + "x-ms-request-id": [ "da61cf6e-d73a-4a15-a86f-4ed522be539a" ], + "x-ms-correlation-request-id": [ "ba9ea552-7282-40dd-b2d5-46532a646432" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023001Z:ba9ea552-7282-40dd-b2d5-46532a646432" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: C3319EB52B444633AF123B773B8B4F8C Ref B: TYO201100117051 Ref C: 2023-09-14T03:24:30Z" ], - "Date": [ "Thu, 14 Sep 2023 03:24:31 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 45963B399D6D42BA976B8FB41FFFF56A Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:30:00Z" ], + "Date": [ "Thu, 21 Mar 2024 02:30:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "509" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:19:22.0446124Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:24:52.9218162Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+12": { + "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F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lL1A\u0026s=oC2XA5fomVgpcmqNo2f6upGq_9bP_G540nbRFR2FjsADRETBGsddXWD0JiS8wuALu6KQ23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hq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0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "049a4d7c-845e-4450-b55b-6685f781a00b" ], + "x-ms-client-request-id": [ "3e477c0b-0d76-4bde-a5ab-9e60c350e77e" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -470,38 +493,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"ce0224e4-0000-0100-0000-65027bba0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], - "x-ms-request-id": [ "ba935bd1-47a0-4583-8425-0b396ae9c476" ], - "x-ms-correlation-request-id": [ "2c27b56d-e707-4dc2-999f-f9be7e801181" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032502Z:2c27b56d-e707-4dc2-999f-f9be7e801181" ], + "ETag": [ "\"0e00dfb7-0000-0700-0000-65fb9a740000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "14702c01-5394-437f-8688-44b153f93b4e" ], + "x-ms-correlation-request-id": [ "b6f9c9a5-2006-47fb-b641-caaa082f1113" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023032Z:b6f9c9a5-2006-47fb-b641-caaa082f1113" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AAE468D9FD9D4500BD66A65C37D39C6E Ref B: TYO201100117051 Ref C: 2023-09-14T03:25:01Z" ], - "Date": [ "Thu, 14 Sep 2023 03:25:01 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 10EC8C0E1E8F491EB7043F72E66A1EB8 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:30:31Z" ], + "Date": [ "Thu, 21 Mar 2024 02:30:31 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "509" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:19:22.0446124Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:24:52.9218162Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+13": { + "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982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V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggP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yYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=oC2XA5fomVgpcmqNo2f6upGq_9bP_G540nbRFR2FjsADRETBGsddXWD0JiS8wuALu6KQ23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "049a4d7c-845e-4450-b55b-6685f781a00b" ], + "x-ms-client-request-id": [ "3e477c0b-0d76-4bde-a5ab-9e60c350e77e" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -511,38 +536,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"ce0224e4-0000-0100-0000-65027bba0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "6157f6fb-8a38-477b-b13b-bb4d65c4801a" ], - "x-ms-correlation-request-id": [ "d5f845f8-c03c-4367-b399-56cd475d811b" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032532Z:d5f845f8-c03c-4367-b399-56cd475d811b" ], + "ETag": [ "\"0e00dfb7-0000-0700-0000-65fb9a740000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "c63be1d6-31bc-41f6-9a13-289beb8bb0bb" ], + "x-ms-correlation-request-id": [ "cc30bb51-21c8-4ee1-8e85-e52d4f4c58c8" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023103Z:cc30bb51-21c8-4ee1-8e85-e52d4f4c58c8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D0B7C341DA4948A19FB29C3EAA2E34CB Ref B: TYO201100117051 Ref C: 2023-09-14T03:25:32Z" ], - "Date": [ "Thu, 14 Sep 2023 03:25:32 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 68A4D0EFA45047E5A6C351D835D79D92 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:31:02Z" ], + "Date": [ "Thu, 21 Mar 2024 02:31:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "509" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:19:22.0446124Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:24:52.9218162Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+14": { + "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb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y19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=oC2XA5fomVgpcmqNo2f6upGq_9bP_G540nbRFR2FjsADRETBGsddXWD0JiS8wuALu6KQ23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D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WYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=oC2XA5fomVgpcmqNo2f6upGq_9bP_G540nbRFR2FjsADRETBGsddXWD0JiS8wuALu6KQ23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "049a4d7c-845e-4450-b55b-6685f781a00b" ], + "x-ms-client-request-id": [ "3e477c0b-0d76-4bde-a5ab-9e60c350e77e" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -552,38 +579,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"ce0224e4-0000-0100-0000-65027bba0000\"" ], + "ETag": [ "\"0e00dfb7-0000-0700-0000-65fb9a740000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "c97cbb26-11a7-443f-9995-15ac83c1fa7a" ], - "x-ms-correlation-request-id": [ "94d853b2-3262-4aed-a255-8ce376ba7bc8" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032603Z:94d853b2-3262-4aed-a255-8ce376ba7bc8" ], + "x-ms-request-id": [ "c2c00916-379b-4139-8bba-973b60ac3f5d" ], + "x-ms-correlation-request-id": [ "97d09fc7-e807-4a5f-9cea-d4119174780c" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023133Z:97d09fc7-e807-4a5f-9cea-d4119174780c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5B481FC3E01942D8A97880C5C4213FCD Ref B: TYO201100117051 Ref C: 2023-09-14T03:26:03Z" ], - "Date": [ "Thu, 14 Sep 2023 03:26:03 GMT" ] + "X-MSEdge-Ref": [ "Ref A: BA6EEF6374A04929A4276CE99D7FA659 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:31:33Z" ], + "Date": [ "Thu, 21 Mar 2024 02:31:33 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "509" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:19:22.0446124Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:24:52.9218162Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+15": { + "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wP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fKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=oC2XA5fomVgpcmqNo2f6upGq_9bP_G540nbRFR2FjsADRETBGsddXWD0JiS8wuALu6KQ23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465846933752030\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhv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sADRETBGsddXWD0JiS8wuALu6KQ23zWZ5_yVbZp-53wv7K_nQWugIt0QkZBs8HXlKEBdZO36mXdDAPZ8eR_TpTF5kEIgSQmZysaYYfzbOtaFUCTkm2RgyJSPGK4947l0cVoxrQ5DblZsN3LmOOQbZI9PePJM_6CbtpaWBBKRjMn7qZx38yuuACnq9ACPIvL7imNDcQFdbCPsEh5347Vbm0hs6tv5LWDVtHodCNePG9-pL-iRI66ioF3-v5ZxtPd4SJaJUCrrn_YQYotzVaTOKhNR2QPln7u-V_7lXkD231MPA\u0026h=7Io8XC4lhZNVMl3u3tBE2cFLWedRYdurCJKsEx_qE4Q", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "049a4d7c-845e-4450-b55b-6685f781a00b" ], + "x-ms-client-request-id": [ "3e477c0b-0d76-4bde-a5ab-9e60c350e77e" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -593,38 +622,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"ce0224e4-0000-0100-0000-65027bba0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "b2e29bda-c8c1-4ef1-ab87-757568497706" ], - "x-ms-correlation-request-id": [ "a4f00ef5-202a-4fa2-9c45-813da20494d9" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032634Z:a4f00ef5-202a-4fa2-9c45-813da20494d9" ], + "ETag": [ "\"570118b4-0000-0300-0000-65fb9c200000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], + "x-ms-request-id": [ "df1bf740-9cea-43ed-a70a-9ce9f02deee2" ], + "x-ms-correlation-request-id": [ "5ecc29d4-db74-4c3d-8c87-092e63c645e7" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023204Z:5ecc29d4-db74-4c3d-8c87-092e63c645e7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: CAF5765378954F50AAFE9B0A095D2C81 Ref B: TYO201100117051 Ref C: 2023-09-14T03:26:33Z" ], - "Date": [ "Thu, 14 Sep 2023 03:26:34 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 943DF93CD4294D8AA0F1D262BE315674 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:32:04Z" ], + "Date": [ "Thu, 21 Mar 2024 02:32:04 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "509" ], + "Content-Length": [ "517" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:19:22.0446124Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"470bb303-1619-42a5-aee3-321a6e6b51d1*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-21T02:24:52.9218162Z\",\"properties\":null}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+16": { + "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "049a4d7c-845e-4450-b55b-6685f781a00b" ], + "x-ms-client-request-id": [ "3e477c0b-0d76-4bde-a5ab-9e60c350e77e" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -634,38 +665,41 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"ce0224e4-0000-0100-0000-65027bba0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], - "x-ms-request-id": [ "f453858b-1370-4166-b49d-950bcedcc038" ], - "x-ms-correlation-request-id": [ "dbf208f3-d4f0-43aa-82f7-b4b60b881a4f" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032705Z:dbf208f3-d4f0-43aa-82f7-b4b60b881a4f" ], + "ETag": [ "\"61004c09-0000-0700-0000-65fb9be70000\"" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-providerhub-traffic": [ "True" ], + "x-ms-request-id": [ "ddc835a9-3191-4162-a56e-9bd395887458" ], + "x-ms-correlation-request-id": [ "da6daba6-e290-408c-9a82-2dc8f1487f83" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023205Z:da6daba6-e290-408c-9a82-2dc8f1487f83" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 301870D0BF25488A8231EA3CA2798086 Ref B: TYO201100117051 Ref C: 2023-09-14T03:27:04Z" ], - "Date": [ "Thu, 14 Sep 2023 03:27:05 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 66976184545F40998432EF811B14F403 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:32:04Z" ], + "Date": [ "Thu, 21 Mar 2024 02:32:04 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "509" ], + "Content-Length": [ "1445" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:19:22.0446124Z\"}" + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"name\":\"hilo-pool\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"v-user@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-21T02:24:50.5782608Z\",\"lastModifiedBy\":\"v-user@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-21T02:24:50.5782608Z\"},\"properties\":{\"clusterPoolProfile\":{\"clusterPoolVersion\":\"1.1\"},\"managedResourceGroupName\":\"hdi-6204631230da4557a687df0d8a1a0891\",\"aksManagedResourceGroupName\":\"MC_hdi-6204631230da4557a687df0d8a1a0891_hilo-pool_westus3\",\"aksClusterProfile\":{\"aksVersion\":\"1.27.7\",\"aksClusterResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-6204631230da4557a687df0d8a1a0891/providers/Microsoft.ContainerService/managedClusters/hilo-pool\",\"aksClusterAgentPoolIdentityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-6204631230da4557a687df0d8a1a0891_hilo-pool_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hilo-pool-agentpool\",\"msiClientId\":\"17c25e14-c9d1-46d4-a729-cc2888a8cd78\",\"msiObjectId\":\"75223519-e1f2-44bf-8ae7-ec1d4427137f\"}},\"computeProfile\":{\"vmSize\":\"Standard_E4s_v3\",\"count\":3},\"deploymentId\":\"6204631230da4557a687df0d8a1a0891\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+17": { + "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableClusterVersions?api-version=2023-11-01-preview+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West%20US%203/availableClusterVersions?api-version=2023-11-01-preview", "Content": null, + "isContentBase64": false, "Headers": { - "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "049a4d7c-845e-4450-b55b-6685f781a00b" ], - "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], - "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], + "x-ms-client-request-id": [ "5700c23c-7620-46d7-90cf-fc730a49412c" ], + "CommandName": [ "Get-AzHdInsightOnAksAvailableClusterVersion" ], + "FullCommandName": [ "Get-AzHdInsightOnAksAvailableClusterVersion_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ], + "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { } @@ -675,40 +709,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"ce023cea-0000-0100-0000-65027da10000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "x-ms-request-id": [ "6529dad6-f6c5-439b-8418-517c8acc4487" ], - "x-ms-correlation-request-id": [ "15f27999-ec44-450a-8baa-2ec0432323ba" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032736Z:15f27999-ec44-450a-8baa-2ec0432323ba" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-providerhub-traffic": [ "True" ], + "mise-correlation-id": [ "a1b2791a-9f0b-4f27-9d5b-31ab4dba15f5" ], + "x-ms-request-id": [ "d9c8ac47-58c0-4ac6-a574-7b344cb8ec63" ], + "x-ms-correlation-request-id": [ "0cffc8c0-2cd6-4654-8c9f-63cfeefebedc" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023206Z:0cffc8c0-2cd6-4654-8c9f-63cfeefebedc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 19F33B28AAAA4D38B78E076D04B27AD3 Ref B: TYO201100117051 Ref C: 2023-09-14T03:27:35Z" ], - "Date": [ "Thu, 14 Sep 2023 03:27:35 GMT" ] + "X-MSEdge-Ref": [ "Ref A: FAFD210BB9E842A8AEFE42CB7A2A398F Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:32:05Z" ], + "Date": [ "Thu, 21 Mar 2024 02:32:05 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "528" ], + "Content-Length": [ "6360" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"d87357d6-0d78-4e30-bb27-88fcf73555fe*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Succeeded\",\"startTime\":\"2023-09-14T03:19:22.0446124Z\",\"properties\":null}" + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/flink_1.16.0-1.0.6\",\"name\":\"flink_1.16.0-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"1.16.0\",\"clusterType\":\"Flink\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Flink\",\"version\":\"1.16.0\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/flink_1.17.0-1.1.0\",\"name\":\"flink_1.17.0-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"1.17.0\",\"clusterType\":\"Flink\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Flink\",\"version\":\"1.17.0\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/flink_1.17.0-1.1.1\",\"name\":\"flink_1.17.0-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"1.17.0\",\"clusterType\":\"Flink\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Flink\",\"version\":\"1.17.0\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/kafka_3.6.0-1.1.1\",\"name\":\"kafka_3.6.0-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"3.6.0\",\"clusterType\":\"Kafka\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Kafka\",\"version\":\"3.6.0\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/ranger_2.3.0-1.1.0\",\"name\":\"ranger_2.3.0-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"2.3.0\",\"clusterType\":\"Ranger\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/ranger_2.3.0-1.1.1\",\"name\":\"ranger_2.3.0-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"2.3.0\",\"clusterType\":\"Ranger\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/spark_3.3.1-1.0.6\",\"name\":\"spark_3.3.1-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"3.3.1\",\"clusterType\":\"Spark\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.1\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.6.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/spark_3.3.1-1.1.0\",\"name\":\"spark_3.3.1-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"3.3.1\",\"clusterType\":\"Spark\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.1\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.6.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/spark_3.3.1-1.1.1\",\"name\":\"spark_3.3.1-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"3.3.1\",\"clusterType\":\"Spark\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.4\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.8.3\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.1-1.0.0\",\"name\":\"stub_2.4.1-1.0.0\",\"properties\":{\"clusterVersion\":\"1.0.0\",\"ossVersion\":\"2.4.1\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.1\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.1-1.0.1\",\"name\":\"stub_2.4.1-1.0.1\",\"properties\":{\"clusterVersion\":\"1.0.1\",\"ossVersion\":\"2.4.1\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.1\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.2-1.0.0\",\"name\":\"stub_2.4.2-1.0.0\",\"properties\":{\"clusterVersion\":\"1.0.0\",\"ossVersion\":\"2.4.2\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.3-1.1.0\",\"name\":\"stub_2.4.3-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"2.4.3\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.3\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/trino_0.426.0-1.1.0\",\"name\":\"trino_0.426.0-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"0.426.0\",\"clusterType\":\"Trino\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Trino\",\"version\":\"426\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/trino_0.410.0-1.0.6\",\"name\":\"trino_0.410.0-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"0.410.0\",\"clusterType\":\"Trino\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Trino\",\"version\":\"410\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/trino_0.426.0-1.1.1\",\"name\":\"trino_0.426.0-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"0.426.0\",\"clusterType\":\"Trino\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Trino\",\"version\":\"426\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}]}}]}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool?api-version=2023-06-01-preview+18": { + "ClusterOperations+[NoContext]+Get AzHdInsightOnAksLocationNameAvailability+$POST+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/checkNameAvailability?api-version=2023-11-01-preview+1": { "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool?api-version=2023-06-01-preview", - "Content": null, + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West%20US%203/checkNameAvailability?api-version=2023-11-01-preview", + "Content": "{\r\n \"name\": \"hilo-pool/testpsoperations\",\r\n \"type\": \"Microsoft.HDInsight/clusterPools/clusters\"\r\n}", + "isContentBase64": false, "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "049a4d7c-845e-4450-b55b-6685f781a00b" ], - "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], - "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "100" ] } }, "Response": { @@ -716,78 +748,84 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"190176d2-0000-0100-0000-65027d8a0000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "242f21ca-f788-4e20-914e-15c50b6ad1c2" ], - "x-ms-correlation-request-id": [ "11766229-a7e0-4579-9aaf-51bdd750f0cc" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032737Z:11766229-a7e0-4579-9aaf-51bdd750f0cc" ], + "mise-correlation-id": [ "0c49ab94-c626-4592-baf2-7ad1b5c978d9" ], + "x-ms-request-id": [ "c9f032c8-f5f9-4780-9881-fe41a780e013" ], + "x-ms-correlation-request-id": [ "f2f6b5c6-2874-4520-8d1a-ba89ef21bc20" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023206Z:f2f6b5c6-2874-4520-8d1a-ba89ef21bc20" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: B7F741F49F864EA28D8FF457812686AD Ref B: TYO201100117051 Ref C: 2023-09-14T03:27:36Z" ], - "Date": [ "Thu, 14 Sep 2023 03:27:37 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 3AA018DA22DE447FA6F7036D4E415F29 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:32:06Z" ], + "Date": [ "Thu, 21 Mar 2024 02:32:05 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1459" ], + "Content-Length": [ "22" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"name\":\"ps-test-cluster-pool\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"{username}\",\"createdByType\":\"User\",\"createdAt\":\"2023-09-14T03:19:18.1109237Z\",\"lastModifiedBy\":\"{username}\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-09-14T03:19:18.1109237Z\"},\"properties\":{\"managedResourceGroupName\":\"hdi-c107f79fdfe444efad0ecbc688903c48\",\"aksManagedResourceGroupName\":\"MC_hdi-c107f79fdfe444efad0ecbc688903c48_ps-test-cluster-pool_westus3\",\"aksClusterProfile\":{\"aksVersion\":\"1.26\",\"aksClusterResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-c107f79fdfe444efad0ecbc688903c48/providers/Microsoft.ContainerService/managedClusters/ps-test-cluster-pool\",\"aksClusterAgentPoolIdentityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-c107f79fdfe444efad0ecbc688903c48_ps-test-cluster-pool_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ps-test-cluster-pool-agentpool\",\"msiClientId\":\"d95adfa8-d3ee-44af-8863-2ae0b5203a29\",\"msiObjectId\":\"f76270ec-fd63-4c80-94e3-e1c192f64c50\"}},\"computeProfile\":{\"vmSize\":\"Standard_E4s_v3\",\"count\":3},\"deploymentId\":\"c107f79fdfe444efad0ecbc688903c48\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}" + "Content": "{\"nameAvailable\":true}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableClusterVersions?api-version=2023-06-01-preview+19": { + "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$PUT+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations?api-version=2023-11-01-preview+1": { "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West%20US%203/availableClusterVersions?api-version=2023-06-01-preview", - "Content": null, + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations?api-version=2023-11-01-preview", + "Content": "{\r\n \"location\": \"West US 3\",\r\n \"properties\": {\r\n \"computeProfile\": {\r\n \"nodes\": [\r\n {\r\n \"type\": \"Worker\",\r\n \"vmSize\": \"Standard_D16a_v4\",\r\n \"count\": 3\r\n }\r\n ]\r\n },\r\n \"clusterProfile\": {\r\n \"identityProfile\": {\r\n \"msiResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\r\n \"msiClientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"msiObjectId\": \"00000000-0000-0000-0000-000000000000\"\r\n },\r\n \"authorizationProfile\": {\r\n \"userIds\": [ \"00000000-0000-0000-0000-000000000000\" ]\r\n },\r\n \"sparkProfile\": {\r\n \"defaultStorageUrl\": \"abfs://pscontainer2@hilostorage.dfs.core.windows.net\"\r\n },\r\n \"clusterVersion\": \"1.1.0\",\r\n \"ossVersion\": \"3.3.1\"\r\n },\r\n \"clusterType\": \"Spark\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "dd05e0b5-27ea-4a42-8490-fd286554b0f4" ], - "CommandName": [ "Get-AzHdInsightOnAksAvailableClusterVersion" ], - "FullCommandName": [ "Get-AzHdInsightOnAksAvailableClusterVersion_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "932" ] } }, "Response": { - "StatusCode": 200, + "StatusCode": 201, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "ETag": [ "\"08002131-0000-0700-0000-65fb9c2a0000\"" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "fd46df17-667f-45fd-acc7-981c8e0693bf" ], - "x-ms-request-id": [ "3bca1998-607e-4371-bc06-cf0aa608b49f" ], - "x-ms-correlation-request-id": [ "6581fdcb-78a5-4dd3-a164-a30344bd3440" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032738Z:6581fdcb-78a5-4dd3-a164-a30344bd3440" ], + "mise-correlation-id": [ "82f63f85-bc80-42f7-b3f0-38ec1024a715" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQ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VVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0" ], + "x-ms-request-id": [ "8f4aeec9-1176-4498-9f9c-0d241abd0561" ], + "x-ms-correlation-request-id": [ "ba1f32bf-105c-4f77-b25b-45a5720c4d40" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023210Z:ba1f32bf-105c-4f77-b25b-45a5720c4d40" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A8BF7CA28F014FB0BDB236CB528E0AAF Ref B: TYO201100117051 Ref C: 2023-09-14T03:27:37Z" ], - "Date": [ "Thu, 14 Sep 2023 03:27:38 GMT" ] + "X-MSEdge-Ref": [ "Ref A: AB1FEB27DB054C8D904924AF4C97B1C8 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:32:07Z" ], + "Date": [ "Thu, 21 Mar 2024 02:32:09 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2762" ], + "Content-Length": [ "1194" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/flink_1.16.0-1.0.6\",\"name\":\"flink_1.16.0-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"1.16.0\",\"clusterType\":\"Flink\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Flink\",\"version\":\"1.16.0\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/spark_3.3.1-1.0.6\",\"name\":\"spark_3.3.1-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"3.3.1\",\"clusterType\":\"Spark\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.1\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.6.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.1-1.0.0\",\"name\":\"stub_2.4.1-1.0.0\",\"properties\":{\"clusterVersion\":\"1.0.0\",\"ossVersion\":\"2.4.1\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.1\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.1-1.0.1\",\"name\":\"stub_2.4.1-1.0.1\",\"properties\":{\"clusterVersion\":\"1.0.1\",\"ossVersion\":\"2.4.1\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.1\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.2-1.0.0\",\"name\":\"stub_2.4.2-1.0.0\",\"properties\":{\"clusterVersion\":\"1.0.0\",\"ossVersion\":\"2.4.2\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.3-1.1.0\",\"name\":\"stub_2.4.3-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"2.4.3\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.3\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/trino_0.410.0-1.0.6\",\"name\":\"trino_0.410.0-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"0.410.0\",\"clusterType\":\"Trino\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Trino\",\"version\":\"410\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}]}}]}" + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"name\":\"testpsoperations\",\"type\":\"microsoft.hdinsight/clusterpools/clusters\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"v-user@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-21T02:32:08.2913711Z\",\"lastModifiedBy\":\"v-user@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-21T02:32:08.2913711Z\"},\"properties\":{\"computeProfile\":{\"nodes\":[{\"type\":\"Worker\",\"vmSize\":\"Standard_D16a_v4\",\"count\":3}]},\"clusterProfile\":{\"identityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\"msiClientId\":\"00000000-0000-0000-0000-000000000000\",\"msiObjectId\":\"00000000-0000-0000-0000-000000000000\"},\"authorizationProfile\":{\"userIds\":[\"00000000-0000-0000-0000-000000000000\"]},\"sparkProfile\":{\"defaultStorageUrl\":\"abfs://pscontainer2@hilostorage.dfs.core.windows.net\"},\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"3.3.1\"},\"clusterType\":\"Spark\",\"provisioningState\":\"Accepted\"}}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Get AzHdInsightOnAksLocationNameAvailability+$POST+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/checkNameAvailability?api-version=2023-06-01-preview+1": { + "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKO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uGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0+2": { "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West%20US%203/checkNameAvailability?api-version=2023-06-01-preview", - "Content": "{\r\n \"name\": \"ps-test-cluster-pool/testpsoperations\",\r\n \"type\": \"Microsoft.HDInsight/clusterPools/clusters\"\r\n}", + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYG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JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0", + "Content": null, + "isContentBase64": false, "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "d6017c3f-5a63-4320-a87d-92c678ed573b" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "111" ] } }, "Response": { @@ -795,78 +833,83 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "ff7c87eb-b616-4e05-91fb-e656c5f0d713" ], - "x-ms-request-id": [ "dd0ed444-8d57-436d-82be-6bfb7dbc29ec" ], - "x-ms-correlation-request-id": [ "991f3e74-5631-4973-aff4-040d5277f6d6" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032739Z:991f3e74-5631-4973-aff4-040d5277f6d6" ], + "ETag": [ "\"0e0008bb-0000-0700-0000-65fb9c2a0000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], + "x-ms-request-id": [ "07cccbeb-2719-4b42-8cc3-31540b1fd22d" ], + "x-ms-correlation-request-id": [ "26e05809-7cdf-4884-aa76-a43918ba447d" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023242Z:26e05809-7cdf-4884-aa76-a43918ba447d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7E63837CCEF7435BBDA6F12E9803D2C2 Ref B: TYO201100117051 Ref C: 2023-09-14T03:27:38Z" ], - "Date": [ "Thu, 14 Sep 2023 03:27:38 GMT" ] + "X-MSEdge-Ref": [ "Ref A: AE57952005E54DC6B06308449A14951B Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:32:41Z" ], + "Date": [ "Thu, 21 Mar 2024 02:32:41 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "22" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"nameAvailable\":true}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:32:10.4359964Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$PUT+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations?api-version=2023-06-01-preview+1": { + "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationSt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AQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gkssrgOpDV7yHlfouyCIb5SIJqWaNblwVVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0+3": { "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations?api-version=2023-06-01-preview", - "Content": "{\r\n \"location\": \"West US 3\",\r\n \"properties\": {\r\n \"computeProfile\": {\r\n \"nodes\": [\r\n {\r\n \"type\": \"Worker\",\r\n \"vmSize\": \"Standard_D8d_v5\",\r\n \"count\": 3\r\n }\r\n ]\r\n },\r\n \"clusterProfile\": {\r\n \"identityProfile\": {\r\n \"msiResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\r\n \"msiClientId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"msiObjectId\": \"00000000-0000-0000-0000-000000000000\"\r\n },\r\n \"authorizationProfile\": {\r\n \"userIds\": [ \"00000000-0000-0000-0000-000000000000\" ]\r\n },\r\n \"clusterVersion\": \"1.0.6\",\r\n \"ossVersion\": \"0.410.0\"\r\n },\r\n \"clusterType\": \"Trino\"\r\n }\r\n}", + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzD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FKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0", + "Content": null, + "isContentBase64": false, "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "d6017c3f-5a63-4320-a87d-92c678ed573b" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "807" ] } }, "Response": { - "StatusCode": 201, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"eb010022-0000-0100-0000-65027db20000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "ea0cb7e4-3bf7-457c-8f2b-edb40352d943" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "4df63ef5-2d56-4ee9-8130-49854830f4f6" ], - "x-ms-correlation-request-id": [ "167a0d00-8434-450b-999c-013f55f51f68" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032746Z:167a0d00-8434-450b-999c-013f55f51f68" ], + "ETag": [ "\"0e0008bb-0000-0700-0000-65fb9c2a0000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11995" ], + "x-ms-request-id": [ "9b9a4bf6-eab1-44df-9c5c-3488a300a8ff" ], + "x-ms-correlation-request-id": [ "adeaf7f5-cae7-42ad-9bec-0c460ffd66b2" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023312Z:adeaf7f5-cae7-42ad-9bec-0c460ffd66b2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1357624FC546428CB542EB2BAABFDAF2 Ref B: TYO201100117051 Ref C: 2023-09-14T03:27:39Z" ], - "Date": [ "Thu, 14 Sep 2023 03:27:46 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 4953248CC9EC40BB9D24D01A01B574B2 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:33:12Z" ], + "Date": [ "Thu, 21 Mar 2024 02:33:11 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1108" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"name\":\"testpsoperations\",\"type\":\"microsoft.hdinsight/clusterpools/clusters\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"{username}\",\"createdByType\":\"User\",\"createdAt\":\"2023-09-14T03:27:40.5239699Z\",\"lastModifiedBy\":\"{username}\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-09-14T03:27:40.5239699Z\"},\"properties\":{\"computeProfile\":{\"nodes\":[{\"type\":\"Worker\",\"vmSize\":\"Standard_D8d_v5\",\"count\":3}]},\"clusterProfile\":{\"identityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\"msiClientId\":\"00000000-0000-0000-0000-000000000000\",\"msiObjectId\":\"00000000-0000-0000-0000-000000000000\"},\"authorizationProfile\":{\"userIds\":[\"00000000-0000-0000-0000-000000000000\"]},\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"0.410.0\"},\"clusterType\":\"Trino\",\"provisioningState\":\"Accepted\"}}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:32:10.4359964Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+2": { + "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wP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fKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gkssrgOpDV7yHlfouyCIb5SIJqWaNblwVVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmN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5SIJqWaNblwVVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "6e168cf7-abee-4160-b32b-379d73364062" ], + "x-ms-client-request-id": [ "d6017c3f-5a63-4320-a87d-92c678ed573b" ], "CommandName": [ "New-AzHdInsightOnAksCluster" ], "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -876,38 +919,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b001ea9-0000-0100-0000-65027db10000\"" ], + "ETag": [ "\"0e0008bb-0000-0700-0000-65fb9c2a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "0bac16f7-f838-49dc-b5e1-8377c1d2978a" ], - "x-ms-correlation-request-id": [ "df68b923-81f8-4727-a815-305b57d78bcb" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032817Z:df68b923-81f8-4727-a815-305b57d78bcb" ], + "x-ms-request-id": [ "40a7588e-ea36-427a-900d-ed7e64787280" ], + "x-ms-correlation-request-id": [ "c95043cc-61e1-4c0f-b256-da832630a21c" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023343Z:c95043cc-61e1-4c0f-b256-da832630a21c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F2EA6498F5CD4E7F80F1638503069883 Ref B: TYO201100117051 Ref C: 2023-09-14T03:28:16Z" ], - "Date": [ "Thu, 14 Sep 2023 03:28:17 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 95C648D7DEB74D13B0B1FC68330A9FC3 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:33:43Z" ], + "Date": [ "Thu, 21 Mar 2024 02:33:42 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "534" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:27:45.991083Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:32:10.4359964Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+3": { + "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V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nfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVW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XejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "23" ], - "x-ms-client-request-id": [ "6e168cf7-abee-4160-b32b-379d73364062" ], + "x-ms-client-request-id": [ "d6017c3f-5a63-4320-a87d-92c678ed573b" ], "CommandName": [ "New-AzHdInsightOnAksCluster" ], "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -917,38 +962,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b001ea9-0000-0100-0000-65027db10000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11995" ], - "x-ms-request-id": [ "68516f5e-43fc-42d8-bffc-6c673b783836" ], - "x-ms-correlation-request-id": [ "e9e418eb-35ce-4b06-8fec-0b064c7685cd" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032848Z:e9e418eb-35ce-4b06-8fec-0b064c7685cd" ], + "ETag": [ "\"0e0008bb-0000-0700-0000-65fb9c2a0000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "d664bb52-5fcf-4d7a-8714-38279bff9bdd" ], + "x-ms-correlation-request-id": [ "49fefdb1-a0bf-482b-915c-3a4081cdf7e0" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023414Z:49fefdb1-a0bf-482b-915c-3a4081cdf7e0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 929EE4EC01774C1EA0F5E34478BD5E6A Ref B: TYO201100117051 Ref C: 2023-09-14T03:28:47Z" ], - "Date": [ "Thu, 14 Sep 2023 03:28:48 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 8F655718C1E74A52B90898712E771F36 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:34:13Z" ], + "Date": [ "Thu, 21 Mar 2024 02:34:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "534" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:27:45.991083Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:32:10.4359964Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+4": { + "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwI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UlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gkssrgOpDV7yHlfouyCIb5SIJqWaNblwVVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAW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yMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gkssrgOpDV7yHlfouyCIb5SIJqWaNblwVVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "6e168cf7-abee-4160-b32b-379d73364062" ], + "x-ms-client-request-id": [ "d6017c3f-5a63-4320-a87d-92c678ed573b" ], "CommandName": [ "New-AzHdInsightOnAksCluster" ], "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -958,38 +1005,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b001ea9-0000-0100-0000-65027db10000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "64d5ddab-fa83-4477-bce1-e34e5ad3aa50" ], - "x-ms-correlation-request-id": [ "a81c9260-1e9e-4e83-b44e-b77dd1ec8dbb" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032919Z:a81c9260-1e9e-4e83-b44e-b77dd1ec8dbb" ], + "ETag": [ "\"0e0008bb-0000-0700-0000-65fb9c2a0000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], + "x-ms-request-id": [ "6eb8a70e-8967-41bd-93b5-9fdd182e2737" ], + "x-ms-correlation-request-id": [ "bc82ab00-3eeb-4ab8-a9ed-70c574c47424" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023445Z:bc82ab00-3eeb-4ab8-a9ed-70c574c47424" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 0B1C0616E9E54AA39B0FC3BBC1F4E054 Ref B: TYO201100117051 Ref C: 2023-09-14T03:29:18Z" ], - "Date": [ "Thu, 14 Sep 2023 03:29:18 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 5D13DFBEE65E4141823F93B925A846B9 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:34:44Z" ], + "Date": [ "Thu, 21 Mar 2024 02:34:45 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "534" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:27:45.991083Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:32:10.4359964Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+5": { + "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0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hvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gkssrgOpDV7yHlfouyCIb5SIJqWaNblwVVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671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q9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gkssrgOpDV7yHlfouyCIb5SIJqWaNblwVVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "25" ], - "x-ms-client-request-id": [ "6e168cf7-abee-4160-b32b-379d73364062" ], + "x-ms-client-request-id": [ "d6017c3f-5a63-4320-a87d-92c678ed573b" ], "CommandName": [ "New-AzHdInsightOnAksCluster" ], "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -999,38 +1048,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b001ea9-0000-0100-0000-65027db10000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "a01a307a-1329-4d93-94c8-f591baf4cec3" ], - "x-ms-correlation-request-id": [ "dbdfaded-e36c-4672-b76d-6bd987eb172e" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T032950Z:dbdfaded-e36c-4672-b76d-6bd987eb172e" ], + "ETag": [ "\"0e0008bb-0000-0700-0000-65fb9c2a0000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], + "x-ms-request-id": [ "0c057c0c-3060-4336-a626-1e9f96874f58" ], + "x-ms-correlation-request-id": [ "98d2d03b-375e-4623-9ebb-c1a88079fb7b" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023516Z:98d2d03b-375e-4623-9ebb-c1a88079fb7b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 9CB160B0CBE14DA1ABDF5A2FB2156A28 Ref B: TYO201100117051 Ref C: 2023-09-14T03:29:49Z" ], - "Date": [ "Thu, 14 Sep 2023 03:29:49 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 92F6A5AE7FCA4E7CB33ED9E7864E6ADC Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:35:15Z" ], + "Date": [ "Thu, 21 Mar 2024 02:35:16 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "534" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:27:45.991083Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:32:10.4359964Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+6": { + "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ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LYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gkssrgOpDV7yHlfouyCIb5SIJqWaNblwVVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJh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y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gkssrgOpDV7yHlfouyCIb5SIJqWaNblwVVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "6e168cf7-abee-4160-b32b-379d73364062" ], + "x-ms-client-request-id": [ "d6017c3f-5a63-4320-a87d-92c678ed573b" ], "CommandName": [ "New-AzHdInsightOnAksCluster" ], "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1040,38 +1091,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b001ea9-0000-0100-0000-65027db10000\"" ], + "ETag": [ "\"0e0008bb-0000-0700-0000-65fb9c2a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "x-ms-request-id": [ "ec68e285-d724-48a6-9980-7a6de10a9f5d" ], - "x-ms-correlation-request-id": [ "e2f485a4-1b3f-4bd0-ab3e-e6fbe0c22cfe" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033020Z:e2f485a4-1b3f-4bd0-ab3e-e6fbe0c22cfe" ], + "x-ms-request-id": [ "8c744519-e52d-4bf9-8c47-46353dc40a8f" ], + "x-ms-correlation-request-id": [ "31fa8bc3-a742-4a8c-9131-a7a70ba401be" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023546Z:31fa8bc3-a742-4a8c-9131-a7a70ba401be" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F99CDCFFF44F4138B2F18DACBB0539CF Ref B: TYO201100117051 Ref C: 2023-09-14T03:30:20Z" ], - "Date": [ "Thu, 14 Sep 2023 03:30:20 GMT" ] + "X-MSEdge-Ref": [ "Ref A: E7C7109FC1C74C909726DB10B543F630 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:35:46Z" ], + "Date": [ "Thu, 21 Mar 2024 02:35:46 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "534" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:27:45.991083Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:32:10.4359964Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+7": { + "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5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x7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6i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g1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "6e168cf7-abee-4160-b32b-379d73364062" ], + "x-ms-client-request-id": [ "d6017c3f-5a63-4320-a87d-92c678ed573b" ], "CommandName": [ "New-AzHdInsightOnAksCluster" ], "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1081,38 +1134,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b001ea9-0000-0100-0000-65027db10000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "61b9c335-7697-4e14-8b5f-d84740feb028" ], - "x-ms-correlation-request-id": [ "88d2bdb6-a876-4577-b1de-ba0995c11a06" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033051Z:88d2bdb6-a876-4577-b1de-ba0995c11a06" ], + "ETag": [ "\"0e0008bb-0000-0700-0000-65fb9c2a0000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11995" ], + "x-ms-request-id": [ "4ef9ee7c-f06e-4779-9c92-1b59fba9e8b1" ], + "x-ms-correlation-request-id": [ "11391c19-446f-42e0-b22b-6c5db2dee106" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023617Z:11391c19-446f-42e0-b22b-6c5db2dee106" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 3D5BA9CA6717439FBFC19CEF7B71346D Ref B: TYO201100117051 Ref C: 2023-09-14T03:30:50Z" ], - "Date": [ "Thu, 14 Sep 2023 03:30:51 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 06E061900C93415FAF174EE620D81B3D Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:36:17Z" ], + "Date": [ "Thu, 21 Mar 2024 02:36:17 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "534" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:27:45.991083Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:32:10.4359964Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+8": { + "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaq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": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAw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UUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gkssrgOpDV7yHlfouyCIb5SIJqWaNblwVVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "28" ], - "x-ms-client-request-id": [ "6e168cf7-abee-4160-b32b-379d73364062" ], + "x-ms-client-request-id": [ "d6017c3f-5a63-4320-a87d-92c678ed573b" ], "CommandName": [ "New-AzHdInsightOnAksCluster" ], "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1122,38 +1177,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b001ea9-0000-0100-0000-65027db10000\"" ], + "ETag": [ "\"0e0008bb-0000-0700-0000-65fb9c2a0000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "x-ms-request-id": [ "f251787f-e997-49dd-b5e5-4ae48a80c657" ], - "x-ms-correlation-request-id": [ "5b3be1aa-3b1d-4a1a-a9c9-4aa22ed10db7" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033122Z:5b3be1aa-3b1d-4a1a-a9c9-4aa22ed10db7" ], + "x-ms-request-id": [ "53385898-0a5a-446b-ab16-b109c548cd6a" ], + "x-ms-correlation-request-id": [ "cddd8e30-8654-4b48-836e-3477a8906ed8" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023648Z:cddd8e30-8654-4b48-836e-3477a8906ed8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 0CE3A8FF29994C54A3BF8BFD54B69A20 Ref B: TYO201100117051 Ref C: 2023-09-14T03:31:21Z" ], - "Date": [ "Thu, 14 Sep 2023 03:31:22 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A32D3F47A7444BA393639EEE61865AFB Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:36:48Z" ], + "Date": [ "Thu, 21 Mar 2024 02:36:48 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "534" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:27:45.991083Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:32:10.4359964Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+9": { + "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEt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UBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gkssrgOpDV7yHlfouyCIb5SIJqWaNblwVVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2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U1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gkssrgOpDV7yHlfouyCIb5SIJqWaNblwVVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "29" ], - "x-ms-client-request-id": [ "6e168cf7-abee-4160-b32b-379d73364062" ], + "x-ms-client-request-id": [ "d6017c3f-5a63-4320-a87d-92c678ed573b" ], "CommandName": [ "New-AzHdInsightOnAksCluster" ], "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1163,38 +1220,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b001ea9-0000-0100-0000-65027db10000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11995" ], - "x-ms-request-id": [ "55c07225-9283-47c9-a4d2-85b26f180264" ], - "x-ms-correlation-request-id": [ "002f58b9-e82e-4852-8f69-9571152638a7" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033153Z:002f58b9-e82e-4852-8f69-9571152638a7" ], + "ETag": [ "\"0e0008bb-0000-0700-0000-65fb9c2a0000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], + "x-ms-request-id": [ "9f6c1e66-4041-4f44-ae30-a55b7951323d" ], + "x-ms-correlation-request-id": [ "4d06f757-1fec-46e5-8946-0053813d365d" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023719Z:4d06f757-1fec-46e5-8946-0053813d365d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 9E4FFAD8A72B45AAB7DBD696C8A7E751 Ref B: TYO201100117051 Ref C: 2023-09-14T03:31:52Z" ], - "Date": [ "Thu, 14 Sep 2023 03:31:52 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 5AE7EDD7D4324D9EA362D6AB4E2F6DD7 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:37:18Z" ], + "Date": [ "Thu, 21 Mar 2024 02:37:19 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "534" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:27:45.991083Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:32:10.4359964Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+10": { + "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwF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9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gkssrgOpDV7yHlfouyCIb5SIJqWaNblwVVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT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w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gkssrgOpDV7yHlfouyCIb5SIJqWaNblwVVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "6e168cf7-abee-4160-b32b-379d73364062" ], + "x-ms-client-request-id": [ "d6017c3f-5a63-4320-a87d-92c678ed573b" ], "CommandName": [ "New-AzHdInsightOnAksCluster" ], "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1204,38 +1263,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b001ea9-0000-0100-0000-65027db10000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], - "x-ms-request-id": [ "aaa485d0-7fe7-4d40-98aa-262cfa46b139" ], - "x-ms-correlation-request-id": [ "2b3ae32a-31af-4c94-a559-a1381eb2d911" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033224Z:2b3ae32a-31af-4c94-a559-a1381eb2d911" ], + "ETag": [ "\"0e0008bb-0000-0700-0000-65fb9c2a0000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], + "x-ms-request-id": [ "d724d1a3-0310-423b-a980-61aea139abfb" ], + "x-ms-correlation-request-id": [ "147eee4f-eb92-4eab-b4e2-ad3fc9ea728f" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023750Z:147eee4f-eb92-4eab-b4e2-ad3fc9ea728f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5527361B1A6C4B1490183C8A246D624D Ref B: TYO201100117051 Ref C: 2023-09-14T03:32:23Z" ], - "Date": [ "Thu, 14 Sep 2023 03:32:23 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 1718001D64274A0A9CCD7EF9EEBB01D3 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:37:49Z" ], + "Date": [ "Thu, 21 Mar 2024 02:37:50 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "534" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:27:45.991083Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:32:10.4359964Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+11": { + "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFN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SDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0i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CzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "31" ], - "x-ms-client-request-id": [ "6e168cf7-abee-4160-b32b-379d73364062" ], + "x-ms-client-request-id": [ "d6017c3f-5a63-4320-a87d-92c678ed573b" ], "CommandName": [ "New-AzHdInsightOnAksCluster" ], "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1245,38 +1306,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b001ea9-0000-0100-0000-65027db10000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "1f820d93-02f0-467a-8db5-db638216b130" ], - "x-ms-correlation-request-id": [ "82f546c8-d477-420b-afc6-122d1909f5f1" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033254Z:82f546c8-d477-420b-afc6-122d1909f5f1" ], + "ETag": [ "\"0e0008bb-0000-0700-0000-65fb9c2a0000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11994" ], + "x-ms-request-id": [ "073a7ee3-3e15-46a4-a8c9-edb740492ca2" ], + "x-ms-correlation-request-id": [ "c75a9c5c-269e-462a-81b7-5d1456de2d23" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023821Z:c75a9c5c-269e-462a-81b7-5d1456de2d23" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 24AE956C48A24DB49B6ED481B8A1FFCE Ref B: TYO201100117051 Ref C: 2023-09-14T03:32:54Z" ], - "Date": [ "Thu, 14 Sep 2023 03:32:54 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 2EE100CB64824FB0A198FEE6F7D43B63 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:38:20Z" ], + "Date": [ "Thu, 21 Mar 2024 02:38:20 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "534" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:27:45.991083Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:32:10.4359964Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+12": { + "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur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0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSs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[Filtered]" ], "x-ms-unique-id": [ "32" ], - "x-ms-client-request-id": [ "6e168cf7-abee-4160-b32b-379d73364062" ], + "x-ms-client-request-id": [ "d6017c3f-5a63-4320-a87d-92c678ed573b" ], "CommandName": [ "New-AzHdInsightOnAksCluster" ], "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1286,38 +1349,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b001ea9-0000-0100-0000-65027db10000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "0b130aa5-4e59-4b9e-84f2-7fdf6657cabf" ], - "x-ms-correlation-request-id": [ "43d7cb9f-9687-4531-92a4-b84b6d608083" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033325Z:43d7cb9f-9687-4531-92a4-b84b6d608083" ], + "ETag": [ "\"0e0008bb-0000-0700-0000-65fb9c2a0000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], + "x-ms-request-id": [ "40bf6343-74cf-4bbb-9995-ac6780063809" ], + "x-ms-correlation-request-id": [ "a1725e83-0472-4b9d-9318-98c7a48fc3ae" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023851Z:a1725e83-0472-4b9d-9318-98c7a48fc3ae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7362DE1E52B4460C9A61FB66A7021C2F Ref B: TYO201100117051 Ref C: 2023-09-14T03:33:25Z" ], - "Date": [ "Thu, 14 Sep 2023 03:33:25 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9DF017A963BA4AC2AC61EE8336F535F2 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:38:51Z" ], + "Date": [ "Thu, 21 Mar 2024 02:38:51 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "534" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:27:45.991083Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:32:10.4359964Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+13": { + "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5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4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gkssrgOpDV7yHlfouyCIb5SIJqWaNblwVVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU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rBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gkssrgOpDV7yHlfouyCIb5SIJqWaNblwVVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "33" ], - "x-ms-client-request-id": [ "6e168cf7-abee-4160-b32b-379d73364062" ], + "x-ms-client-request-id": [ "d6017c3f-5a63-4320-a87d-92c678ed573b" ], "CommandName": [ "New-AzHdInsightOnAksCluster" ], "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1327,38 +1392,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"0b00669f-0000-0800-0000-65027f210000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "10aac3bd-d248-4904-ad11-4e9b93e7da8e" ], - "x-ms-correlation-request-id": [ "1909fcc7-65ec-4e9d-b4e4-707bce05e106" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033356Z:1909fcc7-65ec-4e9d-b4e4-707bce05e106" ], + "ETag": [ "\"0e0008bb-0000-0700-0000-65fb9c2a0000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], + "x-ms-request-id": [ "2f27b952-0491-4609-bce7-5e282563cf4f" ], + "x-ms-correlation-request-id": [ "b9a82b42-dc74-41da-8a4c-19e7f9d73a0d" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023922Z:b9a82b42-dc74-41da-8a4c-19e7f9d73a0d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 12FAFECADCCF46E5BE9D60B23A0D479E Ref B: TYO201100117051 Ref C: 2023-09-14T03:33:55Z" ], - "Date": [ "Thu, 14 Sep 2023 03:33:55 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F54B26A8C0DD41BA950E8B36DBF3D984 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:39:22Z" ], + "Date": [ "Thu, 21 Mar 2024 02:39:22 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "553" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"4df63ef5-2d56-4ee9-8130-49854830f4f6*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Succeeded\",\"startTime\":\"2023-09-14T03:27:45.991083Z\",\"properties\":null}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:32:10.4359964Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations?api-version=2023-06-01-preview+14": { + "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgk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Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gkssrgOpDV7yHlfouyCIb5SIJqWaNblwVVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ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LYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gkssrgOpDV7yHlfouyCIb5SIJqWaNblwVVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "34" ], - "x-ms-client-request-id": [ "6e168cf7-abee-4160-b32b-379d73364062" ], + "x-ms-client-request-id": [ "d6017c3f-5a63-4320-a87d-92c678ed573b" ], "CommandName": [ "New-AzHdInsightOnAksCluster" ], "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1368,39 +1435,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"eb01d661-0000-0100-0000-65027ef80000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "06832865-3951-4f70-acb3-a2f322ecec43" ], - "x-ms-correlation-request-id": [ "1988be2c-533a-4c70-8668-7d41e866e874" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033357Z:1988be2c-533a-4c70-8668-7d41e866e874" ], + "ETag": [ "\"0e0008bb-0000-0700-0000-65fb9c2a0000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], + "x-ms-request-id": [ "35bba50c-5e74-4581-9548-cb47f7ea6a6e" ], + "x-ms-correlation-request-id": [ "2f9bfdba-2790-477c-a974-a37c4a2bbde3" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T023953Z:2f9bfdba-2790-477c-a974-a37c4a2bbde3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: FDC7DBB3A1804E598C063E81EF7BD212 Ref B: TYO201100117051 Ref C: 2023-09-14T03:33:56Z" ], - "Date": [ "Thu, 14 Sep 2023 03:33:56 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 620EA1A791A24DAFB58A5C89DD5A0434 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:39:53Z" ], + "Date": [ "Thu, 21 Mar 2024 02:39:53 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1443" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"name\":\"testpsoperations\",\"type\":\"microsoft.hdinsight/clusterpools/clusters\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"{username}\",\"createdByType\":\"User\",\"createdAt\":\"2023-09-14T03:27:40.5239699Z\",\"lastModifiedBy\":\"{username}\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-09-14T03:27:40.5239699Z\"},\"properties\":{\"clusterType\":\"Trino\",\"computeProfile\":{\"nodes\":[{\"type\":\"Head\",\"vmSize\":\"Standard_D8d_v5\",\"count\":2},{\"type\":\"Worker\",\"vmSize\":\"Standard_D8d_v5\",\"count\":3}]},\"clusterProfile\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"0.410.0\",\"components\":[{\"name\":\"Trino\",\"version\":\"410\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}],\"identityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\"msiClientId\":\"00000000-0000-0000-0000-000000000000\",\"msiObjectId\":\"00000000-0000-0000-0000-000000000000\"},\"authorizationProfile\":{\"userIds\":[\"00000000-0000-0000-0000-000000000000\"]},\"connectivityProfile\":{\"web\":{\"fqdn\":\"testpsoperations.d36c6f9ecce24f9ba14f83e579d61686.westus2.tip.hdinsightaks.net\"}}},\"deploymentId\":\"d36c6f9ecce24f9ba14f83e579d61686\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:32:10.4359964Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Get AzHdInsightOnAksClusterWithClusterName+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations?api-version=2023-06-01-preview+1": { + "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEo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UUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gkssrgOpDV7yHlfouyCIb5SIJqWaNblwVVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465851308382671\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5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-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gkssrgOpDV7yHlfouyCIb5SIJqWaNblwVVx1Y31PMhWR-3x-1DRDLm_Mb7DUc5p2DgUhWzh2Qf9DTRW9b0h2xj5t5u0aRfSDMpXgQustlWnlufurxtEcM4nkx9tuGg0KU128maZxyTTiAlEhi2Bx7kyWKHS45LQ4JX3tQG5ZWRrhur_s3tCzKhD36IWeZTgvOeEGecwmXjxK2IH2ZWFNBuXaV4nAOlA3Yg1SN8NnfO6y8aJUdmB1U2lyNuS9UEn_0W4NvEC7eocOHrqa1ZdmvlAm4sUcqvyFKrV6yla-FrKwhd2evii5vH7WXejZrdoVrJnvcWVXAtDcaDcj5Ul6rw\u0026h=45CUUxkhHeJKuAPKVIRlkwizSI0Ai7sBZopZfKPTNd0", "Content": null, + "isContentBase64": false, "Headers": { + "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "35" ], - "x-ms-client-request-id": [ "ab6060f9-6eea-4608-b163-493a894c60f5" ], - "CommandName": [ "Get-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "Get-AzHdInsightOnAksCluster_Get" ], + "x-ms-client-request-id": [ "d6017c3f-5a63-4320-a87d-92c678ed573b" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1410,39 +1478,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"eb01d661-0000-0100-0000-65027ef80000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "f0854e52-6ae5-4547-afab-f0c962076359" ], - "x-ms-correlation-request-id": [ "beec5ff1-8640-43c3-b6ce-d50f91ae7c86" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033358Z:beec5ff1-8640-43c3-b6ce-d50f91ae7c86" ], + "ETag": [ "\"c7008ad7-0000-0800-0000-65fb9e140000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], + "x-ms-request-id": [ "ea54b36d-34ca-4f69-9d06-363a64748a7f" ], + "x-ms-correlation-request-id": [ "ba048f10-7eab-4023-96f6-348776309535" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024024Z:ba048f10-7eab-4023-96f6-348776309535" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: BB1A737124724F9A9590EBEEE933EAA1 Ref B: TYO201100117051 Ref C: 2023-09-14T03:33:57Z" ], - "Date": [ "Thu, 14 Sep 2023 03:33:57 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A57C22D52F1D415380EDC48BE41E9333 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:40:24Z" ], + "Date": [ "Thu, 21 Mar 2024 02:40:24 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1443" ], + "Content-Length": [ "543" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"name\":\"testpsoperations\",\"type\":\"microsoft.hdinsight/clusterpools/clusters\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"{username}\",\"createdByType\":\"User\",\"createdAt\":\"2023-09-14T03:27:40.5239699Z\",\"lastModifiedBy\":\"{username}\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-09-14T03:27:40.5239699Z\"},\"properties\":{\"clusterType\":\"Trino\",\"computeProfile\":{\"nodes\":[{\"type\":\"Head\",\"vmSize\":\"Standard_D8d_v5\",\"count\":2},{\"type\":\"Worker\",\"vmSize\":\"Standard_D8d_v5\",\"count\":3}]},\"clusterProfile\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"0.410.0\",\"components\":[{\"name\":\"Trino\",\"version\":\"410\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}],\"identityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\"msiClientId\":\"00000000-0000-0000-0000-000000000000\",\"msiObjectId\":\"00000000-0000-0000-0000-000000000000\"},\"authorizationProfile\":{\"userIds\":[\"00000000-0000-0000-0000-000000000000\"]},\"connectivityProfile\":{\"web\":{\"fqdn\":\"testpsoperations.d36c6f9ecce24f9ba14f83e579d61686.westus2.tip.hdinsightaks.net\"}}},\"deploymentId\":\"d36c6f9ecce24f9ba14f83e579d61686\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"8f4aeec9-1176-4498-9f9c-0d241abd0561*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-21T02:32:10.4359964Z\",\"properties\":null}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Get AzHdInsightOnAksClusterWithPoolName+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters?api-version=2023-06-01-preview+1": { + "ClusterOperations+[NoContext]+New AzHdInsightOnAksCluster+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations?api-version=2023-11-01-preview+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations?api-version=2023-11-01-preview", "Content": null, + "isContentBase64": false, "Headers": { + "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "36" ], - "x-ms-client-request-id": [ "f7e3f492-7792-4548-b87e-daa94a735fb4" ], - "CommandName": [ "Get-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "Get-AzHdInsightOnAksCluster_List" ], + "x-ms-client-request-id": [ "d6017c3f-5a63-4320-a87d-92c678ed573b" ], + "CommandName": [ "New-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "New-AzHdInsightOnAksCluster_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1452,122 +1521,125 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "ETag": [ "\"0800a531-0000-0700-0000-65fb9df20000\"" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "d5a028cc-23ba-421c-8d9d-887a6bcb3972" ], - "x-ms-correlation-request-id": [ "a3bc2d74-2843-42bd-bbd9-2947000d2a8b" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033359Z:a3bc2d74-2843-42bd-bbd9-2947000d2a8b" ], + "x-ms-request-id": [ "f32d2285-43d2-4f96-b6ed-8060a6ea27e4" ], + "x-ms-correlation-request-id": [ "ebfff6f5-087c-44b2-a5cf-1df691e7fce9" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024024Z:ebfff6f5-087c-44b2-a5cf-1df691e7fce9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A949FFE231FD4D728BA4E50A1D008B88 Ref B: TYO201100117051 Ref C: 2023-09-14T03:33:58Z" ], - "Date": [ "Thu, 14 Sep 2023 03:33:58 GMT" ] + "X-MSEdge-Ref": [ "Ref A: FBC8C33DF8534E7387429079C1AEDF3E Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:40:24Z" ], + "Date": [ "Thu, 21 Mar 2024 02:40:24 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1455" ], + "Content-Length": [ "1615" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"name\":\"testpsoperations\",\"type\":\"microsoft.hdinsight/clusterpools/clusters\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"{username}\",\"createdByType\":\"User\",\"createdAt\":\"2023-09-14T03:27:40.5239699Z\",\"lastModifiedBy\":\"{username}\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-09-14T03:27:40.5239699Z\"},\"properties\":{\"clusterType\":\"Trino\",\"computeProfile\":{\"nodes\":[{\"type\":\"Head\",\"vmSize\":\"Standard_D8d_v5\",\"count\":2},{\"type\":\"Worker\",\"vmSize\":\"Standard_D8d_v5\",\"count\":3}]},\"clusterProfile\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"0.410.0\",\"components\":[{\"name\":\"Trino\",\"version\":\"410\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}],\"identityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\"msiClientId\":\"00000000-0000-0000-0000-000000000000\",\"msiObjectId\":\"00000000-0000-0000-0000-000000000000\"},\"authorizationProfile\":{\"userIds\":[\"00000000-0000-0000-0000-000000000000\"]},\"connectivityProfile\":{\"web\":{\"fqdn\":\"testpsoperations.d36c6f9ecce24f9ba14f83e579d61686.westus2.tip.hdinsightaks.net\"}}},\"deploymentId\":\"d36c6f9ecce24f9ba14f83e579d61686\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}]}" + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"name\":\"testpsoperations\",\"type\":\"microsoft.hdinsight/clusterpools/clusters\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"v-user@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-21T02:32:08.2913711Z\",\"lastModifiedBy\":\"v-user@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-21T02:32:08.2913711Z\"},\"properties\":{\"clusterType\":\"Spark\",\"computeProfile\":{\"nodes\":[{\"type\":\"Head\",\"vmSize\":\"Standard_D16a_v4\",\"count\":3},{\"type\":\"Worker\",\"vmSize\":\"Standard_D16a_v4\",\"count\":3}]},\"clusterProfile\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"3.3.1\",\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.1\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.6.2\"}],\"identityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\"msiClientId\":\"00000000-0000-0000-0000-000000000000\",\"msiObjectId\":\"00000000-0000-0000-0000-000000000000\"},\"authorizationProfile\":{\"userIds\":[\"00000000-0000-0000-0000-000000000000\"]},\"connectivityProfile\":{\"web\":{\"fqdn\":\"testpsoperations.hilo-pool.10e32bab26da4cc4a44152b318f824e6.westus2.tip.hdinsightaks.net\"}},\"sparkProfile\":{\"defaultStorageUrl\":\"abfs://pscontainer2@hilostorage.dfs.core.windows.net\"}},\"deploymentId\":\"c225ccad0a8040e593d284896658150b\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Resize AzHdInsightOnAksCluster+$POST+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations/resize?api-version=2023-06-01-preview+1": { + "ClusterOperations+[NoContext]+Get AzHdInsightOnAksClusterWithClusterName+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations?api-version=2023-11-01-preview+1": { "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations/resize?api-version=2023-06-01-preview", - "Content": "{\r\n \"location\": \"West US 3\",\r\n \"properties\": {\r\n \"targetWorkerNodeCount\": 6\r\n }\r\n}", + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations?api-version=2023-11-01-preview", + "Content": null, + "isContentBase64": false, "Headers": { + "x-ms-unique-id": [ "37" ], + "x-ms-client-request-id": [ "bd04f2a7-d001-4fec-a81a-6484b3d1e9bc" ], + "CommandName": [ "Get-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "Get-AzHdInsightOnAksCluster_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ], + "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "88" ] } }, "Response": { - "StatusCode": 202, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "ETag": [ "\"0800a531-0000-0700-0000-65fb9df20000\"" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "cfc3f196-d617-4c5d-80ba-a1eab2e84d58" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "34bd99bb-3209-403e-bd35-75ca8cfb6418" ], - "x-ms-correlation-request-id": [ "678839c2-9ffa-4d08-afa6-fa3a2cc0f7f2" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033405Z:678839c2-9ffa-4d08-afa6-fa3a2cc0f7f2" ], + "x-ms-request-id": [ "ba273c4e-4639-4246-98c0-32eef60c6796" ], + "x-ms-correlation-request-id": [ "0b19d755-4074-48c9-93ce-4615029c5bc7" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024025Z:0b19d755-4074-48c9-93ce-4615029c5bc7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7245622675744FDC99F232301AA712A6 Ref B: TYO201100117051 Ref C: 2023-09-14T03:33:59Z" ], - "Date": [ "Thu, 14 Sep 2023 03:34:04 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 28A91EE33A764EC0B5F73FF6215481E1 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:40:25Z" ], + "Date": [ "Thu, 21 Mar 2024 02:40:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "4" ], + "Content-Length": [ "1615" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "bnVsbA==" + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"name\":\"testpsoperations\",\"type\":\"microsoft.hdinsight/clusterpools/clusters\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"v-user@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-21T02:32:08.2913711Z\",\"lastModifiedBy\":\"v-user@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-21T02:32:08.2913711Z\"},\"properties\":{\"clusterType\":\"Spark\",\"computeProfile\":{\"nodes\":[{\"type\":\"Head\",\"vmSize\":\"Standard_D16a_v4\",\"count\":3},{\"type\":\"Worker\",\"vmSize\":\"Standard_D16a_v4\",\"count\":3}]},\"clusterProfile\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"3.3.1\",\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.1\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.6.2\"}],\"identityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\"msiClientId\":\"00000000-0000-0000-0000-000000000000\",\"msiObjectId\":\"00000000-0000-0000-0000-000000000000\"},\"authorizationProfile\":{\"userIds\":[\"00000000-0000-0000-0000-000000000000\"]},\"connectivityProfile\":{\"web\":{\"fqdn\":\"testpsoperations.hilo-pool.10e32bab26da4cc4a44152b318f824e6.westus2.tip.hdinsightaks.net\"}},\"sparkProfile\":{\"defaultStorageUrl\":\"abfs://pscontainer2@hilostorage.dfs.core.windows.net\"}},\"deploymentId\":\"c225ccad0a8040e593d284896658150b\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Resize AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+2": { + "ClusterOperations+[NoContext]+Get AzHdInsightOnAksClusterWithPoolName+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters?api-version=2023-11-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters?api-version=2023-11-01-preview", "Content": null, + "isContentBase64": false, "Headers": { - "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "38" ], - "x-ms-client-request-id": [ "5248e1ca-d20c-4d7e-98d1-c54988cd1281" ], - "CommandName": [ "Resize-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "Resize-AzHdInsightOnAksCluster_ResizeExpanded" ], + "x-ms-client-request-id": [ "daeac31a-2c41-4372-bbcc-3d7fa0773520" ], + "CommandName": [ "Get-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "Get-AzHdInsightOnAksCluster_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ], + "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 202, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b00a4ab-0000-0100-0000-65027f280000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "3cb356de-60db-47d6-8531-a7514acc47d7" ], - "x-ms-correlation-request-id": [ "46a02881-b9f8-4b13-a096-e27ad802e08f" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033436Z:46a02881-b9f8-4b13-a096-e27ad802e08f" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-providerhub-traffic": [ "True" ], + "x-ms-request-id": [ "b422979e-3a39-43f9-9ace-0cdb9a45bd04" ], + "x-ms-correlation-request-id": [ "83f46f8b-3087-4b28-9614-5cc154e3ccb5" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024026Z:83f46f8b-3087-4b28-9614-5cc154e3ccb5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 8E981D65F7A644FF9F4AAF20502A466C Ref B: TYO201100117051 Ref C: 2023-09-14T03:34:35Z" ], - "Date": [ "Thu, 14 Sep 2023 03:34:35 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 732DC90887544D40A145CD053111F841 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:40:25Z" ], + "Date": [ "Thu, 21 Mar 2024 02:40:26 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "535" ], + "Content-Length": [ "1627" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:34:00.1906203Z\"}" + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"name\":\"testpsoperations\",\"type\":\"microsoft.hdinsight/clusterpools/clusters\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"v-user@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-21T02:32:08.2913711Z\",\"lastModifiedBy\":\"v-user@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-21T02:32:08.2913711Z\"},\"properties\":{\"clusterType\":\"Spark\",\"computeProfile\":{\"nodes\":[{\"type\":\"Head\",\"vmSize\":\"Standard_D16a_v4\",\"count\":3},{\"type\":\"Worker\",\"vmSize\":\"Standard_D16a_v4\",\"count\":3}]},\"clusterProfile\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"3.3.1\",\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.1\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.6.2\"}],\"identityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\"msiClientId\":\"00000000-0000-0000-0000-000000000000\",\"msiObjectId\":\"00000000-0000-0000-0000-000000000000\"},\"authorizationProfile\":{\"userIds\":[\"00000000-0000-0000-0000-000000000000\"]},\"connectivityProfile\":{\"web\":{\"fqdn\":\"testpsoperations.hilo-pool.10e32bab26da4cc4a44152b318f824e6.westus2.tip.hdinsightaks.net\"}},\"sparkProfile\":{\"defaultStorageUrl\":\"abfs://pscontainer2@hilostorage.dfs.core.windows.net\"}},\"deploymentId\":\"c225ccad0a8040e593d284896658150b\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}]}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Resize AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+3": { + "ClusterOperations+[NoContext]+Resize AzHdInsightOnAksCluster+$POST+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations/resize?api-version=2023-11-01-preview+1": { "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", - "Content": null, + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations/resize?api-version=2023-11-01-preview", + "Content": "{\r\n \"location\": \"West US 3\",\r\n \"properties\": {\r\n \"targetWorkerNodeCount\": 6\r\n }\r\n}", + "isContentBase64": false, "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "39" ], - "x-ms-client-request-id": [ "5248e1ca-d20c-4d7e-98d1-c54988cd1281" ], - "CommandName": [ "Resize-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "Resize-AzHdInsightOnAksCluster_ResizeExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "88" ] } }, "Response": { @@ -1575,40 +1647,43 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b00a4ab-0000-0100-0000-65027f280000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11995" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "f961fc3e-6a34-41ff-a485-82eefed0a3c3" ], - "x-ms-correlation-request-id": [ "3092a67a-0bb0-41aa-adfc-816bf4375bf4" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033507Z:3092a67a-0bb0-41aa-adfc-816bf4375bf4" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-pre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dsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=orXjaOCcG8xUm4q6rhRILgAogF51d9paKRkC9gp7dCed_GmO7SQl2j_WvsGZ3oosRi6MYzbDAvgfozW4FN3IxTuzrvFy9xAW4pR3Ku1L43FuwS6bA_F3ivmuEk00OFuHIwdst49ftQyJcrYdnp8lPVxJKL3c3C95pfAc1uorjg6Om6mfTJL4qftTFCftd_S-nQ7IG_7LyQ7Yjg8H7F0dvDn82B_lYkYhsyeRs6ztTgOeUKNOToeyCTfeN_dgQpvuuOrgobL78l-TBCWusxyKjkMwdzc0S70Dtp9XZR199MQC-GTssb0WLmIkOZ7hKBc9rgD3Zz6EKZCbWESwOQnrPQ\u0026h=N0cZM1rUmOGYb2as5bAg2yMskXUwNq2WHmEGwsDQft8" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-providerhub-traffic": [ "True" ], + "mise-correlation-id": [ "487d0bd7-c53b-426a-8a5d-68b113ab12ad" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465856308348851\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYD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Pn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=orXjaOCcG8xUm4q6rhRILgAogF51d9paKRkC9gp7dCed_GmO7SQl2j_WvsGZ3oosRi6MYzbDAvgfozW4FN3IxTuzrvFy9xAW4pR3Ku1L43FuwS6bA_F3ivmuEk00OFuHIwdst49ftQyJcrYdnp8lPVxJKL3c3C95pfAc1uorjg6Om6mfTJL4qftTFCftd_S-nQ7IG_7LyQ7Yjg8H7F0dvDn82B_lYkYhsyeRs6ztTgOeUKNOToeyCTfeN_dgQpvuuOrgobL78l-TBCWusxyKjkMwdzc0S70Dtp9XZR199MQC-GTssb0WLmIkOZ7hKBc9rgD3Zz6EKZCbWESwOQnrPQ\u0026h=N0cZM1rUmOGYb2as5bAg2yMskXUwNq2WHmEGwsDQft8" ], + "x-ms-request-id": [ "fc042de2-80b7-43ea-9011-00de4b526602" ], + "x-ms-correlation-request-id": [ "b3aec1b7-7ce8-4d2d-b1cd-c64787814122" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024030Z:b3aec1b7-7ce8-4d2d-b1cd-c64787814122" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D497C7778A9941FDADF3D091FEA96505 Ref B: TYO201100117051 Ref C: 2023-09-14T03:35:06Z" ], - "Date": [ "Thu, 14 Sep 2023 03:35:06 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 5D7C87FA87C6445584B198CD69A4BC9D Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:40:26Z" ], + "Date": [ "Thu, 21 Mar 2024 02:40:30 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "535" ], + "Content-Length": [ "4" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:34:00.1906203Z\"}" + "Content": "bnVsbA==", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Resize AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+4": { + "ClusterOperations+[NoContext]+Resize AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465856308348851\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF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m4q6rhRILgAogF51d9paKRkC9gp7dCed_GmO7SQl2j_WvsGZ3oosRi6MYzbDAvgfozW4FN3IxTuzrvFy9xAW4pR3Ku1L43FuwS6bA_F3ivmuEk00OFuHIwdst49ftQyJcrYdnp8lPVxJKL3c3C95pfAc1uorjg6Om6mfTJL4qftTFCftd_S-nQ7IG_7LyQ7Yjg8H7F0dvDn82B_lYkYhsyeRs6ztTgOeUKNOToeyCTfeN_dgQpvuuOrgobL78l-TBCWusxyKjkMwdzc0S70Dtp9XZR199MQC-GTssb0WLmIkOZ7hKBc9rgD3Zz6EKZCbWESwOQnrPQ\u0026h=N0cZM1rUmOGYb2as5bAg2yMskXUwNq2WHmEGwsDQft8+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465856308348851\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQg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6bA_F3ivmuEk00OFuHIwdst49ftQyJcrYdnp8lPVxJKL3c3C95pfAc1uorjg6Om6mfTJL4qftTFCftd_S-nQ7IG_7LyQ7Yjg8H7F0dvDn82B_lYkYhsyeRs6ztTgOeUKNOToeyCTfeN_dgQpvuuOrgobL78l-TBCWusxyKjkMwdzc0S70Dtp9XZR199MQC-GTssb0WLmIkOZ7hKBc9rgD3Zz6EKZCbWESwOQnrPQ\u0026h=N0cZM1rUmOGYb2as5bAg2yMskXUwNq2WHmEGwsDQft8", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "40" ], - "x-ms-client-request-id": [ "5248e1ca-d20c-4d7e-98d1-c54988cd1281" ], + "x-ms-client-request-id": [ "77da6b96-87c0-4764-a682-1590328fcecf" ], "CommandName": [ "Resize-AzHdInsightOnAksCluster" ], "FullCommandName": [ "Resize-AzHdInsightOnAksCluster_ResizeExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1618,40 +1693,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b00a4ab-0000-0100-0000-65027f280000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "3578903a-cfbe-4c51-b2e1-92de2080bb0f" ], - "x-ms-correlation-request-id": [ "c17e73df-9371-4a10-9144-f41213b72d9e" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033538Z:c17e73df-9371-4a10-9144-f41213b72d9e" ], + "ETag": [ "\"0e006dbe-0000-0700-0000-65fb9e1a0000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465856617279606\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgw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://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465856617279606\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mc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fzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=BdKDTN3aCevXkJMLLxojzvMxJnqP3adpz3LGiYq_FhJ3skw7BYd4nxpubhIhNVx8hj7ephfOx18fCtt8PUtlwD4XoTWcQMJamTXeKhYaTdCptWdMUnyM4fRNEeuWJrC3SpiMhDPUzLzx6QY7zRXTSPwXl5tD8DEDlfyyXKp4nFdwoEnRj8l_Jr6FL-Bt0sitneEgxQumDveEClmd27JQOqN0Fo8DX-4cHyXa6Px0GUJKN2WfuG6g14NUsmbw8I2np7mnwMqy1LETRR7TMDnEVT_KYKrGjoChYMONDdxBrQ6zXqWrKn-hNeSJjE7SUjq6Dy4_IZ8ISl7YjJEYnSqnhA\u0026h=WZIHP7ZSJLWmvpMGOcexm38rwvn64oVNcLM_UHTSmsY" ], + "x-ms-request-id": [ "a22aeeab-a7be-4a3e-95f8-fb3b0081b375" ], + "x-ms-correlation-request-id": [ "810f7914-0ce0-4620-888d-8ae235376d1f" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024101Z:810f7914-0ce0-4620-888d-8ae235376d1f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E947B1D164E044C0BA62B79D706E0DAF Ref B: TYO201100117051 Ref C: 2023-09-14T03:35:37Z" ], - "Date": [ "Thu, 14 Sep 2023 03:35:37 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 152B110F2188429A8311CC1DB0AEC73F Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:41:01Z" ], + "Date": [ "Thu, 21 Mar 2024 02:41:01 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "535" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:34:00.1906203Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:40:26.9193427Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Resize AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+5": { + "ClusterOperations+[NoContext]+Resize AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465856617279606\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAG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UyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=BdKDTN3aCevXkJMLLxojzvMxJnqP3adpz3LGiYq_FhJ3skw7BYd4nxpubhIhNVx8hj7ephfOx18fCtt8PUtlwD4XoTWcQMJamTXeKhYaTdCptWdMUnyM4fRNEeuWJrC3SpiMhDPUzLzx6QY7zRXTSPwXl5tD8DEDlfyyXKp4nFdwoEnRj8l_Jr6FL-Bt0sitneEgxQumDveEClmd27JQOqN0Fo8DX-4cHyXa6Px0GUJKN2WfuG6g14NUsmbw8I2np7mnwMqy1LETRR7TMDnEVT_KYKrGjoChYMONDdxBrQ6zXqWrKn-hNeSJjE7SUjq6Dy4_IZ8ISl7YjJEYnSqnhA\u0026h=WZIHP7ZSJLWmvpMGOcexm38rwvn64oVNcLM_UHTSmsY+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465856617279606\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCA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IAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=BdKDTN3aCevXkJMLLxojzvMxJnqP3adpz3LGiYq_FhJ3skw7BYd4nxpubhIhNVx8hj7ephfOx18fCtt8PUtlwD4XoTWcQMJamTXeKhYaTdCptWdMUnyM4fRNEeuWJrC3SpiMhDPUzLzx6QY7zRXTSPwXl5tD8DEDlfyyXKp4nFdwoEnRj8l_Jr6FL-Bt0sitneEgxQumDveEClmd27JQOqN0Fo8DX-4cHyXa6Px0GUJKN2WfuG6g14NUsmbw8I2np7mnwMqy1LETRR7TMDnEVT_KYKrGjoChYMONDdxBrQ6zXqWrKn-hNeSJjE7SUjq6Dy4_IZ8ISl7YjJEYnSqnhA\u0026h=WZIHP7ZSJLWmvpMGOcexm38rwvn64oVNcLM_UHTSmsY", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "41" ], - "x-ms-client-request-id": [ "5248e1ca-d20c-4d7e-98d1-c54988cd1281" ], + "x-ms-client-request-id": [ "77da6b96-87c0-4764-a682-1590328fcecf" ], "CommandName": [ "Resize-AzHdInsightOnAksCluster" ], "FullCommandName": [ "Resize-AzHdInsightOnAksCluster_ResizeExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1661,40 +1738,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b00a4ab-0000-0100-0000-65027f280000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "01bc2469-4a87-44f0-a43e-947f6c1c67b4" ], - "x-ms-correlation-request-id": [ "78469df2-bbc6-4985-a09d-4e40be2caa22" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033608Z:78469df2-bbc6-4985-a09d-4e40be2caa22" ], + "ETag": [ "\"0e006dbe-0000-0700-0000-65fb9e1a0000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465856925117951\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMR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nfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=fkSNCb1VETunuwvBAIUoikwUSWyBYtuY_603mF89P2Nx6S7gXG66AY0X4Ej064YyQD1F39fHIq-TWvtwz-HIm5K1ByHsNPxMS9iDLcFL_JsiKZrf2yJ8uFjF2VROirJ-HdMjOJYXz98CklKEOaX8HLOBgx268-yDoPL8yLNKAK4NGJdMw_0ew-IH813go0mx0AX2d6cCuYD9AxwQrIeGGoDKeRm7y0i1DCCDIBvDRs0oayAfpNAT1fGflH_Dxr5QSSfE0W8XuYt60h1TlAPo-G9CUFLTTUhHqoRk8mSeY7m9bij4OjlE-kxflA3rN1NVuQwRUujR6Q6zbmyqwzYULw\u0026h=1xri7lkKPGgTmQHMc6fK4bIbMyggFscnRT3Q2CrGWek" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11995" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465856924961722\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK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u28lWonXdwKrdWap1ttQGL5DRTHRrQwVQNbWGN7iPnPGe1g7Ew8jv_k5QkbMh-Sc2JctTwajdbti3TdVYAHNLTpvwCbfINJWt9lL2OsQN3rkAz2Xx5kxaSRtD-qwet6QDpXicqLpeBw9LbBQvp4qBnIMZFlltKhjwnwQIgWtg3yBG_ALN8gCcz833cXyCjK3wC09PUrmzr6WYxJXr9dXPazQnOO0Hqk13nsqb6tJon0ifdytudcetzgeg5-O0xdeWDqp02mwKNjz0ThXQphA\u0026h=SLrPFA7bQ3NCir6QuZSnBK4z9A029JNomWr5m2T_uEw" ], + "x-ms-request-id": [ "64bbcd8a-89e9-469e-9731-3fc329e120c3" ], + "x-ms-correlation-request-id": [ "22bc4003-e7b6-4b13-9937-f2a05b45ecba" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024132Z:22bc4003-e7b6-4b13-9937-f2a05b45ecba" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 891A7C4C0FF54A75B2E479F9636845CC Ref B: TYO201100117051 Ref C: 2023-09-14T03:36:08Z" ], - "Date": [ "Thu, 14 Sep 2023 03:36:07 GMT" ] + "X-MSEdge-Ref": [ "Ref A: C20DF98E89484B10985998BE9DA32D17 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:41:32Z" ], + "Date": [ "Thu, 21 Mar 2024 02:41:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "535" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:34:00.1906203Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:40:26.9193427Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Resize AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+6": { + "ClusterOperations+[NoContext]+Resize AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465856924961722\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNM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tmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=M7vdtJdAZAUUEoLe-HErrzgppVBFL1AZ0Syas8aGnOlJcbo2U8QTsghUP400n6bWC4u28lWonXdwKrdWap1ttQGL5DRTHRrQwVQNbWGN7iPnPGe1g7Ew8jv_k5QkbMh-Sc2JctTwajdbti3TdVYAHNLTpvwCbfINJWt9lL2OsQN3rkAz2Xx5kxaSRtD-qwet6QDpXicqLpeBw9LbBQvp4qBnIMZFlltKhjwnwQIgWtg3yBG_ALN8gCcz833cXyCjK3wC09PUrmzr6WYxJXr9dXPazQnOO0Hqk13nsqb6tJon0ifdytudcetzgeg5-O0xdeWDqp02mwKNjz0ThXQphA\u0026h=SLrPFA7bQ3NCir6QuZSnBK4z9A029JNomWr5m2T_uEw+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465856924961722\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlL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HErrzgppVBFL1AZ0Syas8aGnOlJcbo2U8QTsghUP400n6bWC4u28lWonXdwKrdWap1ttQGL5DRTHRrQwVQNbWGN7iPnPGe1g7Ew8jv_k5QkbMh-Sc2JctTwajdbti3TdVYAHNLTpvwCbfINJWt9lL2OsQN3rkAz2Xx5kxaSRtD-qwet6QDpXicqLpeBw9LbBQvp4qBnIMZFlltKhjwnwQIgWtg3yBG_ALN8gCcz833cXyCjK3wC09PUrmzr6WYxJXr9dXPazQnOO0Hqk13nsqb6tJon0ifdytudcetzgeg5-O0xdeWDqp02mwKNjz0ThXQphA\u0026h=SLrPFA7bQ3NCir6QuZSnBK4z9A029JNomWr5m2T_uEw", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "42" ], - "x-ms-client-request-id": [ "5248e1ca-d20c-4d7e-98d1-c54988cd1281" ], + "x-ms-client-request-id": [ "77da6b96-87c0-4764-a682-1590328fcecf" ], "CommandName": [ "Resize-AzHdInsightOnAksCluster" ], "FullCommandName": [ "Resize-AzHdInsightOnAksCluster_ResizeExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1704,122 +1783,132 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b00a4ab-0000-0100-0000-65027f280000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "e21562a5-f73e-4a64-b137-d4c6340dcf03" ], - "x-ms-correlation-request-id": [ "7b8e60d9-f781-4b22-a90a-d52f3ec01157" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033639Z:7b8e60d9-f781-4b22-a90a-d52f3ec01157" ], + "ETag": [ "\"0e006dbe-0000-0700-0000-65fb9e1a0000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465857232230438\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1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ZQNorsBFgj9tGbZs" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465857232230438\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcB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GA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=Z18rJBnk1-EA23DYkleVLJA4EeiclZcdZAXt7GcZzlVsaxGe0kh11_jJ46K25HkGGdGhrj4DRCL44OB1ohTguacrjn_GPe0O8F2jg1M7F09y86mP2Ix0pLYMvS2ZipGiqgIOfjtbUo3x-t25JgxHYc--xPyh_erQib6soSXSmxZjIu9ON5lPpc8tLtXjn68DsRIER97QJEMIEa7K5rS995sbJGGo1QlxOQmA4_3zJDXn1HW1_qH-MviLeE874g3kzngLveHf4N_4aZZKetHoUle1CF0ryJArG4kOPGq_ATdUlP75K61A5I5udNRLbljQoZ8Lb4KmPyTvbdtGKHk__A\u0026h=8gWSn1s7MCAc0WugTJZxn45O-eNZQNorsBFgj9tGbZs" ], + "x-ms-request-id": [ "f7d15d1e-cfa6-4734-beef-d5147ec4338f" ], + "x-ms-correlation-request-id": [ "3456288b-f95b-4cdf-b175-05156ff45960" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024203Z:3456288b-f95b-4cdf-b175-05156ff45960" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F5C6B3DF6BF44C20A73D97B1211818EE Ref B: TYO201100117051 Ref C: 2023-09-14T03:36:38Z" ], - "Date": [ "Thu, 14 Sep 2023 03:36:38 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D1B38606E42643A2905A69777915E0A7 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:42:02Z" ], + "Date": [ "Thu, 21 Mar 2024 02:42:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "535" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T03:34:00.1906203Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:40:26.9193427Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Resize AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+7": { + "ClusterOperations+[NoContext]+Resize AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465857232230438\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBg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RwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=Z18rJBnk1-EA23DYkleVLJA4EeiclZcdZAXt7GcZzlVsaxGe0kh11_jJ46K25HkGGdGhrj4DRCL44OB1ohTguacrjn_GPe0O8F2jg1M7F09y86mP2Ix0pLYMvS2ZipGiqgIOfjtbUo3x-t25JgxHYc--xPyh_erQib6soSXSmxZjIu9ON5lPpc8tLtXjn68DsRIER97QJEMIEa7K5rS995sbJGGo1QlxOQmA4_3zJDXn1HW1_qH-MviLeE874g3kzngLveHf4N_4aZZKetHoUle1CF0ryJArG4kOPGq_ATdUlP75K61A5I5udNRLbljQoZ8Lb4KmPyTvbdtGKHk__A\u0026h=8gWSn1s7MCAc0WugTJZxn45O-eNZQNorsBFgj9tGbZs+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465857232230438\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SAC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SUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=Z18rJBnk1-EA23DYkleVLJA4EeiclZcdZAXt7GcZzlVsaxGe0kh11_jJ46K25HkGGdGhrj4DRCL44OB1ohTguacrjn_GPe0O8F2jg1M7F09y86mP2Ix0pLYMvS2ZipGiqgIOfjtbUo3x-t25JgxHYc--xPyh_erQib6soSXSmxZjIu9ON5lPpc8tLtXjn68DsRIER97QJEMIEa7K5rS995sbJGGo1QlxOQmA4_3zJDXn1HW1_qH-MviLeE874g3kzngLveHf4N_4aZZKetHoUle1CF0ryJArG4kOPGq_ATdUlP75K61A5I5udNRLbljQoZ8Lb4KmPyTvbdtGKHk__A\u0026h=8gWSn1s7MCAc0WugTJZxn45O-eNZQNorsBFgj9tGbZs", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "43" ], - "x-ms-client-request-id": [ "5248e1ca-d20c-4d7e-98d1-c54988cd1281" ], + "x-ms-client-request-id": [ "77da6b96-87c0-4764-a682-1590328fcecf" ], "CommandName": [ "Resize-AzHdInsightOnAksCluster" ], "FullCommandName": [ "Resize-AzHdInsightOnAksCluster_ResizeExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 200, + "StatusCode": 202, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b00c9ac-0000-0100-0000-65027fd50000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], - "x-ms-request-id": [ "a11adc80-c7dd-4bdd-87d4-3880d023d811" ], - "x-ms-correlation-request-id": [ "b2c0df6e-60ec-49f1-b8ef-22218109a804" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033710Z:b2c0df6e-60ec-49f1-b8ef-22218109a804" ], + "ETag": [ "\"0e006dbe-0000-0700-0000-65fb9e1a0000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465857542439331\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjK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gvbuOgmkxkXF_O6uHnS0wKvrinH0ah-TkjsZYW_RvkKU7tVyTGBT4eGBsHq34skbTvvO2Ymo73oJk48T65a-HJ5bwCPOqmnbriAbnY-ay4lai3dzG4xhxco2gzgILe5IqXboBQzAyHZVCGCh-YRe8w45OyKoBM3sY5FavAdEPWZVRBwlqHY1l_rksQeKaFdawsXJIVTCK5EqSW4NKBvosi6auFdQ8M1JpA\u0026h=OTNMPYPH2wIA3zS2QnMfgeIR-64cYDURReKHGvyJXF0" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11995" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465857542282932\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxj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CW2oF6mFQ\u0026h=OfhZ2kwoB9du5lvYCzVfNXLkqsfByJkZkAvuJaQRYj8" ], + "x-ms-request-id": [ "682c87cb-6b3d-4153-a5a1-8e21612dc8d8" ], + "x-ms-correlation-request-id": [ "e79e7115-3c5d-4688-93d8-65323ad2c6a6" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024234Z:e79e7115-3c5d-4688-93d8-65323ad2c6a6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 50E55A5E37A14FDEBADA7D835D4B241A Ref B: TYO201100117051 Ref C: 2023-09-14T03:37:09Z" ], - "Date": [ "Thu, 14 Sep 2023 03:37:09 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 2219DE32C54E49439C73DEB74AB80F0E Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:42:33Z" ], + "Date": [ "Thu, 21 Mar 2024 02:42:33 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "595" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Succeeded\",\"startTime\":\"2023-09-14T03:34:00.1906203Z\",\"endTime\":\"2023-09-14T03:36:53.2333557Z\",\"properties\":null}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:40:26.9193427Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Resize AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+8": { + "ClusterOperations+[NoContext]+Resize AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465857542282932\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOF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6yH5vcTan6m4ri6T7dBpWN1BPX6xbWWBS9LXL8rToDYi84_L3xq6nuo55EPf7PVblwbM6MRH_JSiHoyHIKQb61HOz1NPyrdV18_N8-hh_-6iDk8Z2UyWHerVRKeZZ3Omj6c_jOD855XBEYXzSi_PwWbAXt7I07FpukCE3CVGmlKLgt4fpS5hg0RIOBiYL3ZD-QHMjkWcSz7BCW2oF6mFQ\u0026h=OfhZ2kwoB9du5lvYCzVfNXLkqsfByJkZkAvuJaQRYj8+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465857542282932\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJ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_N8-hh_-6iDk8Z2UyWHerVRKeZZ3Omj6c_jOD855XBEYXzSi_PwWbAXt7I07FpukCE3CVGmlKLgt4fpS5hg0RIOBiYL3ZD-QHMjkWcSz7BCW2oF6mFQ\u0026h=OfhZ2kwoB9du5lvYCzVfNXLkqsfByJkZkAvuJaQRYj8", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "44" ], - "x-ms-client-request-id": [ "5248e1ca-d20c-4d7e-98d1-c54988cd1281" ], + "x-ms-client-request-id": [ "77da6b96-87c0-4764-a682-1590328fcecf" ], "CommandName": [ "Resize-AzHdInsightOnAksCluster" ], "FullCommandName": [ "Resize-AzHdInsightOnAksCluster_ResizeExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 200, + "StatusCode": 202, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b00c9ac-0000-0100-0000-65027fd50000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "09082058-3095-4d95-b54d-fc97972d49fa" ], - "x-ms-correlation-request-id": [ "536ac7c0-b9eb-41b7-87de-9cd5554a053a" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033711Z:536ac7c0-b9eb-41b7-87de-9cd5554a053a" ], + "ETag": [ "\"0e006dbe-0000-0700-0000-65fb9e1a0000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465857849802510\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPL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y1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=h18z8FN9-MqFjOX3PEOQTWzZhiwoBd2IewaUvwt5fZjQ-kYV8h7Xr7PMgPLSu5h3Iw_XvoEnzkUkeY36IMmVYy8bXiaykzrVdtphmfmmRDWsh7FzECD2sroLPIel1rwZBtfXkOFBHkp4H-ANTZDRhTge0CTP4ERic0izvBq_ONLKwqRnbRGR8HN7XjtvuaaFFM1FxT23fa3tAwirExtARknKEsi9oDiIlh1mBVjGZ2MsbtlMukIWURffBnjtcfMHWm9KSzFxFMi9E0gx9mwLlwrPucS-70-Lsu85RUrugMmSfLBFPzgMNiN9q6fAyWTUc2L1p17qL1dMf6G-s4afyA\u0026h=LOql185hxf8gjSLJRdCfuXZMmx_-juPZo0Kp1nkU2Nk" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465857849645810\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pb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HOcoGcebh1hrMvD1lL1A\u0026s=q6BC2WHn42e7zeoIlxL05QIkKvuFRoe4yPw1hg8rjpbY39P4ZxDbEPBdKHP1JNgHugHPjXzlRNiVNubzfZIlu3gsx59Jald5PfDwCKLejbBKsdOzFtsHGMGJuafu4jpYP_2qxgY0If2RiTRsMppYATCVvoDhza1QeNq8_F90sY6Ne42MzanzsFa5rVBJEbJ6OQCt_rl448azAFb2H-NfO5g-QwlM0cQRgEF0klR9zPDyUDNO3Ji3EShcXwulANTDjtSfMNtUT0bRvCcoUQivTBugka0BcjNrwGr-281BDT4ZqOSsnt6VR1fhzBg3-xmnlN-XKA9Nz5P9oxEAUDjR-w\u0026h=1uoWAOrz8E2sTllvVbUNqjGKpqRbz7qTn6Ug318t2Tc" ], + "x-ms-request-id": [ "99a4db9d-732d-42e6-80a2-96dc87275676" ], + "x-ms-correlation-request-id": [ "80bebef6-eda3-4329-8ee2-4dd551d41267" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024304Z:80bebef6-eda3-4329-8ee2-4dd551d41267" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 2DEAA3F37EA341FCBB772D99E06BEA66 Ref B: TYO201100117051 Ref C: 2023-09-14T03:37:10Z" ], - "Date": [ "Thu, 14 Sep 2023 03:37:10 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A123FFFCA62542EA8766E18202BEF238 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:43:04Z" ], + "Date": [ "Thu, 21 Mar 2024 02:43:04 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "595" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"34bd99bb-3209-403e-bd35-75ca8cfb6418*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Succeeded\",\"startTime\":\"2023-09-14T03:34:00.1906203Z\",\"endTime\":\"2023-09-14T03:36:53.2333557Z\",\"properties\":null}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:40:26.9193427Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Resize AzHdInsightOnAksCluster+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations?api-version=2023-06-01-preview+9": { + "ClusterOperations+[NoContext]+Resize AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465857849645810\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKC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5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=q6BC2WHn42e7zeoIlxL05QIkKvuFRoe4yPw1hg8rjpbY39P4ZxDbEPBdKHP1JNgHugHPjXzlRNiVNubzfZIlu3gsx59Jald5PfDwCKLejbBKsdOzFtsHGMGJuafu4jpYP_2qxgY0If2RiTRsMppYATCVvoDhza1QeNq8_F90sY6Ne42MzanzsFa5rVBJEbJ6OQCt_rl448azAFb2H-NfO5g-QwlM0cQRgEF0klR9zPDyUDNO3Ji3EShcXwulANTDjtSfMNtUT0bRvCcoUQivTBugka0BcjNrwGr-281BDT4ZqOSsnt6VR1fhzBg3-xmnlN-XKA9Nz5P9oxEAUDjR-w\u0026h=1uoWAOrz8E2sTllvVbUNqjGKpqRbz7qTn6Ug318t2Tc+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465857849645810\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MT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byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=q6BC2WHn42e7zeoIlxL05QIkKvuFRoe4yPw1hg8rjpbY39P4ZxDbEPBdKHP1JNgHugHPjXzlRNiVNubzfZIlu3gsx59Jald5PfDwCKLejbBKsdOzFtsHGMGJuafu4jpYP_2qxgY0If2RiTRsMppYATCVvoDhza1QeNq8_F90sY6Ne42MzanzsFa5rVBJEbJ6OQCt_rl448azAFb2H-NfO5g-QwlM0cQRgEF0klR9zPDyUDNO3Ji3EShcXwulANTDjtSfMNtUT0bRvCcoUQivTBugka0BcjNrwGr-281BDT4ZqOSsnt6VR1fhzBg3-xmnlN-XKA9Nz5P9oxEAUDjR-w\u0026h=1uoWAOrz8E2sTllvVbUNqjGKpqRbz7qTn6Ug318t2Tc", "Content": null, + "isContentBase64": false, "Headers": { + "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "45" ], - "x-ms-client-request-id": [ "a4773716-5cfe-4f97-9de8-8b18fa10e803" ], - "CommandName": [ "Get-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "Get-AzHdInsightOnAksCluster_Get" ], + "x-ms-client-request-id": [ "77da6b96-87c0-4764-a682-1590328fcecf" ], + "CommandName": [ "Resize-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "Resize-AzHdInsightOnAksCluster_ResizeExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1829,39 +1918,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"eb01208d-0000-0100-0000-65027fd50000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "944e0ac7-43f8-4d54-96d7-78c730a80800" ], - "x-ms-correlation-request-id": [ "b7dc601a-8b62-4547-b78c-eda3cc43a7a4" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033712Z:b7dc601a-8b62-4547-b78c-eda3cc43a7a4" ], + "ETag": [ "\"0e009bbf-0000-0700-0000-65fb9ec00000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "fa9d6fcb-b050-484e-b2f2-0eebfa4d05ca" ], + "x-ms-correlation-request-id": [ "26fdf2ae-48cb-43de-accf-1fc802cac6e0" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024335Z:26fdf2ae-48cb-43de-accf-1fc802cac6e0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AB829763BFB64269B2B59608B98677B3 Ref B: TYO201100117051 Ref C: 2023-09-14T03:37:11Z" ], - "Date": [ "Thu, 14 Sep 2023 03:37:11 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 4A77197AD93447E4A96CC064CB5D09DD Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:43:35Z" ], + "Date": [ "Thu, 21 Mar 2024 02:43:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1462" ], + "Content-Length": [ "583" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"name\":\"testpsoperations\",\"type\":\"microsoft.hdinsight/clusterpools/clusters\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"{username}\",\"createdByType\":\"User\",\"createdAt\":\"2023-09-14T03:27:40.5239699Z\",\"lastModifiedBy\":\"9191c4da-09fe-49d9-a5f1-d41cbe92ad95\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-09-14T03:36:52.6783328Z\"},\"properties\":{\"clusterType\":\"Trino\",\"computeProfile\":{\"nodes\":[{\"type\":\"Head\",\"vmSize\":\"Standard_D8d_v5\",\"count\":2},{\"type\":\"Worker\",\"vmSize\":\"Standard_D8d_v5\",\"count\":6}]},\"clusterProfile\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"0.410.0\",\"components\":[{\"name\":\"Trino\",\"version\":\"410\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}],\"identityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\"msiClientId\":\"00000000-0000-0000-0000-000000000000\",\"msiObjectId\":\"00000000-0000-0000-0000-000000000000\"},\"authorizationProfile\":{\"userIds\":[\"00000000-0000-0000-0000-000000000000\"]},\"connectivityProfile\":{\"web\":{\"fqdn\":\"testpsoperations.d36c6f9ecce24f9ba14f83e579d61686.westus2.tip.hdinsightaks.net\"}}},\"deploymentId\":\"d36c6f9ecce24f9ba14f83e579d61686\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-21T02:40:26.9193427Z\",\"endTime\":\"2024-03-21T02:43:12.533954Z\",\"properties\":null}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Get AzHdInsightOnAksClusterInstanceView+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations/instanceViews/default?api-version=2023-06-01-preview+1": { + "ClusterOperations+[NoContext]+Resize AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465856308348851\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQ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MDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=orXjaOCcG8xUm4q6rhRILgAogF51d9paKRkC9gp7dCed_GmO7SQl2j_WvsGZ3oosRi6MYzbDAvgfozW4FN3IxTuzrvFy9xAW4pR3Ku1L43FuwS6bA_F3ivmuEk00OFuHIwdst49ftQyJcrYdnp8lPVxJKL3c3C95pfAc1uorjg6Om6mfTJL4qftTFCftd_S-nQ7IG_7LyQ7Yjg8H7F0dvDn82B_lYkYhsyeRs6ztTgOeUKNOToeyCTfeN_dgQpvuuOrgobL78l-TBCWusxyKjkMwdzc0S70Dtp9XZR199MQC-GTssb0WLmIkOZ7hKBc9rgD3Zz6EKZCbWESwOQnrPQ\u0026h=N0cZM1rUmOGYb2as5bAg2yMskXUwNq2WHmEGwsDQft8+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations/instanceViews/default?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465856308348851\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvd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NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=orXjaOCcG8xUm4q6rhRILgAogF51d9paKRkC9gp7dCed_GmO7SQl2j_WvsGZ3oosRi6MYzbDAvgfozW4FN3IxTuzrvFy9xAW4pR3Ku1L43FuwS6bA_F3ivmuEk00OFuHIwdst49ftQyJcrYdnp8lPVxJKL3c3C95pfAc1uorjg6Om6mfTJL4qftTFCftd_S-nQ7IG_7LyQ7Yjg8H7F0dvDn82B_lYkYhsyeRs6ztTgOeUKNOToeyCTfeN_dgQpvuuOrgobL78l-TBCWusxyKjkMwdzc0S70Dtp9XZR199MQC-GTssb0WLmIkOZ7hKBc9rgD3Zz6EKZCbWESwOQnrPQ\u0026h=N0cZM1rUmOGYb2as5bAg2yMskXUwNq2WHmEGwsDQft8", "Content": null, + "isContentBase64": false, "Headers": { + "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "46" ], - "x-ms-client-request-id": [ "c6a48723-76e8-48ee-a60d-27c717cccfc0" ], - "CommandName": [ "Get-AzHdInsightOnAksClusterInstanceView" ], - "FullCommandName": [ "Get-AzHdInsightOnAksClusterInstanceView_Get" ], + "x-ms-client-request-id": [ "77da6b96-87c0-4764-a682-1590328fcecf" ], + "CommandName": [ "Resize-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "Resize-AzHdInsightOnAksCluster_ResizeExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1871,127 +1961,128 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "3788524e-24e4-4c18-ae1c-e08925d94f69" ], - "x-ms-request-id": [ "ae859abd-a2f0-4e81-a4ca-c588ca0b942a" ], - "x-ms-correlation-request-id": [ "aae10e34-a524-4819-9ee6-ab1bd9be69e0" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033715Z:aae10e34-a524-4819-9ee6-ab1bd9be69e0" ], + "ETag": [ "\"0e009bbf-0000-0700-0000-65fb9ec00000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "aaa88abf-7a3f-477e-ba3e-63741e54c118" ], + "x-ms-correlation-request-id": [ "a457aa23-dc74-4a97-b478-806869da326b" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024336Z:a457aa23-dc74-4a97-b478-806869da326b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6BBE0F6D9A8245AA89BC02076A0F9F50 Ref B: TYO201100117051 Ref C: 2023-09-14T03:37:12Z" ], - "Date": [ "Thu, 14 Sep 2023 03:37:14 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 4535EA7335B34CF2BB554101C62278AA Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:43:35Z" ], + "Date": [ "Thu, 21 Mar 2024 02:43:36 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "309" ], + "Content-Length": [ "583" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"default\",\"properties\":{\"status\":{\"ready\":\"True\",\"reason\":\"\",\"message\":\"\"},\"serviceStatuses\":[{\"kind\":\"Trino\",\"ready\":\"true\",\"message\":\"\"},{\"kind\":\"IngressAuthService\",\"ready\":\"true\",\"message\":\"\"},{\"kind\":\"Monitoring\",\"ready\":\"true\",\"message\":\"\"},{\"kind\":\"TrinoCluster\",\"ready\":\"true\",\"message\":\"\"}]}}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"fc042de2-80b7-43ea-9011-00de4b526602*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-21T02:40:26.9193427Z\",\"endTime\":\"2024-03-21T02:43:12.533954Z\",\"properties\":null}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Remove AzHdInsightOnAksCluster+$DELETE+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations?api-version=2023-06-01-preview+1": { + "ClusterOperations+[NoContext]+Resize AzHdInsightOnAksCluster+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations?api-version=2023-11-01-preview+9": { "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations?api-version=2023-06-01-preview", + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations?api-version=2023-11-01-preview", "Content": null, + "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "47" ], - "x-ms-client-request-id": [ "00a17e49-d18b-41fc-9b56-4c1c7793d584" ], - "CommandName": [ "Remove-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "Remove-AzHdInsightOnAksCluster_Delete" ], + "x-ms-client-request-id": [ "2d30efd9-4ab6-4471-b3b5-dc82b0deab61" ], + "CommandName": [ "Get-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "Get-AzHdInsightOnAksCluster_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 202, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"eb01ba91-0000-0100-0000-65027fef0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "ETag": [ "\"0800e031-0000-0700-0000-65fb9ec00000\"" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "d2670f35-224f-487b-a65b-c30af6f309db" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "7153ac54-6cfb-462c-987d-f6377ab0ad67" ], - "x-ms-correlation-request-id": [ "fd1e6125-ff33-4352-a3f6-ac7e669e5bd9" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033719Z:fd1e6125-ff33-4352-a3f6-ac7e669e5bd9" ], + "x-ms-request-id": [ "988a49a6-edc6-4389-b1ac-9ebba61003ee" ], + "x-ms-correlation-request-id": [ "8cbf1dda-7d85-4783-afe1-28eef85d84a9" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024337Z:8cbf1dda-7d85-4783-afe1-28eef85d84a9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 14A6675EA3FC4553B4AA137F88D81CC5 Ref B: TYO201100117051 Ref C: 2023-09-14T03:37:15Z" ], - "Date": [ "Thu, 14 Sep 2023 03:37:18 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 8547288FBAC64E16B717BD13AB4F4D39 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:43:36Z" ], + "Date": [ "Thu, 21 Mar 2024 02:43:36 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "4" ], + "Content-Length": [ "1634" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "bnVsbA==" + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"name\":\"testpsoperations\",\"type\":\"microsoft.hdinsight/clusterpools/clusters\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"v-user@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-21T02:32:08.2913711Z\",\"lastModifiedBy\":\"9191c4da-09fe-49d9-a5f1-d41cbe92ad95\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2024-03-21T02:43:12.3021956Z\"},\"properties\":{\"clusterType\":\"Spark\",\"computeProfile\":{\"nodes\":[{\"type\":\"Head\",\"vmSize\":\"Standard_D16a_v4\",\"count\":3},{\"type\":\"Worker\",\"vmSize\":\"Standard_D16a_v4\",\"count\":6}]},\"clusterProfile\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"3.3.1\",\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.1\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.6.2\"}],\"identityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\"msiClientId\":\"00000000-0000-0000-0000-000000000000\",\"msiObjectId\":\"00000000-0000-0000-0000-000000000000\"},\"authorizationProfile\":{\"userIds\":[\"00000000-0000-0000-0000-000000000000\"]},\"connectivityProfile\":{\"web\":{\"fqdn\":\"testpsoperations.hilo-pool.10e32bab26da4cc4a44152b318f824e6.westus2.tip.hdinsightaks.net\"}},\"sparkProfile\":{\"defaultStorageUrl\":\"abfs://pscontainer2@hilostorage.dfs.core.windows.net\"}},\"deploymentId\":\"c225ccad0a8040e593d284896658150b\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Remove AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+2": { + "ClusterOperations+[NoContext]+Get AzHdInsightOnAksClusterInstanceView+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations/instanceViews/default?api-version=2023-11-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations/instanceViews/default?api-version=2023-11-01-preview", "Content": null, + "isContentBase64": false, "Headers": { - "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "48" ], - "x-ms-client-request-id": [ "00a17e49-d18b-41fc-9b56-4c1c7793d584" ], - "CommandName": [ "Remove-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "Remove-AzHdInsightOnAksCluster_Delete" ], + "x-ms-client-request-id": [ "4889452d-f835-4dea-b03a-618afe1bd3cc" ], + "CommandName": [ "Get-AzHdInsightOnAksClusterInstanceView" ], + "FullCommandName": [ "Get-AzHdInsightOnAksClusterInstanceView_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ], + "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 202, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b00f4ac-0000-0100-0000-65027fee0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "6aa2103e-5821-4e4e-9f35-586a69c3f1c1" ], - "x-ms-correlation-request-id": [ "68a74fbf-45c9-4540-b2b7-086a73d12b90" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033749Z:68a74fbf-45c9-4540-b2b7-086a73d12b90" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-providerhub-traffic": [ "True" ], + "mise-correlation-id": [ "ffc6e791-668b-45b8-bd6b-7b39a93aaead" ], + "x-ms-request-id": [ "4526156c-1571-4e04-b388-3f59dc9f3535" ], + "x-ms-correlation-request-id": [ "ca92d5c0-083f-4fb0-ad98-2e02c06a85a6" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024339Z:ca92d5c0-083f-4fb0-ad98-2e02c06a85a6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E831D771B5154A898FE2AF4D7DDF4BB6 Ref B: TYO201100117051 Ref C: 2023-09-14T03:37:49Z" ], - "Date": [ "Thu, 14 Sep 2023 03:37:49 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 37634EBF9CB841FE8AD127110130FFCC Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:43:37Z" ], + "Date": [ "Thu, 21 Mar 2024 02:43:38 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "535" ], + "Content-Length": [ "416" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:37:18.6837887Z\"}" + "Content": "{\"name\":\"default\",\"properties\":{\"status\":{\"ready\":\"True\",\"reason\":\"\",\"message\":\"\"},\"serviceStatuses\":[{\"kind\":\"YarnService\",\"ready\":\"true\",\"message\":\"\"},{\"kind\":\"SparkService\",\"ready\":\"true\",\"message\":\"\"},{\"kind\":\"IngressAuthService\",\"ready\":\"true\",\"message\":\"\"},{\"kind\":\"Zookeeper\",\"ready\":\"true\",\"message\":\"\"},{\"kind\":\"Monitoring\",\"ready\":\"true\",\"message\":\"\"},{\"kind\":\"SparkCluster\",\"ready\":\"true\",\"message\":\"\"}]}}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Remove AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+3": { + "ClusterOperations+[NoContext]+Remove AzHdInsightOnAksCluster+$DELETE+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations?api-version=2023-11-01-preview+1": { "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations?api-version=2023-11-01-preview", "Content": null, + "isContentBase64": false, "Headers": { - "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "49" ], - "x-ms-client-request-id": [ "00a17e49-d18b-41fc-9b56-4c1c7793d584" ], + "x-ms-client-request-id": [ "6634a9a9-9796-4d7a-a3e9-dd26cb6e63df" ], "CommandName": [ "Remove-AzHdInsightOnAksCluster" ], "FullCommandName": [ "Remove-AzHdInsightOnAksCluster_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ], + "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { } @@ -2001,40 +2092,44 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b00f4ac-0000-0100-0000-65027fee0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "3675abc2-20e5-4f8a-bfac-803c1a521554" ], - "x-ms-correlation-request-id": [ "c432f4a7-53ac-40df-b0cb-2a46d1de807f" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033820Z:c432f4a7-53ac-40df-b0cb-2a46d1de807f" ], + "ETag": [ "\"0800ee31-0000-0700-0000-65fb9ede0000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465858221573179\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-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2nK2WhBULzmRy4g7svaowB6tNuW7B3qkjquk0mNQQ\u0026h=Vq3ybA0kfIJchQkRkjTc4E-mfL2zDkrHRppwzbBgKRQ" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-providerhub-traffic": [ "True" ], + "mise-correlation-id": [ "0ab64ed8-74a5-4968-b724-23a1207eb222" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465858221416967\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCc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e1ee1a0" ], + "x-ms-correlation-request-id": [ "a2fc17ff-d92e-49ff-8ab9-737a27d28ef6" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024342Z:a2fc17ff-d92e-49ff-8ab9-737a27d28ef6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 9DC0A8BD87674FFDA48D1CFB03DB4D8F Ref B: TYO201100117051 Ref C: 2023-09-14T03:38:20Z" ], - "Date": [ "Thu, 14 Sep 2023 03:38:19 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 768B99F52BEC4FE5AE99C9EDD0770C21 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:43:39Z" ], + "Date": [ "Thu, 21 Mar 2024 02:43:41 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "535" ], + "Content-Length": [ "4" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:37:18.6837887Z\"}" + "Content": "bnVsbA==", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Remove AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+4": { + "ClusterOperations+[NoContext]+Remove AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465858221416967\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHL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MDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=RhGCsChbwOmP36Oa4D2bPoFsrKJMu7YHuz8rpYYsx-NQeKK5sIdZ0yJ3kfOea30v79c01xhoX14A_gRjq5opSmBHFmE5CSzbZLe55Z828_8HYr-x2hHDqnMg2zt0vmlwe-mwww2VdHgJMDsqGATpWypaNRBXFY9AS63LVITiZEGxzPbV7SxVJeu0ft67phUxs_VcIzs4q7SXqCPITkEb1dj76b5SwwJ_3pHz-6o5aiZsOmji_WEoEehGw4UaHlSg1BWghjmXpO7dTbM06XsGbxCclURRktSGRvoSqaCzBqdnI6AW1rHgZa96iJ0ZZHXo1RbsIxC7xCDwH_mbtFrDAQ\u0026h=CW861CkjWAjH_k9zP7tOpQTwVULSyoGn5xGJqD1AsM0+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465858221416967\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydH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NVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=RhGCsChbwOmP36Oa4D2bPoFsrKJMu7YHuz8rpYYsx-NQeKK5sIdZ0yJ3kfOea30v79c01xhoX14A_gRjq5opSmBHFmE5CSzbZLe55Z828_8HYr-x2hHDqnMg2zt0vmlwe-mwww2VdHgJMDsqGATpWypaNRBXFY9AS63LVITiZEGxzPbV7SxVJeu0ft67phUxs_VcIzs4q7SXqCPITkEb1dj76b5SwwJ_3pHz-6o5aiZsOmji_WEoEehGw4UaHlSg1BWghjmXpO7dTbM06XsGbxCclURRktSGRvoSqaCzBqdnI6AW1rHgZa96iJ0ZZHXo1RbsIxC7xCDwH_mbtFrDAQ\u0026h=CW861CkjWAjH_k9zP7tOpQTwVULSyoGn5xGJqD1AsM0", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "50" ], - "x-ms-client-request-id": [ "00a17e49-d18b-41fc-9b56-4c1c7793d584" ], + "x-ms-client-request-id": [ "6634a9a9-9796-4d7a-a3e9-dd26cb6e63df" ], "CommandName": [ "Remove-AzHdInsightOnAksCluster" ], "FullCommandName": [ "Remove-AzHdInsightOnAksCluster_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -2044,40 +2139,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b00f4ac-0000-0100-0000-65027fee0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "2f934694-7f8a-4d7c-b1e3-9c4d7df1126a" ], - "x-ms-correlation-request-id": [ "aa5e5f41-fb62-4e99-a8c7-423a268edad8" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033851Z:aa5e5f41-fb62-4e99-a8c7-423a268edad8" ], + "ETag": [ "\"0e00d2bf-0000-0700-0000-65fb9edd0000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465858529496586\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI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0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=Y-725feWnTXR8n7LRejYckS2IkX3p_AMCokMqgSDduYG-YrxxYSJjyYk3hAtGv0_UdpZXiKt3swp1xzQuFh6HulZiAzMFlCv-Ie-Iaw9bmmj4Mlc5Jak_97CL-5A2ft4ZzGxGLuiysaiGo4hVAKiVNpw1j6_uMw57QlRU_apv04b9FYesN61SO6QRaMhUcGdEMaDWVF_so4vv0OjDrqhYTQGh6DZDOrspWmhcW5SBRLIkRK4k9XHQn_RFQ64k072Mp_PTAEhB_Hbuf-pIEww07s1X7vRR6I1SiCkkAf1ej1yYNHBh36DyL8eFAv0-PppguA2l2UYXfW260gsrE0NlA\u0026h=BCgGlXzIN6P834794SJ1iDORabdA95puxKGKuq64z5U" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11992" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465858529496586\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1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GxGLuiysaiGo4hVAKiVNpw1j6_uMw57QlRU_apv04b9FYesN61SO6QRaMhUcGdEMaDWVF_so4vv0OjDrqhYTQGh6DZDOrspWmhcW5SBRLIkRK4k9XHQn_RFQ64k072Mp_PTAEhB_Hbuf-pIEww07s1X7vRR6I1SiCkkAf1ej1yYNHBh36DyL8eFAv0-PppguA2l2UYXfW260gsrE0NlA\u0026h=BCgGlXzIN6P834794SJ1iDORabdA95puxKGKuq64z5U" ], + "x-ms-request-id": [ "33d895c0-01df-45de-a620-1f24fdb9a6a9" ], + "x-ms-correlation-request-id": [ "a173499f-7986-4f6f-b6b7-f61411f1f1a1" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024412Z:a173499f-7986-4f6f-b6b7-f61411f1f1a1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1010B8673CA44872A42EE6222C6A9583 Ref B: TYO201100117051 Ref C: 2023-09-14T03:38:50Z" ], - "Date": [ "Thu, 14 Sep 2023 03:38:51 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 372C2A2E75BE4C75B10F86D45D133FE2 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:44:12Z" ], + "Date": [ "Thu, 21 Mar 2024 02:44:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "535" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:37:18.6837887Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:43:41.8913103Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Remove AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+5": { + "ClusterOperations+[NoContext]+Remove AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465858529496586\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29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JUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=Y-725feWnTXR8n7LRejYckS2IkX3p_AMCokMqgSDduYG-YrxxYSJjyYk3hAtGv0_UdpZXiKt3swp1xzQuFh6HulZiAzMFlCv-Ie-Iaw9bmmj4Mlc5Jak_97CL-5A2ft4ZzGxGLuiysaiGo4hVAKiVNpw1j6_uMw57QlRU_apv04b9FYesN61SO6QRaMhUcGdEMaDWVF_so4vv0OjDrqhYTQGh6DZDOrspWmhcW5SBRLIkRK4k9XHQn_RFQ64k072Mp_PTAEhB_Hbuf-pIEww07s1X7vRR6I1SiCkkAf1ej1yYNHBh36DyL8eFAv0-PppguA2l2UYXfW260gsrE0NlA\u0026h=BCgGlXzIN6P834794SJ1iDORabdA95puxKGKuq64z5U+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465858529496586\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCA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tGv0_UdpZXiKt3swp1xzQuFh6HulZiAzMFlCv-Ie-Iaw9bmmj4Mlc5Jak_97CL-5A2ft4ZzGxGLuiysaiGo4hVAKiVNpw1j6_uMw57QlRU_apv04b9FYesN61SO6QRaMhUcGdEMaDWVF_so4vv0OjDrqhYTQGh6DZDOrspWmhcW5SBRLIkRK4k9XHQn_RFQ64k072Mp_PTAEhB_Hbuf-pIEww07s1X7vRR6I1SiCkkAf1ej1yYNHBh36DyL8eFAv0-PppguA2l2UYXfW260gsrE0NlA\u0026h=BCgGlXzIN6P834794SJ1iDORabdA95puxKGKuq64z5U", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "51" ], - "x-ms-client-request-id": [ "00a17e49-d18b-41fc-9b56-4c1c7793d584" ], + "x-ms-client-request-id": [ "6634a9a9-9796-4d7a-a3e9-dd26cb6e63df" ], "CommandName": [ "Remove-AzHdInsightOnAksCluster" ], "FullCommandName": [ "Remove-AzHdInsightOnAksCluster_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -2087,40 +2184,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b00f4ac-0000-0100-0000-65027fee0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "29c3ed39-c7b7-4114-aba1-c727c811d1f0" ], - "x-ms-correlation-request-id": [ "3dd90dac-66c1-4c0c-9893-88a02015de3a" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033921Z:3dd90dac-66c1-4c0c-9893-88a02015de3a" ], + "ETag": [ "\"0e00d2bf-0000-0700-0000-65fb9edd0000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465858837238151\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0L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LQ" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11995" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465858837238151\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCA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IAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=HKAhP7skIY1CeIkQNsxmmcKDohjNMpv_RgUPmIl_EU7qxkxoTuy6VjcoEfM5ZIxp8FGqxPKBASAFGOCpHuuYp_AHxs8HQRNSl27NQ43u8wQvidzAgKyFqLFnnspcHZEiKMqQ3Us2BkiE9oIFCu5G_yQafjhfYQH7YPo1pO-qmEzbdSNu9LlAfXOwZGB1GdTSSOcUwBFYsO_46L0aoFRHRCGNQugyYo_pqHTjmQe4Wfk2Cc2Wjkz0dck5hGwBDCzFjLGsST5J4P-F1f4KNdmwN5q1bnMGmmxOx5nHoQTuBMQQjv7SfrtbjUC22G_xp119W454cPO_el1WOqQY3z4Jfw\u0026h=pBWhEfX43-5mzr6c4hmBDoT9rmLEIV21bUz_f07PXLQ" ], + "x-ms-request-id": [ "a4a72302-cf2c-489d-bb81-8c803740e8ed" ], + "x-ms-correlation-request-id": [ "0ebbb4ce-e660-46b7-a315-402b7e165471" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024443Z:0ebbb4ce-e660-46b7-a315-402b7e165471" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 2137342DFEC6453892BA14F490F2A004 Ref B: TYO201100117051 Ref C: 2023-09-14T03:39:21Z" ], - "Date": [ "Thu, 14 Sep 2023 03:39:21 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 7713E7A904B0461A8A52F529E7508C5D Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:44:43Z" ], + "Date": [ "Thu, 21 Mar 2024 02:44:43 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "535" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:37:18.6837887Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:43:41.8913103Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Remove AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+6": { + "ClusterOperations+[NoContext]+Remove AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465858837238151\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0C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": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465858837238151\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBA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SUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=HKAhP7skIY1CeIkQNsxmmcKDohjNMpv_RgUPmIl_EU7qxkxoTuy6VjcoEfM5ZIxp8FGqxPKBASAFGOCpHuuYp_AHxs8HQRNSl27NQ43u8wQvidzAgKyFqLFnnspcHZEiKMqQ3Us2BkiE9oIFCu5G_yQafjhfYQH7YPo1pO-qmEzbdSNu9LlAfXOwZGB1GdTSSOcUwBFYsO_46L0aoFRHRCGNQugyYo_pqHTjmQe4Wfk2Cc2Wjkz0dck5hGwBDCzFjLGsST5J4P-F1f4KNdmwN5q1bnMGmmxOx5nHoQTuBMQQjv7SfrtbjUC22G_xp119W454cPO_el1WOqQY3z4Jfw\u0026h=pBWhEfX43-5mzr6c4hmBDoT9rmLEIV21bUz_f07PXLQ", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "52" ], - "x-ms-client-request-id": [ "00a17e49-d18b-41fc-9b56-4c1c7793d584" ], + "x-ms-client-request-id": [ "6634a9a9-9796-4d7a-a3e9-dd26cb6e63df" ], "CommandName": [ "Remove-AzHdInsightOnAksCluster" ], "FullCommandName": [ "Remove-AzHdInsightOnAksCluster_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -2130,40 +2229,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b00f4ac-0000-0100-0000-65027fee0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "e7516ca9-e676-44ca-a7a0-11627d165984" ], - "x-ms-correlation-request-id": [ "dfd83f98-4cf5-47c4-84fd-a3f603606371" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T033952Z:dfd83f98-4cf5-47c4-84fd-a3f603606371" ], + "ETag": [ "\"0e00d2bf-0000-0700-0000-65fb9edd0000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465859146508145\u0026c=MIIHADCCBeigAwIBAgITH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si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JJzkxdW3TxM-iR0raq9mgc9m01N_4mxnSSHc_eqEqMZRTufXaW6XTsv48YHsTJanZqcdfYBGVr9Nu-oerwX61KEHUURaWmMIwbnwNA0W2PcEGPL0lYRFMagH5vkei14lFWR54IEc77O9a2bgxbj_8u3Ylj1EJqNMk-ZGVxTLeRoAtcoYEdgjH-BYs1gF51eQEYTnsA86C-QVAyVXj8Z_LVIOoLbAIanK7hTo-AzOLswpgeU7QsyXWziTIfzoV13j6eYkB5NmlqLDnEXcsUi2PQCsJqr79VYyTlnV2JkeSYwiI5Z_WPzPkA5bjs0gsbf1PxKoIujupqyOzFyqkvvrAA\u0026h=Tqi3UZe7JOgW5U10RUmlgZaiVq4mOxi6mvz7QwNAFD0" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465859146508145\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQD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Fm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JJzkxdW3TxM-iR0raq9mgc9m01N_4mxnSSHc_eqEqMZRTufXaW6XTsv48YHsTJanZqcdfYBGVr9Nu-oerwX61KEHUURaWmMIwbnwNA0W2PcEGPL0lYRFMagH5vkei14lFWR54IEc77O9a2bgxbj_8u3Ylj1EJqNMk-ZGVxTLeRoAtcoYEdgjH-BYs1gF51eQEYTnsA86C-QVAyVXj8Z_LVIOoLbAIanK7hTo-AzOLswpgeU7QsyXWziTIfzoV13j6eYkB5NmlqLDnEXcsUi2PQCsJqr79VYyTlnV2JkeSYwiI5Z_WPzPkA5bjs0gsbf1PxKoIujupqyOzFyqkvvrAA\u0026h=Tqi3UZe7JOgW5U10RUmlgZaiVq4mOxi6mvz7QwNAFD0" ], + "x-ms-request-id": [ "bb9cb8c2-dfe3-4a0c-936d-3b62b2782c03" ], + "x-ms-correlation-request-id": [ "5bd75e22-cd89-425d-9b40-b4672753a2d9" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024514Z:5bd75e22-cd89-425d-9b40-b4672753a2d9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 01147EB6B6F14FCEB9E6A6A5CB11E3FE Ref B: TYO201100117051 Ref C: 2023-09-14T03:39:51Z" ], - "Date": [ "Thu, 14 Sep 2023 03:39:52 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 2D79A60C81CE42A39C54DE8C726722CA Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:45:14Z" ], + "Date": [ "Thu, 21 Mar 2024 02:45:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "535" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:37:18.6837887Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:43:41.8913103Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Remove AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+7": { + "ClusterOperations+[NoContext]+Remove AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465859146508145\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSV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0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JJzkxdW3TxM-iR0raq9mgc9m01N_4mxnSSHc_eqEqMZRTufXaW6XTsv48YHsTJanZqcdfYBGVr9Nu-oerwX61KEHUURaWmMIwbnwNA0W2PcEGPL0lYRFMagH5vkei14lFWR54IEc77O9a2bgxbj_8u3Ylj1EJqNMk-ZGVxTLeRoAtcoYEdgjH-BYs1gF51eQEYTnsA86C-QVAyVXj8Z_LVIOoLbAIanK7hTo-AzOLswpgeU7QsyXWziTIfzoV13j6eYkB5NmlqLDnEXcsUi2PQCsJqr79VYyTlnV2JkeSYwiI5Z_WPzPkA5bjs0gsbf1PxKoIujupqyOzFyqkvvrAA\u0026h=Tqi3UZe7JOgW5U10RUmlgZaiVq4mOxi6mvz7QwNAFD0+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465859146508145\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYD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Pn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=JJzkxdW3TxM-iR0raq9mgc9m01N_4mxnSSHc_eqEqMZRTufXaW6XTsv48YHsTJanZqcdfYBGVr9Nu-oerwX61KEHUURaWmMIwbnwNA0W2PcEGPL0lYRFMagH5vkei14lFWR54IEc77O9a2bgxbj_8u3Ylj1EJqNMk-ZGVxTLeRoAtcoYEdgjH-BYs1gF51eQEYTnsA86C-QVAyVXj8Z_LVIOoLbAIanK7hTo-AzOLswpgeU7QsyXWziTIfzoV13j6eYkB5NmlqLDnEXcsUi2PQCsJqr79VYyTlnV2JkeSYwiI5Z_WPzPkA5bjs0gsbf1PxKoIujupqyOzFyqkvvrAA\u0026h=Tqi3UZe7JOgW5U10RUmlgZaiVq4mOxi6mvz7QwNAFD0", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "53" ], - "x-ms-client-request-id": [ "00a17e49-d18b-41fc-9b56-4c1c7793d584" ], + "x-ms-client-request-id": [ "6634a9a9-9796-4d7a-a3e9-dd26cb6e63df" ], "CommandName": [ "Remove-AzHdInsightOnAksCluster" ], "FullCommandName": [ "Remove-AzHdInsightOnAksCluster_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -2173,40 +2274,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b00f4ac-0000-0100-0000-65027fee0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "fe9d8e55-da14-46ea-bd88-b18309f1d4e0" ], - "x-ms-correlation-request-id": [ "8136c0fd-0221-4f81-9f9b-0f68894bf936" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034023Z:8136c0fd-0221-4f81-9f9b-0f68894bf936" ], + "ETag": [ "\"0e00d2bf-0000-0700-0000-65fb9edd0000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465859455031711\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9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BieS5WKRD_x1tyjEB_tqQQa_bLwOnsQbRgjWrk4E4zHunUgMFmI8K_S-WEscu0ayDmhpc_meHLQlvnNeRR53r7fc-z00FHOZk5-Z6xLbTKdORvGCymEZALTb-AwI5hGO_3sqFev-fIbzphOENc1kUxJXN-tqzzNR9ZgOpiTLUxlA\u0026h=KPEkj7q4iwRzZfZeLm-eTWM6VVuuoaEgCOSF_vm6jEI" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465859455031711\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1g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VuuoaEgCOSF_vm6jEI" ], + "x-ms-request-id": [ "b25a7838-9c67-4237-aa47-764f563b4ab2" ], + "x-ms-correlation-request-id": [ "89cd8af9-cabc-4ec9-a03b-5240ce164b3c" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024545Z:89cd8af9-cabc-4ec9-a03b-5240ce164b3c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E8FF7E9B97294C1792398BAF9BF34CD9 Ref B: TYO201100117051 Ref C: 2023-09-14T03:40:22Z" ], - "Date": [ "Thu, 14 Sep 2023 03:40:23 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D6E387A259964AAE86224BC4373DA2E2 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:45:45Z" ], + "Date": [ "Thu, 21 Mar 2024 02:45:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "535" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:37:18.6837887Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:43:41.8913103Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Remove AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+8": { + "ClusterOperations+[NoContext]+Remove AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465859455031711\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2Q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qQQa_bLwOnsQbRgjWrk4E4zHunUgMFmI8K_S-WEscu0ayDmhpc_meHLQlvnNeRR53r7fc-z00FHOZk5-Z6xLbTKdORvGCymEZALTb-AwI5hGO_3sqFev-fIbzphOENc1kUxJXN-tqzzNR9ZgOpiTLUxlA\u0026h=KPEkj7q4iwRzZfZeLm-eTWM6VVuuoaEgCOSF_vm6jEI+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465859455031711\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYE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CymEZALTb-AwI5hGO_3sqFev-fIbzphOENc1kUxJXN-tqzzNR9ZgOpiTLUxlA\u0026h=KPEkj7q4iwRzZfZeLm-eTWM6VVuuoaEgCOSF_vm6jEI", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "54" ], - "x-ms-client-request-id": [ "00a17e49-d18b-41fc-9b56-4c1c7793d584" ], + "x-ms-client-request-id": [ "6634a9a9-9796-4d7a-a3e9-dd26cb6e63df" ], "CommandName": [ "Remove-AzHdInsightOnAksCluster" ], "FullCommandName": [ "Remove-AzHdInsightOnAksCluster_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -2216,40 +2319,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b00f4ac-0000-0100-0000-65027fee0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11995" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "9e1be977-4f72-4014-ad62-3c1aa2ad3a27" ], - "x-ms-correlation-request-id": [ "46a58fa9-c21a-4bc8-9d58-598b26799a5c" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034054Z:46a58fa9-c21a-4bc8-9d58-598b26799a5c" ], + "ETag": [ "\"0e00d2bf-0000-0700-0000-65fb9edd0000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465859762978915\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsG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YBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=BlCYiIftRL1BBYTjTuVQ_AsX2CQ_cRqNHQ449du3hmleWLu-glAf7eU9xKwwgygWhPbRGCZ_waP3-mtUr8G9hP2O_H79UcdUj1Uj0OWlcEOFuGYlEPKb_SF5ieNpNtvGI-aGyQR2InHnxY22BIYVMNisNxOumm0jvLXcVVVD4vyTR_cvJz8KyqMHycfojYBkVBXTOyF8kxJ6kKO643xUg5DaO7cIgUVoGUK-bgdwlr2MFnX7zxMaCXm6KURi--MNZ_MX_Y-6H0KLGEkUGgUZgaxd_7ujU0hsDXxAPj3tOiXVH5I5-9uqjikxBsTw1Tkd_M4YqhIG590GyAzJQZe8eA\u0026h=V2Ofrx30-SIdEie0H4TjhKtb9Z5mUIj_vRPxFGfTFnY" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11994" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465859762978915\u0026c=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UKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=BlCYiIftRL1BBYTjTuVQ_AsX2CQ_cRqNHQ449du3hmleWLu-glAf7eU9xKwwgygWhPbRGCZ_waP3-mtUr8G9hP2O_H79UcdUj1Uj0OWlcEOFuGYlEPKb_SF5ieNpNtvGI-aGyQR2InHnxY22BIYVMNisNxOumm0jvLXcVVVD4vyTR_cvJz8KyqMHycfojYBkVBXTOyF8kxJ6kKO643xUg5DaO7cIgUVoGUK-bgdwlr2MFnX7zxMaCXm6KURi--MNZ_MX_Y-6H0KLGEkUGgUZgaxd_7ujU0hsDXxAPj3tOiXVH5I5-9uqjikxBsTw1Tkd_M4YqhIG590GyAzJQZe8eA\u0026h=V2Ofrx30-SIdEie0H4TjhKtb9Z5mUIj_vRPxFGfTFnY" ], + "x-ms-request-id": [ "3f88bd4e-3125-4c17-bd60-e840b6e6cab9" ], + "x-ms-correlation-request-id": [ "499efb50-e0dc-4f0c-a952-4961334f08b5" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024616Z:499efb50-e0dc-4f0c-a952-4961334f08b5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: FA4D3017B0ED4CEF8D605F506EB98A0A Ref B: TYO201100117051 Ref C: 2023-09-14T03:40:53Z" ], - "Date": [ "Thu, 14 Sep 2023 03:40:54 GMT" ] + "X-MSEdge-Ref": [ "Ref A: CC9DBD21B8114AD5BF484DD66388BC1E Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:46:15Z" ], + "Date": [ "Thu, 21 Mar 2024 02:46:15 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "535" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:37:18.6837887Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:43:41.8913103Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Remove AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+9": { + "ClusterOperations+[NoContext]+Remove AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465859762978915\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzA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3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=BlCYiIftRL1BBYTjTuVQ_AsX2CQ_cRqNHQ449du3hmleWLu-glAf7eU9xKwwgygWhPbRGCZ_waP3-mtUr8G9hP2O_H79UcdUj1Uj0OWlcEOFuGYlEPKb_SF5ieNpNtvGI-aGyQR2InHnxY22BIYVMNisNxOumm0jvLXcVVVD4vyTR_cvJz8KyqMHycfojYBkVBXTOyF8kxJ6kKO643xUg5DaO7cIgUVoGUK-bgdwlr2MFnX7zxMaCXm6KURi--MNZ_MX_Y-6H0KLGEkUGgUZgaxd_7ujU0hsDXxAPj3tOiXVH5I5-9uqjikxBsTw1Tkd_M4YqhIG590GyAzJQZe8eA\u0026h=V2Ofrx30-SIdEie0H4TjhKtb9Z5mUIj_vRPxFGfTFnY+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-b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QUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=BlCYiIftRL1BBYTjTuVQ_AsX2CQ_cRqNHQ449du3hmleWLu-glAf7eU9xKwwgygWhPbRGCZ_waP3-mtUr8G9hP2O_H79UcdUj1Uj0OWlcEOFuGYlEPKb_SF5ieNpNtvGI-aGyQR2InHnxY22BIYVMNisNxOumm0jvLXcVVVD4vyTR_cvJz8KyqMHycfojYBkVBXTOyF8kxJ6kKO643xUg5DaO7cIgUVoGUK-bgdwlr2MFnX7zxMaCXm6KURi--MNZ_MX_Y-6H0KLGEkUGgUZgaxd_7ujU0hsDXxAPj3tOiXVH5I5-9uqjikxBsTw1Tkd_M4YqhIG590GyAzJQZe8eA\u0026h=V2Ofrx30-SIdEie0H4TjhKtb9Z5mUIj_vRPxFGfTFnY", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "55" ], - "x-ms-client-request-id": [ "00a17e49-d18b-41fc-9b56-4c1c7793d584" ], + "x-ms-client-request-id": [ "6634a9a9-9796-4d7a-a3e9-dd26cb6e63df" ], "CommandName": [ "Remove-AzHdInsightOnAksCluster" ], "FullCommandName": [ "Remove-AzHdInsightOnAksCluster_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -2259,40 +2364,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1b00f4ac-0000-0100-0000-65027fee0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "30faef0b-bf2c-48fc-9599-69a3b258d940" ], - "x-ms-correlation-request-id": [ "b311b2cd-c309-46cc-891b-38b66499a4ae" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034125Z:b311b2cd-c309-46cc-891b-38b66499a4ae" ], + "ETag": [ "\"0e00d2bf-0000-0700-0000-65fb9edd0000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465860071566336\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzV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yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=f14ReKJqV2lW9TI3e98jTl9x8hMm-7PBU7x4-LQSMHthcv6gvGVQmIBQkbNDZ7Gz3PKrW_4vDeIwk-tVW7-p6w2gvOXLpQMvKMH1OZbOiL2IW2h0lu03dEewvYDZJQhS2rObr_AaRsJTaODkrACSMrB6XBQVMyV1Hfi7OXemseO_ScCc2lJ8lSKXGbe5hhUYrGCl1ubwMENcTcXd0SJzUO9e1_Gh4gleJ5S5hm_nT6ZGpUPOwxVhp1iLftX0Jr8YGqRk8zmXufWQwRdYKY27nCg_9yHp8Yl4p2dYRYfbNztlVr3NmKxn-F0-PQdnpf5PL7hakzSyt4p_4KudYlouGg\u0026h=yr4FZpEK7cNFULx4wAsFRF7GgNpnLS8CUYnbB6SiMQY" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11992" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465860071410560\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxv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91vGwuIDurzTclTLI0P8pQPedDVCXP-mB7EsgO4wab_c2bWjMjJSZ7edTdI-B9gxc1jW9ROpumlpFPlG0PJ6pKIi9FeI8iNB5Bva7v7LKfZS2KCJ-jrscz9S4v2hP1EMMZHa-ZSvu30PoF3c-a739zZY1kvcXKOG-1g-3aX5VkTFU8n3QhnLVRl9TvFBdQYag\u0026h=W1D2-6GHQzCTYGgEMvgkfM7CTya9vtlRiz1lab1RUcI" ], + "x-ms-request-id": [ "c0b51341-d2ec-45e2-bb7e-ea4fc29771af" ], + "x-ms-correlation-request-id": [ "08125c98-8049-4452-b5b9-ba77a6e2e7b1" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024647Z:08125c98-8049-4452-b5b9-ba77a6e2e7b1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 55FF5BC755D74BF8AFC0187BD004D41E Ref B: TYO201100117051 Ref C: 2023-09-14T03:41:24Z" ], - "Date": [ "Thu, 14 Sep 2023 03:41:25 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 6F79A237F88341C4ACC63C0029EADE08 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:46:46Z" ], + "Date": [ "Thu, 21 Mar 2024 02:46:46 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "535" ], + "Content-Length": [ "524" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:37:18.6837887Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:43:41.8913103Z\"}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Remove AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+10": { + "ClusterOperations+[NoContext]+Remove AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465860071410560\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdG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Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=CEMepP5ja1_e3wr_Qx5-G9VnVydBrtMYE8pkuOUWs1L5iDewDgixxnq_0DBMEYFK3019a2kq9VYKAHAFIiXG2uuKRbLl-g61ufa140rsGAlOboFTBf4ihK7IwVV-LHGof0HG984GY_hRVOc66-m_z91vGwuIDurzTclTLI0P8pQPedDVCXP-mB7EsgO4wab_c2bWjMjJSZ7edTdI-B9gxc1jW9ROpumlpFPlG0PJ6pKIi9FeI8iNB5Bva7v7LKfZS2KCJ-jrscz9S4v2hP1EMMZHa-ZSvu30PoF3c-a739zZY1kvcXKOG-1g-3aX5VkTFU8n3QhnLVRl9TvFBdQYag\u0026h=W1D2-6GHQzCTYGgEMvgkfM7CTya9vtlRiz1lab1RUcI+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465860071410560\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQo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BMEYFK3019a2kq9VYKAHAFIiXG2uuKRbLl-g61ufa140rsGAlOboFTBf4ihK7IwVV-LHGof0HG984GY_hRVOc66-m_z91vGwuIDurzTclTLI0P8pQPedDVCXP-mB7EsgO4wab_c2bWjMjJSZ7edTdI-B9gxc1jW9ROpumlpFPlG0PJ6pKIi9FeI8iNB5Bva7v7LKfZS2KCJ-jrscz9S4v2hP1EMMZHa-ZSvu30PoF3c-a739zZY1kvcXKOG-1g-3aX5VkTFU8n3QhnLVRl9TvFBdQYag\u0026h=W1D2-6GHQzCTYGgEMvgkfM7CTya9vtlRiz1lab1RUcI", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "56" ], - "x-ms-client-request-id": [ "00a17e49-d18b-41fc-9b56-4c1c7793d584" ], + "x-ms-client-request-id": [ "6634a9a9-9796-4d7a-a3e9-dd26cb6e63df" ], "CommandName": [ "Remove-AzHdInsightOnAksCluster" ], "FullCommandName": [ "Remove-AzHdInsightOnAksCluster_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -2302,38 +2409,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"0800ea83-0000-4d00-0000-650280e50000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "x-ms-request-id": [ "4f7f6303-78bd-41fa-9ad7-74e7d58f6e08" ], - "x-ms-correlation-request-id": [ "f15368ea-5c5b-4468-ab25-c6561d45ba4b" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034155Z:f15368ea-5c5b-4468-ab25-c6561d45ba4b" ], + "ETag": [ "\"0e002cc1-0000-0700-0000-65fb9f990000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11995" ], + "x-ms-request-id": [ "9ce5bc6a-c53b-4016-8a10-2654fc8780ec" ], + "x-ms-correlation-request-id": [ "08a70941-bd3d-4956-9832-a506bcec7611" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024718Z:08a70941-bd3d-4956-9832-a506bcec7611" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: B851C17E541E435F8FD582F13D617F16 Ref B: TYO201100117051 Ref C: 2023-09-14T03:41:55Z" ], - "Date": [ "Thu, 14 Sep 2023 03:41:55 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 1DC3B6444DDA49889E99C4D48CEBA897 Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:47:17Z" ], + "Date": [ "Thu, 21 Mar 2024 02:47:17 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "554" ], + "Content-Length": [ "543" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Succeeded\",\"startTime\":\"2023-09-14T03:37:18.6837887Z\",\"properties\":null}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-21T02:43:41.8913103Z\",\"properties\":null}", + "isContentBase64": false } }, - "ClusterOperations+[NoContext]+Remove AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview+11": { + "ClusterOperations+[NoContext]+Remove AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465858221416967\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kC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ITkEb1dj76b5SwwJ_3pHz-6o5aiZsOmji_WEoEehGw4UaHlSg1BWghjmXpO7dTbM06XsGbxCclURRktSGRvoSqaCzBqdnI6AW1rHgZa96iJ0ZZHXo1RbsIxC7xCDwH_mbtFrDAQ\u0026h=CW861CkjWAjH_k9zP7tOpQTwVULSyoGn5xGJqD1AsM0+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9?api-version=2023-11-01-preview\u0026t=638465858221416967\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYW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I6AW1rHgZa96iJ0ZZHXo1RbsIxC7xCDwH_mbtFrDAQ\u0026h=CW861CkjWAjH_k9zP7tOpQTwVULSyoGn5xGJqD1AsM0", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "57" ], - "x-ms-client-request-id": [ "00a17e49-d18b-41fc-9b56-4c1c7793d584" ], + "x-ms-client-request-id": [ "6634a9a9-9796-4d7a-a3e9-dd26cb6e63df" ], "CommandName": [ "Remove-AzHdInsightOnAksCluster" ], "FullCommandName": [ "Remove-AzHdInsightOnAksCluster_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -2343,795 +2452,24 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"0800ea83-0000-4d00-0000-650280e50000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], - "x-ms-request-id": [ "bd1566dc-eb63-4010-b545-9a1d86cdad47" ], - "x-ms-correlation-request-id": [ "c7c49946-fc73-4430-b4b3-200f9a839c9f" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034156Z:c7c49946-fc73-4430-b4b3-200f9a839c9f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5ABD64CAAA4C48DB96B31E42E53AE030 Ref B: TYO201100117051 Ref C: 2023-09-14T03:41:56Z" ], - "Date": [ "Thu, 14 Sep 2023 03:41:56 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "554" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"name\":\"7153ac54-6cfb-462c-987d-f6377ab0ad67*3B38F23545FC60DAA04480285248C13B567FF7D92B88138EAC1A6CBDBC0276F3\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool/clusters/testpsoperations\",\"status\":\"Succeeded\",\"startTime\":\"2023-09-14T03:37:18.6837887Z\",\"properties\":null}" - } - }, - "ClusterOperations+[NoContext]+[NoScenario]+$DELETE+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool?api-version=2023-06-01-preview+12": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "58" ], - "x-ms-client-request-id": [ "4dbdf6c4-c7b3-4633-8548-dd7f58342b65" ], - "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], - "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"1901c0e0-0000-0100-0000-650281060000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "6fefef2f-8de4-4646-b491-e734183223d7" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "9faec93b-191e-4e09-b267-885d03f879d2" ], - "x-ms-correlation-request-id": [ "34431f8b-2d6e-4588-81e2-2abb86c055a4" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034158Z:34431f8b-2d6e-4588-81e2-2abb86c055a4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1B1232AB387C42CF94CA593418A3B310 Ref B: TYO201100117051 Ref C: 2023-09-14T03:41:56Z" ], - "Date": [ "Thu, 14 Sep 2023 03:41:58 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "4" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "bnVsbA==" - } - }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+13": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "59" ], - "x-ms-client-request-id": [ "4dbdf6c4-c7b3-4633-8548-dd7f58342b65" ], - "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], - "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"ce02d7f9-0000-0100-0000-650281060000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "2fbf7c00-3312-4f97-8b1c-2fe5622037ea" ], - "x-ms-correlation-request-id": [ "5f2902ac-1d35-47ed-80eb-41f609a707e7" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034229Z:5f2902ac-1d35-47ed-80eb-41f609a707e7" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F5CB4D04ADBE43C0B27D9E6377E8F8EB Ref B: TYO201100117051 Ref C: 2023-09-14T03:42:29Z" ], - "Date": [ "Thu, 14 Sep 2023 03:42:29 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "508" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:41:58.563213Z\"}" - } - }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+14": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "60" ], - "x-ms-client-request-id": [ "4dbdf6c4-c7b3-4633-8548-dd7f58342b65" ], - "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], - "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"ce02d7f9-0000-0100-0000-650281060000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "e1115f17-e392-46ab-94dc-bf2fb5ac5cc1" ], - "x-ms-correlation-request-id": [ "6d893a5e-5238-4cee-b667-deefad9196b8" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034300Z:6d893a5e-5238-4cee-b667-deefad9196b8" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 93AE44ED15BD479FBDBD04FA3FF6DE5D Ref B: TYO201100117051 Ref C: 2023-09-14T03:42:59Z" ], - "Date": [ "Thu, 14 Sep 2023 03:43:00 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "508" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:41:58.563213Z\"}" - } - }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+15": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "61" ], - "x-ms-client-request-id": [ "4dbdf6c4-c7b3-4633-8548-dd7f58342b65" ], - "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], - "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"ce02d7f9-0000-0100-0000-650281060000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], + "ETag": [ "\"0e002cc1-0000-0700-0000-65fb9f990000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11994" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "fdda6d3b-4633-4fbf-a089-407b472935ed" ], - "x-ms-correlation-request-id": [ "b71b1b7a-0954-4d96-851b-0cb0c94c2ece" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034331Z:b71b1b7a-0954-4d96-851b-0cb0c94c2ece" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 358B8145C5064403A733CA745311F2E8 Ref B: TYO201100117051 Ref C: 2023-09-14T03:43:30Z" ], - "Date": [ "Thu, 14 Sep 2023 03:43:31 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "508" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:41:58.563213Z\"}" - } - }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+16": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "62" ], - "x-ms-client-request-id": [ "4dbdf6c4-c7b3-4633-8548-dd7f58342b65" ], - "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], - "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"ce02d7f9-0000-0100-0000-650281060000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "0d2bda6e-fb21-41b9-bc63-62c09cf547ef" ], - "x-ms-correlation-request-id": [ "0ad12088-af10-415b-b9aa-9d1cc4d85494" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034401Z:0ad12088-af10-415b-b9aa-9d1cc4d85494" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 10F041973E4D4908854BD7571F617A05 Ref B: TYO201100117051 Ref C: 2023-09-14T03:44:01Z" ], - "Date": [ "Thu, 14 Sep 2023 03:44:01 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "508" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:41:58.563213Z\"}" - } - }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+17": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "63" ], - "x-ms-client-request-id": [ "4dbdf6c4-c7b3-4633-8548-dd7f58342b65" ], - "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], - "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"ce02d7f9-0000-0100-0000-650281060000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11995" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "82f42701-8c01-4329-b528-f2ebf2ab7c38" ], - "x-ms-correlation-request-id": [ "24375a6d-6ccf-445a-a402-ed032a08b2fd" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034432Z:24375a6d-6ccf-445a-a402-ed032a08b2fd" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 55B14824F06C4BE68B7B756988F886A2 Ref B: TYO201100117051 Ref C: 2023-09-14T03:44:32Z" ], - "Date": [ "Thu, 14 Sep 2023 03:44:32 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "508" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:41:58.563213Z\"}" - } - }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+18": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "64" ], - "x-ms-client-request-id": [ "4dbdf6c4-c7b3-4633-8548-dd7f58342b65" ], - "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], - "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"ce02d7f9-0000-0100-0000-650281060000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "c262c99e-27c2-4c5b-94ac-3f018c31f401" ], - "x-ms-correlation-request-id": [ "16def403-033d-435f-b613-76c71af5a166" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034503Z:16def403-033d-435f-b613-76c71af5a166" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AB1ACEA504754BE4964E924EAE176AEC Ref B: TYO201100117051 Ref C: 2023-09-14T03:45:02Z" ], - "Date": [ "Thu, 14 Sep 2023 03:45:03 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "508" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:41:58.563213Z\"}" - } - }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+19": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "65" ], - "x-ms-client-request-id": [ "4dbdf6c4-c7b3-4633-8548-dd7f58342b65" ], - "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], - "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"ce02d7f9-0000-0100-0000-650281060000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "cc50a411-f81a-48d1-840c-141c6fe26404" ], - "x-ms-correlation-request-id": [ "1b656c2f-518b-4223-ad16-19c311f3de0c" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034534Z:1b656c2f-518b-4223-ad16-19c311f3de0c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 0948C840D1BD4AC5A1F1B6EC83B0AEA2 Ref B: TYO201100117051 Ref C: 2023-09-14T03:45:33Z" ], - "Date": [ "Thu, 14 Sep 2023 03:45:34 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "508" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:41:58.563213Z\"}" - } - }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+20": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "66" ], - "x-ms-client-request-id": [ "4dbdf6c4-c7b3-4633-8548-dd7f58342b65" ], - "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], - "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"ce02d7f9-0000-0100-0000-650281060000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "9d0547e0-aaec-40b7-9509-715aba770583" ], - "x-ms-correlation-request-id": [ "8db654f7-e516-4a4b-b978-312efdcc0bc7" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034605Z:8db654f7-e516-4a4b-b978-312efdcc0bc7" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: DC34FEC848774889911D513E7C721B0E Ref B: TYO201100117051 Ref C: 2023-09-14T03:46:04Z" ], - "Date": [ "Thu, 14 Sep 2023 03:46:04 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "508" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:41:58.563213Z\"}" - } - }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+21": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "67" ], - "x-ms-client-request-id": [ "4dbdf6c4-c7b3-4633-8548-dd7f58342b65" ], - "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], - "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"ce02d7f9-0000-0100-0000-650281060000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11995" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "d75412b5-9e16-4ae3-8d45-e1099c8fee40" ], - "x-ms-correlation-request-id": [ "cf569803-062d-4c27-b94a-64f18f06c338" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034636Z:cf569803-062d-4c27-b94a-64f18f06c338" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 445CC9782D1D4E5D857EEBD31CE4D2F0 Ref B: TYO201100117051 Ref C: 2023-09-14T03:46:35Z" ], - "Date": [ "Thu, 14 Sep 2023 03:46:35 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "508" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:41:58.563213Z\"}" - } - }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+22": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "68" ], - "x-ms-client-request-id": [ "4dbdf6c4-c7b3-4633-8548-dd7f58342b65" ], - "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], - "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"ce02d7f9-0000-0100-0000-650281060000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "889ae94b-0932-4bfe-9947-3851184452f3" ], - "x-ms-correlation-request-id": [ "cb8b944b-67b9-495d-b292-6e81f5e91bba" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034707Z:cb8b944b-67b9-495d-b292-6e81f5e91bba" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 0400943C01234E40BE2D03366CE5EC1B Ref B: TYO201100117051 Ref C: 2023-09-14T03:47:06Z" ], - "Date": [ "Thu, 14 Sep 2023 03:47:06 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "508" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:41:58.563213Z\"}" - } - }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+23": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "69" ], - "x-ms-client-request-id": [ "4dbdf6c4-c7b3-4633-8548-dd7f58342b65" ], - "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], - "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"ce02d7f9-0000-0100-0000-650281060000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "249f5037-f0c8-41d2-ad0c-798ccf966820" ], - "x-ms-correlation-request-id": [ "92d0ed41-59b5-4427-ac6f-9f4c8f187fd3" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034737Z:92d0ed41-59b5-4427-ac6f-9f4c8f187fd3" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: CFDD441B20934E7C911E7D5AF18241FD Ref B: TYO201100117051 Ref C: 2023-09-14T03:47:37Z" ], - "Date": [ "Thu, 14 Sep 2023 03:47:37 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "508" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:41:58.563213Z\"}" - } - }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+24": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "70" ], - "x-ms-client-request-id": [ "4dbdf6c4-c7b3-4633-8548-dd7f58342b65" ], - "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], - "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"ce02d7f9-0000-0100-0000-650281060000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11994" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "ff9b39eb-4993-4496-9264-d8eedff7906a" ], - "x-ms-correlation-request-id": [ "069b728b-4580-4ffe-902e-313ed19714b8" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034808Z:069b728b-4580-4ffe-902e-313ed19714b8" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F6F61D980D604C79A5ED3BE4729997AF Ref B: TYO201100117051 Ref C: 2023-09-14T03:48:07Z" ], - "Date": [ "Thu, 14 Sep 2023 03:48:08 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "508" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:41:58.563213Z\"}" - } - }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+25": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "71" ], - "x-ms-client-request-id": [ "4dbdf6c4-c7b3-4633-8548-dd7f58342b65" ], - "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], - "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"ce02d7f9-0000-0100-0000-650281060000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "8e971a99-f4c5-43e6-b50d-98f5068c4019" ], - "x-ms-correlation-request-id": [ "1856f275-9047-4449-8367-88038c58fcf4" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034839Z:1856f275-9047-4449-8367-88038c58fcf4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: BDD60C9E85E148488756225F74014DAC Ref B: TYO201100117051 Ref C: 2023-09-14T03:48:38Z" ], - "Date": [ "Thu, 14 Sep 2023 03:48:38 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "508" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:41:58.563213Z\"}" - } - }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+26": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "72" ], - "x-ms-client-request-id": [ "4dbdf6c4-c7b3-4633-8548-dd7f58342b65" ], - "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], - "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"ce02d7f9-0000-0100-0000-650281060000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "b2f96fe8-8ea6-495d-afd2-37d0c35d0153" ], - "x-ms-correlation-request-id": [ "bf98b341-252c-47bf-af9a-f0515be56e51" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034910Z:bf98b341-252c-47bf-af9a-f0515be56e51" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AC40F490713547719C55DC3362A40A98 Ref B: TYO201100117051 Ref C: 2023-09-14T03:49:09Z" ], - "Date": [ "Thu, 14 Sep 2023 03:49:09 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "508" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:41:58.563213Z\"}" - } - }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+27": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "73" ], - "x-ms-client-request-id": [ "4dbdf6c4-c7b3-4633-8548-dd7f58342b65" ], - "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], - "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"ce02d7f9-0000-0100-0000-650281060000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "e6e62498-8a8c-45c7-b9e7-b6243222d48a" ], - "x-ms-correlation-request-id": [ "5e503ba4-7fba-435d-b1ea-de2ffea0b1cc" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T034941Z:5e503ba4-7fba-435d-b1ea-de2ffea0b1cc" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 0A709B59C1634FD5ACFEA7D955F18905 Ref B: TYO201100117051 Ref C: 2023-09-14T03:49:40Z" ], - "Date": [ "Thu, 14 Sep 2023 03:49:40 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "508" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:41:58.563213Z\"}" - } - }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+28": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "74" ], - "x-ms-client-request-id": [ "4dbdf6c4-c7b3-4633-8548-dd7f58342b65" ], - "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], - "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"00006e3c-0000-0800-0000-650282ee0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "61bf61b3-d0dd-4608-b9c4-aefa047574f3" ], - "x-ms-correlation-request-id": [ "756d8aa9-ded0-4c36-b1aa-299feabbdd1b" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T035012Z:756d8aa9-ded0-4c36-b1aa-299feabbdd1b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AD8E4FD02A34439AAFC30659C0F2778F Ref B: TYO201100117051 Ref C: 2023-09-14T03:50:11Z" ], - "Date": [ "Thu, 14 Sep 2023 03:50:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "527" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Succeeded\",\"startTime\":\"2023-09-14T03:41:58.563213Z\",\"properties\":null}" - } - }, - "ClusterOperations+[NoContext]+[NoScenario]+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview+29": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "75" ], - "x-ms-client-request-id": [ "4dbdf6c4-c7b3-4633-8548-dd7f58342b65" ], - "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], - "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"00006e3c-0000-0800-0000-650282ee0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "77347a1e-041a-4f5a-a371-23347533ba4b" ], - "x-ms-correlation-request-id": [ "6e5c7205-63ac-4b9b-a998-05232386348e" ], - "x-ms-routing-request-id": [ "JAPANWEST:20230914T035012Z:6e5c7205-63ac-4b9b-a998-05232386348e" ], + "x-ms-request-id": [ "4e6eedb5-9dc9-4c3b-82bf-956fc5293724" ], + "x-ms-correlation-request-id": [ "3e57987f-c328-4410-b751-d688d80eda76" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T024718Z:3e57987f-c328-4410-b751-d688d80eda76" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: FA7E2B8BC06C4A70A2B0340952E5A8B0 Ref B: TYO201100117051 Ref C: 2023-09-14T03:50:12Z" ], - "Date": [ "Thu, 14 Sep 2023 03:50:12 GMT" ] + "X-MSEdge-Ref": [ "Ref A: AE3B600B9F0648628AF19B96FBCB7DDD Ref B: TYO01EDGE0706 Ref C: 2024-03-21T02:47:18Z" ], + "Date": [ "Thu, 21 Mar 2024 02:47:17 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "527" ], + "Content-Length": [ "543" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"name\":\"9faec93b-191e-4e09-b267-885d03f879d2*0F944BA2CCF330F84743F8D3DA7E532CB84005035EAE86995A26E970F66216D6\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-cluster-pool\",\"status\":\"Succeeded\",\"startTime\":\"2023-09-14T03:41:58.563213Z\",\"properties\":null}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"name\":\"2e7e41ee-bc24-418f-b8c2-a5685e1ee1a0*883D987C1FB5B1FEC83DDCD7542FFCA39D3DF381F8494B2184683C55699EC4A9\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/testpsoperations\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-21T02:43:41.8913103Z\",\"properties\":null}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterPoolOperations.Recording.json b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterPoolOperations.Recording.json index 143793cd4b6c..89d17a9583da 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterPoolOperations.Recording.json +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterPoolOperations.Recording.json @@ -1,16 +1,17 @@ { - "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableClusterPoolVersions?api-version=2023-06-01-preview+1": { + "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableClusterPoolVersions?api-version=2023-11-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West%20US%203/availableClusterPoolVersions?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West%20US%203/availableClusterPoolVersions?api-version=2023-11-01-preview", "Content": null, + "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "e5bedf5b-113a-4fe4-865a-23ef53eed2d1" ], + "x-ms-client-request-id": [ "c989fd50-bf32-4f79-b144-d76ffc74c7a3" ], "CommandName": [ "Get-AzHdInsightOnAksAvailableClusterPoolVersion" ], "FullCommandName": [ "Get-AzHdInsightOnAksAvailableClusterPoolVersion_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -21,31 +22,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "940586ef-cc64-4b13-92f7-b04bf0a65b70" ], - "x-ms-request-id": [ "48135ac1-e181-466b-bc36-818d11d58d9a" ], - "x-ms-correlation-request-id": [ "8074889d-f9fe-4a6f-ab10-b60989191270" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T025317Z:8074889d-f9fe-4a6f-ab10-b60989191270" ], + "mise-correlation-id": [ "d24578ac-8bce-4d8f-a506-6ea9cb58d48f" ], + "x-ms-request-id": [ "8cd785f6-9d8f-4ccf-a488-f50f55b54162" ], + "x-ms-correlation-request-id": [ "f74d2cd4-a773-4428-89cd-2ba4237816fa" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T020046Z:f74d2cd4-a773-4428-89cd-2ba4237816fa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 9D1BFC8B032F4797B60CD6086533CF7B Ref B: TYO201100114045 Ref C: 2023-09-14T02:53:16Z" ], - "Date": [ "Thu, 14 Sep 2023 02:53:16 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 593F735F45DF47E7B3F70E6BBBC78CCB Ref B: TYO201100114033 Ref C: 2024-03-21T02:00:45Z" ], + "Date": [ "Thu, 21 Mar 2024 02:00:46 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "248" ], + "Content-Length": [ "487" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterpoolversions/1.0\",\"name\":\"1.0\",\"properties\":{\"clusterPoolVersion\":\"1.0\",\"aksVersion\":\"1.26\",\"isPreview\":false}}]}" + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterpoolversions/1.0\",\"name\":\"1.0\",\"properties\":{\"clusterPoolVersion\":\"1.0\",\"aksVersion\":\"1.26\",\"isPreview\":false}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterpoolversions/1.1\",\"name\":\"1.1\",\"properties\":{\"clusterPoolVersion\":\"1.1\",\"aksVersion\":\"1.27.7\",\"isPreview\":false}}]}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$PUT+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations?api-version=2023-06-01-preview+2": { + "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$PUT+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations?api-version=2023-06-01-preview", - "Content": "{\r\n \"location\": \"West US 3\",\r\n \"properties\": {\r\n \"clusterPoolProfile\": {\r\n \"clusterPoolVersion\": \"1.0\"\r\n },\r\n \"computeProfile\": {\r\n \"vmSize\": \"Standard_E4s_v3\"\r\n }\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview", + "Content": "{\r\n \"location\": \"West US 3\",\r\n \"properties\": {\r\n \"clusterPoolProfile\": {\r\n \"clusterPoolVersion\": \"1.1\"\r\n },\r\n \"computeProfile\": {\r\n \"vmSize\": \"Standard_E4s_v3\"\r\n }\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -58,41 +61,43 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"190197be-0000-0100-0000-650275a20000\"" ], + "ETag": [ "\"6000c1b5-0000-0700-0000-65fb94d20000\"" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "6be753eb-0854-4ef9-8b4b-97de56d0ca6a" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "f754b183-afd6-4755-bb2e-499bd27d5259" ], - "x-ms-correlation-request-id": [ "a3a4c900-2090-42ba-82df-1ac9ba4f0ac2" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T025323Z:a3a4c900-2090-42ba-82df-1ac9ba4f0ac2" ], + "mise-correlation-id": [ "ac8346a4-5d32-4724-81f6-83c8b5da2bb1" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjC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g9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA" ], + "x-ms-request-id": [ "b623f643-3673-4532-b2a5-ebe451012813" ], + "x-ms-correlation-request-id": [ "f6c0e812-d0d3-40e0-b166-8a6eb04e059b" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T020050Z:f6c0e812-d0d3-40e0-b166-8a6eb04e059b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AEB6590F15E04B8E8E0B1CA5B1E7CF5D Ref B: TYO201100114045 Ref C: 2023-09-14T02:53:18Z" ], - "Date": [ "Thu, 14 Sep 2023 02:53:22 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 338F67EE8FE745C19589ED056E742740 Ref B: TYO201100114033 Ref C: 2024-03-21T02:00:46Z" ], + "Date": [ "Thu, 21 Mar 2024 02:00:50 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "634" ], + "Content-Length": [ "604" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"name\":\"ps-test-pool-operations\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"{username}\",\"createdByType\":\"User\",\"createdAt\":\"2023-09-14T02:53:18.9326363Z\",\"lastModifiedBy\":\"{username}\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-09-14T02:53:18.9326363Z\"},\"properties\":{\"clusterPoolProfile\":{\"clusterPoolVersion\":\"1.0\"},\"computeProfile\":{\"vmSize\":\"Standard_E4s_v3\"},\"provisioningState\":\"Accepted\"}}" + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"name\":\"hilo-pool\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"v-user@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-21T02:00:48.000845Z\",\"lastModifiedBy\":\"v-user@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-21T02:00:48.000845Z\"},\"properties\":{\"clusterPoolProfile\":{\"clusterPoolVersion\":\"1.1\"},\"computeProfile\":{\"vmSize\":\"Standard_E4s_v3\"},\"provisioningState\":\"Accepted\"}}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+3": { + "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBA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oRo8DxlqlrmMMz3R7_Y22P5_luy4RGY0YCixAH7xuJdbkXaKskY0TvXhtR-qbbeZrNX_hcFBBxvXmlOHgzFBjH9DCJwZ_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxd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_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "33a3e651-aad8-4ff1-a78f-d14fb5423187" ], + "x-ms-client-request-id": [ "d73bb93b-84e3-4164-a61c-8821de4e306a" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -102,38 +107,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a1008420-0000-0100-0000-650275a20000\"" ], + "ETag": [ "\"0e00f9ac-0000-0700-0000-65fb94d10000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "c257fb5c-f95b-4751-8cc2-be328579d068" ], - "x-ms-correlation-request-id": [ "d4ca7b58-0a74-44c0-b6ea-10b8ba99c23d" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T025354Z:d4ca7b58-0a74-44c0-b6ea-10b8ba99c23d" ], + "x-ms-request-id": [ "197a220a-4ffd-4d7b-82b8-2af3865bca41" ], + "x-ms-correlation-request-id": [ "f34ed345-5f48-4d0e-99f4-f34b27832170" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T020121Z:f34ed345-5f48-4d0e-99f4-f34b27832170" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 3D71DBEDC0D045A0BB9FAADF6CE6617C Ref B: TYO201100114045 Ref C: 2023-09-14T02:53:53Z" ], - "Date": [ "Thu, 14 Sep 2023 02:53:54 GMT" ] + "X-MSEdge-Ref": [ "Ref A: FA21DA0083C7496290881F0C149D5FE3 Ref B: TYO201100114033 Ref C: 2024-03-21T02:01:20Z" ], + "Date": [ "Thu, 21 Mar 2024 02:01:21 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "511" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T02:53:22.686713Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:00:49.9361098Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+4": { + "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaq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": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBB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YSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=QnSxfPVCVgFhBj9jLOPX0Q9EMW7myZh3IwMSXdhCLrrvWJF8lfcI4dhxclluW-oRo8DxlqlrmMMz3R7_Y22P5_luy4RGY0YCixAH7xuJdbkXaKskY0TvXhtR-qbbeZrNX_hcFBBxvXmlOHgzFBjH9DCJwZ_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "33a3e651-aad8-4ff1-a78f-d14fb5423187" ], + "x-ms-client-request-id": [ "d73bb93b-84e3-4164-a61c-8821de4e306a" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -143,38 +150,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a1008420-0000-0100-0000-650275a20000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "febfb97a-eb33-4379-9efc-be89942703a6" ], - "x-ms-correlation-request-id": [ "880932b7-c57b-4302-9750-5ab5db6e9e7d" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T025424Z:880932b7-c57b-4302-9750-5ab5db6e9e7d" ], + "ETag": [ "\"0e00f9ac-0000-0700-0000-65fb94d10000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "7b39381e-8de6-4c2e-b7bd-0c6abee29801" ], + "x-ms-correlation-request-id": [ "f7102f63-b05e-4eef-9c18-6bd2b8e6d702" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T020152Z:f7102f63-b05e-4eef-9c18-6bd2b8e6d702" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 9F58176D83DD4346BCC423956174253B Ref B: TYO201100114045 Ref C: 2023-09-14T02:54:24Z" ], - "Date": [ "Thu, 14 Sep 2023 02:54:24 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9168B0B941D54824BF31215DD3D6B757 Ref B: TYO201100114033 Ref C: 2024-03-21T02:01:51Z" ], + "Date": [ "Thu, 21 Mar 2024 02:01:51 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "511" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T02:53:22.686713Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:00:49.9361098Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+5": { + "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2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hvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=QnSxfPVCVgFhBj9jLOPX0Q9EMW7myZh3IwMSXdhCLrrvWJF8lfcI4dhxclluW-oRo8DxlqlrmMMz3R7_Y22P5_luy4RGY0YCixAH7xuJdbkXaKskY0TvXhtR-qbbeZrNX_hcFBBxvXmlOHgzFBjH9DCJwZ_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHAD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BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=QnSxfPVCVgFhBj9jLOPX0Q9EMW7myZh3IwMSXdhCLrrvWJF8lfcI4dhxclluW-oRo8DxlqlrmMMz3R7_Y22P5_luy4RGY0YCixAH7xuJdbkXaKskY0TvXhtR-qbbeZrNX_hcFBBxvXmlOHgzFBjH9DCJwZ_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "33a3e651-aad8-4ff1-a78f-d14fb5423187" ], + "x-ms-client-request-id": [ "d73bb93b-84e3-4164-a61c-8821de4e306a" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -184,38 +193,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a1008420-0000-0100-0000-650275a20000\"" ], + "ETag": [ "\"0e00f9ac-0000-0700-0000-65fb94d10000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "x-ms-request-id": [ "0b81ec40-0f01-4513-b578-af0a3e5d7bf1" ], - "x-ms-correlation-request-id": [ "23c4f38d-5291-42a5-8c27-0a987032d00c" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T025455Z:23c4f38d-5291-42a5-8c27-0a987032d00c" ], + "x-ms-request-id": [ "5b99528a-7f6e-4a3f-bef0-b9e8e9a1bfb2" ], + "x-ms-correlation-request-id": [ "bac558e5-6eba-45d9-810d-2c94ff05d9e6" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T020222Z:bac558e5-6eba-45d9-810d-2c94ff05d9e6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 3EE6D048149E432882AE34E467104550 Ref B: TYO201100114045 Ref C: 2023-09-14T02:54:54Z" ], - "Date": [ "Thu, 14 Sep 2023 02:54:55 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 13453499433F43DABCD438D40A649227 Ref B: TYO201100114033 Ref C: 2024-03-21T02:02:22Z" ], + "Date": [ "Thu, 21 Mar 2024 02:02:22 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "511" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T02:53:22.686713Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:00:49.9361098Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+6": { + "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0a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hrMvD1lL1A\u0026s=QnSxfPVCVgFhBj9jLOPX0Q9EMW7myZh3IwMSXdhCLrrvWJF8lfcI4dhxclluW-oRo8DxlqlrmMMz3R7_Y22P5_luy4RGY0YCixAH7xuJdbkXaKskY0TvXhtR-qbbeZrNX_hcFBBxvXmlOHgzFBjH9DCJwZ_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ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z3R7_Y22P5_luy4RGY0YCixAH7xuJdbkXaKskY0TvXhtR-qbbeZrNX_hcFBBxvXmlOHgzFBjH9DCJwZ_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "33a3e651-aad8-4ff1-a78f-d14fb5423187" ], + "x-ms-client-request-id": [ "d73bb93b-84e3-4164-a61c-8821de4e306a" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -225,38 +236,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a1008420-0000-0100-0000-650275a20000\"" ], + "ETag": [ "\"0e00f9ac-0000-0700-0000-65fb94d10000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "x-ms-request-id": [ "35e97305-fc35-4aab-85bd-9897067f3f2e" ], - "x-ms-correlation-request-id": [ "cf69cea2-415e-4eb2-8bde-97a9d62322ba" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T025526Z:cf69cea2-415e-4eb2-8bde-97a9d62322ba" ], + "x-ms-request-id": [ "a10bd459-e9b9-4eed-9f24-f5fd2b59b825" ], + "x-ms-correlation-request-id": [ "4c3964ce-9dce-4b10-aeec-c31cb477320d" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T020253Z:4c3964ce-9dce-4b10-aeec-c31cb477320d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 8990A5E038334A69B1D3646AFC259A8D Ref B: TYO201100114045 Ref C: 2023-09-14T02:55:25Z" ], - "Date": [ "Thu, 14 Sep 2023 02:55:26 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9C35CC20912E41F5A5EE775CB45E83EB Ref B: TYO201100114033 Ref C: 2024-03-21T02:02:53Z" ], + "Date": [ "Thu, 21 Mar 2024 02:02:53 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "511" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T02:53:22.686713Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:00:49.9361098Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+7": { + "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982b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TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOC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Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "33a3e651-aad8-4ff1-a78f-d14fb5423187" ], + "x-ms-client-request-id": [ "d73bb93b-84e3-4164-a61c-8821de4e306a" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -266,38 +279,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a1008420-0000-0100-0000-650275a20000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "11a130ca-7f65-46bf-8379-0d1e4f5a1274" ], - "x-ms-correlation-request-id": [ "a5d51e4e-cc7f-486f-b13c-d515a96c8e37" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T025557Z:a5d51e4e-cc7f-486f-b13c-d515a96c8e37" ], + "ETag": [ "\"0e00f9ac-0000-0700-0000-65fb94d10000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], + "x-ms-request-id": [ "f0d9bffe-71ff-48ef-8d8a-2615dadce76b" ], + "x-ms-correlation-request-id": [ "a99470f1-8198-4cde-a99f-6380dc7c6819" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T020324Z:a99470f1-8198-4cde-a99f-6380dc7c6819" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 52F2D766C6F64BECBF4985EB7917DDE4 Ref B: TYO201100114045 Ref C: 2023-09-14T02:55:56Z" ], - "Date": [ "Thu, 14 Sep 2023 02:55:57 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 7A7BFC9C82BD422990D15F18642DD931 Ref B: TYO201100114033 Ref C: 2024-03-21T02:03:24Z" ], + "Date": [ "Thu, 21 Mar 2024 02:03:24 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "511" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T02:53:22.686713Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:00:49.9361098Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+8": { + "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3Js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GDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=QnSxfPVCVgFhBj9jLOPX0Q9EMW7myZh3IwMSXdhCLrrvWJF8lfcI4dhxclluW-oRo8DxlqlrmMMz3R7_Y22P5_luy4RGY0YCixAH7xuJdbkXaKskY0TvXhtR-qbbeZrNX_hcFBBxvXmlOHgzFBjH9DCJwZ_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451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BQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=QnSxfPVCVgFhBj9jLOPX0Q9EMW7myZh3IwMSXdhCLrrvWJF8lfcI4dhxclluW-oRo8DxlqlrmMMz3R7_Y22P5_luy4RGY0YCixAH7xuJdbkXaKskY0TvXhtR-qbbeZrNX_hcFBBxvXmlOHgzFBjH9DCJwZ_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "33a3e651-aad8-4ff1-a78f-d14fb5423187" ], + "x-ms-client-request-id": [ "d73bb93b-84e3-4164-a61c-8821de4e306a" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -307,38 +322,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a1008420-0000-0100-0000-650275a20000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "5362dc2c-c12e-490e-8ffe-609737ebbddf" ], - "x-ms-correlation-request-id": [ "a36c4d89-6b04-4505-b304-4a6387334c08" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T025628Z:a36c4d89-6b04-4505-b304-4a6387334c08" ], + "ETag": [ "\"0e00f9ac-0000-0700-0000-65fb94d10000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "20234472-b916-46ce-99f7-cf5814f9c917" ], + "x-ms-correlation-request-id": [ "ba183dfa-7647-46cf-8b5e-89fc41cc99d3" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T020355Z:ba183dfa-7647-46cf-8b5e-89fc41cc99d3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 9C0FD7C3A492436E8202FA9B5F152B2A Ref B: TYO201100114045 Ref C: 2023-09-14T02:56:27Z" ], - "Date": [ "Thu, 14 Sep 2023 02:56:27 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 41DD3EDD28FF4590B64DDC701AE54288 Ref B: TYO201100114033 Ref C: 2024-03-21T02:03:55Z" ], + "Date": [ "Thu, 21 Mar 2024 02:03:55 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "511" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T02:53:22.686713Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:00:49.9361098Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+9": { + "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDE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WCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=QnSxfPVCVgFhBj9jLOPX0Q9EMW7myZh3IwMSXdhCLrrvWJF8lfcI4dhxclluW-oRo8DxlqlrmMMz3R7_Y22P5_luy4RGY0YCixAH7xuJdbkXaKskY0TvXhtR-qbbeZrNX_hcFBBxvXmlOHgzFBjH9DCJwZ_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29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JUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=QnSxfPVCVgFhBj9jLOPX0Q9EMW7myZh3IwMSXdhCLrrvWJF8lfcI4dhxclluW-oRo8DxlqlrmMMz3R7_Y22P5_luy4RGY0YCixAH7xuJdbkXaKskY0TvXhtR-qbbeZrNX_hcFBBxvXmlOHgzFBjH9DCJwZ_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "33a3e651-aad8-4ff1-a78f-d14fb5423187" ], + "x-ms-client-request-id": [ "d73bb93b-84e3-4164-a61c-8821de4e306a" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -348,38 +365,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a1008420-0000-0100-0000-650275a20000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "16d7e7b9-87d1-4181-ab06-f9f78e8df3a2" ], - "x-ms-correlation-request-id": [ "7e83f864-0988-472c-9030-4106621b982d" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T025658Z:7e83f864-0988-472c-9030-4106621b982d" ], + "ETag": [ "\"0e00f9ac-0000-0700-0000-65fb94d10000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], + "x-ms-request-id": [ "dad782d6-7069-4373-992e-28527cd1ea27" ], + "x-ms-correlation-request-id": [ "f2e2b7bd-bdc7-40b2-8be9-1c3aef7d33c1" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T020426Z:f2e2b7bd-bdc7-40b2-8be9-1c3aef7d33c1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6694A47210CB4F41954F0010D4025EE7 Ref B: TYO201100114045 Ref C: 2023-09-14T02:56:58Z" ], - "Date": [ "Thu, 14 Sep 2023 02:56:58 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 762A1B633A1F44ACBAB5FDFF8B365753 Ref B: TYO201100114033 Ref C: 2024-03-21T02:04:25Z" ], + "Date": [ "Thu, 21 Mar 2024 02:04:26 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "511" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T02:53:22.686713Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:00:49.9361098Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+10": { + "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9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9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258O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oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "33a3e651-aad8-4ff1-a78f-d14fb5423187" ], + "x-ms-client-request-id": [ "d73bb93b-84e3-4164-a61c-8821de4e306a" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -389,38 +408,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a1008420-0000-0100-0000-650275a20000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "b8428b42-1c51-43fb-9e36-dd7a06a78a3a" ], - "x-ms-correlation-request-id": [ "a5f6588d-b65a-4531-9208-bfd68bdb43c5" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T025729Z:a5f6588d-b65a-4531-9208-bfd68bdb43c5" ], + "ETag": [ "\"0e00f9ac-0000-0700-0000-65fb94d10000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "62550620-d6a0-48e1-a1a9-6baa8212d582" ], + "x-ms-correlation-request-id": [ "259e0cf4-edc1-4557-a58d-b8add1c91b1a" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T020457Z:259e0cf4-edc1-4557-a58d-b8add1c91b1a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AD571BAA87FB424AA8A0A81A65B9D1B8 Ref B: TYO201100114045 Ref C: 2023-09-14T02:57:28Z" ], - "Date": [ "Thu, 14 Sep 2023 02:57:29 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F2A45B216082487DAB598258E9B3AE49 Ref B: TYO201100114033 Ref C: 2024-03-21T02:04:56Z" ], + "Date": [ "Thu, 21 Mar 2024 02:04:57 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "511" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T02:53:22.686713Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:00:49.9361098Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+11": { + "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYI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JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=QnSxfPVCVgFhBj9jLOPX0Q9EMW7myZh3IwMSXdhCLrrvWJF8lfcI4dhxclluW-oRo8DxlqlrmMMz3R7_Y22P5_luy4RGY0YCixAH7xuJdbkXaKskY0TvXhtR-qbbeZrNX_hcFBBxvXmlOHgzFBjH9DCJwZ_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAW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yMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=QnSxfPVCVgFhBj9jLOPX0Q9EMW7myZh3IwMSXdhCLrrvWJF8lfcI4dhxclluW-oRo8DxlqlrmMMz3R7_Y22P5_luy4RGY0YCixAH7xuJdbkXaKskY0TvXhtR-qbbeZrNX_hcFBBxvXmlOHgzFBjH9DCJwZ_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "33a3e651-aad8-4ff1-a78f-d14fb5423187" ], + "x-ms-client-request-id": [ "d73bb93b-84e3-4164-a61c-8821de4e306a" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -430,38 +451,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a1008420-0000-0100-0000-650275a20000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], - "x-ms-request-id": [ "e01e3391-8047-490d-805d-b62073859716" ], - "x-ms-correlation-request-id": [ "3ecf20b5-ae6a-4e28-b4b0-7fa04c7698cb" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T025800Z:3ecf20b5-ae6a-4e28-b4b0-7fa04c7698cb" ], + "ETag": [ "\"0e00f9ac-0000-0700-0000-65fb94d10000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "d7776443-0917-48e1-8513-e9895ed40e7f" ], + "x-ms-correlation-request-id": [ "97df7a58-22c3-46b3-9ef8-ce29c0889386" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T020527Z:97df7a58-22c3-46b3-9ef8-ce29c0889386" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 973564FD2EEE485498383979F8D5CAD9 Ref B: TYO201100114045 Ref C: 2023-09-14T02:57:59Z" ], - "Date": [ "Thu, 14 Sep 2023 02:58:00 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F7AC013DDD984E03B314C01ECE675F14 Ref B: TYO201100114033 Ref C: 2024-03-21T02:05:27Z" ], + "Date": [ "Thu, 21 Mar 2024 02:05:27 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "511" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T02:53:22.686713Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:00:49.9361098Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+12": { + "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-pre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dsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=QnSxfPVCVgFhBj9jLOPX0Q9EMW7myZh3IwMSXdhCLrrvWJF8lfcI4dhxclluW-oRo8DxlqlrmMMz3R7_Y22P5_luy4RGY0YCixAH7xuJdbkXaKskY0TvXhtR-qbbeZrNX_hcFBBxvXmlOHgzFBjH9DCJwZ_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYK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H5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=QnSxfPVCVgFhBj9jLOPX0Q9EMW7myZh3IwMSXdhCLrrvWJF8lfcI4dhxclluW-oRo8DxlqlrmMMz3R7_Y22P5_luy4RGY0YCixAH7xuJdbkXaKskY0TvXhtR-qbbeZrNX_hcFBBxvXmlOHgzFBjH9DCJwZ_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "33a3e651-aad8-4ff1-a78f-d14fb5423187" ], + "x-ms-client-request-id": [ "d73bb93b-84e3-4164-a61c-8821de4e306a" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -471,38 +494,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"0f00dc1c-0000-4d00-0000-650276d60000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "617cd447-149b-4018-927f-8583594c757c" ], - "x-ms-correlation-request-id": [ "55a6bbe1-eac6-4c5a-9d60-8924786bf2fc" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T025831Z:55a6bbe1-eac6-4c5a-9d60-8924786bf2fc" ], + "ETag": [ "\"0e00f9ac-0000-0700-0000-65fb94d10000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "111539da-f470-4695-9a6e-0ae2dce305fe" ], + "x-ms-correlation-request-id": [ "73dae10f-8bce-4dc9-863b-eb63e53a19ad" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T020558Z:73dae10f-8bce-4dc9-863b-eb63e53a19ad" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 9A22C84C32C140F1B770A2B9A9259088 Ref B: TYO201100114045 Ref C: 2023-09-14T02:58:30Z" ], - "Date": [ "Thu, 14 Sep 2023 02:58:30 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 785DB04C929A47ED9C0842E801A36BE0 Ref B: TYO201100114033 Ref C: 2024-03-21T02:05:58Z" ], + "Date": [ "Thu, 21 Mar 2024 02:05:58 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "530" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"f754b183-afd6-4755-bb2e-499bd27d5259*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Succeeded\",\"startTime\":\"2023-09-14T02:53:22.686713Z\",\"properties\":null}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:00:49.9361098Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations?api-version=2023-06-01-preview+13": { + "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJK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IwMSXdhCLrrvWJF8lfcI4dhxclluW-oRo8DxlqlrmMMz3R7_Y22P5_luy4RGY0YCixAH7xuJdbkXaKskY0TvXhtR-qbbeZrNX_hcFBBxvXmlOHgzFBjH9DCJwZ_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdn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_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "33a3e651-aad8-4ff1-a78f-d14fb5423187" ], + "x-ms-client-request-id": [ "d73bb93b-84e3-4164-a61c-8821de4e306a" ], "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -512,36 +537,210 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"190189c1-0000-0100-0000-650276bf0000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "ETag": [ "\"0e00f9ac-0000-0700-0000-65fb94d10000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "ab6df7ad-b638-4c6a-924a-c7714bf1548b" ], + "x-ms-correlation-request-id": [ "5bc90be6-5631-47f4-8a6f-bacd0ec3ccad" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T020629Z:5bc90be6-5631-47f4-8a6f-bacd0ec3ccad" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 77235222521E4F33ABCD64A6DDA69034 Ref B: TYO201100114033 Ref C: 2024-03-21T02:06:29Z" ], + "Date": [ "Thu, 21 Mar 2024 02:06:29 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "498" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:00:49.9361098Z\"}", + "isContentBase64": false + } + }, + "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j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22P5_luy4RGY0YCixAH7xuJdbkXaKskY0TvXhtR-qbbeZrNX_hcFBBxvXmlOHgzFBjH9DCJwZ_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKF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crKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "d73bb93b-84e3-4164-a61c-8821de4e306a" ], + "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], + "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"0e00f9ac-0000-0700-0000-65fb94d10000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "a6e76234-fcf6-41e7-b04d-4320da6bc56c" ], + "x-ms-correlation-request-id": [ "37d0a782-85a8-4b82-938c-6ba7daf7a676" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T020700Z:37d0a782-85a8-4b82-938c-6ba7daf7a676" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: D2C4BB2884FC4416AE4E7F204ADFD784 Ref B: TYO201100114033 Ref C: 2024-03-21T02:06:59Z" ], + "Date": [ "Thu, 21 Mar 2024 02:07:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "498" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:00:49.9361098Z\"}", + "isContentBase64": false + } + }, + "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMz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msR-zw6xeNhvSeGmL6cA+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGA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BBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=QnSxfPVCVgFhBj9jLOPX0Q9EMW7myZh3IwMSXdhCLrrvWJF8lfcI4dhxclluW-oRo8DxlqlrmMMz3R7_Y22P5_luy4RGY0YCixAH7xuJdbkXaKskY0TvXhtR-qbbeZrNX_hcFBBxvXmlOHgzFBjH9DCJwZ_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "15" ], + "x-ms-client-request-id": [ "d73bb93b-84e3-4164-a61c-8821de4e306a" ], + "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], + "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"0e00f9ac-0000-0700-0000-65fb94d10000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "1db5b694-2ff6-4058-bd9d-6ee06a767168" ], + "x-ms-correlation-request-id": [ "5e1a6587-1332-4881-b2be-9a49ba80634a" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T020730Z:5e1a6587-1332-4881-b2be-9a49ba80634a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: E268B409A7CC4CF180BE93667DE961FE Ref B: TYO201100114033 Ref C: 2024-03-21T02:07:30Z" ], + "Date": [ "Thu, 21 Mar 2024 02:07:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "498" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:00:49.9361098Z\"}", + "isContentBase64": false + } + }, + "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJS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ggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=QnSxfPVCVgFhBj9jLOPX0Q9EMW7myZh3IwMSXdhCLrrvWJF8lfcI4dhxclluW-oRo8DxlqlrmMMz3R7_Y22P5_luy4RGY0YCixAH7xuJdbkXaKskY0TvXhtR-qbbeZrNX_hcFBBxvXmlOHgzFBjH9DCJwZ_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465832503133654\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZIm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0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=QnSxfPVCVgFhBj9jLOPX0Q9EMW7myZh3IwMSXdhCLrrvWJF8lfcI4dhxclluW-oRo8DxlqlrmMMz3R7_Y22P5_luy4RGY0YCixAH7xuJdbkXaKskY0TvXhtR-qbbeZrNX_hcFBBxvXmlOHgzFBjH9DCJwZ_IaXvsjPBM9a-yBKIlPBH_Xdea5cEvfOa4s7RVBGJvKojmsXXSe7HOnvorf--uTU1Wc9UEh8wMBDAtxIaCS2r__S8IwZBY5nukFzeS0oIugG1BzWfe0gRMgasUVFWWrBnOGgPZYhL_wmJbpnZWW4pAjz2xcrKCqZ5mj_TVkcmUg9_rW94r8kc-1lOggg\u0026h=JqS5VJsDOCfGseGsT1rfHCVmsR-zw6xeNhvSeGmL6cA", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "d73bb93b-84e3-4164-a61c-8821de4e306a" ], + "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], + "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"0000dff7-0000-4d00-0000-65fb967e0000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "a648f3e6-c2fe-46bb-bc50-fbaf1707a086" ], + "x-ms-correlation-request-id": [ "c57ea420-271c-4981-94d8-2784d5a7595d" ], + "x-ms-routing-request-id": [ "JAPANWEST:20240321T020802Z:c57ea420-271c-4981-94d8-2784d5a7595d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 7550848E6E9548C0A072C16906DCC1F5 Ref B: TYO201100114033 Ref C: 2024-03-21T02:08:02Z" ], + "Date": [ "Thu, 21 Mar 2024 02:08:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "517" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"b623f643-3673-4532-b2a5-ebe451012813*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-21T02:00:49.9361098Z\",\"properties\":null}", + "isContentBase64": false + } + }, + "ClusterPoolOperations+[NoContext]+New AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "d73bb93b-84e3-4164-a61c-8821de4e306a" ], + "CommandName": [ "New-AzHdInsightOnAksClusterPool" ], + "FullCommandName": [ "New-AzHdInsightOnAksClusterPool_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"600028c9-0000-0700-0000-65fb96560000\"" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "1b71f1a5-ae6c-49d2-8985-40044c7b2e84" ], - "x-ms-correlation-request-id": [ "f4636582-3754-4bbd-a847-04e1736e9f43" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T025832Z:f4636582-3754-4bbd-a847-04e1736e9f43" ], + "x-ms-request-id": [ "8e0af3e8-e974-4e94-a0fb-83df53827b8c" ], + "x-ms-correlation-request-id": [ "f8f05250-0b2c-4783-ae40-c7d86b2527f4" ], + "x-ms-routing-request-id": [ "JAPANWEST:20240321T020803Z:f8f05250-0b2c-4783-ae40-c7d86b2527f4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 9E0C788CB4AA40CDB4FCAA295EFE3D7F Ref B: TYO201100114045 Ref C: 2023-09-14T02:58:31Z" ], - "Date": [ "Thu, 14 Sep 2023 02:58:31 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D26EC033FCF849BC9596F1EC626DB59F Ref B: TYO201100114033 Ref C: 2024-03-21T02:08:02Z" ], + "Date": [ "Thu, 21 Mar 2024 02:08:03 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1527" ], + "Content-Length": [ "1443" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"name\":\"ps-test-pool-operations\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"{username}\",\"createdByType\":\"User\",\"createdAt\":\"2023-09-14T02:53:18.9326363Z\",\"lastModifiedBy\":\"{username}\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-09-14T02:53:18.9326363Z\"},\"properties\":{\"clusterPoolProfile\":{\"clusterPoolVersion\":\"1.0\"},\"managedResourceGroupName\":\"hdi-05b06908de254a8c869f104ccefd47b0\",\"aksManagedResourceGroupName\":\"MC_hdi-05b06908de254a8c869f104ccefd47b0_ps-test-pool-operations_westus3\",\"aksClusterProfile\":{\"aksVersion\":\"1.26\",\"aksClusterResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-05b06908de254a8c869f104ccefd47b0/providers/Microsoft.ContainerService/managedClusters/ps-test-pool-operations\",\"aksClusterAgentPoolIdentityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-05b06908de254a8c869f104ccefd47b0_ps-test-pool-operations_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ps-test-pool-operations-agentpool\",\"msiClientId\":\"5d60ed47-1d31-4491-9774-3f03c3db8dd8\",\"msiObjectId\":\"7010d0c5-c38e-47ac-b6c7-202ba9a6abad\"}},\"computeProfile\":{\"vmSize\":\"Standard_E4s_v3\",\"count\":3},\"deploymentId\":\"05b06908de254a8c869f104ccefd47b0\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}" + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"name\":\"hilo-pool\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"v-user@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-21T02:00:48.000845Z\",\"lastModifiedBy\":\"v-user@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-21T02:00:48.000845Z\"},\"properties\":{\"clusterPoolProfile\":{\"clusterPoolVersion\":\"1.1\"},\"managedResourceGroupName\":\"hdi-d538fdf072094181ba8c68db403d8520\",\"aksManagedResourceGroupName\":\"MC_hdi-d538fdf072094181ba8c68db403d8520_hilo-pool_westus3\",\"aksClusterProfile\":{\"aksVersion\":\"1.27.7\",\"aksClusterResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-d538fdf072094181ba8c68db403d8520/providers/Microsoft.ContainerService/managedClusters/hilo-pool\",\"aksClusterAgentPoolIdentityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-d538fdf072094181ba8c68db403d8520_hilo-pool_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hilo-pool-agentpool\",\"msiClientId\":\"207cf1d2-ae47-488a-84e1-b402642ec474\",\"msiObjectId\":\"095561b7-8657-4306-ad67-be8f046ba9b4\"}},\"computeProfile\":{\"vmSize\":\"Standard_E4s_v3\",\"count\":3},\"deploymentId\":\"d538fdf072094181ba8c68db403d8520\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Set AzHdInsightOnAksClusterPool LogWorkSpace+$PUT+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations?api-version=2023-06-01-preview+1": { + "ClusterPoolOperations+[NoContext]+Set AzHdInsightOnAksClusterPool LogWorkSpace+$PUT+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations?api-version=2023-06-01-preview", - "Content": "{\r\n \"location\": \"West US 3\",\r\n \"properties\": {\r\n \"computeProfile\": {\r\n \"vmSize\": \"Standard_E4s_v3\"\r\n },\r\n \"logAnalyticsProfile\": {\r\n \"enabled\": true,\r\n \"workspaceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/psgroup/providers/microsoft.operationalinsights/workspaces/testworkspace\"\r\n }\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview", + "Content": "{\r\n \"location\": \"West US 3\",\r\n \"properties\": {\r\n \"computeProfile\": {\r\n \"vmSize\": \"Standard_E4s_v3\"\r\n },\r\n \"logAnalyticsProfile\": {\r\n \"enabled\": true,\r\n \"workspaceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/pstestgroup/providers/microsoft.operationalinsights/workspaces/testhiloworkspace\"\r\n }\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "361" ] + "Content-Length": [ "357" ] } }, "Response": { @@ -549,41 +748,43 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1901ebc1-0000-0100-0000-650276db0000\"" ], + "ETag": [ "\"600049cc-0000-0700-0000-65fb96850000\"" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "83b6ce91-3e0e-41f1-b0e8-d9cac8bd6d49" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64" ], - "x-ms-correlation-request-id": [ "8df594d6-c34d-43cb-a175-9ca958190400" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T025835Z:8df594d6-c34d-43cb-a175-9ca958190400" ], + "mise-correlation-id": [ "5f948fec-8bc2-48ac-bfdb-4b27deb6852e" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465836857802915\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7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ONOeRU34VO3uZNuSeYPv8hq0OhNs-B32eW7DXw\u0026h=JfREpqReG6PBNTfi0-bu78Q42nHDR2nBDhAwZsK6qc4" ], + "x-ms-request-id": [ "fffc8f06-d534-4fc9-bc3b-ffc2ab88471f" ], + "x-ms-correlation-request-id": [ "d0bedcb6-79ca-4601-ba9d-f40ffe65922f" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T020805Z:d0bedcb6-79ca-4601-ba9d-f40ffe65922f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 8C20EED922D8481EB55BDDA3346E46DB Ref B: TYO201100114045 Ref C: 2023-09-14T02:58:32Z" ], - "Date": [ "Thu, 14 Sep 2023 02:58:35 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D7C6BCA6C4CD4A7A8C665850C53F6791 Ref B: TYO201100114033 Ref C: 2024-03-21T02:08:03Z" ], + "Date": [ "Thu, 21 Mar 2024 02:08:05 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1617" ], + "Content-Length": [ "1530" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"name\":\"ps-test-pool-operations\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"{username}\",\"createdByType\":\"User\",\"createdAt\":\"2023-09-14T02:53:18.9326363Z\",\"lastModifiedBy\":\"{username}\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-09-14T02:58:32.6182183Z\"},\"properties\":{\"aksManagedResourceGroupName\":\"MC_hdi-05b06908de254a8c869f104ccefd47b0_ps-test-pool-operations_westus3\",\"aksClusterProfile\":{\"aksVersion\":\"1.26\",\"aksClusterResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-05b06908de254a8c869f104ccefd47b0/providers/Microsoft.ContainerService/managedClusters/ps-test-pool-operations\",\"aksClusterAgentPoolIdentityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-05b06908de254a8c869f104ccefd47b0_ps-test-pool-operations_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ps-test-pool-operations-agentpool\",\"msiClientId\":\"5d60ed47-1d31-4491-9774-3f03c3db8dd8\",\"msiObjectId\":\"7010d0c5-c38e-47ac-b6c7-202ba9a6abad\"}},\"computeProfile\":{\"count\":3,\"vmSize\":\"Standard_E4s_v3\"},\"deploymentId\":\"05b06908de254a8c869f104ccefd47b0\",\"provisioningState\":\"Accepted\",\"status\":\"Running\",\"logAnalyticsProfile\":{\"enabled\":true,\"workspaceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/psgroup/providers/microsoft.operationalinsights/workspaces/testworkspace\"}}}" + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"name\":\"hilo-pool\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"v-user@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-21T02:00:48.000845Z\",\"lastModifiedBy\":\"v-user@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-21T02:08:03.8896827Z\"},\"properties\":{\"aksManagedResourceGroupName\":\"MC_hdi-d538fdf072094181ba8c68db403d8520_hilo-pool_westus3\",\"aksClusterProfile\":{\"aksVersion\":\"1.27.7\",\"aksClusterResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-d538fdf072094181ba8c68db403d8520/providers/Microsoft.ContainerService/managedClusters/hilo-pool\",\"aksClusterAgentPoolIdentityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-d538fdf072094181ba8c68db403d8520_hilo-pool_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hilo-pool-agentpool\",\"msiClientId\":\"207cf1d2-ae47-488a-84e1-b402642ec474\",\"msiObjectId\":\"095561b7-8657-4306-ad67-be8f046ba9b4\"}},\"computeProfile\":{\"count\":3,\"vmSize\":\"Standard_E4s_v3\"},\"deploymentId\":\"d538fdf072094181ba8c68db403d8520\",\"provisioningState\":\"Accepted\",\"status\":\"Running\",\"logAnalyticsProfile\":{\"enabled\":true,\"workspaceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/pstestgroup/providers/microsoft.operationalinsights/workspaces/testhiloworkspace\"}}}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Set AzHdInsightOnAksClusterPool LogWorkSpace+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+2": { + "ClusterPoolOperations+[NoContext]+Set AzHdInsightOnAksClusterPool LogWorkSpace+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465836857802915\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzV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yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=UENdTajyKcyuGc2BC4Lee9e84_hlWNHpDeqvb9LBI2MbovAM2wd6ms-80IAjBb06TJqEgFQVn3PzNgovmXf8nOJqG_iLommRTmtZRIz4cF1f0xGQi8TX_pdy54-kShd7ph6gH9mymUMDYpcwdEoEVg2Yd2qP51oYJmjV39T2agvATSa-rWidtBWi7R9ZBugIULnkhMk4FGG9Nti_uetWWN1u_VVEeU641jJJ_Dv0PeIop6y-RLpyl7HU73y2MDA7kRCZZsnvqVG-RHbhJnxCFXj2onpVQwDM1PpOSMk9Q4CDI0C5ONOeRU34VO3uZNuSeYPv8hq0OhNs-B32eW7DXw\u0026h=JfREpqReG6PBNTfi0-bu78Q42nHDR2nBDhAwZsK6qc4+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465836857802915\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNA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bovAM2wd6ms-80IAjBb06TJqEgFQVn3PzNgovmXf8nOJqG_iLommRTmtZRIz4cF1f0xGQi8TX_pdy54-kShd7ph6gH9mymUMDYpcwdEoEVg2Yd2qP51oYJmjV39T2agvATSa-rWidtBWi7R9ZBugIULnkhMk4FGG9Nti_uetWWN1u_VVEeU641jJJ_Dv0PeIop6y-RLpyl7HU73y2MDA7kRCZZsnvqVG-RHbhJnxCFXj2onpVQwDM1PpOSMk9Q4CDI0C5ONOeRU34VO3uZNuSeYPv8hq0OhNs-B32eW7DXw\u0026h=JfREpqReG6PBNTfi0-bu78Q42nHDR2nBDhAwZsK6qc4", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "7314ce80-65be-46c3-b608-e7db072a76f1" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "914d0e4a-1307-4d95-b698-b4398a843af9" ], "CommandName": [ "Set-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Set-AzHdInsightOnAksClusterPool_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -593,38 +794,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100c726-0000-0100-0000-650276db0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "80c14260-6726-4f72-99e5-e6e0fbe103f1" ], - "x-ms-correlation-request-id": [ "a1c30c36-4199-4546-8de4-bb4807e809db" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T025906Z:a1c30c36-4199-4546-8de4-bb4807e809db" ], + "ETag": [ "\"0e00fdb0-0000-0700-0000-65fb96850000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11994" ], + "x-ms-request-id": [ "9febf390-8bca-439a-8216-49c23f9088b6" ], + "x-ms-correlation-request-id": [ "97270b9c-d5f6-484f-a46f-5368f00424e3" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T020836Z:97270b9c-d5f6-484f-a46f-5368f00424e3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 34504F1DEF684F68A3EAC80BD898CC98 Ref B: TYO201100114045 Ref C: 2023-09-14T02:59:05Z" ], - "Date": [ "Thu, 14 Sep 2023 02:59:06 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 6309D820C7CE45339D0CF725DB8AC455 Ref B: TYO201100114033 Ref C: 2024-03-21T02:08:36Z" ], + "Date": [ "Thu, 21 Mar 2024 02:08:36 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "511" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T02:58:35.489357Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:08:05.5140598Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Set AzHdInsightOnAksClusterPool LogWorkSpace+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+3": { + "ClusterPoolOperations+[NoContext]+Set AzHdInsightOnAksClusterPool LogWorkSpace+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465836857802915\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5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uetWWN1u_VVEeU641jJJ_Dv0PeIop6y-RLpyl7HU73y2MDA7kRCZZsnvqVG-RHbhJnxCFXj2onpVQwDM1PpOSMk9Q4CDI0C5ONOeRU34VO3uZNuSeYPv8hq0OhNs-B32eW7DXw\u0026h=JfREpqReG6PBNTfi0-bu78Q42nHDR2nBDhAwZsK6qc4+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465836857802915\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzD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I0C5ONOeRU34VO3uZNuSeYPv8hq0OhNs-B32eW7DXw\u0026h=JfREpqReG6PBNTfi0-bu78Q42nHDR2nBDhAwZsK6qc4", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "7314ce80-65be-46c3-b608-e7db072a76f1" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "914d0e4a-1307-4d95-b698-b4398a843af9" ], "CommandName": [ "Set-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Set-AzHdInsightOnAksClusterPool_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -634,38 +837,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100c726-0000-0100-0000-650276db0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "f2221219-77d6-4d5b-9e39-2ec50784f7b6" ], - "x-ms-correlation-request-id": [ "df60adcf-8549-4dd0-bdcf-11e4a228cf49" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T025937Z:df60adcf-8549-4dd0-bdcf-11e4a228cf49" ], + "ETag": [ "\"0e00fdb0-0000-0700-0000-65fb96850000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], + "x-ms-request-id": [ "3fc7330a-4593-4453-9afc-8d35560a4949" ], + "x-ms-correlation-request-id": [ "a60f042c-3d42-4d00-a89b-60a977c9f9d7" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T020907Z:a60f042c-3d42-4d00-a89b-60a977c9f9d7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 699606CF0E284532AF65E39C15379A24 Ref B: TYO201100114045 Ref C: 2023-09-14T02:59:36Z" ], - "Date": [ "Thu, 14 Sep 2023 02:59:37 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 77B7BF2E778D45269FB8CE6F18ECD2C3 Ref B: TYO201100114033 Ref C: 2024-03-21T02:09:06Z" ], + "Date": [ "Thu, 21 Mar 2024 02:09:07 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "511" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T02:58:35.489357Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:08:05.5140598Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Set AzHdInsightOnAksClusterPool LogWorkSpace+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+4": { + "ClusterPoolOperations+[NoContext]+Set AzHdInsightOnAksClusterPool LogWorkSpace+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465836857802915\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgj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uY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=UENdTajyKcyuGc2BC4Lee9e84_hlWNHpDeqvb9LBI2MbovAM2wd6ms-80IAjBb06TJqEgFQVn3PzNgovmXf8nOJqG_iLommRTmtZRIz4cF1f0xGQi8TX_pdy54-kShd7ph6gH9mymUMDYpcwdEoEVg2Yd2qP51oYJmjV39T2agvATSa-rWidtBWi7R9ZBugIULnkhMk4FGG9Nti_uetWWN1u_VVEeU641jJJ_Dv0PeIop6y-RLpyl7HU73y2MDA7kRCZZsnvqVG-RHbhJnxCFXj2onpVQwDM1PpOSMk9Q4CDI0C5ONOeRU34VO3uZNuSeYPv8hq0OhNs-B32eW7DXw\u0026h=JfREpqReG6PBNTfi0-bu78Q42nHDR2nBDhAwZsK6qc4+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465836857802915\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHi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WUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=UENdTajyKcyuGc2BC4Lee9e84_hlWNHpDeqvb9LBI2MbovAM2wd6ms-80IAjBb06TJqEgFQVn3PzNgovmXf8nOJqG_iLommRTmtZRIz4cF1f0xGQi8TX_pdy54-kShd7ph6gH9mymUMDYpcwdEoEVg2Yd2qP51oYJmjV39T2agvATSa-rWidtBWi7R9ZBugIULnkhMk4FGG9Nti_uetWWN1u_VVEeU641jJJ_Dv0PeIop6y-RLpyl7HU73y2MDA7kRCZZsnvqVG-RHbhJnxCFXj2onpVQwDM1PpOSMk9Q4CDI0C5ONOeRU34VO3uZNuSeYPv8hq0OhNs-B32eW7DXw\u0026h=JfREpqReG6PBNTfi0-bu78Q42nHDR2nBDhAwZsK6qc4", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "7314ce80-65be-46c3-b608-e7db072a76f1" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "914d0e4a-1307-4d95-b698-b4398a843af9" ], "CommandName": [ "Set-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Set-AzHdInsightOnAksClusterPool_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -675,38 +880,83 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100c726-0000-0100-0000-650276db0000\"" ], + "ETag": [ "\"0e00fdb0-0000-0700-0000-65fb96850000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "9837de17-a425-4881-ac8c-5fb449448cc4" ], - "x-ms-correlation-request-id": [ "64771603-f053-4c2e-8612-a71e8facfdbd" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030008Z:64771603-f053-4c2e-8612-a71e8facfdbd" ], + "x-ms-request-id": [ "03a6ae32-b3d4-47ae-b5e3-449524cd4fef" ], + "x-ms-correlation-request-id": [ "fd5789c3-24d3-4bc4-9a7b-a034894fa6e4" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T020938Z:fd5789c3-24d3-4bc4-9a7b-a034894fa6e4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: ABB84CD21CCF4712BE274B03DB7C5A14 Ref B: TYO201100114033 Ref C: 2024-03-21T02:09:37Z" ], + "Date": [ "Thu, 21 Mar 2024 02:09:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "498" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:08:05.5140598Z\"}", + "isContentBase64": false + } + }, + "ClusterPoolOperations+[NoContext]+Set AzHdInsightOnAksClusterPool LogWorkSpace+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465836857802915\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7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ONOeRU34VO3uZNuSeYPv8hq0OhNs-B32eW7DXw\u0026h=JfREpqReG6PBNTfi0-bu78Q42nHDR2nBDhAwZsK6qc4+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465836857802915\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE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UuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=UENdTajyKcyuGc2BC4Lee9e84_hlWNHpDeqvb9LBI2MbovAM2wd6ms-80IAjBb06TJqEgFQVn3PzNgovmXf8nOJqG_iLommRTmtZRIz4cF1f0xGQi8TX_pdy54-kShd7ph6gH9mymUMDYpcwdEoEVg2Yd2qP51oYJmjV39T2agvATSa-rWidtBWi7R9ZBugIULnkhMk4FGG9Nti_uetWWN1u_VVEeU641jJJ_Dv0PeIop6y-RLpyl7HU73y2MDA7kRCZZsnvqVG-RHbhJnxCFXj2onpVQwDM1PpOSMk9Q4CDI0C5ONOeRU34VO3uZNuSeYPv8hq0OhNs-B32eW7DXw\u0026h=JfREpqReG6PBNTfi0-bu78Q42nHDR2nBDhAwZsK6qc4", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "22" ], + "x-ms-client-request-id": [ "914d0e4a-1307-4d95-b698-b4398a843af9" ], + "CommandName": [ "Set-AzHdInsightOnAksClusterPool" ], + "FullCommandName": [ "Set-AzHdInsightOnAksClusterPool_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"0e00fdb0-0000-0700-0000-65fb96850000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], + "x-ms-request-id": [ "9285dc81-68cd-4312-80af-7f857664aa68" ], + "x-ms-correlation-request-id": [ "5638986d-d357-4bca-95ce-4fd27c969985" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021008Z:5638986d-d357-4bca-95ce-4fd27c969985" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 96F76C26CAA14535B9216E03D5A9033A Ref B: TYO201100114045 Ref C: 2023-09-14T03:00:07Z" ], - "Date": [ "Thu, 14 Sep 2023 03:00:08 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 713A5D9A48F04BFEB67737981989177B Ref B: TYO201100114033 Ref C: 2024-03-21T02:10:08Z" ], + "Date": [ "Thu, 21 Mar 2024 02:10:08 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "511" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T02:58:35.489357Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:08:05.5140598Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Set AzHdInsightOnAksClusterPool LogWorkSpace+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+5": { + "ClusterPoolOperations+[NoContext]+Set AzHdInsightOnAksClusterPool LogWorkSpace+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465836857802915\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4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0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=UENdTajyKcyuGc2BC4Lee9e84_hlWNHpDeqvb9LBI2MbovAM2wd6ms-80IAjBb06TJqEgFQVn3PzNgovmXf8nOJqG_iLommRTmtZRIz4cF1f0xGQi8TX_pdy54-kShd7ph6gH9mymUMDYpcwdEoEVg2Yd2qP51oYJmjV39T2agvATSa-rWidtBWi7R9ZBugIULnkhMk4FGG9Nti_uetWWN1u_VVEeU641jJJ_Dv0PeIop6y-RLpyl7HU73y2MDA7kRCZZsnvqVG-RHbhJnxCFXj2onpVQwDM1PpOSMk9Q4CDI0C5ONOeRU34VO3uZNuSeYPv8hq0OhNs-B32eW7DXw\u0026h=JfREpqReG6PBNTfi0-bu78Q42nHDR2nBDhAwZsK6qc4+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465836857802915\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwD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pDeqvb9LBI2MbovAM2wd6ms-80IAjBb06TJqEgFQVn3PzNgovmXf8nOJqG_iLommRTmtZRIz4cF1f0xGQi8TX_pdy54-kShd7ph6gH9mymUMDYpcwdEoEVg2Yd2qP51oYJmjV39T2agvATSa-rWidtBWi7R9ZBugIULnkhMk4FGG9Nti_uetWWN1u_VVEeU641jJJ_Dv0PeIop6y-RLpyl7HU73y2MDA7kRCZZsnvqVG-RHbhJnxCFXj2onpVQwDM1PpOSMk9Q4CDI0C5ONOeRU34VO3uZNuSeYPv8hq0OhNs-B32eW7DXw\u0026h=JfREpqReG6PBNTfi0-bu78Q42nHDR2nBDhAwZsK6qc4", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "7314ce80-65be-46c3-b608-e7db072a76f1" ], + "x-ms-unique-id": [ "23" ], + "x-ms-client-request-id": [ "914d0e4a-1307-4d95-b698-b4398a843af9" ], "CommandName": [ "Set-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Set-AzHdInsightOnAksClusterPool_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -716,38 +966,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100c726-0000-0100-0000-650276db0000\"" ], + "ETag": [ "\"0e00fdb0-0000-0700-0000-65fb96850000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "d66b333a-0ff5-48a1-b101-971950001925" ], - "x-ms-correlation-request-id": [ "3818ea9f-30e4-4827-a68d-c0838315d5e8" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030039Z:3818ea9f-30e4-4827-a68d-c0838315d5e8" ], + "x-ms-request-id": [ "c35d9a2e-6644-4851-85a6-60d44e890cdf" ], + "x-ms-correlation-request-id": [ "3af9b640-a99a-4c3a-b842-e2d76b00e529" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021039Z:3af9b640-a99a-4c3a-b842-e2d76b00e529" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: FB35691B32E84BD79E392B355616AB0F Ref B: TYO201100114045 Ref C: 2023-09-14T03:00:38Z" ], - "Date": [ "Thu, 14 Sep 2023 03:00:38 GMT" ] + "X-MSEdge-Ref": [ "Ref A: E7B72B1509904AE7943E6C044D99B554 Ref B: TYO201100114033 Ref C: 2024-03-21T02:10:39Z" ], + "Date": [ "Thu, 21 Mar 2024 02:10:39 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "511" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T02:58:35.489357Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:08:05.5140598Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Set AzHdInsightOnAksClusterPool LogWorkSpace+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+6": { + "ClusterPoolOperations+[NoContext]+Set AzHdInsightOnAksClusterPool LogWorkSpace+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465836857802915\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTg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0PeIop6y-RLpyl7HU73y2MDA7kRCZZsnvqVG-RHbhJnxCFXj2onpVQwDM1PpOSMk9Q4CDI0C5ONOeRU34VO3uZNuSeYPv8hq0OhNs-B32eW7DXw\u0026h=JfREpqReG6PBNTfi0-bu78Q42nHDR2nBDhAwZsK6qc4+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465836857802915\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVW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v8hq0OhNs-B32eW7DXw\u0026h=JfREpqReG6PBNTfi0-bu78Q42nHDR2nBDhAwZsK6qc4", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "7314ce80-65be-46c3-b608-e7db072a76f1" ], + "x-ms-unique-id": [ "24" ], + "x-ms-client-request-id": [ "914d0e4a-1307-4d95-b698-b4398a843af9" ], "CommandName": [ "Set-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Set-AzHdInsightOnAksClusterPool_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -757,38 +1009,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100c726-0000-0100-0000-650276db0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "1c09e654-7711-4b01-b1d9-84108ccee8ef" ], - "x-ms-correlation-request-id": [ "3a007565-8c87-41f2-96b5-76fac0eee71d" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030109Z:3a007565-8c87-41f2-96b5-76fac0eee71d" ], + "ETag": [ "\"0e00fdb0-0000-0700-0000-65fb96850000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], + "x-ms-request-id": [ "5375907c-e40c-47d9-b8f7-8bbdaf24348b" ], + "x-ms-correlation-request-id": [ "04308e52-79ae-41a3-a8c4-11a4cb44660c" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021110Z:04308e52-79ae-41a3-a8c4-11a4cb44660c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1B6A0DBE11E6486D80CC5D78CEA88307 Ref B: TYO201100114045 Ref C: 2023-09-14T03:01:09Z" ], - "Date": [ "Thu, 14 Sep 2023 03:01:09 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A163B21198084CEEBD1520E9396273D7 Ref B: TYO201100114033 Ref C: 2024-03-21T02:11:10Z" ], + "Date": [ "Thu, 21 Mar 2024 02:11:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "511" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T02:58:35.489357Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:08:05.5140598Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Set AzHdInsightOnAksClusterPool LogWorkSpace+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+7": { + "ClusterPoolOperations+[NoContext]+Set AzHdInsightOnAksClusterPool LogWorkSpace+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465836857802915\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEw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uZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=UENdTajyKcyuGc2BC4Lee9e84_hlWNHpDeqvb9LBI2MbovAM2wd6ms-80IAjBb06TJqEgFQVn3PzNgovmXf8nOJqG_iLommRTmtZRIz4cF1f0xGQi8TX_pdy54-kShd7ph6gH9mymUMDYpcwdEoEVg2Yd2qP51oYJmjV39T2agvATSa-rWidtBWi7R9ZBugIULnkhMk4FGG9Nti_uetWWN1u_VVEeU641jJJ_Dv0PeIop6y-RLpyl7HU73y2MDA7kRCZZsnvqVG-RHbhJnxCFXj2onpVQwDM1PpOSMk9Q4CDI0C5ONOeRU34VO3uZNuSeYPv8hq0OhNs-B32eW7DXw\u0026h=JfREpqReG6PBNTfi0-bu78Q42nHDR2nBDhAwZsK6qc4+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465836857802915\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0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yYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=UENdTajyKcyuGc2BC4Lee9e84_hlWNHpDeqvb9LBI2MbovAM2wd6ms-80IAjBb06TJqEgFQVn3PzNgovmXf8nOJqG_iLommRTmtZRIz4cF1f0xGQi8TX_pdy54-kShd7ph6gH9mymUMDYpcwdEoEVg2Yd2qP51oYJmjV39T2agvATSa-rWidtBWi7R9ZBugIULnkhMk4FGG9Nti_uetWWN1u_VVEeU641jJJ_Dv0PeIop6y-RLpyl7HU73y2MDA7kRCZZsnvqVG-RHbhJnxCFXj2onpVQwDM1PpOSMk9Q4CDI0C5ONOeRU34VO3uZNuSeYPv8hq0OhNs-B32eW7DXw\u0026h=JfREpqReG6PBNTfi0-bu78Q42nHDR2nBDhAwZsK6qc4", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "7314ce80-65be-46c3-b608-e7db072a76f1" ], + "x-ms-unique-id": [ "25" ], + "x-ms-client-request-id": [ "914d0e4a-1307-4d95-b698-b4398a843af9" ], "CommandName": [ "Set-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Set-AzHdInsightOnAksClusterPool_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -798,38 +1052,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100c726-0000-0100-0000-650276db0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "cec9da44-187e-4310-bf45-348017c47fcf" ], - "x-ms-correlation-request-id": [ "74fa28f3-09e4-477d-ba79-c4454c67cd14" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030140Z:74fa28f3-09e4-477d-ba79-c4454c67cd14" ], + "ETag": [ "\"0e00fdb0-0000-0700-0000-65fb96850000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], + "x-ms-request-id": [ "8e932610-1a11-4359-a8b0-cd954bb6aab9" ], + "x-ms-correlation-request-id": [ "d7d6673d-9087-4710-b1ba-672da2209bab" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021141Z:d7d6673d-9087-4710-b1ba-672da2209bab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 9C2BEB04271C494CB4FD4D0AFB0DB10C Ref B: TYO201100114045 Ref C: 2023-09-14T03:01:40Z" ], - "Date": [ "Thu, 14 Sep 2023 03:01:40 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 19EE70F020B84808865F0927CB85E371 Ref B: TYO201100114033 Ref C: 2024-03-21T02:11:40Z" ], + "Date": [ "Thu, 21 Mar 2024 02:11:40 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "511" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T02:58:35.489357Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:08:05.5140598Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Set AzHdInsightOnAksClusterPool LogWorkSpace+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+8": { + "ClusterPoolOperations+[NoContext]+Set AzHdInsightOnAksClusterPool LogWorkSpace+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc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NAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=UENdTajyKcyuGc2BC4Lee9e84_hlWNHpDeqvb9LBI2MbovAM2wd6ms-80IAjBb06TJqEgFQVn3PzNgovmXf8nOJqG_iLommRTmtZRIz4cF1f0xGQi8TX_pdy54-kShd7ph6gH9mymUMDYpcwdEoEVg2Yd2qP51oYJmjV39T2agvATSa-rWidtBWi7R9ZBugIULnkhMk4FGG9Nti_uetWWN1u_VVEeU641jJJ_Dv0PeIop6y-RLpyl7HU73y2MDA7kRCZZsnvqVG-RHbhJnxCFXj2onpVQwDM1PpOSMk9Q4CDI0C5ONOeRU34VO3uZNuSeYPv8hq0OhNs-B32eW7DXw\u0026h=JfREpqReG6PBNTfi0-bu78Q42nHDR2nBDhAwZsK6qc4+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465836857802915\u0026c=MIIHADCCB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nBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=UENdTajyKcyuGc2BC4Lee9e84_hlWNHpDeqvb9LBI2MbovAM2wd6ms-80IAjBb06TJqEgFQVn3PzNgovmXf8nOJqG_iLommRTmtZRIz4cF1f0xGQi8TX_pdy54-kShd7ph6gH9mymUMDYpcwdEoEVg2Yd2qP51oYJmjV39T2agvATSa-rWidtBWi7R9ZBugIULnkhMk4FGG9Nti_uetWWN1u_VVEeU641jJJ_Dv0PeIop6y-RLpyl7HU73y2MDA7kRCZZsnvqVG-RHbhJnxCFXj2onpVQwDM1PpOSMk9Q4CDI0C5ONOeRU34VO3uZNuSeYPv8hq0OhNs-B32eW7DXw\u0026h=JfREpqReG6PBNTfi0-bu78Q42nHDR2nBDhAwZsK6qc4", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "7314ce80-65be-46c3-b608-e7db072a76f1" ], + "x-ms-unique-id": [ "26" ], + "x-ms-client-request-id": [ "914d0e4a-1307-4d95-b698-b4398a843af9" ], "CommandName": [ "Set-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Set-AzHdInsightOnAksClusterPool_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -839,38 +1095,83 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"0f00d11d-0000-4d00-0000-650277950000\"" ], + "ETag": [ "\"0e00fdb0-0000-0700-0000-65fb96850000\"" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "67f75d20-d370-42d1-b2f0-19a747ce0575" ], - "x-ms-correlation-request-id": [ "ebb0fb7f-c921-421d-9c02-46d3e8826cfd" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030211Z:ebb0fb7f-c921-421d-9c02-46d3e8826cfd" ], + "x-ms-request-id": [ "6a4668a8-8d5d-4a9b-8a24-58982fbf3534" ], + "x-ms-correlation-request-id": [ "9701d9e8-7409-4c0c-89e2-5245a673c6eb" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021211Z:9701d9e8-7409-4c0c-89e2-5245a673c6eb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 44D3CDC0E202463A9873B523945858AA Ref B: TYO201100114045 Ref C: 2023-09-14T03:02:10Z" ], - "Date": [ "Thu, 14 Sep 2023 03:02:11 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 2466B8BE827044A7B045227B0ED4DEA1 Ref B: TYO201100114033 Ref C: 2024-03-21T02:12:11Z" ], + "Date": [ "Thu, 21 Mar 2024 02:12:11 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "530" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"3ad8465f-c8c7-49b7-9efc-a7a0c1cbda64*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Succeeded\",\"startTime\":\"2023-09-14T02:58:35.489357Z\",\"properties\":null}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Accepted\",\"startTime\":\"2024-03-21T02:08:05.5140598Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Set AzHdInsightOnAksClusterPool LogWorkSpace+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations?api-version=2023-06-01-preview+9": { + "ClusterPoolOperations+[NoContext]+Set AzHdInsightOnAksClusterPool LogWorkSpace+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465836857802915\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPA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KV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=UENdTajyKcyuGc2BC4Lee9e84_hlWNHpDeqvb9LBI2MbovAM2wd6ms-80IAjBb06TJqEgFQVn3PzNgovmXf8nOJqG_iLommRTmtZRIz4cF1f0xGQi8TX_pdy54-kShd7ph6gH9mymUMDYpcwdEoEVg2Yd2qP51oYJmjV39T2agvATSa-rWidtBWi7R9ZBugIULnkhMk4FGG9Nti_uetWWN1u_VVEeU641jJJ_Dv0PeIop6y-RLpyl7HU73y2MDA7kRCZZsnvqVG-RHbhJnxCFXj2onpVQwDM1PpOSMk9Q4CDI0C5ONOeRU34VO3uZNuSeYPv8hq0OhNs-B32eW7DXw\u0026h=JfREpqReG6PBNTfi0-bu78Q42nHDR2nBDhAwZsK6qc4+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465836857802915\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSat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n3PzNgovmXf8nOJqG_iLommRTmtZRIz4cF1f0xGQi8TX_pdy54-kShd7ph6gH9mymUMDYpcwdEoEVg2Yd2qP51oYJmjV39T2agvATSa-rWidtBWi7R9ZBugIULnkhMk4FGG9Nti_uetWWN1u_VVEeU641jJJ_Dv0PeIop6y-RLpyl7HU73y2MDA7kRCZZsnvqVG-RHbhJnxCFXj2onpVQwDM1PpOSMk9Q4CDI0C5ONOeRU34VO3uZNuSeYPv8hq0OhNs-B32eW7DXw\u0026h=JfREpqReG6PBNTfi0-bu78Q42nHDR2nBDhAwZsK6qc4", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "7314ce80-65be-46c3-b608-e7db072a76f1" ], + "x-ms-unique-id": [ "27" ], + "x-ms-client-request-id": [ "914d0e4a-1307-4d95-b698-b4398a843af9" ], + "CommandName": [ "Set-AzHdInsightOnAksClusterPool" ], + "FullCommandName": [ "Set-AzHdInsightOnAksClusterPool_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"c700145e-0000-0800-0000-65fb977d0000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "x-ms-request-id": [ "a389b9cd-bf84-4926-bf93-dcff8d74c3c9" ], + "x-ms-correlation-request-id": [ "cdfd6f05-7056-4fc7-aa4f-d4100afe38dc" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021242Z:cdfd6f05-7056-4fc7-aa4f-d4100afe38dc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 639A59E5C1B0404C94951FB4D2C75DC6 Ref B: TYO201100114033 Ref C: 2024-03-21T02:12:42Z" ], + "Date": [ "Thu, 21 Mar 2024 02:12:42 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "517" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"fffc8f06-d534-4fc9-bc3b-ffc2ab88471f*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-21T02:08:05.5140598Z\",\"properties\":null}", + "isContentBase64": false + } + }, + "ClusterPoolOperations+[NoContext]+Set AzHdInsightOnAksClusterPool LogWorkSpace+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "28" ], + "x-ms-client-request-id": [ "914d0e4a-1307-4d95-b698-b4398a843af9" ], "CommandName": [ "Set-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Set-AzHdInsightOnAksClusterPool_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -880,38 +1181,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"190184c3-0000-0100-0000-650277730000\"" ], + "ETag": [ "\"6000d8d7-0000-0700-0000-65fb97630000\"" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "7e57854a-932f-4f7a-ada7-7196eba027cd" ], - "x-ms-correlation-request-id": [ "1481f9e5-c761-4f8a-9ba6-9554696ca1ed" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030212Z:1481f9e5-c761-4f8a-9ba6-9554696ca1ed" ], + "x-ms-request-id": [ "055a041f-0f1f-4d67-890c-283178506716" ], + "x-ms-correlation-request-id": [ "d26defc2-d9be-4948-ac21-3c5937616954" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021243Z:d26defc2-d9be-4948-ac21-3c5937616954" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 221B8245D1764C1C8EE9DD1625644CBD Ref B: TYO201100114045 Ref C: 2023-09-14T03:02:11Z" ], - "Date": [ "Thu, 14 Sep 2023 03:02:12 GMT" ] + "X-MSEdge-Ref": [ "Ref A: CE2AB2638F81436898BA549B38F3017D Ref B: TYO201100114033 Ref C: 2024-03-21T02:12:42Z" ], + "Date": [ "Thu, 21 Mar 2024 02:12:42 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1684" ], + "Content-Length": [ "1597" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"name\":\"ps-test-pool-operations\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"{username}\",\"createdByType\":\"User\",\"createdAt\":\"2023-09-14T02:53:18.9326363Z\",\"lastModifiedBy\":\"{username}\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-09-14T02:58:32.6182183Z\"},\"properties\":{\"managedResourceGroupName\":\"hdi-05b06908de254a8c869f104ccefd47b0\",\"aksManagedResourceGroupName\":\"MC_hdi-05b06908de254a8c869f104ccefd47b0_ps-test-pool-operations_westus3\",\"logAnalyticsProfile\":{\"enabled\":true,\"workspaceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/psgroup/providers/microsoft.operationalinsights/workspaces/testworkspace\"},\"aksClusterProfile\":{\"aksVersion\":\"1.26\",\"aksClusterResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-05b06908de254a8c869f104ccefd47b0/providers/Microsoft.ContainerService/managedClusters/ps-test-pool-operations\",\"aksClusterAgentPoolIdentityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-05b06908de254a8c869f104ccefd47b0_ps-test-pool-operations_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ps-test-pool-operations-agentpool\",\"msiClientId\":\"5d60ed47-1d31-4491-9774-3f03c3db8dd8\",\"msiObjectId\":\"7010d0c5-c38e-47ac-b6c7-202ba9a6abad\"}},\"computeProfile\":{\"vmSize\":\"Standard_E4s_v3\",\"count\":3},\"deploymentId\":\"05b06908de254a8c869f104ccefd47b0\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}" + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"name\":\"hilo-pool\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"v-user@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-21T02:00:48.000845Z\",\"lastModifiedBy\":\"v-user@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-21T02:08:03.8896827Z\"},\"properties\":{\"managedResourceGroupName\":\"hdi-d538fdf072094181ba8c68db403d8520\",\"aksManagedResourceGroupName\":\"MC_hdi-d538fdf072094181ba8c68db403d8520_hilo-pool_westus3\",\"logAnalyticsProfile\":{\"enabled\":true,\"workspaceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/pstestgroup/providers/microsoft.operationalinsights/workspaces/testhiloworkspace\"},\"aksClusterProfile\":{\"aksVersion\":\"1.27.7\",\"aksClusterResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-d538fdf072094181ba8c68db403d8520/providers/Microsoft.ContainerService/managedClusters/hilo-pool\",\"aksClusterAgentPoolIdentityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-d538fdf072094181ba8c68db403d8520_hilo-pool_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hilo-pool-agentpool\",\"msiClientId\":\"207cf1d2-ae47-488a-84e1-b402642ec474\",\"msiObjectId\":\"095561b7-8657-4306-ad67-be8f046ba9b4\"}},\"computeProfile\":{\"vmSize\":\"Standard_E4s_v3\",\"count\":3},\"deploymentId\":\"d538fdf072094181ba8c68db403d8520\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Get All AzHdInsightOnAksClusterPool in RG+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools?api-version=2023-06-01-preview+1": { + "ClusterPoolOperations+[NoContext]+Get All AzHdInsightOnAksClusterPool in RG+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools?api-version=2023-11-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools?api-version=2023-11-01-preview", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "23" ], - "x-ms-client-request-id": [ "61252e81-fc91-428c-9785-fbfa35d70943" ], + "x-ms-unique-id": [ "29" ], + "x-ms-client-request-id": [ "d31151ee-9bfa-4196-8728-b49910ed2439" ], "CommandName": [ "Get-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Get-AzHdInsightOnAksClusterPool_List1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -924,35 +1227,37 @@ "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "5b5830c2-872a-4380-bc5c-2d2fe31f6e74" ], - "x-ms-correlation-request-id": [ "514a9f67-062d-4aec-acfe-0705f7bf1e33" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030213Z:514a9f67-062d-4aec-acfe-0705f7bf1e33" ], + "x-ms-request-id": [ "88a5c1d2-0217-4d3b-a589-764908565b22" ], + "x-ms-correlation-request-id": [ "1cb45526-ff77-4f04-a21a-8448e33e6b03" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021244Z:1cb45526-ff77-4f04-a21a-8448e33e6b03" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 4EBBB81B926B449D8056786969363CB7 Ref B: TYO201100114045 Ref C: 2023-09-14T03:02:12Z" ], - "Date": [ "Thu, 14 Sep 2023 03:02:13 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 4C6E8F609CD64DEAB8E5BF99EC4F6777 Ref B: TYO201100114033 Ref C: 2024-03-21T02:12:43Z" ], + "Date": [ "Thu, 21 Mar 2024 02:12:43 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1696" ], + "Content-Length": [ "3229" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"name\":\"ps-test-pool-operations\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"{username}\",\"createdByType\":\"User\",\"createdAt\":\"2023-09-14T02:53:18.9326363Z\",\"lastModifiedBy\":\"{username}\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-09-14T02:58:32.6182183Z\"},\"properties\":{\"managedResourceGroupName\":\"hdi-05b06908de254a8c869f104ccefd47b0\",\"aksManagedResourceGroupName\":\"MC_hdi-05b06908de254a8c869f104ccefd47b0_ps-test-pool-operations_westus3\",\"logAnalyticsProfile\":{\"enabled\":true,\"workspaceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/psgroup/providers/microsoft.operationalinsights/workspaces/testworkspace\"},\"aksClusterProfile\":{\"aksVersion\":\"1.26\",\"aksClusterResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-05b06908de254a8c869f104ccefd47b0/providers/Microsoft.ContainerService/managedClusters/ps-test-pool-operations\",\"aksClusterAgentPoolIdentityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-05b06908de254a8c869f104ccefd47b0_ps-test-pool-operations_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ps-test-pool-operations-agentpool\",\"msiClientId\":\"5d60ed47-1d31-4491-9774-3f03c3db8dd8\",\"msiObjectId\":\"7010d0c5-c38e-47ac-b6c7-202ba9a6abad\"}},\"computeProfile\":{\"vmSize\":\"Standard_E4s_v3\",\"count\":3},\"deploymentId\":\"05b06908de254a8c869f104ccefd47b0\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}]}" + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-pool\",\"name\":\"ps-pool\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"tags\":{\"Tag\":\"powershell test\"},\"systemData\":{\"createdBy\":\"v-user@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-21T01:41:14.1704354Z\",\"lastModifiedBy\":\"v-user@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-21T01:54:57.3826305Z\"},\"properties\":{\"managedResourceGroupName\":\"hdi-74c7be334863423ba6d7a6f518a7b92b\",\"aksManagedResourceGroupName\":\"MC_hdi-74c7be334863423ba6d7a6f518a7b92b_ps-pool_westus3\",\"logAnalyticsProfile\":{\"enabled\":true,\"workspaceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/pstestgroup/providers/microsoft.operationalinsights/workspaces/testhiloworkspace\"},\"aksClusterProfile\":{\"aksVersion\":\"1.27.7\",\"aksClusterResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-74c7be334863423ba6d7a6f518a7b92b/providers/Microsoft.ContainerService/managedClusters/ps-pool\",\"aksClusterAgentPoolIdentityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-74c7be334863423ba6d7a6f518a7b92b_ps-pool_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ps-pool-agentpool\",\"msiClientId\":\"bce9c000-d941-43f4-848a-81ce6d4f5610\",\"msiObjectId\":\"05d9d982-a523-43b7-8104-d8764219f71a\"}},\"computeProfile\":{\"vmSize\":\"Standard_E4s_v3\",\"count\":3},\"deploymentId\":\"74c7be334863423ba6d7a6f518a7b92b\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"name\":\"hilo-pool\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"v-user@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-21T02:00:48.000845Z\",\"lastModifiedBy\":\"v-user@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-21T02:08:03.8896827Z\"},\"properties\":{\"managedResourceGroupName\":\"hdi-d538fdf072094181ba8c68db403d8520\",\"aksManagedResourceGroupName\":\"MC_hdi-d538fdf072094181ba8c68db403d8520_hilo-pool_westus3\",\"logAnalyticsProfile\":{\"enabled\":true,\"workspaceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/pstestgroup/providers/microsoft.operationalinsights/workspaces/testhiloworkspace\"},\"aksClusterProfile\":{\"aksVersion\":\"1.27.7\",\"aksClusterResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-d538fdf072094181ba8c68db403d8520/providers/Microsoft.ContainerService/managedClusters/hilo-pool\",\"aksClusterAgentPoolIdentityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-d538fdf072094181ba8c68db403d8520_hilo-pool_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hilo-pool-agentpool\",\"msiClientId\":\"207cf1d2-ae47-488a-84e1-b402642ec474\",\"msiObjectId\":\"095561b7-8657-4306-ad67-be8f046ba9b4\"}},\"computeProfile\":{\"vmSize\":\"Standard_E4s_v3\",\"count\":3},\"deploymentId\":\"d538fdf072094181ba8c68db403d8520\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}]}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Get AzHdInsightOnAksClusterPool with poolName+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations?api-version=2023-06-01-preview+1": { + "ClusterPoolOperations+[NoContext]+Get AzHdInsightOnAksClusterPool with poolName+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "5ab9cb34-6a3c-49a9-8683-eb33276aa5cf" ], + "x-ms-unique-id": [ "30" ], + "x-ms-client-request-id": [ "081e14fb-9cc9-440c-b857-c89417a5531a" ], "CommandName": [ "Get-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Get-AzHdInsightOnAksClusterPool_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -963,31 +1268,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"190184c3-0000-0100-0000-650277730000\"" ], + "ETag": [ "\"6000d8d7-0000-0700-0000-65fb97630000\"" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "092926c1-60ad-48a3-bdee-78819c9818c7" ], - "x-ms-correlation-request-id": [ "cc9ab244-663f-4450-99fb-f51c6b54adec" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030214Z:cc9ab244-663f-4450-99fb-f51c6b54adec" ], + "x-ms-request-id": [ "6c6609c7-859b-4dd6-adde-9568f07548cb" ], + "x-ms-correlation-request-id": [ "4f737f38-7e96-4924-b5df-542b19f3dff7" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021245Z:4f737f38-7e96-4924-b5df-542b19f3dff7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 849266E1762E49EFB283BBDF8D23F0F9 Ref B: TYO201100114045 Ref C: 2023-09-14T03:02:13Z" ], - "Date": [ "Thu, 14 Sep 2023 03:02:14 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 809360E711EC43B58091FE8E5D920656 Ref B: TYO201100114033 Ref C: 2024-03-21T02:12:44Z" ], + "Date": [ "Thu, 21 Mar 2024 02:12:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1684" ], + "Content-Length": [ "1597" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"name\":\"ps-test-pool-operations\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"{username}\",\"createdByType\":\"User\",\"createdAt\":\"2023-09-14T02:53:18.9326363Z\",\"lastModifiedBy\":\"{username}\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-09-14T02:58:32.6182183Z\"},\"properties\":{\"managedResourceGroupName\":\"hdi-05b06908de254a8c869f104ccefd47b0\",\"aksManagedResourceGroupName\":\"MC_hdi-05b06908de254a8c869f104ccefd47b0_ps-test-pool-operations_westus3\",\"logAnalyticsProfile\":{\"enabled\":true,\"workspaceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/psgroup/providers/microsoft.operationalinsights/workspaces/testworkspace\"},\"aksClusterProfile\":{\"aksVersion\":\"1.26\",\"aksClusterResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-05b06908de254a8c869f104ccefd47b0/providers/Microsoft.ContainerService/managedClusters/ps-test-pool-operations\",\"aksClusterAgentPoolIdentityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-05b06908de254a8c869f104ccefd47b0_ps-test-pool-operations_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ps-test-pool-operations-agentpool\",\"msiClientId\":\"5d60ed47-1d31-4491-9774-3f03c3db8dd8\",\"msiObjectId\":\"7010d0c5-c38e-47ac-b6c7-202ba9a6abad\"}},\"computeProfile\":{\"vmSize\":\"Standard_E4s_v3\",\"count\":3},\"deploymentId\":\"05b06908de254a8c869f104ccefd47b0\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}" + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"name\":\"hilo-pool\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"v-user@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-21T02:00:48.000845Z\",\"lastModifiedBy\":\"v-user@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-21T02:08:03.8896827Z\"},\"properties\":{\"managedResourceGroupName\":\"hdi-d538fdf072094181ba8c68db403d8520\",\"aksManagedResourceGroupName\":\"MC_hdi-d538fdf072094181ba8c68db403d8520_hilo-pool_westus3\",\"logAnalyticsProfile\":{\"enabled\":true,\"workspaceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/pstestgroup/providers/microsoft.operationalinsights/workspaces/testhiloworkspace\"},\"aksClusterProfile\":{\"aksVersion\":\"1.27.7\",\"aksClusterResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-d538fdf072094181ba8c68db403d8520/providers/Microsoft.ContainerService/managedClusters/hilo-pool\",\"aksClusterAgentPoolIdentityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-d538fdf072094181ba8c68db403d8520_hilo-pool_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hilo-pool-agentpool\",\"msiClientId\":\"207cf1d2-ae47-488a-84e1-b402642ec474\",\"msiObjectId\":\"095561b7-8657-4306-ad67-be8f046ba9b4\"}},\"computeProfile\":{\"vmSize\":\"Standard_E4s_v3\",\"count\":3},\"deploymentId\":\"d538fdf072094181ba8c68db403d8520\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Update-AzHdInsightOnAksClusterPoolTag+$PATCH+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations?api-version=2023-06-01-preview+1": { + "ClusterPoolOperations+[NoContext]+Update-AzHdInsightOnAksClusterPoolTag+$PATCH+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview", "Content": "{\r\n \"tags\": {\r\n \"Tag\": \"powershell test\"\r\n }\r\n}", + "isContentBase64": false, "Headers": { }, "ContentHeaders": { @@ -1000,41 +1307,43 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"190148c4-0000-0100-0000-650277b80000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/5da54ca8-94b9-4e5f-a2fb-31de8ad7b7d7*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], + "ETag": [ "\"60008cda-0000-0700-0000-65fb979d0000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/e794d311-b40b-4474-bdd9-8f72a9fdf6d5*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465839659895842\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5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u0026s=nrsrGs9OSDLTFjCVBYRXnCJWb2RAZbOQzL92Vg5LCjovXqMwZxbFbEVLclSUuq4XBQd4fdt9LPJo_v77d3yOK-l7QoZc4Xg5H_EW83ZUDTAn4ekTvl3b2uxWHxZ12E7CSy8vOXuGzOfgtr2wK1i8TuIIAUJyBCac4iQ93nhQwlzaK71kymOMl_M7lBMAHFealx06Pfo2i99b9XGn7l1Hx0uUOYsUAjR0qyI35xC-NFK2p4F4F2uzJFxPhCHzhVChHeRodhbFcQ_w_VX4QseAke4i_AzMhn6iYHvfDRNRZhPhfdxp_mCRd1IKqHBGlfomOGpLLI4RnHIBf4dNomrXTw\u0026h=L1M7xYg6eLhtdlQvTza53TGll9uoulSV4Ca5Eh87ylE" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-providerhub-traffic": [ "True" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/5da54ca8-94b9-4e5f-a2fb-31de8ad7b7d7*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "5da54ca8-94b9-4e5f-a2fb-31de8ad7b7d7" ], - "x-ms-correlation-request-id": [ "1aac9740-2a44-4c4c-93b1-07f89d17abb9" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030216Z:1aac9740-2a44-4c4c-93b1-07f89d17abb9" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/e794d311-b40b-4474-bdd9-8f72a9fdf6d5*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465839659895842\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRg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fF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=nrsrGs9OSDLTFjCVBYRXnCJWb2RAZbOQzL92Vg5LCjovXqMwZxbFbEVLclSUuq4XBQd4fdt9LPJo_v77d3yOK-l7QoZc4Xg5H_EW83ZUDTAn4ekTvl3b2uxWHxZ12E7CSy8vOXuGzOfgtr2wK1i8TuIIAUJyBCac4iQ93nhQwlzaK71kymOMl_M7lBMAHFealx06Pfo2i99b9XGn7l1Hx0uUOYsUAjR0qyI35xC-NFK2p4F4F2uzJFxPhCHzhVChHeRodhbFcQ_w_VX4QseAke4i_AzMhn6iYHvfDRNRZhPhfdxp_mCRd1IKqHBGlfomOGpLLI4RnHIBf4dNomrXTw\u0026h=L1M7xYg6eLhtdlQvTza53TGll9uoulSV4Ca5Eh87ylE" ], + "x-ms-request-id": [ "e794d311-b40b-4474-bdd9-8f72a9fdf6d5" ], + "x-ms-correlation-request-id": [ "b9d19c83-6f52-40dd-8b76-019bea76b254" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021246Z:b9d19c83-6f52-40dd-8b76-019bea76b254" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F96642ADC4AD4824A359F29499260A56 Ref B: TYO201100114045 Ref C: 2023-09-14T03:02:14Z" ], - "Date": [ "Thu, 14 Sep 2023 03:02:15 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 6F2FA65BBD83466D9BEC165A231CF93B Ref B: TYO201100114033 Ref C: 2024-03-21T02:12:45Z" ], + "Date": [ "Thu, 21 Mar 2024 02:12:45 GMT" ] }, "ContentHeaders": { "Content-Length": [ "4" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "bnVsbA==" + "Content": "bnVsbA==", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Update-AzHdInsightOnAksClusterPoolTag+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/5da54ca8-94b9-4e5f-a2fb-31de8ad7b7d7*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+2": { + "ClusterPoolOperations+[NoContext]+Update-AzHdInsightOnAksClusterPoolTag+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/e794d311-b40b-4474-bdd9-8f72a9fdf6d5*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465839659895842\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GD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u0026h=L1M7xYg6eLhtdlQvTza53TGll9uoulSV4Ca5Eh87ylE+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/5da54ca8-94b9-4e5f-a2fb-31de8ad7b7d7*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/e794d311-b40b-4474-bdd9-8f72a9fdf6d5*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465839659895842\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGC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filtered]" ], - "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "2527c3da-e06d-4f04-ae7d-621851a4430f" ], + "x-ms-unique-id": [ "32" ], + "x-ms-client-request-id": [ "fde8f171-9b3d-423d-8198-900e728778f9" ], "CommandName": [ "Update-AzHdInsightOnAksClusterPoolTag" ], "FullCommandName": [ "Update-AzHdInsightOnAksClusterPoolTag_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1044,38 +1353,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100552d-0000-0100-0000-650277bd0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "1a28f35c-c6d4-490f-8a86-24db8b97996e" ], - "x-ms-correlation-request-id": [ "48a691d4-9802-4dff-aa6d-94ea887c4d2b" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030247Z:48a691d4-9802-4dff-aa6d-94ea887c4d2b" ], + "ETag": [ "\"0700a224-0000-0200-0000-65fb97a30000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], + "x-ms-request-id": [ "d441563e-cf0f-486e-95df-39c842951705" ], + "x-ms-correlation-request-id": [ "9c0a6346-f64a-4e7c-99f1-a0b833753014" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021316Z:9c0a6346-f64a-4e7c-99f1-a0b833753014" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 0F35915A995B4433A0BBA1256F8B25FB Ref B: TYO201100114045 Ref C: 2023-09-14T03:02:46Z" ], - "Date": [ "Thu, 14 Sep 2023 03:02:46 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 8F0B59B32264402A977CCE113E2BD40C Ref B: TYO201100114033 Ref C: 2024-03-21T02:13:16Z" ], + "Date": [ "Thu, 21 Mar 2024 02:13:16 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "531" ], + "Content-Length": [ "517" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/5da54ca8-94b9-4e5f-a2fb-31de8ad7b7d7*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"5da54ca8-94b9-4e5f-a2fb-31de8ad7b7d7*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Succeeded\",\"startTime\":\"2023-09-14T03:02:15.7191265Z\",\"properties\":null}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/e794d311-b40b-4474-bdd9-8f72a9fdf6d5*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"e794d311-b40b-4474-bdd9-8f72a9fdf6d5*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-21T02:12:45.7836604Z\",\"properties\":null}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Update-AzHdInsightOnAksClusterPoolTag+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations?api-version=2023-06-01-preview+3": { + "ClusterPoolOperations+[NoContext]+Update-AzHdInsightOnAksClusterPoolTag+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "2527c3da-e06d-4f04-ae7d-621851a4430f" ], + "x-ms-unique-id": [ "33" ], + "x-ms-client-request-id": [ "fde8f171-9b3d-423d-8198-900e728778f9" ], "CommandName": [ "Update-AzHdInsightOnAksClusterPoolTag" ], "FullCommandName": [ "Update-AzHdInsightOnAksClusterPoolTag_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1085,38 +1396,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"190152c4-0000-0100-0000-650277bd0000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "ETag": [ "\"21007506-0000-0200-0000-65fb97a30000\"" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "84fe7713-d005-4337-97b2-8c16c7ef7d9e" ], - "x-ms-correlation-request-id": [ "390370e8-35df-4dea-b65f-d47593e190e1" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030247Z:390370e8-35df-4dea-b65f-d47593e190e1" ], + "x-ms-request-id": [ "87858361-da37-41bf-8698-11495ea066d1" ], + "x-ms-correlation-request-id": [ "2ed92e58-26f6-4fc9-8ffd-dc82c1a5c44c" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021317Z:2ed92e58-26f6-4fc9-8ffd-dc82c1a5c44c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 957ECD6E91904C5AA8F9688C956124D9 Ref B: TYO201100114045 Ref C: 2023-09-14T03:02:47Z" ], - "Date": [ "Thu, 14 Sep 2023 03:02:47 GMT" ] + "X-MSEdge-Ref": [ "Ref A: E426F1E8449046DD9F4E65A36A4D0925 Ref B: TYO201100114033 Ref C: 2024-03-21T02:13:16Z" ], + "Date": [ "Thu, 21 Mar 2024 02:13:16 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1717" ], + "Content-Length": [ "1630" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"name\":\"ps-test-pool-operations\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"tags\":{\"Tag\":\"powershell test\"},\"systemData\":{\"createdBy\":\"{username}\",\"createdByType\":\"User\",\"createdAt\":\"2023-09-14T02:53:18.9326363Z\",\"lastModifiedBy\":\"{username}\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-09-14T03:02:15.0326531Z\"},\"properties\":{\"managedResourceGroupName\":\"hdi-05b06908de254a8c869f104ccefd47b0\",\"aksManagedResourceGroupName\":\"MC_hdi-05b06908de254a8c869f104ccefd47b0_ps-test-pool-operations_westus3\",\"logAnalyticsProfile\":{\"enabled\":true,\"workspaceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/psgroup/providers/microsoft.operationalinsights/workspaces/testworkspace\"},\"aksClusterProfile\":{\"aksVersion\":\"1.26\",\"aksClusterResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-05b06908de254a8c869f104ccefd47b0/providers/Microsoft.ContainerService/managedClusters/ps-test-pool-operations\",\"aksClusterAgentPoolIdentityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-05b06908de254a8c869f104ccefd47b0_ps-test-pool-operations_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ps-test-pool-operations-agentpool\",\"msiClientId\":\"5d60ed47-1d31-4491-9774-3f03c3db8dd8\",\"msiObjectId\":\"7010d0c5-c38e-47ac-b6c7-202ba9a6abad\"}},\"computeProfile\":{\"vmSize\":\"Standard_E4s_v3\",\"count\":3},\"deploymentId\":\"05b06908de254a8c869f104ccefd47b0\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}" + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"name\":\"hilo-pool\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"tags\":{\"Tag\":\"powershell test\"},\"systemData\":{\"createdBy\":\"v-user@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-21T02:00:48.000845Z\",\"lastModifiedBy\":\"v-user@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-21T02:12:45.6771159Z\"},\"properties\":{\"managedResourceGroupName\":\"hdi-d538fdf072094181ba8c68db403d8520\",\"aksManagedResourceGroupName\":\"MC_hdi-d538fdf072094181ba8c68db403d8520_hilo-pool_westus3\",\"logAnalyticsProfile\":{\"enabled\":true,\"workspaceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/pstestgroup/providers/microsoft.operationalinsights/workspaces/testhiloworkspace\"},\"aksClusterProfile\":{\"aksVersion\":\"1.27.7\",\"aksClusterResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-d538fdf072094181ba8c68db403d8520/providers/Microsoft.ContainerService/managedClusters/hilo-pool\",\"aksClusterAgentPoolIdentityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-d538fdf072094181ba8c68db403d8520_hilo-pool_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hilo-pool-agentpool\",\"msiClientId\":\"207cf1d2-ae47-488a-84e1-b402642ec474\",\"msiObjectId\":\"095561b7-8657-4306-ad67-be8f046ba9b4\"}},\"computeProfile\":{\"vmSize\":\"Standard_E4s_v3\",\"count\":3},\"deploymentId\":\"d538fdf072094181ba8c68db403d8520\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Update-AzHdInsightOnAksClusterPoolTag+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations?api-version=2023-06-01-preview+4": { + "ClusterPoolOperations+[NoContext]+Update-AzHdInsightOnAksClusterPoolTag+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "28" ], - "x-ms-client-request-id": [ "3ba03ae7-690f-4e49-b9b6-dabcec539b71" ], + "x-ms-unique-id": [ "34" ], + "x-ms-client-request-id": [ "f88e3a9e-f192-4407-b3df-49031ff37840" ], "CommandName": [ "Get-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Get-AzHdInsightOnAksClusterPool_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1127,38 +1440,84 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"190152c4-0000-0100-0000-650277bd0000\"" ], + "ETag": [ "\"21007506-0000-0200-0000-65fb97a30000\"" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "b6586fd9-e299-4d7a-8055-104bcce9057e" ], - "x-ms-correlation-request-id": [ "9ace7f87-c7c8-4153-a84e-247445d30170" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030248Z:9ace7f87-c7c8-4153-a84e-247445d30170" ], + "x-ms-request-id": [ "5653eabd-3fb4-4e30-bd6f-66a0e7fc2142" ], + "x-ms-correlation-request-id": [ "288626d6-89e0-4d19-8fa2-1d22ce6c960f" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021317Z:288626d6-89e0-4d19-8fa2-1d22ce6c960f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D7E90698A06A48768F2AC5EC2F8EED5A Ref B: TYO201100114045 Ref C: 2023-09-14T03:02:48Z" ], - "Date": [ "Thu, 14 Sep 2023 03:02:48 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 54BB42E1BEE244379AA41F9E527B0EC5 Ref B: TYO201100114033 Ref C: 2024-03-21T02:13:17Z" ], + "Date": [ "Thu, 21 Mar 2024 02:13:17 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1717" ], + "Content-Length": [ "1630" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"name\":\"ps-test-pool-operations\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"tags\":{\"Tag\":\"powershell test\"},\"systemData\":{\"createdBy\":\"{username}\",\"createdByType\":\"User\",\"createdAt\":\"2023-09-14T02:53:18.9326363Z\",\"lastModifiedBy\":\"{username}\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-09-14T03:02:15.0326531Z\"},\"properties\":{\"managedResourceGroupName\":\"hdi-05b06908de254a8c869f104ccefd47b0\",\"aksManagedResourceGroupName\":\"MC_hdi-05b06908de254a8c869f104ccefd47b0_ps-test-pool-operations_westus3\",\"logAnalyticsProfile\":{\"enabled\":true,\"workspaceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/psgroup/providers/microsoft.operationalinsights/workspaces/testworkspace\"},\"aksClusterProfile\":{\"aksVersion\":\"1.26\",\"aksClusterResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-05b06908de254a8c869f104ccefd47b0/providers/Microsoft.ContainerService/managedClusters/ps-test-pool-operations\",\"aksClusterAgentPoolIdentityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-05b06908de254a8c869f104ccefd47b0_ps-test-pool-operations_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ps-test-pool-operations-agentpool\",\"msiClientId\":\"5d60ed47-1d31-4491-9774-3f03c3db8dd8\",\"msiObjectId\":\"7010d0c5-c38e-47ac-b6c7-202ba9a6abad\"}},\"computeProfile\":{\"vmSize\":\"Standard_E4s_v3\",\"count\":3},\"deploymentId\":\"05b06908de254a8c869f104ccefd47b0\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}" + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"name\":\"hilo-pool\",\"type\":\"microsoft.hdinsight/clusterpools\",\"location\":\"West US 3\",\"tags\":{\"Tag\":\"powershell test\"},\"systemData\":{\"createdBy\":\"v-user@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-21T02:00:48.000845Z\",\"lastModifiedBy\":\"v-user@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-21T02:12:45.6771159Z\"},\"properties\":{\"managedResourceGroupName\":\"hdi-d538fdf072094181ba8c68db403d8520\",\"aksManagedResourceGroupName\":\"MC_hdi-d538fdf072094181ba8c68db403d8520_hilo-pool_westus3\",\"logAnalyticsProfile\":{\"enabled\":true,\"workspaceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/pstestgroup/providers/microsoft.operationalinsights/workspaces/testhiloworkspace\"},\"aksClusterProfile\":{\"aksVersion\":\"1.27.7\",\"aksClusterResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdi-d538fdf072094181ba8c68db403d8520/providers/Microsoft.ContainerService/managedClusters/hilo-pool\",\"aksClusterAgentPoolIdentityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_hdi-d538fdf072094181ba8c68db403d8520_hilo-pool_westus3/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hilo-pool-agentpool\",\"msiClientId\":\"207cf1d2-ae47-488a-84e1-b402642ec474\",\"msiObjectId\":\"095561b7-8657-4306-ad67-be8f046ba9b4\"}},\"computeProfile\":{\"vmSize\":\"Standard_E4s_v3\",\"count\":3},\"deploymentId\":\"d538fdf072094181ba8c68db403d8520\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$DELETE+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations?api-version=2023-06-01-preview+1": { + "ClusterPoolOperations+[NoContext]+Get AzHdInsightOnAksClusterPool available upgrade+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/availableUpgrades?api-version=2023-11-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/availableUpgrades?api-version=2023-11-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "35" ], + "x-ms-client-request-id": [ "88765db4-49dc-467f-921b-4ee8f24cef03" ], + "CommandName": [ "Get-AzHdInsightOnAksClusterPoolAvailableUpgrade" ], + "FullCommandName": [ "Get-AzHdInsightOnAksClusterPoolAvailableUpgrade_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-providerhub-traffic": [ "True" ], + "mise-correlation-id": [ "0a62aa31-88f9-4094-9849-c8e364676003" ], + "x-ms-request-id": [ "b9c74946-12bf-4f09-b091-9e97139e65bb" ], + "x-ms-correlation-request-id": [ "5f5c8b24-401e-4825-95a5-daa43fdff2cf" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021318Z:5f5c8b24-401e-4825-95a5-daa43fdff2cf" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 8DB327815456425991EC38B608589A56 Ref B: TYO201100114033 Ref C: 2024-03-21T02:13:17Z" ], + "Date": [ "Thu, 21 Mar 2024 02:13:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "12" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[]}", + "isContentBase64": false + } + }, + "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$DELETE+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool?api-version=2023-11-01-preview", "Content": null, + "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "29" ], - "x-ms-client-request-id": [ "e10fca38-2a44-4a11-b8db-cde24ba9b762" ], + "x-ms-unique-id": [ "36" ], + "x-ms-client-request-id": [ "8e386433-66f8-491e-a9f8-5ab825f9d3f2" ], "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1169,42 +1528,44 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"190193c4-0000-0100-0000-650277db0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], + "ETag": [ "\"6000c4db-0000-0700-0000-65fb97c00000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465840003937642\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnK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_R66imRwA19-UuC2pYe936R87tXElA67CfQxT3D8qOUcw5W9-LNngpgOXx4qV42Ddzv99-PLPCF72qdH6AFo2kYQeqF278Ry9udGJoROoHAjdJWLNUGw\u0026h=sDdiiFXBEtTEdD_6cRXuVTpGaifjzTCg6J_xi2LuOA4" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "d0cecdcf-c219-442f-a822-8decd4b74581" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "c9b2fab6-b559-4791-ad59-b40b78153425" ], - "x-ms-correlation-request-id": [ "b588ba8a-4585-4dcc-896a-18e4df5d19b2" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030251Z:b588ba8a-4585-4dcc-896a-18e4df5d19b2" ], + "mise-correlation-id": [ "e04c41ed-5403-4a43-b182-dd581b05b453" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465840003781753\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTC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WpTG9iO2gJ3L8GDmfbohw0tMveSd3dpW3Q52numMZ3MkArO1Ev9vT7d1rOD6vCzgcLbymxsYA1ONq1jiFiflLfYk2DnN_On121Xup4QIRyHYbhYBiWWQED09O7xkbt-25Xl5L7xsmp_k6CyreNFh0Si02tZlNW4Rd_CKKKv_m7oJklqI0YrOghqW9flDV3rbmaKHCrq9lCCdkzK6159dVgwsdNyp0-S6TJsMgxs8jTtokHxDzcDkAwqfWBjwlln9GmvLNvQXxZPCV-5OLilWeyv5XP-Scl4NPTI_ybg-r_7SoddEAFMwGwEdikAycaQ\u0026h=ATzbS-kP4bUKZJG_qa69YAmgZuG6G43vOHOxWVBrVek" ], + "x-ms-request-id": [ "6f196420-8505-4b50-8737-ae0d17e005c8" ], + "x-ms-correlation-request-id": [ "999b5b1a-bf2a-40a1-8e83-74a0519d5829" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021320Z:999b5b1a-bf2a-40a1-8e83-74a0519d5829" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1537D4317C624A8AB811AF985A207376 Ref B: TYO201100114045 Ref C: 2023-09-14T03:02:48Z" ], - "Date": [ "Thu, 14 Sep 2023 03:02:50 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 3FFED57792384379A8CA51A34B6FD588 Ref B: TYO201100114033 Ref C: 2024-03-21T02:13:19Z" ], + "Date": [ "Thu, 21 Mar 2024 02:13:19 GMT" ] }, "ContentHeaders": { "Content-Length": [ "4" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "bnVsbA==" + "Content": "bnVsbA==", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+2": { + "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465840003781753\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6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9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=SBdjyRDESDZ-tTE-7vXPEO5WpTG9iO2gJ3L8GDmfbohw0tMveSd3dpW3Q52numMZ3MkArO1Ev9vT7d1rOD6vCzgcLbymxsYA1ONq1jiFiflLfYk2DnN_On121Xup4QIRyHYbhYBiWWQED09O7xkbt-25Xl5L7xsmp_k6CyreNFh0Si02tZlNW4Rd_CKKKv_m7oJklqI0YrOghqW9flDV3rbmaKHCrq9lCCdkzK6159dVgwsdNyp0-S6TJsMgxs8jTtokHxDzcDkAwqfWBjwlln9GmvLNvQXxZPCV-5OLilWeyv5XP-Scl4NPTI_ybg-r_7SoddEAFMwGwEdikAycaQ\u0026h=ATzbS-kP4bUKZJG_qa69YAmgZuG6G43vOHOxWVBrVek+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465840003781753\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGt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hsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=SBdjyRDESDZ-tTE-7vXPEO5WpTG9iO2gJ3L8GDmfbohw0tMveSd3dpW3Q52numMZ3MkArO1Ev9vT7d1rOD6vCzgcLbymxsYA1ONq1jiFiflLfYk2DnN_On121Xup4QIRyHYbhYBiWWQED09O7xkbt-25Xl5L7xsmp_k6CyreNFh0Si02tZlNW4Rd_CKKKv_m7oJklqI0YrOghqW9flDV3rbmaKHCrq9lCCdkzK6159dVgwsdNyp0-S6TJsMgxs8jTtokHxDzcDkAwqfWBjwlln9GmvLNvQXxZPCV-5OLilWeyv5XP-Scl4NPTI_ybg-r_7SoddEAFMwGwEdikAycaQ\u0026h=ATzbS-kP4bUKZJG_qa69YAmgZuG6G43vOHOxWVBrVek", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "e10fca38-2a44-4a11-b8db-cde24ba9b762" ], + "x-ms-unique-id": [ "37" ], + "x-ms-client-request-id": [ "8e386433-66f8-491e-a9f8-5ab825f9d3f2" ], "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1214,40 +1575,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100622e-0000-0100-0000-650277da0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "8203259d-ef0b-4a98-8dfb-4f356c52fd46" ], - "x-ms-correlation-request-id": [ "69b049a4-1939-4b85-ac98-b4cc6aaf828b" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030322Z:69b049a4-1939-4b85-ac98-b4cc6aaf828b" ], + "ETag": [ "\"0e008db3-0000-0700-0000-65fb97c00000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465840312916289\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAx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btydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=BmimUr3spZ02oBKUvTpPO8piR5KVgU3Sgz_h_SIBoaK1_-5LB9v9OREMMgtVx9JPL8r4sqxuDaaWs5B2Yw8-z6P6WBjYeW-IoVYMxlAaNWn8y-CYWW8F-k4sWUKn2RqZMooKWhH0mijq3zqRuKbICkxCjDngqKwoIYxM70M40z8f5jWQDhqq_cr0xf6F3xHdBKc1T5GFcpyrvnmRuRontT24XJa40M4QP2-bovi7JYiLCA7b77ro9u7UXJ2ibu-PoaLWrUu23BCwd0c9NllNu5gS52ESpQufDrU1HKDc7yK5eSzQ0bfF7FFCv-wX0ds999z87hqmc6XwmjQ8-KbnnA\u0026h=NhddV1TYl2r7VYlRvzg8zoKIKUzkqxKcdCzEAL_djSo" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465840312916289\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-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k4sWUKn2RqZMooKWhH0mijq3zqRuKbICkxCjDngqKwoIYxM70M40z8f5jWQDhqq_cr0xf6F3xHdBKc1T5GFcpyrvnmRuRontT24XJa40M4QP2-bovi7JYiLCA7b77ro9u7UXJ2ibu-PoaLWrUu23BCwd0c9NllNu5gS52ESpQufDrU1HKDc7yK5eSzQ0bfF7FFCv-wX0ds999z87hqmc6XwmjQ8-KbnnA\u0026h=NhddV1TYl2r7VYlRvzg8zoKIKUzkqxKcdCzEAL_djSo" ], + "x-ms-request-id": [ "a6bfeaf9-64dd-4cda-b4b3-a0351fa94c75" ], + "x-ms-correlation-request-id": [ "e12a440c-07c0-457f-a0d9-10c92de7067b" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021351Z:e12a440c-07c0-457f-a0d9-10c92de7067b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 624F65922C714271A8650413EE2FC08C Ref B: TYO201100114045 Ref C: 2023-09-14T03:03:21Z" ], - "Date": [ "Thu, 14 Sep 2023 03:03:21 GMT" ] + "X-MSEdge-Ref": [ "Ref A: CE9E77250DEB49D8B20949665AEF5086 Ref B: TYO201100114033 Ref C: 2024-03-21T02:13:50Z" ], + "Date": [ "Thu, 21 Mar 2024 02:13:50 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "512" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:02:50.9943541Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:13:20.1474498Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+3": { + "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465840312916289\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tY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026s=BmimUr3spZ02oBKUvTpPO8piR5KVgU3Sgz_h_SIBoaK1_-5LB9v9OREMMgtVx9JPL8r4sqxuDaaWs5B2Yw8-z6P6WBjYeW-IoVYMxlAaNWn8y-CYWW8F-k4sWUKn2RqZMooKWhH0mijq3zqRuKbICkxCjDngqKwoIYxM70M40z8f5jWQDhqq_cr0xf6F3xHdBKc1T5GFcpyrvnmRuRontT24XJa40M4QP2-bovi7JYiLCA7b77ro9u7UXJ2ibu-PoaLWrUu23BCwd0c9NllNu5gS52ESpQufDrU1HKDc7yK5eSzQ0bfF7FFCv-wX0ds999z87hqmc6XwmjQ8-KbnnA\u0026h=NhddV1TYl2r7VYlRvzg8zoKIKUzkqxKcdCzEAL_djSo+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465840312916289\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9S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xlAaNWn8y-CYWW8F-k4sWUKn2RqZMooKWhH0mijq3zqRuKbICkxCjDngqKwoIYxM70M40z8f5jWQDhqq_cr0xf6F3xHdBKc1T5GFcpyrvnmRuRontT24XJa40M4QP2-bovi7JYiLCA7b77ro9u7UXJ2ibu-PoaLWrUu23BCwd0c9NllNu5gS52ESpQufDrU1HKDc7yK5eSzQ0bfF7FFCv-wX0ds999z87hqmc6XwmjQ8-KbnnA\u0026h=NhddV1TYl2r7VYlRvzg8zoKIKUzkqxKcdCzEAL_djSo", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "31" ], - "x-ms-client-request-id": [ "e10fca38-2a44-4a11-b8db-cde24ba9b762" ], + "x-ms-unique-id": [ "38" ], + "x-ms-client-request-id": [ "8e386433-66f8-491e-a9f8-5ab825f9d3f2" ], "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1257,40 +1620,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100622e-0000-0100-0000-650277da0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "ea4a41aa-93b7-4336-8dcc-e68ae106d930" ], - "x-ms-correlation-request-id": [ "65a663dd-8de7-476c-a735-06642c59860d" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030352Z:65a663dd-8de7-476c-a735-06642c59860d" ], + "ETag": [ "\"0e008db3-0000-0700-0000-65fb97c00000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465840621268488\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVC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"Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465840621268488\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29md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cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=pPpdTxwKjaR8Xp8ObtwdPV_PMXxn0iCBcd80F5-PYmYQ61_kYzXVhmJV-x6BxDTJSceyqnMHNxYbp4DUXWZBTcKTvcDRgN2wq2DGwrX0DC0HQ5KwFGEI5JIu3zvi0SGW4gqWT8ziIiQSOhjTcCtbcDEHzxl2wWk-8ge5yGEQ6heYJw-R6h14VwnTzd8WA6h1sffJ1nv88Pf-j8Ea0eYGMp4NONYqq9pe3AOZwS0SUFNWHjth1NfUYe9amIAjQK-WzN2jxjd8RuSUR5qL6FogC2Oq_-WITpmqtFjK1CLc47QNcYgExcd2Zr5AFecZE5VfkxPzLGJ1OLqB99_sCNVvsA\u0026h=5LvUV6-1T7d9YbtMLZgJGGm1bHZ-qz2jnhUTu8DGs_4" ], + "x-ms-request-id": [ "408a218b-90b7-4354-abe3-34b7dfa218e5" ], + "x-ms-correlation-request-id": [ "be66e377-2e0d-44c4-9bb3-acb4ef43cb4b" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021422Z:be66e377-2e0d-44c4-9bb3-acb4ef43cb4b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A82124D97814462C8FCFE0117E606BE5 Ref B: TYO201100114045 Ref C: 2023-09-14T03:03:52Z" ], - "Date": [ "Thu, 14 Sep 2023 03:03:52 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 786848FF21724713A0CEFB586DEF6882 Ref B: TYO201100114033 Ref C: 2024-03-21T02:14:21Z" ], + "Date": [ "Thu, 21 Mar 2024 02:14:21 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "512" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:02:50.9943541Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:13:20.1474498Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+4": { + "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465840621268488\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBD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IwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=pPpdTxwKjaR8Xp8ObtwdPV_PMXxn0iCBcd80F5-PYmYQ61_kYzXVhmJV-x6BxDTJSceyqnMHNxYbp4DUXWZBTcKTvcDRgN2wq2DGwrX0DC0HQ5KwFGEI5JIu3zvi0SGW4gqWT8ziIiQSOhjTcCtbcDEHzxl2wWk-8ge5yGEQ6heYJw-R6h14VwnTzd8WA6h1sffJ1nv88Pf-j8Ea0eYGMp4NONYqq9pe3AOZwS0SUFNWHjth1NfUYe9amIAjQK-WzN2jxjd8RuSUR5qL6FogC2Oq_-WITpmqtFjK1CLc47QNcYgExcd2Zr5AFecZE5VfkxPzLGJ1OLqB99_sCNVvsA\u0026h=5LvUV6-1T7d9YbtMLZgJGGm1bHZ-qz2jnhUTu8DGs_4+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465840621268488\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0w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QMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=pPpdTxwKjaR8Xp8ObtwdPV_PMXxn0iCBcd80F5-PYmYQ61_kYzXVhmJV-x6BxDTJSceyqnMHNxYbp4DUXWZBTcKTvcDRgN2wq2DGwrX0DC0HQ5KwFGEI5JIu3zvi0SGW4gqWT8ziIiQSOhjTcCtbcDEHzxl2wWk-8ge5yGEQ6heYJw-R6h14VwnTzd8WA6h1sffJ1nv88Pf-j8Ea0eYGMp4NONYqq9pe3AOZwS0SUFNWHjth1NfUYe9amIAjQK-WzN2jxjd8RuSUR5qL6FogC2Oq_-WITpmqtFjK1CLc47QNcYgExcd2Zr5AFecZE5VfkxPzLGJ1OLqB99_sCNVvsA\u0026h=5LvUV6-1T7d9YbtMLZgJGGm1bHZ-qz2jnhUTu8DGs_4", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "32" ], - "x-ms-client-request-id": [ "e10fca38-2a44-4a11-b8db-cde24ba9b762" ], + "x-ms-unique-id": [ "39" ], + "x-ms-client-request-id": [ "8e386433-66f8-491e-a9f8-5ab825f9d3f2" ], "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1300,40 +1665,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100622e-0000-0100-0000-650277da0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], + "ETag": [ "\"0e008db3-0000-0700-0000-65fb97c00000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465840930286493\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78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4WbJ85YRZnP_yJMW_rCe0f3tVinh3XrBLRq_VulNkDwRhxWsk9JMNsFoTIHs2pDQ5mA0XsI4QepsB33ajOWU8XcO_DiKJvvuax19a-yybND3nixIcv6ycrhJ0-2TaEze3uXIhZZNxggQ4kW3HJA4DML3Kh-OT9Wegbng\u0026h=lKLufRKalMbF1_P7GtwApMycJHYqfbwvAQhvqpZ-Wm4" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "51287c1e-08c7-4f70-800b-7c4ab0b0c2b2" ], - "x-ms-correlation-request-id": [ "d874b2ea-bb13-488a-9bc0-c8bf07787d88" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030423Z:d874b2ea-bb13-488a-9bc0-c8bf07787d88" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465840930130263\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7Om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cdpH8ozHbzlx0onAYpFBIGLg8BZSzA9urH-O4JhaxDDXjmObK83qkstR4IRw6xcRadFULYN0WpRcOtkVY4m_bMOmR0wmXOX7VJO8NJySWp8pxhT1vboi4NFz7s5THyfvjNaPvcuhr8zxFEiCZnTLX3FaUiHPgRr5grRI9YVld-RZbYx-jIhtyod_APKNwa43DQKH_7VATppBBeu0e28VQ9X9kb4z__qDgyJ62xz74dEkROWc1x7PvwhI_1VC-cmoQ\u0026h=ZMgfzxXA4gnipbZH88lvXh9cHdxyH5i86BqaIKwvxv4" ], + "x-ms-request-id": [ "3adc07ba-c872-45ad-989e-dac002df9547" ], + "x-ms-correlation-request-id": [ "f5b4220a-884e-4dc2-89a5-4649f35101c8" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021453Z:f5b4220a-884e-4dc2-89a5-4649f35101c8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 4AC7A025D52C4BFC8237E1A89464B4FE Ref B: TYO201100114045 Ref C: 2023-09-14T03:04:23Z" ], - "Date": [ "Thu, 14 Sep 2023 03:04:23 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 196D7CF542BE4229912CC068860F4F16 Ref B: TYO201100114033 Ref C: 2024-03-21T02:14:52Z" ], + "Date": [ "Thu, 21 Mar 2024 02:14:52 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "512" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:02:50.9943541Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:13:20.1474498Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+5": { + "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465840930130263\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25p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0HOcoGcebh1hrMvD1lL1A\u0026s=i7gSdI5dCYnbTK-RXoUFyYFGWC47KdMvAdyI94E0D0zoyVixCPO-aQMi0fU_nQR3pERClQore7P3_7btg8i9NcdpH8ozHbzlx0onAYpFBIGLg8BZSzA9urH-O4JhaxDDXjmObK83qkstR4IRw6xcRadFULYN0WpRcOtkVY4m_bMOmR0wmXOX7VJO8NJySWp8pxhT1vboi4NFz7s5THyfvjNaPvcuhr8zxFEiCZnTLX3FaUiHPgRr5grRI9YVld-RZbYx-jIhtyod_APKNwa43DQKH_7VATppBBeu0e28VQ9X9kb4z__qDgyJ62xz74dEkROWc1x7PvwhI_1VC-cmoQ\u0026h=ZMgfzxXA4gnipbZH88lvXh9cHdxyH5i86BqaIKwvxv4+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465840930130263\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0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Hbzlx0onAYpFBIGLg8BZSzA9urH-O4JhaxDDXjmObK83qkstR4IRw6xcRadFULYN0WpRcOtkVY4m_bMOmR0wmXOX7VJO8NJySWp8pxhT1vboi4NFz7s5THyfvjNaPvcuhr8zxFEiCZnTLX3FaUiHPgRr5grRI9YVld-RZbYx-jIhtyod_APKNwa43DQKH_7VATppBBeu0e28VQ9X9kb4z__qDgyJ62xz74dEkROWc1x7PvwhI_1VC-cmoQ\u0026h=ZMgfzxXA4gnipbZH88lvXh9cHdxyH5i86BqaIKwvxv4", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "33" ], - "x-ms-client-request-id": [ "e10fca38-2a44-4a11-b8db-cde24ba9b762" ], + "x-ms-unique-id": [ "40" ], + "x-ms-client-request-id": [ "8e386433-66f8-491e-a9f8-5ab825f9d3f2" ], "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1343,40 +1710,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100622e-0000-0100-0000-650277da0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "fab81dea-b5c1-440c-bc0f-bc8c8c691615" ], - "x-ms-correlation-request-id": [ "105b7607-f587-47bd-bfa6-824ea30af85e" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030454Z:105b7607-f587-47bd-bfa6-824ea30af85e" ], + "ETag": [ "\"0e008db3-0000-0700-0000-65fb97c00000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465841235821501\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsG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ure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465841235665581\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5j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Ky19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gmFP4G_GGK07ew4Y9FlDriXfloNs0MPza7IpJpgTgLwHVHzyxH2JafiNdVNXnsZXgR5gFYoKICdIqQFKSvioWC-ZEDntuOajbi8NrR82o1_FyDDLwishtY0Y0d7yKoPbCiSMbqJjHc-2jLyyR4ZYJemuJii0IbOlaxd-LjfFkHZWdDJFSriOw83qZPQqpxDdeO5giNsWmF_PXIr_vIBq0ufrVhw2BtRQ035fokJDvuHfj4OcJke0QCTdfUBEHUxAOggDOkTXgddfA1k2C0KQSyDaBhHbCehatieIAQ_PKYYEfoKsvXOSmbWGR_2MswiDXgcKOBYR9PlAvofVb_NEaQ\u0026h=6MQ5OqRtqrJc6DHSCcKzeru-RMWgXigZkG684XozzW8" ], + "x-ms-request-id": [ "29ec2d29-4896-4a95-b7dd-3e617028e3b3" ], + "x-ms-correlation-request-id": [ "dfd0d879-5f67-437c-89a8-a9548b84aea5" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021523Z:dfd0d879-5f67-437c-89a8-a9548b84aea5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: DEB4399D89864856BD7CBE7A181B0B90 Ref B: TYO201100114045 Ref C: 2023-09-14T03:04:53Z" ], - "Date": [ "Thu, 14 Sep 2023 03:04:53 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D34563E50E3D4CE7AFB9AAB53FFAB803 Ref B: TYO201100114033 Ref C: 2024-03-21T02:15:23Z" ], + "Date": [ "Thu, 21 Mar 2024 02:15:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "512" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:02:50.9943541Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:13:20.1474498Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+6": { + "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465841235665581\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhp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Y3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gmFP4G_GGK07ew4Y9FlDriXfloNs0MPza7IpJpgTgLwHVHzyxH2JafiNdVNXnsZXgR5gFYoKICdIqQFKSvioWC-ZEDntuOajbi8NrR82o1_FyDDLwishtY0Y0d7yKoPbCiSMbqJjHc-2jLyyR4ZYJemuJii0IbOlaxd-LjfFkHZWdDJFSriOw83qZPQqpxDdeO5giNsWmF_PXIr_vIBq0ufrVhw2BtRQ035fokJDvuHfj4OcJke0QCTdfUBEHUxAOggDOkTXgddfA1k2C0KQSyDaBhHbCehatieIAQ_PKYYEfoKsvXOSmbWGR_2MswiDXgcKOBYR9PlAvofVb_NEaQ\u0026h=6MQ5OqRtqrJc6DHSCcKzeru-RMWgXigZkG684XozzW8+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465841235665581\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3J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RmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=gmFP4G_GGK07ew4Y9FlDriXfloNs0MPza7IpJpgTgLwHVHzyxH2JafiNdVNXnsZXgR5gFYoKICdIqQFKSvioWC-ZEDntuOajbi8NrR82o1_FyDDLwishtY0Y0d7yKoPbCiSMbqJjHc-2jLyyR4ZYJemuJii0IbOlaxd-LjfFkHZWdDJFSriOw83qZPQqpxDdeO5giNsWmF_PXIr_vIBq0ufrVhw2BtRQ035fokJDvuHfj4OcJke0QCTdfUBEHUxAOggDOkTXgddfA1k2C0KQSyDaBhHbCehatieIAQ_PKYYEfoKsvXOSmbWGR_2MswiDXgcKOBYR9PlAvofVb_NEaQ\u0026h=6MQ5OqRtqrJc6DHSCcKzeru-RMWgXigZkG684XozzW8", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "34" ], - "x-ms-client-request-id": [ "e10fca38-2a44-4a11-b8db-cde24ba9b762" ], + "x-ms-unique-id": [ "41" ], + "x-ms-client-request-id": [ "8e386433-66f8-491e-a9f8-5ab825f9d3f2" ], "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1386,40 +1755,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100622e-0000-0100-0000-650277da0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11995" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "26aaefdc-d9ef-4c3b-8f10-049906702b4b" ], - "x-ms-correlation-request-id": [ "5a2358b0-d918-4362-b43a-b844d3640ff5" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030525Z:5a2358b0-d918-4362-b43a-b844d3640ff5" ], + "ETag": [ "\"0e008db3-0000-0700-0000-65fb97c00000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465841543410565\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAy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88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=cjt2pSw38vlmoJvfDLrWJtslZk7AX_bcbdMVeV40qxS2yAZg97YKLp9a5h5hHIAAlHAN018K96JRrXruDLfUqDgfGXm72x9dUD6xHAv6Fl6TzZFQ0lm1xaCTwstdhkCVyaLJTxIu7haBbVW2ZrkKqWLtKqHnDtBLRVWn1eZQcybNSz2nq32Khs0und7yjKjxogpxuQUQWpMaR39wpSMBhnlNs3k_jYDSFW2gak7E-o_j1A0KOBwf6fvBKV28wCnAx8cWTFxtey-fKw9NH0dDwgjtE9HO_5T4EAu-QFrY_86bssnj0nwXuD8hmBgTLLxcLdFtnAWyR6yeDqfcLqv6jQ\u0026h=wcJgAJ-LcIPLRkGmhWZp6LuRA1D6MI84VRSG1O92pg4" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465841543254309\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-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xw0RWo4_JdG0V3tJpmtJufskQL2yj5YRspFUzTPogPXU3V4Vz6ezH_EjKzWZahkVOjaDeZzr_EKuOKXBy9YYj2GGlpWwJJf7h6O5vcjdiZmd_DYRAKtu803gPJSNVzs-R9CFfY5HlGEmt9e5ptDqcgQI92tlRF6keaWThjAeW5IFpjqfCm9Fq_VZ30WOX76CWKvAJh_jskeK7OWovxKX2wEpA7Zd59XXtI8o8wBw\u0026h=WJmCl37pDWdOop2Vl4p71zrgZPq1Ki_gWoUnnZkx9Co" ], + "x-ms-request-id": [ "1c8a0141-a72d-4b12-b1be-d18452ecb0fc" ], + "x-ms-correlation-request-id": [ "98f4acb2-aefe-417b-9ef6-d517a9c8e3b2" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021554Z:98f4acb2-aefe-417b-9ef6-d517a9c8e3b2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E94F599B16F04F79A5A3897A2C7FE617 Ref B: TYO201100114045 Ref C: 2023-09-14T03:05:24Z" ], - "Date": [ "Thu, 14 Sep 2023 03:05:24 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 686D3138E6ED4BB3AD699FAB08E31FF0 Ref B: TYO201100114033 Ref C: 2024-03-21T02:15:53Z" ], + "Date": [ "Thu, 21 Mar 2024 02:15:53 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "512" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:02:50.9943541Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:13:20.1474498Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+7": { + "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465841543254309\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbm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OcoGcebh1hrMvD1lL1A\u0026s=d_k06vGt-OXT_Ay8-dLfYoFx-XqOiwWapJhMmnX_zgWTZDRnepWmsE6Th_l-2i7GP65R9zPUFZyYfNuL9ru4rqPMAAQyAEDRnCLpPgquIyTbfRxw0RWo4_JdG0V3tJpmtJufskQL2yj5YRspFUzTPogPXU3V4Vz6ezH_EjKzWZahkVOjaDeZzr_EKuOKXBy9YYj2GGlpWwJJf7h6O5vcjdiZmd_DYRAKtu803gPJSNVzs-R9CFfY5HlGEmt9e5ptDqcgQI92tlRF6keaWThjAeW5IFpjqfCm9Fq_VZ30WOX76CWKvAJh_jskeK7OWovxKX2wEpA7Zd59XXtI8o8wBw\u0026h=WJmCl37pDWdOop2Vl4p71zrgZPq1Ki_gWoUnnZkx9Co+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465841543254309\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ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fNuL9ru4rqPMAAQyAEDRnCLpPgquIyTbfRxw0RWo4_JdG0V3tJpmtJufskQL2yj5YRspFUzTPogPXU3V4Vz6ezH_EjKzWZahkVOjaDeZzr_EKuOKXBy9YYj2GGlpWwJJf7h6O5vcjdiZmd_DYRAKtu803gPJSNVzs-R9CFfY5HlGEmt9e5ptDqcgQI92tlRF6keaWThjAeW5IFpjqfCm9Fq_VZ30WOX76CWKvAJh_jskeK7OWovxKX2wEpA7Zd59XXtI8o8wBw\u0026h=WJmCl37pDWdOop2Vl4p71zrgZPq1Ki_gWoUnnZkx9Co", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "35" ], - "x-ms-client-request-id": [ "e10fca38-2a44-4a11-b8db-cde24ba9b762" ], + "x-ms-unique-id": [ "42" ], + "x-ms-client-request-id": [ "8e386433-66f8-491e-a9f8-5ab825f9d3f2" ], "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1429,40 +1800,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100622e-0000-0100-0000-650277da0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "235fea55-4bf1-464f-a967-7442fee4c7ec" ], - "x-ms-correlation-request-id": [ "6d1dd871-4e95-47bc-ab3f-85b149ac6a25" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030556Z:6d1dd871-4e95-47bc-ab3f-85b149ac6a25" ], + "ETag": [ "\"0e008db3-0000-0700-0000-65fb97c00000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465841852139446\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk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-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465841851983185\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUF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GCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=iE7e_SgH5xU8XpM6ceAUcl3JIpqe00_njv9DYSgjOj0vucxkZP2hcWfrltr6SMs1eoZ8xsY5oeHUwh9Lwb7WbRRCVc8e22i6ny-xi1CzwbJ5ut7kzTcNBPEh4Qdg4U7uBF2dWVohFG244OsgyMjXOasdlPfmm6SqD6FRYMcAEgYjhPqb2S3UQyY-D_GjG1zYvr5kIUsXOqOt1ulMMPBI2vJwSkvtp1O0lv2WMvVE_cyp7hb3SigWEqtMA2DuHRxk7QnnCLBExcQcm9esbpeUJy62AU5dyYQm9QY1NDst5l1yxaFwKAzK2hUXM5_gmRKOweP9sXUeBK3xjnxijNm2wQ\u0026h=dvOaGeRjgpj1w7AJoKuibXN9LUJCW_swZlUq_kDtyD0" ], + "x-ms-request-id": [ "4c191835-e51c-47bb-991b-b0d1eb383d04" ], + "x-ms-correlation-request-id": [ "83c0f367-558e-4d01-952f-e0a897d5f660" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021625Z:83c0f367-558e-4d01-952f-e0a897d5f660" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D20FE78D76244566A9FE83E96FADFD77 Ref B: TYO201100114045 Ref C: 2023-09-14T03:05:55Z" ], - "Date": [ "Thu, 14 Sep 2023 03:05:55 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 5B12CA7496DF43C3942670C903AE423A Ref B: TYO201100114033 Ref C: 2024-03-21T02:16:24Z" ], + "Date": [ "Thu, 21 Mar 2024 02:16:24 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "512" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:02:50.9943541Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:13:20.1474498Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+8": { + "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465841851983185\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJK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bmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=iE7e_SgH5xU8XpM6ceAUcl3JIpqe00_njv9DYSgjOj0vucxkZP2hcWfrltr6SMs1eoZ8xsY5oeHUwh9Lwb7WbRRCVc8e22i6ny-xi1CzwbJ5ut7kzTcNBPEh4Qdg4U7uBF2dWVohFG244OsgyMjXOasdlPfmm6SqD6FRYMcAEgYjhPqb2S3UQyY-D_GjG1zYvr5kIUsXOqOt1ulMMPBI2vJwSkvtp1O0lv2WMvVE_cyp7hb3SigWEqtMA2DuHRxk7QnnCLBExcQcm9esbpeUJy62AU5dyYQm9QY1NDst5l1yxaFwKAzK2hUXM5_gmRKOweP9sXUeBK3xjnxijNm2wQ\u0026h=dvOaGeRjgpj1w7AJoKuibXN9LUJCW_swZlUq_kDtyD0+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465841851983185\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQS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UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=iE7e_SgH5xU8XpM6ceAUcl3JIpqe00_njv9DYSgjOj0vucxkZP2hcWfrltr6SMs1eoZ8xsY5oeHUwh9Lwb7WbRRCVc8e22i6ny-xi1CzwbJ5ut7kzTcNBPEh4Qdg4U7uBF2dWVohFG244OsgyMjXOasdlPfmm6SqD6FRYMcAEgYjhPqb2S3UQyY-D_GjG1zYvr5kIUsXOqOt1ulMMPBI2vJwSkvtp1O0lv2WMvVE_cyp7hb3SigWEqtMA2DuHRxk7QnnCLBExcQcm9esbpeUJy62AU5dyYQm9QY1NDst5l1yxaFwKAzK2hUXM5_gmRKOweP9sXUeBK3xjnxijNm2wQ\u0026h=dvOaGeRjgpj1w7AJoKuibXN9LUJCW_swZlUq_kDtyD0", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "36" ], - "x-ms-client-request-id": [ "e10fca38-2a44-4a11-b8db-cde24ba9b762" ], + "x-ms-unique-id": [ "43" ], + "x-ms-client-request-id": [ "8e386433-66f8-491e-a9f8-5ab825f9d3f2" ], "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1472,40 +1845,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100622e-0000-0100-0000-650277da0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "c7d2fdd5-e456-4dbc-bd09-6e0568bb2aa3" ], - "x-ms-correlation-request-id": [ "83dd1ee0-07c2-4726-aedc-2d284f38b724" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030626Z:83dd1ee0-07c2-4726-aedc-2d284f38b724" ], + "ETag": [ "\"0e008db3-0000-0700-0000-65fb97c00000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465842159620561\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZ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KxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=U_7u5Lj5MvQqgDzubteNfyJXJYK80xYe7DJp2mum35A9ljgNRO9DoKh7B4U2nj7jzHCFwS5_Yx6MvmhumU6ODyhkKx579bvxDKEQ5KicQWL96rEWQJWepMPMBdXzIpW2hlzsLbSN16VPGMZSfeOxU1nx3Y8gb0_Y6cHFd8Av-AAlalBGq0kz0RNvsTlacdFaDrnB1QSCUCpNFuOz-sykL4XRRXAFtTkVSLIPdo_uh_nwBUNlc-W9vJ6UIlujwBfwc0cpAdlJBHtg-DBCSFx7TkS12D1OQdVSajfFtBMtLvGE7zdSySEc1NooY181-gC2JU_pbwQWQ4THSYf1Nk6Xcw\u0026h=fHSP7p8ocodWhkBNLDQ1CJoPeRpOApTR9KrmORvkw2A" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11995" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465842159620561\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNA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ljgNRO9DoKh7B4U2nj7jzHCFwS5_Yx6MvmhumU6ODyhkKx579bvxDKEQ5KicQWL96rEWQJWepMPMBdXzIpW2hlzsLbSN16VPGMZSfeOxU1nx3Y8gb0_Y6cHFd8Av-AAlalBGq0kz0RNvsTlacdFaDrnB1QSCUCpNFuOz-sykL4XRRXAFtTkVSLIPdo_uh_nwBUNlc-W9vJ6UIlujwBfwc0cpAdlJBHtg-DBCSFx7TkS12D1OQdVSajfFtBMtLvGE7zdSySEc1NooY181-gC2JU_pbwQWQ4THSYf1Nk6Xcw\u0026h=fHSP7p8ocodWhkBNLDQ1CJoPeRpOApTR9KrmORvkw2A" ], + "x-ms-request-id": [ "3a7d16ed-c2b3-48a6-a6b5-fc957ffd8e43" ], + "x-ms-correlation-request-id": [ "8042ea0f-9e36-4c1c-932c-b5a4368a98fd" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021655Z:8042ea0f-9e36-4c1c-932c-b5a4368a98fd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 8467E91F8C6A4DD8B1DE2757B1F4DD05 Ref B: TYO201100114045 Ref C: 2023-09-14T03:06:26Z" ], - "Date": [ "Thu, 14 Sep 2023 03:06:26 GMT" ] + "X-MSEdge-Ref": [ "Ref A: CF528A7D341F401DB4FB665B7E23548C Ref B: TYO201100114033 Ref C: 2024-03-21T02:16:55Z" ], + "Date": [ "Thu, 21 Mar 2024 02:16:55 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "512" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:02:50.9943541Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:13:20.1474498Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+9": { + "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465842159620561\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwM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W2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=U_7u5Lj5MvQqgDzubteNfyJXJYK80xYe7DJp2mum35A9ljgNRO9DoKh7B4U2nj7jzHCFwS5_Yx6MvmhumU6ODyhkKx579bvxDKEQ5KicQWL96rEWQJWepMPMBdXzIpW2hlzsLbSN16VPGMZSfeOxU1nx3Y8gb0_Y6cHFd8Av-AAlalBGq0kz0RNvsTlacdFaDrnB1QSCUCpNFuOz-sykL4XRRXAFtTkVSLIPdo_uh_nwBUNlc-W9vJ6UIlujwBfwc0cpAdlJBHtg-DBCSFx7TkS12D1OQdVSajfFtBMtLvGE7zdSySEc1NooY181-gC2JU_pbwQWQ4THSYf1Nk6Xcw\u0026h=fHSP7p8ocodWhkBNLDQ1CJoPeRpOApTR9KrmORvkw2A+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465842159620561\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZ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lj5MvQqgDzubteNfyJXJYK80xYe7DJp2mum35A9ljgNRO9DoKh7B4U2nj7jzHCFwS5_Yx6MvmhumU6ODyhkKx579bvxDKEQ5KicQWL96rEWQJWepMPMBdXzIpW2hlzsLbSN16VPGMZSfeOxU1nx3Y8gb0_Y6cHFd8Av-AAlalBGq0kz0RNvsTlacdFaDrnB1QSCUCpNFuOz-sykL4XRRXAFtTkVSLIPdo_uh_nwBUNlc-W9vJ6UIlujwBfwc0cpAdlJBHtg-DBCSFx7TkS12D1OQdVSajfFtBMtLvGE7zdSySEc1NooY181-gC2JU_pbwQWQ4THSYf1Nk6Xcw\u0026h=fHSP7p8ocodWhkBNLDQ1CJoPeRpOApTR9KrmORvkw2A", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "37" ], - "x-ms-client-request-id": [ "e10fca38-2a44-4a11-b8db-cde24ba9b762" ], + "x-ms-unique-id": [ "44" ], + "x-ms-client-request-id": [ "8e386433-66f8-491e-a9f8-5ab825f9d3f2" ], "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1515,40 +1890,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100622e-0000-0100-0000-650277da0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], + "ETag": [ "\"0e008db3-0000-0700-0000-65fb97c00000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465842466746595\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUE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AUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=FcYfjgphhioN8X4Py7nyYPfBx2I42o34y0_jnA5uYeL0VqePeBdN4ueCb2-R8JPB2bIsUj8wLpf8Utp9XExdjim8pZwNe5RWCxW2aB2T6mnglSmEwSIp2EjKPAi02a1LrEYnLMZBAjq38aOuVz58ifvSKZ2g5QKwMap_tWgXTQ-Lh1Oq4GSFxqJmkI0PnOROy2aZ8-hdOcPaOQoH9VUsyWqoz9CbZoC3R0oW3EXsEYKPWHb6OCXaf40mFdDrPls1aesOMn9TiElCMPFjH1PUBAJ7jo0GCSehtj8brQDMWbdZ12KjYfgECalGzFoNrPWZPFks3AFTmF8_vAGppiPchA\u0026h=rGujDHc0s52nVrp-BzTBWe624q5FqQe1_vjsaHk6b8U" ], "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "d6da96bb-e2f5-4e0f-aff4-e768abc2bfc8" ], - "x-ms-correlation-request-id": [ "a0f87b0e-c003-499d-9047-f539298aad0b" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030657Z:a0f87b0e-c003-499d-9047-f539298aad0b" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465842466746595\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcB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GA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=FcYfjgphhioN8X4Py7nyYPfBx2I42o34y0_jnA5uYeL0VqePeBdN4ueCb2-R8JPB2bIsUj8wLpf8Utp9XExdjim8pZwNe5RWCxW2aB2T6mnglSmEwSIp2EjKPAi02a1LrEYnLMZBAjq38aOuVz58ifvSKZ2g5QKwMap_tWgXTQ-Lh1Oq4GSFxqJmkI0PnOROy2aZ8-hdOcPaOQoH9VUsyWqoz9CbZoC3R0oW3EXsEYKPWHb6OCXaf40mFdDrPls1aesOMn9TiElCMPFjH1PUBAJ7jo0GCSehtj8brQDMWbdZ12KjYfgECalGzFoNrPWZPFks3AFTmF8_vAGppiPchA\u0026h=rGujDHc0s52nVrp-BzTBWe624q5FqQe1_vjsaHk6b8U" ], + "x-ms-request-id": [ "7a784b02-37ae-4bd8-b883-d44fa04d1da1" ], + "x-ms-correlation-request-id": [ "ff0b67e7-f6e2-4cb8-a01f-546432002f36" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021726Z:ff0b67e7-f6e2-4cb8-a01f-546432002f36" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A6F5DAD0000F4B3BA3CAD6EA1C0404DE Ref B: TYO201100114045 Ref C: 2023-09-14T03:06:56Z" ], - "Date": [ "Thu, 14 Sep 2023 03:06:56 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B5F0529591704CD9BF1B3913276C6136 Ref B: TYO201100114033 Ref C: 2024-03-21T02:17:26Z" ], + "Date": [ "Thu, 21 Mar 2024 02:17:26 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "512" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:02:50.9943541Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:13:20.1474498Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+10": { + "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465842466746595\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBB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My5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=FcYfjgphhioN8X4Py7nyYPfBx2I42o34y0_jnA5uYeL0VqePeBdN4ueCb2-R8JPB2bIsUj8wLpf8Utp9XExdjim8pZwNe5RWCxW2aB2T6mnglSmEwSIp2EjKPAi02a1LrEYnLMZBAjq38aOuVz58ifvSKZ2g5QKwMap_tWgXTQ-Lh1Oq4GSFxqJmkI0PnOROy2aZ8-hdOcPaOQoH9VUsyWqoz9CbZoC3R0oW3EXsEYKPWHb6OCXaf40mFdDrPls1aesOMn9TiElCMPFjH1PUBAJ7jo0GCSehtj8brQDMWbdZ12KjYfgECalGzFoNrPWZPFks3AFTmF8_vAGppiPchA\u0026h=rGujDHc0s52nVrp-BzTBWe624q5FqQe1_vjsaHk6b8U+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465842466746595\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCA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BJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=FcYfjgphhioN8X4Py7nyYPfBx2I42o34y0_jnA5uYeL0VqePeBdN4ueCb2-R8JPB2bIsUj8wLpf8Utp9XExdjim8pZwNe5RWCxW2aB2T6mnglSmEwSIp2EjKPAi02a1LrEYnLMZBAjq38aOuVz58ifvSKZ2g5QKwMap_tWgXTQ-Lh1Oq4GSFxqJmkI0PnOROy2aZ8-hdOcPaOQoH9VUsyWqoz9CbZoC3R0oW3EXsEYKPWHb6OCXaf40mFdDrPls1aesOMn9TiElCMPFjH1PUBAJ7jo0GCSehtj8brQDMWbdZ12KjYfgECalGzFoNrPWZPFks3AFTmF8_vAGppiPchA\u0026h=rGujDHc0s52nVrp-BzTBWe624q5FqQe1_vjsaHk6b8U", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "38" ], - "x-ms-client-request-id": [ "e10fca38-2a44-4a11-b8db-cde24ba9b762" ], + "x-ms-unique-id": [ "45" ], + "x-ms-client-request-id": [ "8e386433-66f8-491e-a9f8-5ab825f9d3f2" ], "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1558,40 +1935,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100622e-0000-0100-0000-650277da0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "c7ed4d77-73cc-405b-bf9a-b337a3d3a12e" ], - "x-ms-correlation-request-id": [ "4a75e3cb-252b-4777-916e-16a8a75ada8e" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030728Z:4a75e3cb-252b-4777-916e-16a8a75ada8e" ], + "ETag": [ "\"0e008db3-0000-0700-0000-65fb97c00000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465842775611287\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwE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14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=DDTWVPAoIvmDCU_uAam1I_EucSW9C4-BCq7w3E2cQleqT4bp11XY5tiOLwawQnvdLHKJ4iT0gTDDukPqzunFwsncXHo6Qtkq-A80uf2fYAoV-Z7KUvSIbSs4ZARVW5K-tHIQhS9Y5wVxIv3A6dVBWQLV0mhiZTNn2-8SjIBNR9lSGYmlIGvMkJVlVEaBiwXLUgYFtvRe1ToSBu9I8SpCDSZE8xev_LkiMW26BEL9OeduXEFnoqqIJUT3hz9VsdBNpkqv0spiVVNxV9bwqXkwW1abTcuIr5xjWgnJV4tUcvLQTzOyyq997NxU32nyPn4WY4tq7q0nljLrEN4WHcfR-g\u0026h=ilUB9gT1sQMTYN4kV8eIzkW_ou8JofYQIHl8NezEA38" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465842775611287\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKo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w3E2cQleqT4bp11XY5tiOLwawQnvdLHKJ4iT0gTDDukPqzunFwsncXHo6Qtkq-A80uf2fYAoV-Z7KUvSIbSs4ZARVW5K-tHIQhS9Y5wVxIv3A6dVBWQLV0mhiZTNn2-8SjIBNR9lSGYmlIGvMkJVlVEaBiwXLUgYFtvRe1ToSBu9I8SpCDSZE8xev_LkiMW26BEL9OeduXEFnoqqIJUT3hz9VsdBNpkqv0spiVVNxV9bwqXkwW1abTcuIr5xjWgnJV4tUcvLQTzOyyq997NxU32nyPn4WY4tq7q0nljLrEN4WHcfR-g\u0026h=ilUB9gT1sQMTYN4kV8eIzkW_ou8JofYQIHl8NezEA38" ], + "x-ms-request-id": [ "f7f8183f-f1b5-4e26-9bba-4555b9c1c6ef" ], + "x-ms-correlation-request-id": [ "591b4b69-8cfb-4592-8ed3-2f18a04c37be" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021757Z:591b4b69-8cfb-4592-8ed3-2f18a04c37be" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7ABDC186C44F4435B131AFA070C39887 Ref B: TYO201100114045 Ref C: 2023-09-14T03:07:27Z" ], - "Date": [ "Thu, 14 Sep 2023 03:07:27 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 0942F94BA2C3460591D522278B4CBA6A Ref B: TYO201100114033 Ref C: 2024-03-21T02:17:57Z" ], + "Date": [ "Thu, 21 Mar 2024 02:17:56 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "512" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:02:50.9943541Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:13:20.1474498Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+11": { + "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465842775611287\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTA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SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=DDTWVPAoIvmDCU_uAam1I_EucSW9C4-BCq7w3E2cQleqT4bp11XY5tiOLwawQnvdLHKJ4iT0gTDDukPqzunFwsncXHo6Qtkq-A80uf2fYAoV-Z7KUvSIbSs4ZARVW5K-tHIQhS9Y5wVxIv3A6dVBWQLV0mhiZTNn2-8SjIBNR9lSGYmlIGvMkJVlVEaBiwXLUgYFtvRe1ToSBu9I8SpCDSZE8xev_LkiMW26BEL9OeduXEFnoqqIJUT3hz9VsdBNpkqv0spiVVNxV9bwqXkwW1abTcuIr5xjWgnJV4tUcvLQTzOyyq997NxU32nyPn4WY4tq7q0nljLrEN4WHcfR-g\u0026h=ilUB9gT1sQMTYN4kV8eIzkW_ou8JofYQIHl8NezEA38+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465842775611287\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50L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vmDCU_uAam1I_EucSW9C4-BCq7w3E2cQleqT4bp11XY5tiOLwawQnvdLHKJ4iT0gTDDukPqzunFwsncXHo6Qtkq-A80uf2fYAoV-Z7KUvSIbSs4ZARVW5K-tHIQhS9Y5wVxIv3A6dVBWQLV0mhiZTNn2-8SjIBNR9lSGYmlIGvMkJVlVEaBiwXLUgYFtvRe1ToSBu9I8SpCDSZE8xev_LkiMW26BEL9OeduXEFnoqqIJUT3hz9VsdBNpkqv0spiVVNxV9bwqXkwW1abTcuIr5xjWgnJV4tUcvLQTzOyyq997NxU32nyPn4WY4tq7q0nljLrEN4WHcfR-g\u0026h=ilUB9gT1sQMTYN4kV8eIzkW_ou8JofYQIHl8NezEA38", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "39" ], - "x-ms-client-request-id": [ "e10fca38-2a44-4a11-b8db-cde24ba9b762" ], + "x-ms-unique-id": [ "46" ], + "x-ms-client-request-id": [ "8e386433-66f8-491e-a9f8-5ab825f9d3f2" ], "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1601,40 +1980,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100622e-0000-0100-0000-650277da0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "43af99c3-0ec3-4fda-90d6-bc7023cd27fa" ], - "x-ms-correlation-request-id": [ "916c7fa7-8c30-48ea-9faa-d2a942e7408e" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030759Z:916c7fa7-8c30-48ea-9faa-d2a942e7408e" ], + "ETag": [ "\"0e008db3-0000-0700-0000-65fb97c00000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465843082888394\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvT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ejApydrQ\u0026h=hWuOLSR8yzdL_tgOyEhipmFrHyUeiwr4cKnN8lIUCOY" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465843082888394\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs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C9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=lG-Okb8SjOkMqO3QIAUqVTwsb-R3HWpKZuvcMirV3mB_1ZELXTxV-irn3Q0zDuUS_uPhDjddOMcDGlz4jLzPaV7Sa-PgG1nGxTQDNXykgxR8cIIytkypGvcmHp1NxgMYE28hV24FnOH0ielgQqWf8tgawg6MSWdXHF5R3AD24FPuunzNEYxl4KPCuIq3aEukv0CbTB4i9hIqKVfdYPqBu4Tqv7ECLX4YQtrvednrCTlcD7W4KS9xcOMQcJq0ZkCo06eU8riM1hyKQ1fTK8UdjqozxufDvxPCGQecHVPqyVLBnWYxtSmDsU9Od3HyitqyA4GPpFJ7_jBI0PejApydrQ\u0026h=hWuOLSR8yzdL_tgOyEhipmFrHyUeiwr4cKnN8lIUCOY" ], + "x-ms-request-id": [ "6bb4266c-793f-47b9-8029-69d721a1f31b" ], + "x-ms-correlation-request-id": [ "23e4d84a-249c-42e9-adf3-a3381484d78c" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021828Z:23e4d84a-249c-42e9-adf3-a3381484d78c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: EEBDF2461BD44F2CABF61E68F2445E47 Ref B: TYO201100114045 Ref C: 2023-09-14T03:07:58Z" ], - "Date": [ "Thu, 14 Sep 2023 03:07:58 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 2754FD19D1234A49BE79843200ABA3C3 Ref B: TYO201100114033 Ref C: 2024-03-21T02:18:27Z" ], + "Date": [ "Thu, 21 Mar 2024 02:18:27 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "512" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:02:50.9943541Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:13:20.1474498Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+12": { + "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465843082888394\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPp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.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465843082888394\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYT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C5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=lG-Okb8SjOkMqO3QIAUqVTwsb-R3HWpKZuvcMirV3mB_1ZELXTxV-irn3Q0zDuUS_uPhDjddOMcDGlz4jLzPaV7Sa-PgG1nGxTQDNXykgxR8cIIytkypGvcmHp1NxgMYE28hV24FnOH0ielgQqWf8tgawg6MSWdXHF5R3AD24FPuunzNEYxl4KPCuIq3aEukv0CbTB4i9hIqKVfdYPqBu4Tqv7ECLX4YQtrvednrCTlcD7W4KS9xcOMQcJq0ZkCo06eU8riM1hyKQ1fTK8UdjqozxufDvxPCGQecHVPqyVLBnWYxtSmDsU9Od3HyitqyA4GPpFJ7_jBI0PejApydrQ\u0026h=hWuOLSR8yzdL_tgOyEhipmFrHyUeiwr4cKnN8lIUCOY", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "40" ], - "x-ms-client-request-id": [ "e10fca38-2a44-4a11-b8db-cde24ba9b762" ], + "x-ms-unique-id": [ "47" ], + "x-ms-client-request-id": [ "8e386433-66f8-491e-a9f8-5ab825f9d3f2" ], "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1644,40 +2025,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100622e-0000-0100-0000-650277da0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "851b9f68-3fe2-4678-851b-96bb462b0246" ], - "x-ms-correlation-request-id": [ "2850a8c0-a88e-4172-86b3-8ec87abeba5c" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030829Z:2850a8c0-a88e-4172-86b3-8ec87abeba5c" ], + "ETag": [ "\"0e008db3-0000-0700-0000-65fb97c00000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465843392381746\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BA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fIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=ncjpaAXu4P8AhJ8fR2IuK-KG4oAL7KMhZglO-EGB4kXGevu5nJRVVDH6xasvyC9DBQwKPCqVXkMl5Gc_koQGvOPtetM-ugVC455VOMUqySxV9FW5S--CTadXqovZ_YbH3_LPYc3rney-a24ffAsPJ-jVlbaMb5ZmmpVBA2LRwX-wosYsVLXFAGPKLGaNGTZ9Q_EZ4QGYVbKbMTOMgcu-qNXJKAhcdTe184Cue7pHTwmLAxfZuHcVD3eecnE6Pg3GahBjg3gfw0Q0sWYK0lMjTcLkG1toBEUA_eI29uuAL3jbesGVFKT_SGHwaoKv7tT0owyMpF_B7ibZ6K0xfEIKGg\u0026h=_jjDNttdpTyfV6PgmrX3KnnA0xtKLk03lGDd0nHO9Ec" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465843392381746\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0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L1A\u0026s=ncjpaAXu4P8AhJ8fR2IuK-KG4oAL7KMhZglO-EGB4kXGevu5nJRVVDH6xasvyC9DBQwKPCqVXkMl5Gc_koQGvOPtetM-ugVC455VOMUqySxV9FW5S--CTadXqovZ_YbH3_LPYc3rney-a24ffAsPJ-jVlbaMb5ZmmpVBA2LRwX-wosYsVLXFAGPKLGaNGTZ9Q_EZ4QGYVbKbMTOMgcu-qNXJKAhcdTe184Cue7pHTwmLAxfZuHcVD3eecnE6Pg3GahBjg3gfw0Q0sWYK0lMjTcLkG1toBEUA_eI29uuAL3jbesGVFKT_SGHwaoKv7tT0owyMpF_B7ibZ6K0xfEIKGg\u0026h=_jjDNttdpTyfV6PgmrX3KnnA0xtKLk03lGDd0nHO9Ec" ], + "x-ms-request-id": [ "8e40c596-2c62-4280-8a4f-93dcce54d882" ], + "x-ms-correlation-request-id": [ "2ee3d350-7b82-40ff-af55-f79aed0e3411" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T021859Z:2ee3d350-7b82-40ff-af55-f79aed0e3411" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: EC6B81BDD59247BC8AF309AB87DE1573 Ref B: TYO201100114045 Ref C: 2023-09-14T03:08:29Z" ], - "Date": [ "Thu, 14 Sep 2023 03:08:29 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 68AA5448D03A4E8BBE65B77A0E02DB51 Ref B: TYO201100114033 Ref C: 2024-03-21T02:18:58Z" ], + "Date": [ "Thu, 21 Mar 2024 02:18:58 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "512" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:02:50.9943541Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:13:20.1474498Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+13": { + "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465843392381746\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQ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USWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=ncjpaAXu4P8AhJ8fR2IuK-KG4oAL7KMhZglO-EGB4kXGevu5nJRVVDH6xasvyC9DBQwKPCqVXkMl5Gc_koQGvOPtetM-ugVC455VOMUqySxV9FW5S--CTadXqovZ_YbH3_LPYc3rney-a24ffAsPJ-jVlbaMb5ZmmpVBA2LRwX-wosYsVLXFAGPKLGaNGTZ9Q_EZ4QGYVbKbMTOMgcu-qNXJKAhcdTe184Cue7pHTwmLAxfZuHcVD3eecnE6Pg3GahBjg3gfw0Q0sWYK0lMjTcLkG1toBEUA_eI29uuAL3jbesGVFKT_SGHwaoKv7tT0owyMpF_B7ibZ6K0xfEIKGg\u0026h=_jjDNttdpTyfV6PgmrX3KnnA0xtKLk03lGDd0nHO9Ec+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465843392381746\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZX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50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=ncjpaAXu4P8AhJ8fR2IuK-KG4oAL7KMhZglO-EGB4kXGevu5nJRVVDH6xasvyC9DBQwKPCqVXkMl5Gc_koQGvOPtetM-ugVC455VOMUqySxV9FW5S--CTadXqovZ_YbH3_LPYc3rney-a24ffAsPJ-jVlbaMb5ZmmpVBA2LRwX-wosYsVLXFAGPKLGaNGTZ9Q_EZ4QGYVbKbMTOMgcu-qNXJKAhcdTe184Cue7pHTwmLAxfZuHcVD3eecnE6Pg3GahBjg3gfw0Q0sWYK0lMjTcLkG1toBEUA_eI29uuAL3jbesGVFKT_SGHwaoKv7tT0owyMpF_B7ibZ6K0xfEIKGg\u0026h=_jjDNttdpTyfV6PgmrX3KnnA0xtKLk03lGDd0nHO9Ec", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "41" ], - "x-ms-client-request-id": [ "e10fca38-2a44-4a11-b8db-cde24ba9b762" ], + "x-ms-unique-id": [ "48" ], + "x-ms-client-request-id": [ "8e386433-66f8-491e-a9f8-5ab825f9d3f2" ], "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1687,40 +2070,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100622e-0000-0100-0000-650277da0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "4840551c-ccfa-4523-a422-6a82f6bae664" ], - "x-ms-correlation-request-id": [ "4de0a421-59a8-4b8c-92d3-8456e3e93d99" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030900Z:4de0a421-59a8-4b8c-92d3-8456e3e93d99" ], + "ETag": [ "\"0e008db3-0000-0700-0000-65fb97c00000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465843700366913\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Ar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r6n2qyluJNHRbB1FWZ2YhjkG0t67tadk75YbngG3r28X4kjWTYJoi0V2aFCPPeg\u0026h=OBALjYo6ZlkyexM7QlduujZ1RdkY30pG0nwOOurNqS8" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465843700366913\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBA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-ms-routing-request-id": [ "JAPANEAST:20240321T021930Z:d47754fe-4bef-49a2-8a3b-27b8fd708318" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A18BA58E7B1043268880D93EB9973DD7 Ref B: TYO201100114045 Ref C: 2023-09-14T03:08:59Z" ], - "Date": [ "Thu, 14 Sep 2023 03:08:59 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 93D852DB2432461F90B14ED5D8490AF6 Ref B: TYO201100114033 Ref C: 2024-03-21T02:19:29Z" ], + "Date": [ "Thu, 21 Mar 2024 02:19:29 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "512" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:02:50.9943541Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:13:20.1474498Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+14": { + "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465843700366913\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1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Z1RdkY30pG0nwOOurNqS8+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465843700366913\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwY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2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=ETNirVOcKLoPdlAhMpU1NcTKl5xoGLOQNW-OOnADxxDMN17ZrQi5fjVVdUokJbqNBAmzmmyyxmJD2D_5GR9aoGBdn4eSZowzflgS7AvJ-8ESS4pdRU9Gfyq4mInsg2Ga0he_tbpLV_qy2uwGNLU4s2iumdxDJed30qqBu6qwvw6ftONOABEs5SFJqUMNyW_PkxI-BB4uI9gBStZgFN8GvzYBS0XOqTJVCiikGSKgoyUTCgV-w0C7Y5-hi16eeBTVNuDxWKWh5ZFjJXI0ptBWv6Cr6n2qyluJNHRbB1FWZ2YhjkG0t67tadk75YbngG3r28X4kjWTYJoi0V2aFCPPeg\u0026h=OBALjYo6ZlkyexM7QlduujZ1RdkY30pG0nwOOurNqS8", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "42" ], - "x-ms-client-request-id": [ "e10fca38-2a44-4a11-b8db-cde24ba9b762" ], + "x-ms-unique-id": [ "49" ], + "x-ms-client-request-id": [ "8e386433-66f8-491e-a9f8-5ab825f9d3f2" ], "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1730,40 +2115,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100622e-0000-0100-0000-650277da0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "39b28eb4-254e-4bae-9160-9cf02b52b9ca" ], - "x-ms-correlation-request-id": [ "a5ab1367-212f-46ec-a257-825d43cf9fba" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T030931Z:a5ab1367-212f-46ec-a257-825d43cf9fba" ], + "ETag": [ "\"0e008db3-0000-0700-0000-65fb97c00000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465844009214321\u0026c=MIIHAD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BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=FO99VLlGSDXorlbcFAU8u99t8s5IelkOL2aH4H7MEQR9OU_xVkyZcHmhnLW7y3VmouA9wjE6DmqPFY1jhvsf5RYVKiT-hsFMc5P9lLPdUsWBl6pG6SQoAbRqh9kyY0qCVgKHlA8O8YuAzWS5lmavJo0Tc5ZtpdaTWhISRzbYxNiGJ3AWUS7T0NaQXA7GwcI6JSdiXfhheyRCvARTDhxUwe8aAJgM12D6SlXTsmHAUaFDuCe7ljIygBb-7S3T24Yq6XBsWhVwbILtrbansGBlplRcQL1oN6wdubwfCfzzag6mRoly84zG3U3_ePcj51cwjdoUzjQPrQPdPKMzo2oBIQ\u0026h=LC6I0sRHLmtsvRAlkoe941qUI9T1OzIuDvvtwVYT6Jc" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465844009058288\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYD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6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=Pz1KScAU5XL_dOmwgXMtyhs3hEIJguWWzVwTz7Zub13dbpy7EJTOYG9ZE7xBfHJHuSfzvto9fUEiZWQ4afSWLQhkditBD428xgXGHFXY1bAgzk8VAc4PLAOV-QMeA_6zSLnVxrGfPTgxKBdj5pCXQN04A4leogd31ameVg2Zt6QJ7RgRH0oW-aLS0WSw1S7XLuFOytcdNWKaqHaIcbd9_TxnMcc809-mLewxMQ1P4X_tuR8UTB7f-iIkRPYJy1VEbzyoPF8NfaE2Nu9L009oOJKNExe1vI9DQzuTK3JVEh8VFZXQi-0QF2fuctGGEWIDEtQaBH2vfIMuD8i-ihS8mw\u0026h=nu4je1yzmi4mORy02Wzg9-3SALzrSUh0_MtPICOSV4s" ], + "x-ms-request-id": [ "08dde758-5b62-4035-b512-e9b9845c593f" ], + "x-ms-correlation-request-id": [ "f36c8bdd-cbdd-450c-83dd-ac5839c8c09f" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T022000Z:f36c8bdd-cbdd-450c-83dd-ac5839c8c09f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: FD4997F0021B418E97836280F88F77B5 Ref B: TYO201100114045 Ref C: 2023-09-14T03:09:30Z" ], - "Date": [ "Thu, 14 Sep 2023 03:09:30 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 33916C98123D46D184AD3F76CFA4A07B Ref B: TYO201100114033 Ref C: 2024-03-21T02:20:00Z" ], + "Date": [ "Thu, 21 Mar 2024 02:20:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "512" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:02:50.9943541Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:13:20.1474498Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+15": { + "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465844009058288\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMM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9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=Pz1KScAU5XL_dOmwgXMtyhs3hEIJguWWzVwTz7Zub13dbpy7EJTOYG9ZE7xBfHJHuSfzvto9fUEiZWQ4afSWLQhkditBD428xgXGHFXY1bAgzk8VAc4PLAOV-QMeA_6zSLnVxrGfPTgxKBdj5pCXQN04A4leogd31ameVg2Zt6QJ7RgRH0oW-aLS0WSw1S7XLuFOytcdNWKaqHaIcbd9_TxnMcc809-mLewxMQ1P4X_tuR8UTB7f-iIkRPYJy1VEbzyoPF8NfaE2Nu9L009oOJKNExe1vI9DQzuTK3JVEh8VFZXQi-0QF2fuctGGEWIDEtQaBH2vfIMuD8i-ihS8mw\u0026h=nu4je1yzmi4mORy02Wzg9-3SALzrSUh0_MtPICOSV4s+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465844009058288\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwM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C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=Pz1KScAU5XL_dOmwgXMtyhs3hEIJguWWzVwTz7Zub13dbpy7EJTOYG9ZE7xBfHJHuSfzvto9fUEiZWQ4afSWLQhkditBD428xgXGHFXY1bAgzk8VAc4PLAOV-QMeA_6zSLnVxrGfPTgxKBdj5pCXQN04A4leogd31ameVg2Zt6QJ7RgRH0oW-aLS0WSw1S7XLuFOytcdNWKaqHaIcbd9_TxnMcc809-mLewxMQ1P4X_tuR8UTB7f-iIkRPYJy1VEbzyoPF8NfaE2Nu9L009oOJKNExe1vI9DQzuTK3JVEh8VFZXQi-0QF2fuctGGEWIDEtQaBH2vfIMuD8i-ihS8mw\u0026h=nu4je1yzmi4mORy02Wzg9-3SALzrSUh0_MtPICOSV4s", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "43" ], - "x-ms-client-request-id": [ "e10fca38-2a44-4a11-b8db-cde24ba9b762" ], + "x-ms-unique-id": [ "50" ], + "x-ms-client-request-id": [ "8e386433-66f8-491e-a9f8-5ab825f9d3f2" ], "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1773,40 +2160,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100622e-0000-0100-0000-650277da0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "0c22b75a-3b01-48b4-abf1-0416bfe3b95b" ], - "x-ms-correlation-request-id": [ "4f985264-83c0-42be-ae00-93535b8d909d" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T031002Z:4f985264-83c0-42be-ae00-93535b8d909d" ], + "ETag": [ "\"0e008db3-0000-0700-0000-65fb97c00000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465844319949515\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258O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rtV941ovDlfLnP3Rt-j6hkonSLKErYsqS1gAXsbBjKIhiCNoFWw2s9VKAFKcXeC2J-kkmd0EPklw\u0026h=xugX3GIuMjtlevhlqSbSkluZLWUHkwsKU-Csz6EC_5Q" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465844319949515\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQ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C9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=KciIzu2NWwZSud6p9nsFtDiCGr--T157LUWxLqBqyB2JRmTqOOT2GfijHrXNKW8ucAMtIryMPqvTecsZwtZKsmMXXofGBV98kJSD07RpfPz6XE7MBfTJ0PzTabRVbuwixbNvbcurnfTzQWYB12xbWuDoEgyD9ftq_ZnOe_On-ecuTfLnX7e6H3Owvv7wRtJ-cNA5sg4EUMvk0qNU7XqVKK1FusIGQUUfDMtWJ0GjIIECCTQOkWqijEdKbBY2fHEJp2GJlG64srrtV941ovDlfLnP3Rt-j6hkonSLKErYsqS1gAXsbBjKIhiCNoFWw2s9VKAFKcXeC2J-kkmd0EPklw\u0026h=xugX3GIuMjtlevhlqSbSkluZLWUHkwsKU-Csz6EC_5Q" ], + "x-ms-request-id": [ "5418532a-92fa-4217-9d95-c917280f94c9" ], + "x-ms-correlation-request-id": [ "c35ee095-40c7-4b63-9976-032906831f02" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T022031Z:c35ee095-40c7-4b63-9976-032906831f02" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: B55CC2FD11484D69A189066F08DD1F4C Ref B: TYO201100114045 Ref C: 2023-09-14T03:10:01Z" ], - "Date": [ "Thu, 14 Sep 2023 03:10:01 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 8E04EF04A93640D4836BC4C51A54EADE Ref B: TYO201100114033 Ref C: 2024-03-21T02:20:31Z" ], + "Date": [ "Thu, 21 Mar 2024 02:20:31 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "512" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:02:50.9943541Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:13:20.1474498Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+16": { + "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465844319949515\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJ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KU-Csz6EC_5Q+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465844319949515\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHoMXlm6258OEIXZ2gvBFpy3CkYEY1Arc4oCuWYWzDTjzP7FJj-v_gVsjhKFAqVWdVND8k982bhNvxjCDqvTMMy2wR4V0GDA6ur0EnTPCKX1N3S7GUf17d1gJdpMzlb_jeHKjnYWKYv0LNyFwaqnk7GeduL0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAw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UUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJqTNNAFYbI8tYZvhkWYcJR1aDHuYU1URw_WgivmBHLOfIAZaztxQqvdsxn7EbAcjcOcq9H3pjUKGr3BRtnBNY431tr6872Si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=KciIzu2NWwZSud6p9nsFtDiCGr--T157LUWxLqBqyB2JRmTqOOT2GfijHrXNKW8ucAMtIryMPqvTecsZwtZKsmMXXofGBV98kJSD07RpfPz6XE7MBfTJ0PzTabRVbuwixbNvbcurnfTzQWYB12xbWuDoEgyD9ftq_ZnOe_On-ecuTfLnX7e6H3Owvv7wRtJ-cNA5sg4EUMvk0qNU7XqVKK1FusIGQUUfDMtWJ0GjIIECCTQOkWqijEdKbBY2fHEJp2GJlG64srrtV941ovDlfLnP3Rt-j6hkonSLKErYsqS1gAXsbBjKIhiCNoFWw2s9VKAFKcXeC2J-kkmd0EPklw\u0026h=xugX3GIuMjtlevhlqSbSkluZLWUHkwsKU-Csz6EC_5Q", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "44" ], - "x-ms-client-request-id": [ "e10fca38-2a44-4a11-b8db-cde24ba9b762" ], + "x-ms-unique-id": [ "51" ], + "x-ms-client-request-id": [ "8e386433-66f8-491e-a9f8-5ab825f9d3f2" ], "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1816,40 +2205,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"a100622e-0000-0100-0000-650277da0000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "7682d1fe-9f05-449f-beb2-60eebc605701" ], - "x-ms-correlation-request-id": [ "551a637d-5a9f-4a82-97f3-87b772fd7b21" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T031033Z:551a637d-5a9f-4a82-97f3-87b772fd7b21" ], + "ETag": [ "\"0e008db3-0000-0700-0000-65fb97c00000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465844628086197\u0026c=MIIHADCCBeigAwIBAgITH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si1uhnA9Q0oY_Loy1TELqVVHSnZv5Ak_tfVj8WfIk_tPErWJFKYSyH5rm8Oib-ESxwUgReD_HF9MnY14bWX17k0lKxbWDXBozqanPn8qTmnfF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=qJ9TrTwRyCMo2jaaVNvcNlUHU-mwW8grltO2jR6Qy75XyV2gb2TagHuuPwoWXKom233HCZnhzx8ZuUdSGXSKJqadQdbTi_wmv7sbVPBRde8m4dublFSGpIhNCQAXpp6gvlV6zrdaFu265wzuN6WV9gV3Zy_fsp87TJiFtchIekrCfvOpI_lm7V-PXBTi6bPAuzICjq11LevCQz9bTJCAn7o_NM7zrD7QUy7QVScnWd4o3S5NSvSY1KESEVl9JAEF8KXpaheO8lr6ngv7v66G0icGXieBLbAurm5ks9GzPftjAdKtS4CC0Q3Yy2TsoPxUyCxJyz2mjKkmSBN6WO9v2Q\u0026h=Zov-jED0GE9GfKJG3z0w66uncEV1TEEo9sLlvVSIokA" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465844628086197\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdG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Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=qJ9TrTwRyCMo2jaaVNvcNlUHU-mwW8grltO2jR6Qy75XyV2gb2TagHuuPwoWXKom233HCZnhzx8ZuUdSGXSKJqadQdbTi_wmv7sbVPBRde8m4dublFSGpIhNCQAXpp6gvlV6zrdaFu265wzuN6WV9gV3Zy_fsp87TJiFtchIekrCfvOpI_lm7V-PXBTi6bPAuzICjq11LevCQz9bTJCAn7o_NM7zrD7QUy7QVScnWd4o3S5NSvSY1KESEVl9JAEF8KXpaheO8lr6ngv7v66G0icGXieBLbAurm5ks9GzPftjAdKtS4CC0Q3Yy2TsoPxUyCxJyz2mjKkmSBN6WO9v2Q\u0026h=Zov-jED0GE9GfKJG3z0w66uncEV1TEEo9sLlvVSIokA" ], + "x-ms-request-id": [ "4e94cc82-1057-4cca-8368-7c1742642d4f" ], + "x-ms-correlation-request-id": [ "1592cea5-00bd-4651-b67a-badb5da324c8" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T022102Z:1592cea5-00bd-4651-b67a-badb5da324c8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: B1CC3D6E098443B5A3CDF49A50D5AB64 Ref B: TYO201100114045 Ref C: 2023-09-14T03:10:32Z" ], - "Date": [ "Thu, 14 Sep 2023 03:10:32 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9554383C325B4B33AFD89B49450686EC Ref B: TYO201100114033 Ref C: 2024-03-21T02:21:02Z" ], + "Date": [ "Thu, 21 Mar 2024 02:21:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "512" ], + "Content-Length": [ "498" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Deleting\",\"startTime\":\"2023-09-14T03:02:50.9943541Z\"}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Deleting\",\"startTime\":\"2024-03-21T02:13:20.1474498Z\"}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+17": { + "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465844628086197\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRg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fF9QP-lqUSWCaCx8-p8Ko_YAwLYsD8uPcZogm5XP6QN4UM88O0WhW2SbtydDRtmuU41k0j2byj3C2lK-JwND1w0CfKV6HlCFm_yKAdbmJUK50Y8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=qJ9TrTwRyCMo2jaaVNvcNlUHU-mwW8grltO2jR6Qy75XyV2gb2TagHuuPwoWXKom233HCZnhzx8ZuUdSGXSKJqadQdbTi_wmv7sbVPBRde8m4dublFSGpIhNCQAXpp6gvlV6zrdaFu265wzuN6WV9gV3Zy_fsp87TJiFtchIekrCfvOpI_lm7V-PXBTi6bPAuzICjq11LevCQz9bTJCAn7o_NM7zrD7QUy7QVScnWd4o3S5NSvSY1KESEVl9JAEF8KXpaheO8lr6ngv7v66G0icGXieBLbAurm5ks9GzPftjAdKtS4CC0Q3Yy2TsoPxUyCxJyz2mjKkmSBN6WO9v2Q\u0026h=Zov-jED0GE9GfKJG3z0w66uncEV1TEEo9sLlvVSIokA+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465844628086197\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhd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8Mkh2ebZhN0HOcoGcebh1hrMvD1lL1A\u0026s=qJ9TrTwRyCMo2jaaVNvcNlUHU-mwW8grltO2jR6Qy75XyV2gb2TagHuuPwoWXKom233HCZnhzx8ZuUdSGXSKJqadQdbTi_wmv7sbVPBRde8m4dublFSGpIhNCQAXpp6gvlV6zrdaFu265wzuN6WV9gV3Zy_fsp87TJiFtchIekrCfvOpI_lm7V-PXBTi6bPAuzICjq11LevCQz9bTJCAn7o_NM7zrD7QUy7QVScnWd4o3S5NSvSY1KESEVl9JAEF8KXpaheO8lr6ngv7v66G0icGXieBLbAurm5ks9GzPftjAdKtS4CC0Q3Yy2TsoPxUyCxJyz2mjKkmSBN6WO9v2Q\u0026h=Zov-jED0GE9GfKJG3z0w66uncEV1TEEo9sLlvVSIokA", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "45" ], - "x-ms-client-request-id": [ "e10fca38-2a44-4a11-b8db-cde24ba9b762" ], + "x-ms-unique-id": [ "52" ], + "x-ms-client-request-id": [ "8e386433-66f8-491e-a9f8-5ab825f9d3f2" ], "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1859,38 +2250,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"0f00c720-0000-4d00-0000-650279c20000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "b4f2a141-cb07-4ace-ab2e-5a156baaaeb6" ], - "x-ms-correlation-request-id": [ "92c73386-629e-4ddb-88cc-b8e11c125f3e" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T031103Z:92c73386-629e-4ddb-88cc-b8e11c125f3e" ], + "ETag": [ "\"c700ff86-0000-0800-0000-65fb99a70000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], + "x-ms-request-id": [ "acdd1641-152e-4fb5-927d-81620ef57472" ], + "x-ms-correlation-request-id": [ "eb7c709d-5d36-4603-8e72-257863fc0a0f" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T022133Z:eb7c709d-5d36-4603-8e72-257863fc0a0f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 214A4BACBC5440FBB531068549CC118A Ref B: TYO201100114045 Ref C: 2023-09-14T03:11:03Z" ], - "Date": [ "Thu, 14 Sep 2023 03:11:02 GMT" ] + "X-MSEdge-Ref": [ "Ref A: BABF3E7292FC4CF0AEEDE8372BB88CC2 Ref B: TYO201100114033 Ref C: 2024-03-21T02:21:33Z" ], + "Date": [ "Thu, 21 Mar 2024 02:21:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "531" ], + "Content-Length": [ "517" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Succeeded\",\"startTime\":\"2023-09-14T03:02:50.9943541Z\",\"properties\":null}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/westus3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-21T02:13:20.1474498Z\",\"properties\":null}", + "isContentBase64": false } }, - "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview+18": { + "ClusterPoolOperations+[NoContext]+Remove AzHdInsightOnAksClusterPool+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465840003937642\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUx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fwAZk_r1YJq5TEbhURi5ZgBgStKNOXPDwUlVU5od4zISvC8vRWLFoR8jzm3o3lB6dNgirmv1BI48QP2_R66imRwA19-UuC2pYe936R87tXElA67CfQxT3D8qOUcw5W9-LNngpgOXx4qV42Ddzv99-PLPCF72qdH6AFo2kYQeqF278Ry9udGJoROoHAjdJWLNUGw\u0026h=sDdiiFXBEtTEdD_6cRXuVTpGaifjzTCg6J_xi2LuOA4+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77?api-version=2023-06-01-preview", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5?api-version=2023-11-01-preview\u0026t=638465840003937642\u0026c=MIIHADCCBeigAwIBAgITHgPtKFZCSVesK0WPLAAAA-0oVjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMjAyMTQwMTAxWhcNMjUwMTI3MTQwMTAxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK91qXSatAXLDynhJ7OmG-j0vO0hqhAjRdFNuJg9SayOMQgzA-obKyjKzODz-eKOFoz6nV1rqHbnb7YUxvz5Ke74ZDjbxdnwYGhAju6jD9ThtiS78Bt0iUKpZpY2QDYxCrpC2DaO5kCSOWUb4PBGhVDkexnKJTTgzHe6iS1gE6V9VyO5bN14Lsq_45qNHo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OUcw5W9-LNngpgOXx4qV42Ddzv99-PLPCF72qdH6AFo2kYQeqF278Ry9udGJoROoHAjdJWLNUGw\u0026h=sDdiiFXBEtTEdD_6cRXuVTpGaifjzTCg6J_xi2LuOA4", "Content": null, + "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "46" ], - "x-ms-client-request-id": [ "e10fca38-2a44-4a11-b8db-cde24ba9b762" ], + "x-ms-unique-id": [ "53" ], + "x-ms-client-request-id": [ "8e386433-66f8-491e-a9f8-5ab825f9d3f2" ], "CommandName": [ "Remove-AzHdInsightOnAksClusterPool" ], "FullCommandName": [ "Remove-AzHdInsightOnAksClusterPool_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] }, "ContentHeaders": { } @@ -1900,23 +2293,24 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"0f00c720-0000-4d00-0000-650279c20000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "97cb2cf4-80db-4306-bcc6-79b1f6aa195b" ], - "x-ms-correlation-request-id": [ "a0909bd7-ef8b-45e3-b3ad-5e67182adae2" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T031104Z:a0909bd7-ef8b-45e3-b3ad-5e67182adae2" ], + "ETag": [ "\"c700ff86-0000-0800-0000-65fb99a70000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], + "x-ms-request-id": [ "70f8a9a0-ae31-4c9f-bc62-ab56f58f936e" ], + "x-ms-correlation-request-id": [ "f4fcffd9-d1cd-463b-8cfa-9cb6565e0d28" ], + "x-ms-routing-request-id": [ "JAPANEAST:20240321T022134Z:f4fcffd9-d1cd-463b-8cfa-9cb6565e0d28" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: C6E352F12992460CA59762A2FE9AC31A Ref B: TYO201100114045 Ref C: 2023-09-14T03:11:03Z" ], - "Date": [ "Thu, 14 Sep 2023 03:11:03 GMT" ] + "X-MSEdge-Ref": [ "Ref A: DE046D4D12D34049B14E1CEE2A9CBFEA Ref B: TYO201100114033 Ref C: 2024-03-21T02:21:33Z" ], + "Date": [ "Thu, 21 Mar 2024 02:21:33 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "531" ], + "Content-Length": [ "517" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"name\":\"c9b2fab6-b559-4791-ad59-b40b78153425*36968A2370609D234A12E99976D3EA4CCC795D6ECB1B440B2510E58366C6AC77\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations\",\"status\":\"Succeeded\",\"startTime\":\"2023-09-14T03:02:50.9943541Z\",\"properties\":null}" + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"name\":\"6f196420-8505-4b50-8737-ae0d17e005c8*2B111ECFB4734D93DE9E517580AA77D831628BAEBF85661D51DE4B8C190129A5\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-21T02:13:20.1474498Z\",\"properties\":null}", + "isContentBase64": false } } } \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterUpdate.Recording.json b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterUpdate.Recording.json new file mode 100644 index 000000000000..554745ad85fe --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterUpdate.Recording.json @@ -0,0 +1,305 @@ +{ + "ClusterUpdate+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableClusterVersions?api-version=2023-11-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West%20US%203/availableClusterVersions?api-version=2023-11-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "3efdf1ae-9927-47f4-b5f5-ac8f35d72e2f" ], + "CommandName": [ "Get-AzHdInsightOnAksAvailableClusterVersion" ], + "FullCommandName": [ "Get-AzHdInsightOnAksAvailableClusterVersion_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-providerhub-traffic": [ "True" ], + "mise-correlation-id": [ "767b7528-0e94-4faf-8a85-74ed16f151cc" ], + "x-ms-request-id": [ "2b11b838-8018-4f93-8c62-d4f261a00457" ], + "x-ms-correlation-request-id": [ "9ac525bf-dda0-47b1-98fe-98ec2c42db59" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240320T062328Z:9ac525bf-dda0-47b1-98fe-98ec2c42db59" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 7EAEF32315E84D3F863DADD359E08593 Ref B: MAA201060513049 Ref C: 2024-03-20T06:23:27Z" ], + "Date": [ "Wed, 20 Mar 2024 06:23:28 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "6360" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/flink_1.16.0-1.0.6\",\"name\":\"flink_1.16.0-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"1.16.0\",\"clusterType\":\"Flink\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Flink\",\"version\":\"1.16.0\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/flink_1.17.0-1.1.0\",\"name\":\"flink_1.17.0-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"1.17.0\",\"clusterType\":\"Flink\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Flink\",\"version\":\"1.17.0\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/flink_1.17.0-1.1.1\",\"name\":\"flink_1.17.0-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"1.17.0\",\"clusterType\":\"Flink\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Flink\",\"version\":\"1.17.0\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/kafka_3.6.0-1.1.1\",\"name\":\"kafka_3.6.0-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"3.6.0\",\"clusterType\":\"Kafka\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Kafka\",\"version\":\"3.6.0\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/ranger_2.3.0-1.1.0\",\"name\":\"ranger_2.3.0-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"2.3.0\",\"clusterType\":\"Ranger\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/ranger_2.3.0-1.1.1\",\"name\":\"ranger_2.3.0-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"2.3.0\",\"clusterType\":\"Ranger\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/spark_3.3.1-1.0.6\",\"name\":\"spark_3.3.1-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"3.3.1\",\"clusterType\":\"Spark\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.1\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.6.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/spark_3.3.1-1.1.0\",\"name\":\"spark_3.3.1-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"3.3.1\",\"clusterType\":\"Spark\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.1\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.6.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/spark_3.3.1-1.1.1\",\"name\":\"spark_3.3.1-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"3.3.1\",\"clusterType\":\"Spark\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.4\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.8.3\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.1-1.0.0\",\"name\":\"stub_2.4.1-1.0.0\",\"properties\":{\"clusterVersion\":\"1.0.0\",\"ossVersion\":\"2.4.1\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.1\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.1-1.0.1\",\"name\":\"stub_2.4.1-1.0.1\",\"properties\":{\"clusterVersion\":\"1.0.1\",\"ossVersion\":\"2.4.1\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.1\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.2-1.0.0\",\"name\":\"stub_2.4.2-1.0.0\",\"properties\":{\"clusterVersion\":\"1.0.0\",\"ossVersion\":\"2.4.2\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.3-1.1.0\",\"name\":\"stub_2.4.3-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"2.4.3\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.3\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/trino_0.426.0-1.1.0\",\"name\":\"trino_0.426.0-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"0.426.0\",\"clusterType\":\"Trino\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Trino\",\"version\":\"426\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/trino_0.410.0-1.0.6\",\"name\":\"trino_0.410.0-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"0.410.0\",\"clusterType\":\"Trino\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Trino\",\"version\":\"410\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/trino_0.426.0-1.1.1\",\"name\":\"trino_0.426.0-1.1.1\",\"properties\":{\"clusterVersion\":\"1.1.1\",\"ossVersion\":\"0.426.0\",\"clusterType\":\"Trino\",\"clusterPoolVersion\":\"1.1\",\"isPreview\":false,\"components\":[{\"name\":\"Trino\",\"version\":\"426\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}]}}]}", + "isContentBase64": false + } + }, + "ClusterUpdate+[NoContext]+Update AzHdInsightOnAksCluster+$PATCH+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/psspark?api-version=2023-11-01-preview+1": { + "Request": { + "Method": "PATCH", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/psspark?api-version=2023-11-01-preview", + "Content": "{\r\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "4" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"0700fc92-0000-0700-0000-65fa80e50000\"" ], + "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/9a83b779-d382-47da-8a35-66ff11125bee*33F20CEA92F7A5A09FDF2E0D122DE157703649F0E71E97986096457559063F8F?api-version=2023-11-01-preview\u0026t=638465126136254550\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgw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vyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=EpOwoLGSj8W3Ltv9VTB9xDIzMOaXYOD16uyROUt-PGPkkjQx5loRY2WxiIJw4JllXRWADaqvtjRepQwNIif352LcJ1L-BHVhpAoemNb5PokZ0P6zVKopoXNTkjds9yf_w9Z1bGlGxVT37AM4xLjBBQ91fSy6HkeLCugFdgaMK53I-1cfMTJjpogyzsSPfVB6f1TWanmi9t_o68IcxtGkrNmQHz3LEMrYN9dewFpfG4E2LtHF_EBp6IjZw57J-PsNl1ckbgQW2uUrMvXgDTZWKtE2glsDqaJ9B0XxzG3tQMVaob9PN5eVTHBZcO7yIoqy1wNXFvEknRGe51iLW0ToVw\u0026h=gmE43pBRQcUNhgzi7tWksnSjpuo5sgMXxkll3jzDPQc" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-providerhub-traffic": [ "True" ], + "mise-correlation-id": [ "c51f7f90-3e96-4dc5-9de2-6c5e098b94e4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/9a83b779-d382-47da-8a35-66ff11125bee*33F20CEA92F7A5A09FDF2E0D122DE157703649F0E71E97986096457559063F8F?api-version=2023-11-01-preview\u0026t=638465126136254550\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dX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OaXYOD16uyROUt-PGPkkjQx5loRY2WxiIJw4JllXRWADaqvtjRepQwNIif352LcJ1L-BHVhpAoemNb5PokZ0P6zVKopoXNTkjds9yf_w9Z1bGlGxVT37AM4xLjBBQ91fSy6HkeLCugFdgaMK53I-1cfMTJjpogyzsSPfVB6f1TWanmi9t_o68IcxtGkrNmQHz3LEMrYN9dewFpfG4E2LtHF_EBp6IjZw57J-PsNl1ckbgQW2uUrMvXgDTZWKtE2glsDqaJ9B0XxzG3tQMVaob9PN5eVTHBZcO7yIoqy1wNXFvEknRGe51iLW0ToVw\u0026h=gmE43pBRQcUNhgzi7tWksnSjpuo5sgMXxkll3jzDPQc" ], + "x-ms-request-id": [ "9a83b779-d382-47da-8a35-66ff11125bee" ], + "x-ms-correlation-request-id": [ "5297116c-ef81-47b1-8b46-6aa507e2466b" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240320T062333Z:5297116c-ef81-47b1-8b46-6aa507e2466b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: CEEC1775354B466BA4130A82A1A62A6B Ref B: MAA201060513049 Ref C: 2024-03-20T06:23:29Z" ], + "Date": [ "Wed, 20 Mar 2024 06:23:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "4" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "bnVsbA==", + "isContentBase64": false + } + }, + "ClusterUpdate+[NoContext]+Update AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/9a83b779-d382-47da-8a35-66ff11125bee*33F20CEA92F7A5A09FDF2E0D122DE157703649F0E71E97986096457559063F8F?api-version=2023-11-01-preview\u0026t=638465126136254550\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQs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YZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=EpOwoLGSj8W3Ltv9VTB9xDIzMOaXYOD16uyROUt-PGPkkjQx5loRY2WxiIJw4JllXRWADaqvtjRepQwNIif352LcJ1L-BHVhpAoemNb5PokZ0P6zVKopoXNTkjds9yf_w9Z1bGlGxVT37AM4xLjBBQ91fSy6HkeLCugFdgaMK53I-1cfMTJjpogyzsSPfVB6f1TWanmi9t_o68IcxtGkrNmQHz3LEMrYN9dewFpfG4E2LtHF_EBp6IjZw57J-PsNl1ckbgQW2uUrMvXgDTZWKtE2glsDqaJ9B0XxzG3tQMVaob9PN5eVTHBZcO7yIoqy1wNXFvEknRGe51iLW0ToVw\u0026h=gmE43pBRQcUNhgzi7tWksnSjpuo5sgMXxkll3jzDPQc+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/9a83b779-d382-47da-8a35-66ff11125bee*33F20CEA92F7A5A09FDF2E0D122DE157703649F0E71E97986096457559063F8F?api-version=2023-11-01-preview\u0026t=638465126136254550\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQ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w4JllXRWADaqvtjRepQwNIif352LcJ1L-BHVhpAoemNb5PokZ0P6zVKopoXNTkjds9yf_w9Z1bGlGxVT37AM4xLjBBQ91fSy6HkeLCugFdgaMK53I-1cfMTJjpogyzsSPfVB6f1TWanmi9t_o68IcxtGkrNmQHz3LEMrYN9dewFpfG4E2LtHF_EBp6IjZw57J-PsNl1ckbgQW2uUrMvXgDTZWKtE2glsDqaJ9B0XxzG3tQMVaob9PN5eVTHBZcO7yIoqy1wNXFvEknRGe51iLW0ToVw\u0026h=gmE43pBRQcUNhgzi7tWksnSjpuo5sgMXxkll3jzDPQc", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "a8b1ab83-9f11-4886-b276-06da4304319e" ], + "CommandName": [ "Update-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "Update-AzHdInsightOnAksCluster_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"0600fddc-0000-0700-0000-65fa80e50000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11978" ], + "x-ms-request-id": [ "3a8019cc-b3bd-48d7-896a-34100dc6a3d3" ], + "x-ms-correlation-request-id": [ "cbb88405-1747-450e-8f7c-32d4e3519dc7" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240320T062404Z:cbb88405-1747-450e-8f7c-32d4e3519dc7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: CCA73EAE6C414E1F8BF14056826C9D9F Ref B: MAA201060513049 Ref C: 2024-03-20T06:24:04Z" ], + "Date": [ "Wed, 20 Mar 2024 06:24:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/9a83b779-d382-47da-8a35-66ff11125bee*33F20CEA92F7A5A09FDF2E0D122DE157703649F0E71E97986096457559063F8F\",\"name\":\"9a83b779-d382-47da-8a35-66ff11125bee*33F20CEA92F7A5A09FDF2E0D122DE157703649F0E71E97986096457559063F8F\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/psspark\",\"status\":\"Accepted\",\"startTime\":\"2024-03-20T06:23:33.3458032Z\"}", + "isContentBase64": false + } + }, + "ClusterUpdate+[NoContext]+Update AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/9a83b779-d382-47da-8a35-66ff11125bee*33F20CEA92F7A5A09FDF2E0D122DE157703649F0E71E97986096457559063F8F?api-version=2023-11-01-preview\u0026t=638465126136254550\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskd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6HkeLCugFdgaMK53I-1cfMTJjpogyzsSPfVB6f1TWanmi9t_o68IcxtGkrNmQHz3LEMrYN9dewFpfG4E2LtHF_EBp6IjZw57J-PsNl1ckbgQW2uUrMvXgDTZWKtE2glsDqaJ9B0XxzG3tQMVaob9PN5eVTHBZcO7yIoqy1wNXFvEknRGe51iLW0ToVw\u0026h=gmE43pBRQcUNhgzi7tWksnSjpuo5sgMXxkll3jzDPQc+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/9a83b779-d382-47da-8a35-66ff11125bee*33F20CEA92F7A5A09FDF2E0D122DE157703649F0E71E97986096457559063F8F?api-version=2023-11-01-preview\u0026t=638465126136254550\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23W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ers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "a8b1ab83-9f11-4886-b276-06da4304319e" ], + "CommandName": [ "Update-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "Update-AzHdInsightOnAksCluster_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"0600fddc-0000-0700-0000-65fa80e50000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11982" ], + "x-ms-request-id": [ "2d22eb2f-1d33-4654-9571-b8086050bef4" ], + "x-ms-correlation-request-id": [ "f6e55878-8595-4db8-a561-4e10c4f47061" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240320T062435Z:f6e55878-8595-4db8-a561-4e10c4f47061" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 00D12129E51649DE90B338C89DCC37A2 Ref B: MAA201060513049 Ref C: 2024-03-20T06:24:35Z" ], + "Date": [ "Wed, 20 Mar 2024 06:24:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "515" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/9a83b779-d382-47da-8a35-66ff11125bee*33F20CEA92F7A5A09FDF2E0D122DE157703649F0E71E97986096457559063F8F\",\"name\":\"9a83b779-d382-47da-8a35-66ff11125bee*33F20CEA92F7A5A09FDF2E0D122DE157703649F0E71E97986096457559063F8F\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/psspark\",\"status\":\"Accepted\",\"startTime\":\"2024-03-20T06:23:33.3458032Z\"}", + "isContentBase64": false + } + }, + "ClusterUpdate+[NoContext]+Update AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/9a83b779-d382-47da-8a35-66ff11125bee*33F20CEA92F7A5A09FDF2E0D122DE157703649F0E71E97986096457559063F8F?api-version=2023-11-01-preview\u0026t=638465126136254550\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgY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DUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=EpOwoLGSj8W3Ltv9VTB9xDIzMOaXYOD16uyROUt-PGPkkjQx5loRY2WxiIJw4JllXRWADaqvtjRepQwNIif352LcJ1L-BHVhpAoemNb5PokZ0P6zVKopoXNTkjds9yf_w9Z1bGlGxVT37AM4xLjBBQ91fSy6HkeLCugFdgaMK53I-1cfMTJjpogyzsSPfVB6f1TWanmi9t_o68IcxtGkrNmQHz3LEMrYN9dewFpfG4E2LtHF_EBp6IjZw57J-PsNl1ckbgQW2uUrMvXgDTZWKtE2glsDqaJ9B0XxzG3tQMVaob9PN5eVTHBZcO7yIoqy1wNXFvEknRGe51iLW0ToVw\u0026h=gmE43pBRQcUNhgzi7tWksnSjpuo5sgMXxkll3jzDPQc+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/9a83b779-d382-47da-8a35-66ff11125bee*33F20CEA92F7A5A09FDF2E0D122DE157703649F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E_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=EpOwoLGSj8W3Ltv9VTB9xDIzMOaXYOD16uyROUt-PGPkkjQx5loRY2WxiIJw4JllXRWADaqvtjRepQwNIif352LcJ1L-BHVhpAoemNb5PokZ0P6zVKopoXNTkjds9yf_w9Z1bGlGxVT37AM4xLjBBQ91fSy6HkeLCugFdgaMK53I-1cfMTJjpogyzsSPfVB6f1TWanmi9t_o68IcxtGkrNmQHz3LEMrYN9dewFpfG4E2LtHF_EBp6IjZw57J-PsNl1ckbgQW2uUrMvXgDTZWKtE2glsDqaJ9B0XxzG3tQMVaob9PN5eVTHBZcO7yIoqy1wNXFvEknRGe51iLW0ToVw\u0026h=gmE43pBRQcUNhgzi7tWksnSjpuo5sgMXxkll3jzDPQc", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "a8b1ab83-9f11-4886-b276-06da4304319e" ], + "CommandName": [ "Update-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "Update-AzHdInsightOnAksCluster_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"21000ba6-0000-0100-0000-65fa81280000\"" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "11987" ], + "x-ms-request-id": [ "38e6aed6-779e-43d0-9f8b-9b0e9ac41745" ], + "x-ms-correlation-request-id": [ "7c372ca7-6e43-424c-b554-fab15ec4908c" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240320T062506Z:7c372ca7-6e43-424c-b554-fab15ec4908c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: B997686A9CBD4C77A9E5F7FC3594EF24 Ref B: MAA201060513049 Ref C: 2024-03-20T06:25:06Z" ], + "Date": [ "Wed, 20 Mar 2024 06:25:06 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "534" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/9a83b779-d382-47da-8a35-66ff11125bee*33F20CEA92F7A5A09FDF2E0D122DE157703649F0E71E97986096457559063F8F\",\"name\":\"9a83b779-d382-47da-8a35-66ff11125bee*33F20CEA92F7A5A09FDF2E0D122DE157703649F0E71E97986096457559063F8F\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/psspark\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-20T06:23:33.3458032Z\",\"properties\":null}", + "isContentBase64": false + } + }, + "ClusterUpdate+[NoContext]+Update AzHdInsightOnAksCluster+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/psspark?api-version=2023-11-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/psspark?api-version=2023-11-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "a8b1ab83-9f11-4886-b276-06da4304319e" ], + "CommandName": [ "Update-AzHdInsightOnAksCluster" ], + "FullCommandName": [ "Update-AzHdInsightOnAksCluster_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "ETag": [ "\"07001593-0000-0700-0000-65fa81080000\"" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-providerhub-traffic": [ "True" ], + "x-ms-request-id": [ "63e34297-6814-4b77-bbb0-4cdee367fcbf" ], + "x-ms-correlation-request-id": [ "7f0e3a18-e588-4f8d-a4b1-bcded5b3cb70" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240320T062508Z:7f0e3a18-e588-4f8d-a4b1-bcded5b3cb70" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: BE4223D4BE7B42E3A6DAA7B11DC97FF7 Ref B: MAA201060513049 Ref C: 2024-03-20T06:25:07Z" ], + "Date": [ "Wed, 20 Mar 2024 06:25:07 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1757" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/psspark\",\"name\":\"psspark\",\"type\":\"microsoft.hdinsight/clusterpools/clusters\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"v-user@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-20T05:55:53.0357667Z\",\"lastModifiedBy\":\"v-user@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-20T06:23:30.0630736Z\"},\"properties\":{\"clusterType\":\"Spark\",\"computeProfile\":{\"nodes\":[{\"type\":\"Head\",\"vmSize\":\"Standard_D16a_v4\",\"count\":3},{\"type\":\"Worker\",\"vmSize\":\"Standard_D16a_v4\",\"count\":3}]},\"clusterProfile\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"3.3.1\",\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.1\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.6.2\"}],\"identityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\"msiClientId\":\"00000000-0000-0000-0000-000000000000\",\"msiObjectId\":\"00000000-0000-0000-0000-000000000000\"},\"authorizationProfile\":{\"userIds\":[\"00000000-0000-0000-0000-000000000000\"]},\"serviceConfigsProfiles\":[{\"serviceName\":\"yarn-service\",\"configs\":[{\"component\":\"hadoop-config\",\"files\":[{\"fileName\":\"core-site.xml\",\"values\":{\"testvalue1\":\"111\"}}]}]}],\"connectivityProfile\":{\"web\":{\"fqdn\":\"psspark.hilo-pool.10e32bab26da4cc4a44152b318f824e6.westus2.tip.hdinsightaks.net\"}},\"sparkProfile\":{\"defaultStorageUrl\":\"abfs://pscontainer1@hilostorage.dfs.core.windows.net\"}},\"deploymentId\":\"7266219e79af4646a9fc1be6a92219bc\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}", + "isContentBase64": false + } + }, + "ClusterUpdate+[NoContext]+Get AzHdInsightOnAksClusterServiceConfig+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/psspark/serviceConfigs?api-version=2023-11-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/psspark/serviceConfigs?api-version=2023-11-01-preview", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "e1a7326a-9a39-497d-9933-ec9da211e493" ], + "CommandName": [ "Get-AzHdInsightOnAksClusterServiceConfig" ], + "FullCommandName": [ "Get-AzHdInsightOnAksClusterServiceConfig_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.0.0", "PSVersion/v7.4.1", "Az.HdInsightOnAks/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-providerhub-traffic": [ "True" ], + "mise-correlation-id": [ "211d4e1d-7420-4680-a13d-2afe49e97be7" ], + "x-ms-request-id": [ "aad64418-24d3-4fcb-812f-824dd0224dd9" ], + "x-ms-correlation-request-id": [ "a1a73e84-ae5e-44d3-9c4c-0610c66e2c4f" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240320T062510Z:a1a73e84-ae5e-44d3-9c4c-0610c66e2c4f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 65C50855F0FB4A0CA44713B96E517578 Ref B: MAA201060513049 Ref C: 2024-03-20T06:25:08Z" ], + "Date": [ "Wed, 20 Mar 2024 06:25:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "22038" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"livy-config\",\"fileName\":\"livy.conf\",\"type\":\"key-value\",\"defaultKeys\":{\"livy.spark.master\":{\"value\":\"yarn\",\"description\":\"livy.spark.master\"},\"livy.spark.deploy-mode\":{\"value\":\"cluster\",\"description\":\"livy.spark.deploy-mode\"}},\"customKeys\":{\"livy.impersonation.enabled\":\"true\",\"livy.repl.enableHiveContext\":\"true\",\"livy.server.session.timeout\":\"3600000\",\"livy.server.csrf_protection.enabled\":\"false\"}}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"livy-config\",\"fileName\":\"livy-client.conf\",\"type\":\"key-value\",\"defaultKeys\":{\"livy.client.http.connection.timeout\":{\"value\":\"10s\",\"description\":\"livy.client.http.connection.timeout\"}},\"customKeys\":{}}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"livy-config\",\"fileName\":\"log4j2.properties\",\"content\":\"status = INFO\\nname = PropertiesConfig\\nappenders = console\\nappender.console.type = Console\\nappender.console.name = STDOUT\\nappender.console.layout.type = PatternLayout\\nappender.console.layout.pattern = %d %p %c{1} [%t]: %m | Metadata: %replace{%replace{%replace{%X}{([a-zA-Z0-9_]+)}{\\\"$1\\\"}}{\\\\=}{\\\\:}}{\\\\\\\\{\\\\\\\\}}{None Available} %n%ex\\nrootLogger.level = INFO\\nrootLogger.appenderRef.console.ref = STDOUT\\n\",\"type\":\"content\"}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"livy-config\",\"fileName\":\"spark-blacklist.conf\",\"content\":\"#\\n# Configuration override / blacklist. Defines a list of properties that users are not allowed\\n# to override when starting Spark sessions.\\n#\\n# This file takes a list of property names (one per line). Empty lines and lines starting with \\\"#\\\"\\n# are ignored.\\n#\\n\\n# Disallow overriding the master and the deploy mode.\\nspark.master\\nspark.submit.deployMode\\n\\n# Disallow overriding the location of Spark cached jars.\\nspark.yarn.jar\\nspark.yarn.jars\\nspark.yarn.archive\\n\\n# Don\u0027t allow users to override the RSC timeout.\\nlivy.rsc.server.idle_timeout\\n\",\"type\":\"content\"}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"livy-config\",\"fileName\":\"livy-env.sh\",\"content\":\"# Wrongly configured would results in livy startup failures.\\nexport LIVY_LOG_DIR=/usr/livy/logs\\n# Changing LIVY_SERVER_JAVA_OPTS make sure to update livy.memory-mb in livy.conf too\\nexport LIVY_SERVER_JAVA_OPTS=\\\"-Xmx1536m\\\"\",\"type\":\"content\"}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"zeppelin-config\",\"fileName\":\"zeppelin-site.xml\",\"type\":\"key-value\",\"defaultKeys\":{\"zeppelin.websocket.max.text.message.size\":{\"value\":\"1024000\",\"description\":\"zeppelin.websocket.max.text.message.size\"},\"zeppelin.config.storage.class\":{\"value\":\"org.apache.zeppelin.storage.FileSystemConfigStorage\",\"description\":\"zeppelin.config.storage.class\"},\"zeppelin.config.fs.dir\":{\"value\":\"file:///usr/zeppelin/dataDir/conf\",\"description\":\"Path authorization and interepreter setting configurations\"},\"zeppelin.interpreter.connect.timeout\":{\"value\":\"30000\",\"description\":\"zeppelin.interpreter.connect.timeout\"},\"zeppelin.interpreter.group.order\":{\"value\":\"livy,md,angular,jdbc,spark\",\"description\":\"zeppelin.interpreter.group.order\"},\"zeppelin.interpreters\":{\"value\":\"org.apache.zeppelin.spark.SparkInterpreter,org.apache.zeppelin.spark.PySparkInterpreter,org.apache.zeppelin.livy.LivySparkInterpreter,org.apache.zeppelin.livy.LivyPySparkInterpreter,org.apache.zeppelin.livy.LivySparkSQLInterpreter,org.apache.zeppelin.markdown.Markdown,org.apache.zeppelin.angular.AngularInterpreter,org.apache.zeppelin.jdbc.JDBCInterpreter\",\"description\":\"zeppelin.interpreters\"},\"zeppelin.notebook.dir\":{\"value\":\"file:///usr/zeppelin/dataDir/notebook\",\"description\":\"path or URI for notebook persist\"},\"zeppelin.interpreter.dir\":{\"value\":\"interpreter\",\"description\":\"Interpreter implementation base directory\"},\"zeppelin.interpreter.group.default\":{\"value\":\"livy\",\"description\":\"Interpreter default shown\"}},\"customKeys\":{\"zeppelin.interpreter.config.upgrade\":\"true\"}}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"zeppelin-config\",\"fileName\":\"zeppelin-env.sh\",\"content\":\"export USE_HADOOP=true\\nexport ZEPPELIN_JAVA_OPTS=\\\"-Dhdp.version=5.1.3.7\\\"\\nexport ZEPPELIN_HOME=/usr/zeppelin/current\\nexport ZEPPELIN_CONF_DIR=/usr/zeppelin/conf\\nexport ZEPPELIN_LOG_DIR=/usr/zeppelin/logs\\nexport ZEPPELIN_PID_DIR=/usr/zeppelin/run\\nexport ZEPPELIN_SERVER_CONTEXT_PATH=/p/zeppelin\\n\\nexport PYTHONPATH=\\\"${SPARK_HOME}/python:${SPARK_HOME}/python/lib/py4j-0.10.9-src.zip\\\"\\nexport SPARK_YARN_USER_ENV=\\\"PYTHONPATH=${PYTHONPATH}\\\"\\n\",\"type\":\"content\"}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"zeppelin-config\",\"fileName\":\"log4j.properties\",\"content\":\"log4j.rootLogger = INFO, stdout\\nlog4j.appender.stdout = org.apache.log4j.ConsoleAppender\\nlog4j.appender.stdout.layout = org.apache.log4j.PatternLayout\\nlog4j.appender.stdout.layout.ConversionPattern=%5p [%d] ({%t} %F[%M]:%L) - %m%n\",\"type\":\"content\"}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"spark-config\",\"fileName\":\"spark-defaults.conf\",\"type\":\"key-value\",\"defaultKeys\":{\"spark.history.fs.cleaner.enabled\":{\"value\":\"true\",\"description\":\"spark.history.fs.cleaner.enabled\"},\"spark.history.fs.cleaner.interval\":{\"value\":\"1h\",\"description\":\"spark.history.fs cleaner interval\"},\"spark.history.fs.cleaner.maxAge\":{\"value\":\"7d\",\"description\":\"spark.history.fs.cleaner.maxAge\"},\"spark.io.compression.lz4.blockSize\":{\"value\":\"128kb\",\"description\":\"spark.io.compression.lz4.blockSize\"},\"spark.shuffle.file.buffer\":{\"value\":\"1m\",\"description\":\"spark.shuffle.file.buffer\"},\"spark.shuffle.io.backLog\":{\"value\":\"8192\",\"description\":\"spark.shuffle.io.backLog\"},\"spark.shuffle.io.serverThreads\":{\"value\":\"128\",\"description\":\"spark.shuffle.io.serverThreads\"},\"spark.shuffle.unsafe.file.output.buffer\":{\"value\":\"5m\",\"description\":\"spark.shuffle.unsafe.file.output.buffer\"},\"spark.sql.autoBroadcastJoinThreshold\":{\"value\":\"26214400\",\"description\":\"spark.sql.autoBroadcastJoinThreshold\"},\"spark.sql.shuffle.partitions\":{\"value\":\"200\",\"description\":\"spark.sql.shuffle.partitions\"},\"spark.unsafe.sorter.spill.reader.buffer.size\":{\"value\":\"1m\",\"description\":\"spark.unsafe.sorter.spill.reader.buffer.size\"},\"spark.eventLog.enabled\":{\"value\":\"true\",\"description\":\"Whether to log Spark events, useful for reconstructing the Web UI after the application has finished.\"},\"spark.eventLog.dir\":{\"value\":\"abfs://pscontainer1@hilostorage.dfs.core.windows.net/eventlogFolder\",\"description\":\"Base directory in which Spark events are logged, if spark.eventLog.enabled is true.\"},\"spark.yarn.queue\":{\"value\":\"spark\",\"description\":\"Queue name used for spark application submission\"},\"spark.sql.catalogImplementation\":{\"value\":\"in-memory\",\"description\":\"Catalog implementation.Default in-memory\"},\"spark.dynamicAllocation.enabled\":{\"value\":\"true\",\"description\":\"Whether to use dynamic resource allocation, which scales the number of executors registered with this application up and down based on the workload.\"},\"spark.shuffle.service.enabled\":{\"value\":\"true\",\"description\":\"Enables the external shuffle service. This service preserves the shuffle files written by executors e.g. so that executors can be safely removed, or so that shuffle fetches can continue in the event of executor failure.\"}},\"customKeys\":{\"spark.driver.memoryOverhead\":\"384\",\"spark.executor.cores\":\"2\",\"spark.executor.instances\":\"2\",\"spark.executor.memory\":\"12288m\",\"spark.executor.memoryOverhead\":\"384\",\"spark.rdd.compress\":\"true\",\"spark.serializer\":\"org.apache.spark.serializer.KryoSerializer\",\"spark.sql.cbo.enabled\":\"true\",\"spark.sql.cbo.joinReorder.enabled\":\"true\",\"spark.sql.crossJoin.enabled\":\"true\",\"spark.sql.files.maxPartitionBytes\":\"134217728\",\"spark.yarn.containerLauncherMaxThreads\":\"25\",\"spark.yarn.preserve.staging.files\":\"false\",\"spark.sql.hive.metastore.jars\":\"/usr/hive-metastore/lib-3.1/*:/usr/hadoop/current/share/hadoop/common/lib/*:/usr/hadoop/current/share/hadoop/common/*\",\"spark.sql.hive.metastore.version\":\"3.1\",\"spark.history.fs.logDirectory\":\"abfs://pscontainer1@hilostorage.dfs.core.windows.net/eventlogFolder\",\"spark.sql.warehouse.dir\":\"abfs://pscontainer1@hilostorage.dfs.core.windows.net/hive/warehouse/managed\"}}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"spark-config\",\"fileName\":\"spark-env.sh\",\"content\":\"# - SPARK_HISTORY_OPTS, to set config properties only for the history server (e.g. \\\"-Dx=y\\\")\\nexport HDP_VERSION=3.3.3.5.2-100223822\\nexport PYSPARK_PYTHON=python3\\n\",\"type\":\"content\"}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"spark-config\",\"fileName\":\"hive-site.xml\",\"type\":\"key-value\",\"defaultKeys\":{\"hive.metastore.client.connect.retry.delay\":{\"value\":\"5s\",\"description\":\"hive.metastore.client.connect.retry.delay\"},\"hive.metastore.client.socket.timeout\":{\"value\":\"1800s\",\"description\":\"hive.metastore.client.socket.timeout\"}},\"customKeys\":{\"metastore.catalog.default\":\"hive\",\"hive.metastore.uris\":\"thrift://hive-metastore-service:9083\"}}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"spark-config\",\"fileName\":\"log4j2.properties\",\"content\":\"status=INFO\\nname=SparkLog4j2\\n\\nproperty.sparkapp.log.level=INFO\\nproperty.sparkapp.log.dir=/var/log/sparkapp\\n\\nappenders=console,SparkApplicationEventsAPPENDER,SparkJobEventsAPPENDER,SparkBlockManagerEventsAPPENDER,SparkExecutorEventsAPPENDER\\nappender.console.type=Console\\nappender.console.name=console\\nappender.console.target=SYSTEM_ERR\\nappender.console.layout.type=PatternLayout\\nappender.console.layout.pattern=%d{yy/MM/dd HH:mm:ss} %p %c{1} [%t]: %m%n\\nappender.SparkApplicationEventsAPPENDER.type=RollingFile\\nappender.SparkApplicationEventsAPPENDER.name=SparkApplicationEventsAppender\\nappender.SparkApplicationEventsAPPENDER.fileName=${sys:sparkapp.log.dir}/sparkapplicationevents.log\\nappender.SparkApplicationEventsAPPENDER.filePattern=${sys:sparkapp.log.dir}/sparkapplicationevents-%i.log\\nappender.SparkApplicationEventsAPPENDER.layout.type=PatternLayout\\nappender.SparkApplicationEventsAPPENDER.layout.pattern=%d{ISO8601} %-5p [%t] %c{2}: %m%n\\nappender.SparkApplicationEventsAPPENDER.policies.type=Policies\\nappender.SparkApplicationEventsAPPENDER.policies.size.type=SizeBasedTriggeringPolicy\\nappender.SparkApplicationEventsAPPENDER.policies.size.size=100MB\\nappender.SparkApplicationEventsAPPENDER.strategy.type=DefaultRolloverStrategy\\nappender.SparkApplicationEventsAPPENDER.strategy.max=5\\n\\nappender.SparkJobEventsAPPENDER.type=RollingFile\\nappender.SparkJobEventsAPPENDER.name=SparkJobEventsAPPENDER\\nappender.SparkJobEventsAPPENDER.fileName=${sys:sparkapp.log.dir}/sparkjobevents.log\\nappender.SparkJobEventsAPPENDER.filePattern=${sys:sparkapp.log.dir}/sparkjobevents-%i.log\\nappender.SparkJobEventsAPPENDER.layout.type=PatternLayout\\nappender.SparkJobEventsAPPENDER.layout.pattern=%d{ISO8601} %-5p [%t] %c{2}: %m%n\\nappender.SparkJobEventsAPPENDER.policies.type=Policies\\nappender.SparkJobEventsAPPENDER.policies.size.type=SizeBasedTriggeringPolicy\\nappender.SparkJobEventsAPPENDER.policies.size.size=100MB\\nappender.SparkJobEventsAPPENDER.strategy.type=DefaultRolloverStrategy\\nappender.SparkJobEventsAPPENDER.strategy.max=5\\n\\nappender.SparkBlockManagerEventsAPPENDER.type=RollingFile\\nappender.SparkBlockManagerEventsAPPENDER.name=SparkBlockManagerEventsAPPENDER\\nappender.SparkBlockManagerEventsAPPENDER.fileName=${sys:sparkapp.log.dir}/sparkblockmanagerevents.log\\nappender.SparkBlockManagerEventsAPPENDER.filePattern=${sys:sparkapp.log.dir}/sparkblockmanagerevents-%i.log\\nappender.SparkBlockManagerEventsAPPENDER.layout.type=PatternLayout\\nappender.SparkBlockManagerEventsAPPENDER.layout.pattern=%d{ISO8601} %-5p [%t] %c{2}: %m%n\\nappender.SparkBlockManagerEventsAPPENDER.policies.type=Policies\\nappender.SparkBlockManagerEventsAPPENDER.policies.size.type=SizeBasedTriggeringPolicy\\nappender.SparkBlockManagerEventsAPPENDER.policies.size.size=100MB\\nappender.SparkBlockManagerEventsAPPENDER.strategy.type=DefaultRolloverStrategy\\nappender.SparkBlockManagerEventsAPPENDER.strategy.max=5\\n\\nappender.SparkExecutorEventsAPPENDER.type=RollingFile\\nappender.SparkExecutorEventsAPPENDER.name=SparkExecutorEventsAPPENDER\\nappender.SparkExecutorEventsAPPENDER.fileName=${sys:sparkapp.log.dir}/sparkexecutorevents.log\\nappender.SparkExecutorEventsAPPENDER.filePattern=${sys:sparkapp.log.dir}/sparkexecutorevents-%i.log\\nappender.SparkExecutorEventsAPPENDER.layout.type=PatternLayout\\nappender.SparkExecutorEventsAPPENDER.layout.pattern=%d{ISO8601} %-5p [%t] %c{2}: %m%n\\nappender.SparkExecutorEventsAPPENDER.policies.type=Policies\\nappender.SparkExecutorEventsAPPENDER.policies.size.type=SizeBasedTriggeringPolicy\\nappender.SparkExecutorEventsAPPENDER.policies.size.size=100MB\\nappender.SparkExecutorEventsAPPENDER.strategy.type=DefaultRolloverStrategy\\nappender.SparkExecutorEventsAPPENDER.strategy.max=5\\n\\n# Loggers\\nloggers=sparkapplicationevents,sparkjobevents,sparkblockmanagerevents,sparkexecutorevents\\nlogger.sparkapplicationevents.name=SparkApplicationEvents\\nlogger.sparkapplicationevents.level=INFO\\nlogger.sparkapplicationevents.additivity=false\\nlogger.sparkapplicationevents.appenderRefs=SparkApplicationEventsAPPENDER\\nlogger.sparkapplicationevents.appenderRef.SparkApplicationEventsAPPENDER.ref=SparkApplicationEventsAppender\\n\\nlogger.sparkjobevents.name=SparkJobEvents\\nlogger.sparkjobevents.level=INFO\\nlogger.sparkjobevents.additivity=false\\nlogger.sparkjobevents.appenderRefs=SparkJobEventsAPPENDER\\nlogger.sparkjobevents.appenderRef.SparkJobEventsAPPENDER.ref=SparkJobEventsAPPENDER\\n\\nlogger.sparkblockmanagerevents.name=SparkBlockManagerEvents\\nlogger.sparkblockmanagerevents.level=INFO\\nlogger.sparkblockmanagerevents.additivity=false\\nlogger.sparkblockmanagerevents.appenderRefs=SparkBlockManagerEventsAPPENDER\\nlogger.sparkblockmanagerevents.appenderRef.SparkBlockManagerEventsAPPENDER.ref=SparkBlockManagerEventsAPPENDER\\n\\nlogger.sparkexecutorevents.name=SparkExecutorEvents\\nlogger.sparkexecutorevents.level=INFO\\nlogger.sparkexecutorevents.additivity=false\\nlogger.sparkexecutorevents.appenderRefs=SparkExecutorEventsAPPENDER\\nlogger.sparkexecutorevents.appenderRef.SparkExecutorEventsAPPENDER.ref=SparkExecutorEventsAPPENDER\\n\\nrootLogger.level=${sys:sparkapp.log.level}\\nrootLogger.appenderRefs=stdout\\nrootLogger.appenderRef.stdout.ref=console\",\"type\":\"content\"}},{\"properties\":{\"serviceName\":\"yarn-service\",\"componentName\":\"hadoop-config-client\",\"fileName\":\"core-site.xml\",\"type\":\"key-value\",\"defaultKeys\":{\"fs.defaultFS\":{\"value\":\"abfs://pscontainer1@hilostorage.dfs.core.windows.net\",\"description\":\"Default FileSystem for all the services.\"},\"fs.azure.account.oauth2.msi.tenant\":{\"value\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"description\":\"fs.azure.account.oauth2.msi.tenant\"},\"fs.abfs.impl\":{\"value\":\"org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem\",\"description\":\"fs.abfs.impl\"},\"fs.azure.account.auth.type\":{\"value\":\"Custom\",\"description\":\"fs.azure.account.auth.type\"},\"fs.azure.account.oauth2.client.id\":{\"value\":\"00000000-0000-0000-0000-000000000000\",\"description\":\"fs.azure.account.oauth2.client.id\"},\"fs.azure.identity.transformer.service.principal.substitution.list\":{\"value\":\"*\",\"description\":\"fs.azure.identity.transformer.service.principal.substitution.list\"},\"fs.azure.identity.transformer.service.principal.id\":{\"value\":\"00000000-0000-0000-0000-000000000000\",\"description\":\"fs.azure.identity.transformer.service.principal.id\"},\"fs.azure.account.oauth.provider.type\":{\"value\":\"org.apache.hadoop.fs.azurebfs.oauth2.CustomWorkloadIdentityTokenProvider\",\"description\":\"fs.azure.account.oauth.provider.type\"}},\"customKeys\":{}}},{\"properties\":{\"serviceName\":\"yarn-service\",\"componentName\":\"hadoop-config-client\",\"fileName\":\"yarn-env.sh\",\"content\":\"export YARN_RESOURCEMANAGER_USER=yarn\\nexport YARN_NODEMANAGER_USER=yarn\\n\",\"type\":\"content\"}},{\"properties\":{\"serviceName\":\"yarn-service\",\"componentName\":\"hadoop-config-client\",\"fileName\":\"yarn-site.xml\",\"type\":\"key-value\",\"customKeys\":{\"yarn.nodemanager.resource.memory-mb\":\"52326\",\"yarn.scheduler.maximum-allocation-mb\":\"52326\"}}},{\"properties\":{\"serviceName\":\"yarn-service\",\"componentName\":\"hadoop-config\",\"fileName\":\"core-site.xml\",\"type\":\"key-value\",\"defaultKeys\":{\"fs.defaultFS\":{\"value\":\"abfs://pscontainer1@hilostorage.dfs.core.windows.net\",\"description\":\"Default FileSystem for all the services.\"},\"fs.azure.account.oauth2.msi.tenant\":{\"value\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"description\":\"fs.azure.account.oauth2.msi.tenant\"},\"fs.abfs.impl\":{\"value\":\"org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem\",\"description\":\"fs.abfs.impl\"},\"fs.azure.account.auth.type\":{\"value\":\"Custom\",\"description\":\"fs.azure.account.auth.type\"},\"fs.azure.account.oauth2.client.id\":{\"value\":\"00000000-0000-0000-0000-000000000000\",\"description\":\"fs.azure.account.oauth2.client.id\"},\"fs.azure.identity.transformer.service.principal.substitution.list\":{\"value\":\"*\",\"description\":\"fs.azure.identity.transformer.service.principal.substitution.list\"},\"fs.azure.identity.transformer.service.principal.id\":{\"value\":\"00000000-0000-0000-0000-000000000000\",\"description\":\"fs.azure.identity.transformer.service.principal.id\"},\"fs.azure.account.oauth.provider.type\":{\"value\":\"org.apache.hadoop.fs.azurebfs.oauth2.CustomWorkloadIdentityTokenProvider\",\"description\":\"fs.azure.account.oauth.provider.type\"}},\"customKeys\":{\"testvalue1\":\"111\"}}},{\"properties\":{\"serviceName\":\"yarn-service\",\"componentName\":\"hadoop-config\",\"fileName\":\"yarn-site.xml\",\"type\":\"key-value\",\"defaultKeys\":{\"yarn.resourcemanager.recovery.enabled\":{\"value\":\"true\",\"description\":\"yarn.resourcemanager.recovery.enabled\"},\"yarn.nodemanager.resource.memory-mb\":{\"value\":\"52326\",\"description\":\"yarn.nodemanager.resource.memory-mb\"},\"yarn.scheduler.maximum-allocation-mb\":{\"value\":\"52326\",\"description\":\"yarn.scheduler.maximum-allocation-mb\"},\"yarn.timeline-service.enabled\":{\"value\":\"false\",\"description\":\"yarn.timeline-service.enabled to enable timeline server events\"},\"yarn.resourcemanager.system-metrics-publisher.enabled\":{\"value\":\"true\",\"description\":\"The setting that controls whether or not YARN system metrics are published on the timeline server by RM. Defaults to false.\"},\"yarn.timeline-service.generic-application-history.enabled\":{\"value\":\"true\",\"description\":\"Indicate to clients whether to query generic application data from timeline history-service or not. If not enabled then application data is queried only from Resource Manager. Defaults to false.\"},\"yarn.resourcemanager.configuration.provider-class\":{\"value\":\"org.apache.hadoop.yarn.FSBasedIncludeExcludeFileProvider\",\"description\":\"This configuration helps with loading of configuration based on providers. Leveraged by autoscale feature. org.apache.hadoop.yarn.FSBasedIncludeExcludeFileProvider enables reading of include/exclude files from filesystem configured. Include file configuration is yarn.resourcemanager.nodes.include-path and exclude is yarn.resourcemanager.nodes.exclude-path\"},\"yarn.resourcemanager.nodes.exclude-path\":{\"value\":\"/tmp/excludeFile_7266219e79af4646a9fc1be6a92219bc.xml\",\"description\":\"Exclude file path used by autoscale service for updating nodes to be excluded for running.\"},\"yarn.resourcemanager.enable-node-untracked-without-include-path\":{\"value\":\"true\",\"description\":\"Enable RM to mark inactive nodes as untracked if not available in include file.Used by autoscale\"}},\"customKeys\":{\"yarn.nodemanager.aux-services\":\"spark_shuffle,mapreduce_shuffle\",\"spark.shuffle.service.resolver.class\":\"org.apache.spark.network.shuffle.ShuffleMovementAwareExternalShuffleBlockResolver\",\"yarn.nodemanager.aux-services.spark_shuffle.class\":\"org.apache.spark.network.yarn.YarnShuffleService\",\"yarn.nodemanager.aux-services.mapreduce_shuffle.class\":\"org.apache.hadoop.mapred.ShuffleHandler\",\"yarn.nodemanager.aux-services.spark_shuffle.classpath\":\"/usr/spark/aux/*\"}}},{\"properties\":{\"serviceName\":\"yarn-service\",\"componentName\":\"hadoop-config\",\"fileName\":\"capacity-scheduler.xml\",\"content\":\"yarn.scheduler.capacity.maximum-am-resource-percent=0.5\\nyarn.scheduler.capacity.maximum-applications=10000\\nyarn.scheduler.capacity.node-locality-delay=0\\nyarn.scheduler.capacity.resource-calculator=org.apache.hadoop.yarn.util.resource.DefaultResourceCalculator\\nyarn.scheduler.capacity.queue-mappings-override.enable=false\\nyarn.scheduler.capacity.root.maximum-am-resource-percent=0.5\\nyarn.scheduler.capacity.root.maximum-applications=10000\\nyarn.scheduler.capacity.root.acl_administer_queue=*\\nyarn.scheduler.capacity.root.acl_submit_applications=*\\nyarn.scheduler.capacity.root.capacity=100\\nyarn.scheduler.capacity.root.queues=default,spark\\nyarn.scheduler.capacity.root.ordering-policy=priority-utilization\\nyarn.scheduler.capacity.root.priority=0\\nyarn.scheduler.capacity.root.default.maximum-am-resource-percent=0.5\\nyarn.scheduler.capacity.root.default.maximum-applications=10000\\nyarn.scheduler.capacity.root.default.maximum-capacity=5\\nyarn.scheduler.capacity.root.default.user-limit-factor=1\\nyarn.scheduler.capacity.root.default.state=RUNNING\\nyarn.scheduler.capacity.root.default.capacity=5\\nyarn.scheduler.capacity.root.default.priority=0\\nyarn.scheduler.capacity.root.spark.maximum-am-resource-percent=0.1\\nyarn.scheduler.capacity.root.spark.maximum-applications=10000\\nyarn.scheduler.capacity.root.spark.state=RUNNING\\nyarn.scheduler.capacity.root.spark.maximum-capacity=95\\nyarn.scheduler.capacity.root.spark.capacity=95\\nyarn.scheduler.capacity.root.spark.priority=10\\n\",\"type\":\"content\"}},{\"properties\":{\"serviceName\":\"yarn-service\",\"componentName\":\"hadoop-config\",\"fileName\":\"yarn-env.sh\",\"content\":\"export YARN_RESOURCEMANAGER_USER=yarn\\nexport YARN_NODEMANAGER_USER=yarn\\nexport YARN_PROXYSERVER_USER=yarn\\nexport YARN_RESOURCEMANAGER_OPTS=\\\"-javaagent:/usr/hadoop/prometheus/jmx_prometheus_javaagent.jar=9999:/usr/hadoop/etc/hadoop/prometheus-config.yaml -Dnetworkaddress.cache.negative.ttl=0\\\"\\nexport YARN_NODEMANAGER_OPTS=-javaagent:/usr/hadoop/prometheus/jmx_prometheus_javaagent.jar=9999:/usr/hadoop/etc/hadoop/prometheus-config.yaml\",\"type\":\"content\"}}]}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterUpdateConfig.Recording.json b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterUpdateConfig.Recording.json deleted file mode 100644 index e30621494b9a..000000000000 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/sessionRecords/ClusterUpdateConfig.Recording.json +++ /dev/null @@ -1,291 +0,0 @@ -{ - "ClusterUpdateConfig+[NoContext]+[NoScenario]+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableClusterVersions?api-version=2023-06-01-preview+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West%20US%203/availableClusterVersions?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "384f95ee-4862-48c9-96b2-f28700acac97" ], - "CommandName": [ "Get-AzHdInsightOnAksAvailableClusterVersion" ], - "FullCommandName": [ "Get-AzHdInsightOnAksAvailableClusterVersion_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "12474025-0686-43ef-8292-ce8b9e64bf53" ], - "x-ms-request-id": [ "7cbc5a72-9bdd-4b6e-a0c9-9045eadf22e8" ], - "x-ms-correlation-request-id": [ "6dfdc7a0-2953-4b77-ac17-79040e0a5a36" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T042710Z:6dfdc7a0-2953-4b77-ac17-79040e0a5a36" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 208281D31A55425694D9CDF1BE7E3DE1 Ref B: TYO201100117009 Ref C: 2023-09-14T04:27:09Z" ], - "Date": [ "Thu, 14 Sep 2023 04:27:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2762" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/flink_1.16.0-1.0.6\",\"name\":\"flink_1.16.0-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"1.16.0\",\"clusterType\":\"Flink\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Flink\",\"version\":\"1.16.0\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/spark_3.3.1-1.0.6\",\"name\":\"spark_3.3.1-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"3.3.1\",\"clusterType\":\"Spark\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.1\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.6.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.1-1.0.0\",\"name\":\"stub_2.4.1-1.0.0\",\"properties\":{\"clusterVersion\":\"1.0.0\",\"ossVersion\":\"2.4.1\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.1\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.1-1.0.1\",\"name\":\"stub_2.4.1-1.0.1\",\"properties\":{\"clusterVersion\":\"1.0.1\",\"ossVersion\":\"2.4.1\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.1\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.2-1.0.0\",\"name\":\"stub_2.4.2-1.0.0\",\"properties\":{\"clusterVersion\":\"1.0.0\",\"ossVersion\":\"2.4.2\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.2\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/stub_2.4.3-1.1.0\",\"name\":\"stub_2.4.3-1.1.0\",\"properties\":{\"clusterVersion\":\"1.1.0\",\"ossVersion\":\"2.4.3\",\"clusterType\":\"Stub\",\"clusterPoolVersion\":\"\",\"isPreview\":false,\"components\":[{\"name\":\"ResourceManager\",\"version\":\"2.4.3\"}]}},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/West US 3/availableclusterversions/trino_0.410.0-1.0.6\",\"name\":\"trino_0.410.0-1.0.6\",\"properties\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"0.410.0\",\"clusterType\":\"Trino\",\"clusterPoolVersion\":\"1.0\",\"isPreview\":false,\"components\":[{\"name\":\"Trino\",\"version\":\"410\"},{\"name\":\"Hive metastore\",\"version\":\"3.1.2\"}]}}]}" - } - }, - "ClusterUpdateConfig+[NoContext]+Update AzHdInsightOnAksCluster+$PATCH+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpsspark?api-version=2023-06-01-preview+1": { - "Request": { - "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpsspark?api-version=2023-06-01-preview", - "Content": "{\r\n \"location\": \"West US 3\"\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "31" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"ed0113de-0000-0100-0000-65028ba30000\"" ], - "Location": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/49405cbb-0d3f-4e5c-9c7e-799acb6b99c0*EB2FD6340423D80C7BE9021D200AFBCD19F96E79AD26876519A2788D5E0C7D8A?api-version=2023-06-01-preview" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "813803cd-ab61-4a9e-83df-cd8ed743f6f4" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/49405cbb-0d3f-4e5c-9c7e-799acb6b99c0*EB2FD6340423D80C7BE9021D200AFBCD19F96E79AD26876519A2788D5E0C7D8A?api-version=2023-06-01-preview" ], - "x-ms-request-id": [ "49405cbb-0d3f-4e5c-9c7e-799acb6b99c0" ], - "x-ms-correlation-request-id": [ "19ce5dce-85d4-4d45-a866-a9e29f06adad" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T042715Z:19ce5dce-85d4-4d45-a866-a9e29f06adad" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E7067E0BB7824F4A9BE2E75019C65DD3 Ref B: TYO201100117009 Ref C: 2023-09-14T04:27:11Z" ], - "Date": [ "Thu, 14 Sep 2023 04:27:15 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "4" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "bnVsbA==" - } - }, - "ClusterUpdateConfig+[NoContext]+Update AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/49405cbb-0d3f-4e5c-9c7e-799acb6b99c0*EB2FD6340423D80C7BE9021D200AFBCD19F96E79AD26876519A2788D5E0C7D8A?api-version=2023-06-01-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/49405cbb-0d3f-4e5c-9c7e-799acb6b99c0*EB2FD6340423D80C7BE9021D200AFBCD19F96E79AD26876519A2788D5E0C7D8A?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "af507731-c7ca-4965-ad58-e3f330c61fa4" ], - "CommandName": [ "Update-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "Update-AzHdInsightOnAksCluster_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"a200a314-0000-0100-0000-65028ba30000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "a6c405ff-1311-463d-9411-6daf7c4babe0" ], - "x-ms-correlation-request-id": [ "e0f2509b-61eb-4a95-8196-0b8ae0278980" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T042746Z:e0f2509b-61eb-4a95-8196-0b8ae0278980" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AC591B7B8136446799CD497700F24188 Ref B: TYO201100117009 Ref C: 2023-09-14T04:27:45Z" ], - "Date": [ "Thu, 14 Sep 2023 04:27:46 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "533" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/49405cbb-0d3f-4e5c-9c7e-799acb6b99c0*EB2FD6340423D80C7BE9021D200AFBCD19F96E79AD26876519A2788D5E0C7D8A\",\"name\":\"49405cbb-0d3f-4e5c-9c7e-799acb6b99c0*EB2FD6340423D80C7BE9021D200AFBCD19F96E79AD26876519A2788D5E0C7D8A\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpsspark\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T04:27:15.0572026Z\"}" - } - }, - "ClusterUpdateConfig+[NoContext]+Update AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/49405cbb-0d3f-4e5c-9c7e-799acb6b99c0*EB2FD6340423D80C7BE9021D200AFBCD19F96E79AD26876519A2788D5E0C7D8A?api-version=2023-06-01-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/49405cbb-0d3f-4e5c-9c7e-799acb6b99c0*EB2FD6340423D80C7BE9021D200AFBCD19F96E79AD26876519A2788D5E0C7D8A?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "af507731-c7ca-4965-ad58-e3f330c61fa4" ], - "CommandName": [ "Update-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "Update-AzHdInsightOnAksCluster_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"a200a314-0000-0100-0000-65028ba30000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "x-ms-request-id": [ "4471e665-d6e6-4942-a725-ad4a2f1f5f6d" ], - "x-ms-correlation-request-id": [ "820775e8-b6e0-4d1d-a560-94080433bf9a" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T042817Z:820775e8-b6e0-4d1d-a560-94080433bf9a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 513CA5F83EEF4AFBB74A381F4584E12D Ref B: TYO201100117009 Ref C: 2023-09-14T04:28:16Z" ], - "Date": [ "Thu, 14 Sep 2023 04:28:17 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "533" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/49405cbb-0d3f-4e5c-9c7e-799acb6b99c0*EB2FD6340423D80C7BE9021D200AFBCD19F96E79AD26876519A2788D5E0C7D8A\",\"name\":\"49405cbb-0d3f-4e5c-9c7e-799acb6b99c0*EB2FD6340423D80C7BE9021D200AFBCD19F96E79AD26876519A2788D5E0C7D8A\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpsspark\",\"status\":\"Accepted\",\"startTime\":\"2023-09-14T04:27:15.0572026Z\"}" - } - }, - "ClusterUpdateConfig+[NoContext]+Update AzHdInsightOnAksCluster+$GET+https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/49405cbb-0d3f-4e5c-9c7e-799acb6b99c0*EB2FD6340423D80C7BE9021D200AFBCD19F96E79AD26876519A2788D5E0C7D8A?api-version=2023-06-01-preview+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/49405cbb-0d3f-4e5c-9c7e-799acb6b99c0*EB2FD6340423D80C7BE9021D200AFBCD19F96E79AD26876519A2788D5E0C7D8A?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "af507731-c7ca-4965-ad58-e3f330c61fa4" ], - "CommandName": [ "Update-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "Update-AzHdInsightOnAksCluster_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"0f002539-0000-4d00-0000-65028be60000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "x-ms-request-id": [ "c7f6856f-21f1-4b25-93ad-c1adf6e870cf" ], - "x-ms-correlation-request-id": [ "4f846793-52eb-4ca1-ba6d-1fb1da4fd957" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T042848Z:4f846793-52eb-4ca1-ba6d-1fb1da4fd957" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: ADA13F08BD334E998E9DE3098A5483C4 Ref B: TYO201100117009 Ref C: 2023-09-14T04:28:47Z" ], - "Date": [ "Thu, 14 Sep 2023 04:28:47 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "552" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/49405cbb-0d3f-4e5c-9c7e-799acb6b99c0*EB2FD6340423D80C7BE9021D200AFBCD19F96E79AD26876519A2788D5E0C7D8A\",\"name\":\"49405cbb-0d3f-4e5c-9c7e-799acb6b99c0*EB2FD6340423D80C7BE9021D200AFBCD19F96E79AD26876519A2788D5E0C7D8A\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpsspark\",\"status\":\"Succeeded\",\"startTime\":\"2023-09-14T04:27:15.0572026Z\",\"properties\":null}" - } - }, - "ClusterUpdateConfig+[NoContext]+Update AzHdInsightOnAksCluster+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpsspark?api-version=2023-06-01-preview+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpsspark?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "af507731-c7ca-4965-ad58-e3f330c61fa4" ], - "CommandName": [ "Update-AzHdInsightOnAksCluster" ], - "FullCommandName": [ "Update-AzHdInsightOnAksCluster_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"ed0110e5-0000-0100-0000-65028bc50000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "118ad5d6-b875-4b7f-af05-2dfe480fb059" ], - "x-ms-correlation-request-id": [ "00c29547-ca97-4938-8a82-ef94348ef4f1" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T042849Z:00c29547-ca97-4938-8a82-ef94348ef4f1" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 501D20ECBD8F446FA0552F0CF6CBEA0B Ref B: TYO201100117009 Ref C: 2023-09-14T04:28:48Z" ], - "Date": [ "Thu, 14 Sep 2023 04:28:48 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "1773" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpsspark\",\"name\":\"testpsspark\",\"type\":\"microsoft.hdinsight/clusterpools/clusters\",\"location\":\"West US 3\",\"systemData\":{\"createdBy\":\"{username}\",\"createdByType\":\"User\",\"createdAt\":\"2023-09-14T03:57:39.2346201Z\",\"lastModifiedBy\":\"{username}\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-09-14T04:27:11.3725015Z\"},\"properties\":{\"clusterType\":\"Spark\",\"computeProfile\":{\"nodes\":[{\"type\":\"Head\",\"vmSize\":\"Standard_D8d_v5\",\"count\":3},{\"type\":\"Worker\",\"vmSize\":\"Standard_D8d_v5\",\"count\":3}]},\"clusterProfile\":{\"clusterVersion\":\"1.0.6\",\"ossVersion\":\"3.3.1\",\"components\":[{\"name\":\"Yarn\",\"version\":\"3.3.1\"},{\"name\":\"Spark\",\"version\":\"3.3.1\"},{\"name\":\"Hive Metastore\",\"version\":\"3.1.2\"},{\"name\":\"Zookeeper\",\"version\":\"3.6.2\"}],\"identityProfile\":{\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi\",\"msiClientId\":\"00000000-0000-0000-0000-000000000000\",\"msiObjectId\":\"00000000-0000-0000-0000-000000000000\"},\"authorizationProfile\":{\"userIds\":[\"00000000-0000-0000-0000-000000000000\"]},\"serviceConfigsProfiles\":[{\"serviceName\":\"yarn-service\",\"configs\":[{\"component\":\"hadoop-config\",\"files\":[{\"fileName\":\"core-site.xml\",\"values\":{\"testvalue1\":\"111\"}}]}]}],\"connectivityProfile\":{\"web\":{\"fqdn\":\"testpsspark.a4f945ee14914e63bc5da15c70e2b283.westus2.tip.hdinsightaks.net\"}},\"sparkProfile\":{\"defaultStorageUrl\":\"abfs://testcontainer3@hilostorage.dfs.core.windows.net\"}},\"deploymentId\":\"a4f945ee14914e63bc5da15c70e2b283\",\"provisioningState\":\"Succeeded\",\"status\":\"Running\"}}" - } - }, - "ClusterUpdateConfig+[NoContext]+Get AzHdInsightOnAksClusterServiceConfig+$GET+https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpsspark/serviceConfigs?api-version=2023-06-01-preview+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/ps-test-pool-operations/clusters/testpsspark/serviceConfigs?api-version=2023-06-01-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "1abdfd18-35cf-4a38-91ef-09715d1d5160" ], - "CommandName": [ "Get-AzHdInsightOnAksClusterServiceConfig" ], - "FullCommandName": [ "Get-AzHdInsightOnAksClusterServiceConfig_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "1477af08-2ca1-4e2f-ab77-34560f5e7866" ], - "x-ms-request-id": [ "53cceb2c-3717-404c-b055-b4f46f6bae93" ], - "x-ms-correlation-request-id": [ "b2081017-c5f1-4fea-9656-ac0b39bb7910" ], - "x-ms-routing-request-id": [ "JAPANEAST:20230914T042852Z:b2081017-c5f1-4fea-9656-ac0b39bb7910" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 0225CE06A522438682E70721836BC6A1 Ref B: TYO201100117009 Ref C: 2023-09-14T04:28:49Z" ], - "Date": [ "Thu, 14 Sep 2023 04:28:52 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "16622" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"livy-config\",\"fileName\":\"livy.conf\",\"type\":\"key-value\",\"defaultKeys\":{\"livy.spark.master\":{\"value\":\"yarn\",\"description\":\"livy.spark.master\"},\"livy.spark.deploy-mode\":{\"value\":\"cluster\",\"description\":\"livy.spark.deploy-mode\"}},\"customKeys\":{\"livy.impersonation.enabled\":\"true\",\"livy.repl.enableHiveContext\":\"true\",\"livy.server.session.timeout\":\"3600000\",\"livy.server.csrf_protection.enabled\":\"false\"}}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"livy-config\",\"fileName\":\"livy-client.conf\",\"type\":\"key-value\",\"defaultKeys\":{\"livy.client.http.connection.timeout\":{\"value\":\"10s\",\"description\":\"livy.client.http.connection.timeout\"}},\"customKeys\":{}}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"livy-config\",\"fileName\":\"log4j2.properties\",\"content\":\"status = INFO\\nname = PropertiesConfig\\nappenders = console\\nappender.console.type = Console\\nappender.console.name = STDOUT\\nappender.console.layout.type = PatternLayout\\nappender.console.layout.pattern = %d %p %c{1} [%t]: %m | Metadata: %replace{%replace{%replace{%X}{([a-zA-Z0-9_]+)}{\\\"$1\\\"}}{\\\\=}{\\\\:}}{\\\\\\\\{\\\\\\\\}}{None Available} %n%ex\\nrootLogger.level = INFO\\nrootLogger.appenderRef.console.ref = STDOUT\\n\",\"type\":\"content\"}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"livy-config\",\"fileName\":\"spark-blacklist.conf\",\"content\":\"#\\n# Configuration override / blacklist. Defines a list of properties that users are not allowed\\n# to override when starting Spark sessions.\\n#\\n# This file takes a list of property names (one per line). Empty lines and lines starting with \\\"#\\\"\\n# are ignored.\\n#\\n\\n# Disallow overriding the master and the deploy mode.\\nspark.master\\nspark.submit.deployMode\\n\\n# Disallow overriding the location of Spark cached jars.\\nspark.yarn.jar\\nspark.yarn.jars\\nspark.yarn.archive\\n\\n# Don\u0027t allow users to override the RSC timeout.\\nlivy.rsc.server.idle_timeout\\n\",\"type\":\"content\"}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"livy-config\",\"fileName\":\"livy-env.sh\",\"content\":\"# Wrongly configured would results in livy startup failures.\\nexport LIVY_LOG_DIR=/usr/livy/logs\\n# Changing LIVY_SERVER_JAVA_OPTS make sure to update livy.memory-mb in livy.conf too\\nexport LIVY_SERVER_JAVA_OPTS=\\\"-Xmx1536m\\\"\",\"type\":\"content\"}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"zeppelin-config\",\"fileName\":\"zeppelin-site.xml\",\"type\":\"key-value\",\"defaultKeys\":{\"zeppelin.websocket.max.text.message.size\":{\"value\":\"1024000\",\"description\":\"zeppelin.websocket.max.text.message.size\"},\"zeppelin.config.storage.class\":{\"value\":\"org.apache.zeppelin.storage.FileSystemConfigStorage\",\"description\":\"zeppelin.config.storage.class\"},\"zeppelin.config.fs.dir\":{\"value\":\"file:///usr/zeppelin/dataDir/conf\",\"description\":\"Path authorization and interepreter setting configurations\"},\"zeppelin.interpreter.connect.timeout\":{\"value\":\"30000\",\"description\":\"zeppelin.interpreter.connect.timeout\"},\"zeppelin.interpreter.group.order\":{\"value\":\"livy,md,angular,jdbc,spark\",\"description\":\"zeppelin.interpreter.group.order\"},\"zeppelin.interpreters\":{\"value\":\"org.apache.zeppelin.spark.SparkInterpreter,org.apache.zeppelin.spark.PySparkInterpreter,org.apache.zeppelin.livy.LivySparkInterpreter,org.apache.zeppelin.livy.LivyPySparkInterpreter,org.apache.zeppelin.livy.LivySparkSQLInterpreter,org.apache.zeppelin.markdown.Markdown,org.apache.zeppelin.angular.AngularInterpreter,org.apache.zeppelin.jdbc.JDBCInterpreter\",\"description\":\"zeppelin.interpreters\"},\"zeppelin.notebook.dir\":{\"value\":\"file:///usr/zeppelin/dataDir/notebook\",\"description\":\"path or URI for notebook persist\"},\"zeppelin.interpreter.dir\":{\"value\":\"interpreter\",\"description\":\"Interpreter implementation base directory\"},\"zeppelin.interpreter.group.default\":{\"value\":\"livy\",\"description\":\"Interpreter default shown\"}},\"customKeys\":{\"zeppelin.interpreter.config.upgrade\":\"true\"}}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"zeppelin-config\",\"fileName\":\"zeppelin-env.sh\",\"content\":\"export USE_HADOOP=true\\nexport ZEPPELIN_JAVA_OPTS=\\\"-Dhdp.version=5.1.3.7\\\"\\nexport ZEPPELIN_HOME=/usr/zeppelin/current\\nexport ZEPPELIN_CONF_DIR=/usr/zeppelin/conf\\nexport ZEPPELIN_LOG_DIR=/usr/zeppelin/logs\\nexport ZEPPELIN_PID_DIR=/usr/zeppelin/run\\nexport ZEPPELIN_SERVER_CONTEXT_PATH=/p/zeppelin\\n\\nexport PYTHONPATH=\\\"${SPARK_HOME}/python:${SPARK_HOME}/python/lib/py4j-0.10.9-src.zip\\\"\\nexport SPARK_YARN_USER_ENV=\\\"PYTHONPATH=${PYTHONPATH}\\\"\\n\",\"type\":\"content\"}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"zeppelin-config\",\"fileName\":\"log4j.properties\",\"content\":\"log4j.rootLogger = INFO, stdout\\nlog4j.appender.stdout = org.apache.log4j.ConsoleAppender\\nlog4j.appender.stdout.layout = org.apache.log4j.PatternLayout\\nlog4j.appender.stdout.layout.ConversionPattern=%5p [%d] ({%t} %F[%M]:%L) - %m%n\",\"type\":\"content\"}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"spark-config\",\"fileName\":\"spark-defaults.conf\",\"type\":\"key-value\",\"defaultKeys\":{\"spark.history.fs.cleaner.enabled\":{\"value\":\"true\",\"description\":\"spark.history.fs.cleaner.enabled\"},\"spark.history.fs.cleaner.interval\":{\"value\":\"1h\",\"description\":\"spark.history.fs cleaner interval\"},\"spark.history.fs.cleaner.maxAge\":{\"value\":\"7d\",\"description\":\"spark.history.fs.cleaner.maxAge\"},\"spark.io.compression.lz4.blockSize\":{\"value\":\"128kb\",\"description\":\"spark.io.compression.lz4.blockSize\"},\"spark.shuffle.file.buffer\":{\"value\":\"1m\",\"description\":\"spark.shuffle.file.buffer\"},\"spark.shuffle.io.backLog\":{\"value\":\"8192\",\"description\":\"spark.shuffle.io.backLog\"},\"spark.shuffle.io.serverThreads\":{\"value\":\"128\",\"description\":\"spark.shuffle.io.serverThreads\"},\"spark.shuffle.unsafe.file.output.buffer\":{\"value\":\"5m\",\"description\":\"spark.shuffle.unsafe.file.output.buffer\"},\"spark.sql.autoBroadcastJoinThreshold\":{\"value\":\"26214400\",\"description\":\"spark.sql.autoBroadcastJoinThreshold\"},\"spark.sql.shuffle.partitions\":{\"value\":\"200\",\"description\":\"spark.sql.shuffle.partitions\"},\"spark.unsafe.sorter.spill.reader.buffer.size\":{\"value\":\"1m\",\"description\":\"spark.unsafe.sorter.spill.reader.buffer.size\"},\"spark.eventLog.enabled\":{\"value\":\"true\",\"description\":\"Whether to log Spark events, useful for reconstructing the Web UI after the application has finished.\"},\"spark.eventLog.dir\":{\"value\":\"abfs://testcontainer3@hilostorage.dfs.core.windows.net/eventlogFolder\",\"description\":\"Base directory in which Spark events are logged, if spark.eventLog.enabled is true.\"},\"spark.yarn.queue\":{\"value\":\"spark\",\"description\":\"Queue name used for spark application submission\"},\"spark.sql.catalogImplementation\":{\"value\":\"in-memory\",\"description\":\"Catalog implementation.Default in-memory\"},\"spark.dynamicAllocation.enabled\":{\"value\":\"true\",\"description\":\"Whether to use dynamic resource allocation, which scales the number of executors registered with this application up and down based on the workload.\"},\"spark.shuffle.service.enabled\":{\"value\":\"true\",\"description\":\"Enables the external shuffle service. This service preserves the shuffle files written by executors e.g. so that executors can be safely removed, or so that shuffle fetches can continue in the event of executor failure.\"}},\"customKeys\":{\"spark.driver.memoryOverhead\":\"384\",\"spark.executor.cores\":\"2\",\"spark.executor.instances\":\"2\",\"spark.executor.memory\":\"12288m\",\"spark.executor.memoryOverhead\":\"384\",\"spark.rdd.compress\":\"true\",\"spark.serializer\":\"org.apache.spark.serializer.KryoSerializer\",\"spark.sql.cbo.enabled\":\"true\",\"spark.sql.cbo.joinReorder.enabled\":\"true\",\"spark.sql.crossJoin.enabled\":\"true\",\"spark.sql.files.maxPartitionBytes\":\"134217728\",\"spark.yarn.containerLauncherMaxThreads\":\"25\",\"spark.yarn.preserve.staging.files\":\"false\",\"spark.sql.hive.metastore.jars\":\"/usr/hive-metastore/lib-3.1/*:/usr/hadoop/current/share/hadoop/common/lib/*:/usr/hadoop/current/share/hadoop/common/*\",\"spark.sql.hive.metastore.version\":\"3.1\",\"spark.history.fs.logDirectory\":\"abfs://testcontainer3@hilostorage.dfs.core.windows.net/eventlogFolder\",\"spark.sql.warehouse.dir\":\"abfs://testcontainer3@hilostorage.dfs.core.windows.net/hive/warehouse/managed\"}}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"spark-config\",\"fileName\":\"spark-env.sh\",\"content\":\"# - SPARK_HISTORY_OPTS, to set config properties only for the history server (e.g. \\\"-Dx=y\\\")\\nexport HDP_VERSION=3.3.3.5.2-100223822\\nexport PYSPARK_PYTHON=python3\\n\",\"type\":\"content\"}},{\"properties\":{\"serviceName\":\"spark-service\",\"componentName\":\"spark-config\",\"fileName\":\"hive-site.xml\",\"type\":\"key-value\",\"defaultKeys\":{\"hive.metastore.client.connect.retry.delay\":{\"value\":\"5s\",\"description\":\"hive.metastore.client.connect.retry.delay\"},\"hive.metastore.client.socket.timeout\":{\"value\":\"1800s\",\"description\":\"hive.metastore.client.socket.timeout\"}},\"customKeys\":{\"metastore.catalog.default\":\"hive\",\"hive.metastore.uris\":\"thrift://hive-metastore-service:9083\"}}},{\"properties\":{\"serviceName\":\"yarn-service\",\"componentName\":\"hadoop-config-client\",\"fileName\":\"core-site.xml\",\"type\":\"key-value\",\"defaultKeys\":{\"fs.defaultFS\":{\"value\":\"abfs://testcontainer3@hilostorage.dfs.core.windows.net\",\"description\":\"Default FileSystem for all the services.\"},\"fs.azure.account.oauth2.msi.tenant\":{\"value\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"description\":\"fs.azure.account.oauth2.msi.tenant\"},\"fs.abfs.impl\":{\"value\":\"org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem\",\"description\":\"fs.abfs.impl\"},\"fs.azure.account.auth.type\":{\"value\":\"OAuth\",\"description\":\"fs.azure.account.auth.type\"},\"fs.azure.account.oauth2.client.id\":{\"value\":\"00000000-0000-0000-0000-000000000000\",\"description\":\"fs.azure.account.oauth2.client.id\"},\"fs.azure.identity.transformer.service.principal.substitution.list\":{\"value\":\"*\",\"description\":\"fs.azure.identity.transformer.service.principal.substitution.list\"},\"fs.azure.identity.transformer.service.principal.id\":{\"value\":\"00000000-0000-0000-0000-000000000000\",\"description\":\"fs.azure.identity.transformer.service.principal.id\"},\"fs.azure.account.oauth.provider.type\":{\"value\":\"org.apache.hadoop.fs.azurebfs.oauth2.MsiTokenProvider\",\"description\":\"fs.azure.account.oauth.provider.type\"}},\"customKeys\":{}}},{\"properties\":{\"serviceName\":\"yarn-service\",\"componentName\":\"hadoop-config-client\",\"fileName\":\"yarn-env.sh\",\"content\":\"export YARN_RESOURCEMANAGER_USER=yarn\\nexport YARN_NODEMANAGER_USER=yarn\\n\",\"type\":\"content\"}},{\"properties\":{\"serviceName\":\"yarn-service\",\"componentName\":\"hadoop-config-client\",\"fileName\":\"yarn-site.xml\",\"type\":\"key-value\",\"customKeys\":{\"yarn.nodemanager.resource.memory-mb\":\"22936\",\"yarn.scheduler.maximum-allocation-mb\":\"22936\"}}},{\"properties\":{\"serviceName\":\"yarn-service\",\"componentName\":\"hadoop-config\",\"fileName\":\"core-site.xml\",\"type\":\"key-value\",\"defaultKeys\":{\"fs.defaultFS\":{\"value\":\"abfs://testcontainer3@hilostorage.dfs.core.windows.net\",\"description\":\"Default FileSystem for all the services.\"},\"fs.azure.account.oauth2.msi.tenant\":{\"value\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\",\"description\":\"fs.azure.account.oauth2.msi.tenant\"},\"fs.abfs.impl\":{\"value\":\"org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem\",\"description\":\"fs.abfs.impl\"},\"fs.azure.account.auth.type\":{\"value\":\"OAuth\",\"description\":\"fs.azure.account.auth.type\"},\"fs.azure.account.oauth2.client.id\":{\"value\":\"00000000-0000-0000-0000-000000000000\",\"description\":\"fs.azure.account.oauth2.client.id\"},\"fs.azure.identity.transformer.service.principal.substitution.list\":{\"value\":\"*\",\"description\":\"fs.azure.identity.transformer.service.principal.substitution.list\"},\"fs.azure.identity.transformer.service.principal.id\":{\"value\":\"00000000-0000-0000-0000-000000000000\",\"description\":\"fs.azure.identity.transformer.service.principal.id\"},\"fs.azure.account.oauth.provider.type\":{\"value\":\"org.apache.hadoop.fs.azurebfs.oauth2.MsiTokenProvider\",\"description\":\"fs.azure.account.oauth.provider.type\"}},\"customKeys\":{\"testvalue1\":\"111\"}}},{\"properties\":{\"serviceName\":\"yarn-service\",\"componentName\":\"hadoop-config\",\"fileName\":\"yarn-site.xml\",\"type\":\"key-value\",\"defaultKeys\":{\"yarn.resourcemanager.recovery.enabled\":{\"value\":\"true\",\"description\":\"yarn.resourcemanager.recovery.enabled\"},\"yarn.nodemanager.resource.memory-mb\":{\"value\":\"22936\",\"description\":\"yarn.nodemanager.resource.memory-mb\"},\"yarn.scheduler.maximum-allocation-mb\":{\"value\":\"22936\",\"description\":\"yarn.scheduler.maximum-allocation-mb\"},\"yarn.timeline-service.enabled\":{\"value\":\"false\",\"description\":\"yarn.timeline-service.enabled to enable timeline server events\"},\"yarn.resourcemanager.system-metrics-publisher.enabled\":{\"value\":\"true\",\"description\":\"The setting that controls whether or not YARN system metrics are published on the timeline server by RM. Defaults to false.\"},\"yarn.timeline-service.generic-application-history.enabled\":{\"value\":\"true\",\"description\":\"Indicate to clients whether to query generic application data from timeline history-service or not. If not enabled then application data is queried only from Resource Manager. Defaults to false.\"},\"yarn.resourcemanager.configuration.provider-class\":{\"value\":\"org.apache.hadoop.yarn.FSBasedIncludeExcludeFileProvider\",\"description\":\"This configuration helps with loading of configuration based on providers. Leveraged by autoscale feature. org.apache.hadoop.yarn.FSBasedIncludeExcludeFileProvider enables reading of include/exclude files from filesystem configured. Include file configuration is yarn.resourcemanager.nodes.include-path and exclude is yarn.resourcemanager.nodes.exclude-path\"},\"yarn.resourcemanager.nodes.exclude-path\":{\"value\":\"/tmp/excludeFile_a4f945ee14914e63bc5da15c70e2b283.xml\",\"description\":\"Exclude file path used by autoscale service for updating nodes to be excluded for running.\"},\"yarn.resourcemanager.enable-node-untracked-without-include-path\":{\"value\":\"true\",\"description\":\"Enable RM to mark inactive nodes as untracked if not available in include file.Used by autoscale\"}},\"customKeys\":{\"yarn.nodemanager.aux-services\":\"spark_shuffle,mapreduce_shuffle\",\"spark.shuffle.service.resolver.class\":\"org.apache.spark.network.shuffle.ShuffleMovementAwareExternalShuffleBlockResolver\",\"yarn.nodemanager.aux-services.spark_shuffle.class\":\"org.apache.spark.network.yarn.YarnShuffleService\",\"yarn.nodemanager.aux-services.mapreduce_shuffle.class\":\"org.apache.hadoop.mapred.ShuffleHandler\",\"yarn.nodemanager.aux-services.spark_shuffle.classpath\":\"/usr/spark/aux/*\"}}},{\"properties\":{\"serviceName\":\"yarn-service\",\"componentName\":\"hadoop-config\",\"fileName\":\"capacity-scheduler.xml\",\"content\":\"yarn.scheduler.capacity.maximum-am-resource-percent=0.5\\nyarn.scheduler.capacity.maximum-applications=10000\\nyarn.scheduler.capacity.node-locality-delay=0\\nyarn.scheduler.capacity.resource-calculator=org.apache.hadoop.yarn.util.resource.DefaultResourceCalculator\\nyarn.scheduler.capacity.queue-mappings-override.enable=false\\nyarn.scheduler.capacity.root.maximum-am-resource-percent=0.5\\nyarn.scheduler.capacity.root.maximum-applications=10000\\nyarn.scheduler.capacity.root.acl_administer_queue=*\\nyarn.scheduler.capacity.root.acl_submit_applications=*\\nyarn.scheduler.capacity.root.capacity=100\\nyarn.scheduler.capacity.root.queues=default,spark\\nyarn.scheduler.capacity.root.ordering-policy=priority-utilization\\nyarn.scheduler.capacity.root.priority=0\\nyarn.scheduler.capacity.root.default.maximum-am-resource-percent=0.5\\nyarn.scheduler.capacity.root.default.maximum-applications=10000\\nyarn.scheduler.capacity.root.default.maximum-capacity=5\\nyarn.scheduler.capacity.root.default.user-limit-factor=1\\nyarn.scheduler.capacity.root.default.state=RUNNING\\nyarn.scheduler.capacity.root.default.capacity=5\\nyarn.scheduler.capacity.root.default.priority=0\\nyarn.scheduler.capacity.root.spark.maximum-am-resource-percent=0.1\\nyarn.scheduler.capacity.root.spark.maximum-applications=10000\\nyarn.scheduler.capacity.root.spark.state=RUNNING\\nyarn.scheduler.capacity.root.spark.maximum-capacity=95\\nyarn.scheduler.capacity.root.spark.capacity=95\\nyarn.scheduler.capacity.root.spark.priority=10\\n\",\"type\":\"content\"}},{\"properties\":{\"serviceName\":\"yarn-service\",\"componentName\":\"hadoop-config\",\"fileName\":\"yarn-env.sh\",\"content\":\"export YARN_RESOURCEMANAGER_USER=yarn\\nexport YARN_NODEMANAGER_USER=yarn\\nexport YARN_PROXYSERVER_USER=yarn\\nexport YARN_RESOURCEMANAGER_OPTS=-javaagent:/usr/hadoop/prometheus/jmx_prometheus_javaagent.jar=9999:/usr/hadoop/etc/hadoop/prometheus-config.yaml\\nexport YARN_NODEMANAGER_OPTS=-javaagent:/usr/hadoop/prometheus/jmx_prometheus_javaagent.jar=9999:/usr/hadoop/etc/hadoop/prometheus-config.yaml\",\"type\":\"content\"}}]}" - } - } -} \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/utils.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/utils.ps1 index 09e95a49659a..8180a6c2a0f5 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/utils.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/utils.ps1 @@ -46,7 +46,7 @@ function setupEnv() { $env.msiClientId = '00000000-0000-0000-0000-000000000000' $env.msiObjectId = '00000000-0000-0000-0000-000000000000' $env.authorizationUserId = '00000000-0000-0000-0000-000000000000' - $env.identityProfileMsiResourceId = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yuchenPSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{your-msi}' + $env.identityProfileMsiResourceId ='/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/psmsi' # For any resources you created for test, you should add it to $env here. $envFile = 'env.json' diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/utils/Get-SubscriptionIdTestSafe.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/utils/Get-SubscriptionIdTestSafe.ps1 new file mode 100644 index 000000000000..5319862d3372 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/utils/Get-SubscriptionIdTestSafe.ps1 @@ -0,0 +1,7 @@ +param() +if ($env:AzPSAutorestTestPlaybackMode) { + $loadEnvPath = Join-Path $PSScriptRoot '..' 'test' 'loadEnv.ps1' + . ($loadEnvPath) + return $env.SubscriptionId +} +return (Get-AzContext).Subscription.Id \ No newline at end of file diff --git a/src/HdInsightOnAks/HdInsightOnAks/Az.HdInsightOnAks.psd1 b/src/HdInsightOnAks/HdInsightOnAks/Az.HdInsightOnAks.psd1 index e2cfc1453293..0e00a9e5ba65 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/Az.HdInsightOnAks.psd1 +++ b/src/HdInsightOnAks/HdInsightOnAks/Az.HdInsightOnAks.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 12/5/2023 +# Generated on: 3/25/2024 # @{ @@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.13.0'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.16.0'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'HdInsightOnAks.Autorest/bin/Az.HdInsightOnAks.private.dll' @@ -72,12 +72,16 @@ NestedModules = @('HdInsightOnAks.Autorest/Az.HdInsightOnAks.psm1') FunctionsToExport = 'Get-AzHdInsightOnAksAvailableClusterPoolVersion', 'Get-AzHdInsightOnAksAvailableClusterVersion', 'Get-AzHdInsightOnAksCluster', + 'Get-AzHdInsightOnAksClusterAvailableUpgrade', 'Get-AzHdInsightOnAksClusterInstanceView', 'Get-AzHdInsightOnAksClusterJob', 'Get-AzHdInsightOnAksClusterPool', + 'Get-AzHdInsightOnAksClusterPoolAvailableUpgrade', 'Get-AzHdInsightOnAksClusterServiceConfig', 'New-AzHdInsightOnAksCluster', 'New-AzHdInsightOnAksClusterConfigFileObject', + 'New-AzHdInsightOnAksClusterHotfixUpgradeObject', 'New-AzHdInsightOnAksClusterPool', + 'New-AzHdInsightOnAksClusterPoolAKSUpgradeObject', 'New-AzHdInsightOnAksClusterServiceConfigObject', 'New-AzHdInsightOnAksClusterServiceConfigsProfileObject', 'New-AzHdInsightOnAksFlinkJobObject', @@ -90,6 +94,7 @@ FunctionsToExport = 'Get-AzHdInsightOnAksAvailableClusterPoolVersion', 'Start-AzHdInsightOnAksClusterJob', 'Test-AzHdInsightOnAksLocationNameAvailability', 'Update-AzHdInsightOnAksCluster', + 'Update-AzHdInsightOnAksClusterPool', 'Update-AzHdInsightOnAksClusterPoolTag' # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. diff --git a/src/HdInsightOnAks/HdInsightOnAks/ChangeLog.md b/src/HdInsightOnAks/HdInsightOnAks/ChangeLog.md index 1b4ccba4d7a0..e6de0befe827 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/ChangeLog.md +++ b/src/HdInsightOnAks/HdInsightOnAks/ChangeLog.md @@ -18,6 +18,16 @@ - Additional information about change #1 --> ## Upcoming Release +* Changes in the Cluster Pool + - Enable create cluster pool with user network profile. + - Enable get cluster pool available upgrade versions. + - Enable upgrade cluster pool. +* Changes in the Cluster + - Enable create Ranger cluster. + - Enable get cluster available upgrade versions. + - Enable set internal ingress. + - Enable upgrade cluster. +* Introduced secrets detection feature to safeguard sensitive data. ## Version 0.1.0 * First preview release for module Az.HdInsightOnAks diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/Az.HdInsightOnAks.md b/src/HdInsightOnAks/HdInsightOnAks/help/Az.HdInsightOnAks.md index 8dcbfdf79669..8939f9722d84 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/Az.HdInsightOnAks.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/Az.HdInsightOnAks.md @@ -20,6 +20,9 @@ Returns a list of available cluster versions. ### [Get-AzHdInsightOnAksCluster](Get-AzHdInsightOnAksCluster.md) Gets a HDInsight cluster. +### [Get-AzHdInsightOnAksClusterAvailableUpgrade](Get-AzHdInsightOnAksClusterAvailableUpgrade.md) +List a cluster available upgrade. + ### [Get-AzHdInsightOnAksClusterInstanceView](Get-AzHdInsightOnAksClusterInstanceView.md) Gets the status of a cluster instance. @@ -29,6 +32,9 @@ Get jobs of HDInsight on AKS cluster. ### [Get-AzHdInsightOnAksClusterPool](Get-AzHdInsightOnAksClusterPool.md) Gets a cluster pool. +### [Get-AzHdInsightOnAksClusterPoolAvailableUpgrade](Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.md) +List a cluster pool available upgrade. + ### [Get-AzHdInsightOnAksClusterServiceConfig](Get-AzHdInsightOnAksClusterServiceConfig.md) Lists the config dump of all services running in cluster. @@ -38,9 +44,15 @@ Creates a cluster. ### [New-AzHdInsightOnAksClusterConfigFileObject](New-AzHdInsightOnAksClusterConfigFileObject.md) Create cluster config file. +### [New-AzHdInsightOnAksClusterHotfixUpgradeObject](New-AzHdInsightOnAksClusterHotfixUpgradeObject.md) +Create an object to hold the cluster upgrade parameters. + ### [New-AzHdInsightOnAksClusterPool](New-AzHdInsightOnAksClusterPool.md) Create a cluster pool. +### [New-AzHdInsightOnAksClusterPoolAKSUpgradeObject](New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.md) +Create an object to hold the cluster pool upgrade parameters. + ### [New-AzHdInsightOnAksClusterServiceConfigObject](New-AzHdInsightOnAksClusterServiceConfigObject.md) Create a component config. @@ -80,6 +92,9 @@ Check the availability of the resource name. ### [Update-AzHdInsightOnAksCluster](Update-AzHdInsightOnAksCluster.md) Updates an existing Cluster. +### [Update-AzHdInsightOnAksClusterPool](Update-AzHdInsightOnAksClusterPool.md) +Upgrade a cluster pool. + ### [Update-AzHdInsightOnAksClusterPoolTag](Update-AzHdInsightOnAksClusterPoolTag.md) Updates an existing Cluster Pool Tags. diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksAvailableClusterPoolVersion.md b/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksAvailableClusterPoolVersion.md index 9ae289501e3e..84deca82bc7b 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksAvailableClusterPoolVersion.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksAvailableClusterPoolVersion.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksavailableclusterpoolversion schema: 2.0.0 @@ -14,7 +14,7 @@ Returns a list of available cluster pool versions. ``` Get-AzHdInsightOnAksAvailableClusterPoolVersion -Location [-SubscriptionId ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -80,6 +80,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SubscriptionId The ID of the target subscription. The value must be an UUID. @@ -108,4 +123,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksAvailableClusterVersion.md b/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksAvailableClusterVersion.md index e332b43941a1..b0a47607953f 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksAvailableClusterVersion.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksAvailableClusterVersion.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksavailableclusterversion schema: 2.0.0 @@ -14,7 +14,7 @@ Returns a list of available cluster versions. ``` Get-AzHdInsightOnAksAvailableClusterVersion -Location [-SubscriptionId ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -245,6 +245,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SubscriptionId The ID of the target subscription. The value must be an UUID. @@ -273,4 +288,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksCluster.md b/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksCluster.md index 54c38b0dc17e..2a99171129ee 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksCluster.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksCluster.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonakscluster schema: 2.0.0 @@ -15,25 +15,26 @@ Gets a HDInsight cluster. ### List (Default) ``` Get-AzHdInsightOnAksCluster -PoolName -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` -### Get +### GetViaIdentityClusterpool ``` -Get-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName - [-SubscriptionId ] [-DefaultProfile ] [] +Get-AzHdInsightOnAksCluster -Name -ClusterpoolInputObject + [-DefaultProfile ] [-ProgressAction ] [] ``` -### GetViaIdentity +### Get ``` -Get-AzHdInsightOnAksCluster -InputObject [-DefaultProfile ] +Get-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] [] ``` -### GetViaIdentityClusterpool +### GetViaIdentity ``` -Get-AzHdInsightOnAksCluster -ClusterpoolInputObject -Name - [-DefaultProfile ] [] +Get-AzHdInsightOnAksCluster -InputObject [-DefaultProfile ] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -98,7 +99,6 @@ Get a HDInsight gen2 cluster ### -ClusterpoolInputObject Identity Parameter -To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity @@ -130,7 +130,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity @@ -149,7 +148,7 @@ The name of the HDInsight cluster. ```yaml Type: System.String -Parameter Sets: Get, GetViaIdentityClusterpool +Parameter Sets: GetViaIdentityClusterpool, Get Aliases: ClusterName Required: True @@ -164,7 +163,7 @@ The name of the cluster pool. ```yaml Type: System.String -Parameter Sets: Get, List +Parameter Sets: List, Get Aliases: ClusterPoolName Required: True @@ -174,13 +173,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Get, List +Parameter Sets: List, Get Aliases: Required: True @@ -196,7 +210,7 @@ The value must be an UUID. ```yaml Type: System.String[] -Parameter Sets: Get, List +Parameter Sets: List, Get Aliases: Required: False @@ -220,4 +234,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterAvailableUpgrade.md b/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterAvailableUpgrade.md new file mode 100644 index 000000000000..871052085da6 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterAvailableUpgrade.md @@ -0,0 +1,166 @@ +--- +external help file: Az.HdInsightOnAks-help.xml +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusteravailableupgrade +schema: 2.0.0 +--- + +# Get-AzHdInsightOnAksClusterAvailableUpgrade + +## SYNOPSIS +List a cluster available upgrade. + +## SYNTAX + +``` +Get-AzHdInsightOnAksClusterAvailableUpgrade -ClusterName -ClusterPoolName + -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] + [-ProgressAction ] [] +``` + +## DESCRIPTION +List a cluster available upgrade. + +## EXAMPLES + +### Example 1: List a cluster available upgrade. +```powershell +Get-AzHdInsightOnAksClusterAvailableUpgrade -ResourceGroupName PStestGroup -ClusterPoolName hilo-pool -ClusterName flinkcluster +``` + +```output +Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PStestGroup/providers/Microsoft.HDInsight/clusterpools/hilo-pool/clusters/flinkcluster/availableUpgrades/HotfixUpgrade_Webssh_0.4.2-1.1.1.6_20240103 +Name : HotfixUpgrade_Webssh_0.4.2-1.1.1.6_20240103 +Property : { + "upgradeType": "HotfixUpgrade", + "description": "BugBash", + "sourceOssVersion": "0.4.2", + "sourceClusterVersion": "1.1.1", + "sourceBuildNumber": "6", + "targetOssVersion": "0.4.2", + "targetClusterVersion": "1.1.1", + "targetBuildNumber": "7", + "componentName": "Webssh", + "severity": "low", + "extendedProperties": " ", + "createdTime": "2024-03-12T07:22:42.0000000Z" + } +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Type : +UpgradeType : HotfixUpgrade +``` + +List a flink cluster available upgrade. + +## PARAMETERS + +### -ClusterName +The name of the HDInsight cluster. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterPoolName +The name of the cluster pool. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterAvailableUpgrade + +## NOTES + +## RELATED LINKS diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterInstanceView.md b/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterInstanceView.md index 360e050edf18..509144415903 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterInstanceView.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterInstanceView.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterinstanceview schema: 2.0.0 @@ -15,25 +15,27 @@ Gets the status of a cluster instance. ### Get (Default) ``` Get-AzHdInsightOnAksClusterInstanceView -ClusterName -ClusterPoolName - -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [] + -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] + [-ProgressAction ] [] ``` -### GetViaIdentity +### List ``` -Get-AzHdInsightOnAksClusterInstanceView -InputObject [-DefaultProfile ] - [] +Get-AzHdInsightOnAksClusterInstanceView -ClusterName -ClusterPoolName + -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] + [-ProgressAction ] [] ``` ### GetViaIdentityClusterpool ``` -Get-AzHdInsightOnAksClusterInstanceView -ClusterName - -ClusterpoolInputObject [-DefaultProfile ] [] +Get-AzHdInsightOnAksClusterInstanceView -ClusterName -ClusterpoolInputObject + [-DefaultProfile ] [-ProgressAction ] [] ``` -### List +### GetViaIdentity ``` -Get-AzHdInsightOnAksClusterInstanceView -ClusterName -ClusterPoolName - -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [] +Get-AzHdInsightOnAksClusterInstanceView -InputObject [-DefaultProfile ] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -69,7 +71,7 @@ The name of the HDInsight cluster. ```yaml Type: System.String -Parameter Sets: Get, GetViaIdentityClusterpool, List +Parameter Sets: Get, List, GetViaIdentityClusterpool Aliases: Required: True @@ -81,7 +83,6 @@ Accept wildcard characters: False ### -ClusterpoolInputObject Identity Parameter -To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity @@ -128,7 +129,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity @@ -142,6 +142,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -188,4 +203,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterJob.md b/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterJob.md index 9d101fcc7be6..f30cb9ee9ee4 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterJob.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterJob.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterjob schema: 2.0.0 @@ -14,7 +14,8 @@ Get jobs of HDInsight on AKS cluster. ``` Get-AzHdInsightOnAksClusterJob -ClusterName -ClusterPoolName -ResourceGroupName - [-SubscriptionId ] [-DefaultProfile ] [] + [-SubscriptionId ] [-Filter ] [-DefaultProfile ] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -85,6 +86,37 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Filter +The system query option to filter job returned in the response. +Allowed value is 'jobName eq {jobName}' or 'jarName eq {jarName}'. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -129,4 +161,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterPool.md b/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterPool.md index fbf4113d32a7..973bbbb8b500 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterPool.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterPool.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterpool schema: 2.0.0 @@ -14,25 +14,26 @@ Gets a cluster pool. ### List (Default) ``` -Get-AzHdInsightOnAksClusterPool [-SubscriptionId ] [-DefaultProfile ] [] +Get-AzHdInsightOnAksClusterPool [-SubscriptionId ] [-DefaultProfile ] + [-ProgressAction ] [] ``` ### Get ``` Get-AzHdInsightOnAksClusterPool -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` -### GetViaIdentity +### List1 ``` -Get-AzHdInsightOnAksClusterPool -InputObject [-DefaultProfile ] - [] +Get-AzHdInsightOnAksClusterPool -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-ProgressAction ] [] ``` -### List1 +### GetViaIdentity ``` -Get-AzHdInsightOnAksClusterPool -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] +Get-AzHdInsightOnAksClusterPool -InputObject [-DefaultProfile ] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -159,7 +160,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity @@ -188,6 +188,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -210,7 +225,7 @@ The value must be an UUID. ```yaml Type: System.String[] -Parameter Sets: Get, List, List1 +Parameter Sets: List, Get, List1 Aliases: Required: False @@ -234,4 +249,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.md b/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.md new file mode 100644 index 000000000000..99fde2a2ccf2 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterPoolAvailableUpgrade.md @@ -0,0 +1,131 @@ +--- +external help file: Az.HdInsightOnAks-help.xml +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterpoolavailableupgrade +schema: 2.0.0 +--- + +# Get-AzHdInsightOnAksClusterPoolAvailableUpgrade + +## SYNOPSIS +List a cluster pool available upgrade. + +## SYNTAX + +``` +Get-AzHdInsightOnAksClusterPoolAvailableUpgrade -ClusterPoolName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [] +``` + +## DESCRIPTION +List a cluster pool available upgrade. + +## EXAMPLES + +### Example 1: List a cluster pool available upgrade. +```powershell +Get-AzHdInsightOnAksClusterPoolAvailableUpgrade -ResourceGroupName PStestGroup -ClusterPoolName hilo-pool +``` + +```output +Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType +---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- +AKSPatchUpgrade +NodeOsUpgrade +``` + +List a cluster pool available upgrade. + +## PARAMETERS + +### -ClusterPoolName +The name of the cluster pool. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolAvailableUpgrade + +## NOTES + +## RELATED LINKS diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterServiceConfig.md b/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterServiceConfig.md index 538c38b94cb5..81506779cec9 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterServiceConfig.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/Get-AzHdInsightOnAksClusterServiceConfig.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/get-azhdinsightonaksclusterserviceconfig schema: 2.0.0 @@ -14,7 +14,8 @@ Lists the config dump of all services running in cluster. ``` Get-AzHdInsightOnAksClusterServiceConfig -ClusterName -ClusterPoolName - -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [] + -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -126,6 +127,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -170,4 +186,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksCluster.md b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksCluster.md index 2d91041dde23..b6e695ba9810 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksCluster.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksCluster.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/new-azhdinsightonakscluster schema: 2.0.0 @@ -14,128 +14,157 @@ Creates a cluster. ### CreateExpanded (Default) ``` -New-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName -Location - [-SubscriptionId ] [-ApplicationLogStdErrorEnabled] [-ApplicationLogStdOutEnabled] +New-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + [-SubscriptionId ] -Location [-ApplicationLogStdErrorEnabled] [-ApplicationLogStdOutEnabled] [-AssignedIdentityClientId ] [-AssignedIdentityObjectId ] [-AssignedIdentityResourceId ] [-AuthorizationGroupId ] [-AuthorizationUserId ] [-AutoscaleProfileAutoscaleType ] [-AutoscaleProfileEnabled] - [-AutoscaleProfileGracefulDecommissionTimeout ] [-ClusterType ] [-ClusterVersion ] - [-ComputeProfileNode ] [-CoordinatorDebugEnable] [-CoordinatorDebugPort ] - [-CoordinatorDebugSuspend] [-CoordinatorHighAvailabilityEnabled] [-EnableLogAnalytics] - [-FlinkHiveCatalogDbConnectionUrl ] [-FlinkHiveCatalogDbPasswordSecretName ] - [-FlinkHiveCatalogDbUserName ] [-FlinkStorageUrl ] [-FlinkTaskManagerReplicaCount ] - [-HistoryServerCpu ] [-HistoryServerMemory ] [-JobManagerCpu ] - [-JobManagerMemory ] [-KafkaProfile ] [-KeyVaultResourceId ] - [-LlapProfile ] [-LoadBasedConfigCooldownPeriod ] [-LoadBasedConfigMaxNode ] - [-LoadBasedConfigMinNode ] [-LoadBasedConfigPollInterval ] - [-LoadBasedConfigScalingRule ] [-LogAnalyticProfileMetricsEnabled] [-OssVersion ] - [-PrometheuProfileEnabled] [-ScheduleBasedConfigDefaultCount ] - [-ScheduleBasedConfigSchedule ] [-ScheduleBasedConfigTimeZone ] - [-ScriptActionProfile ] [-SecretReference ] - [-ServiceConfigsProfile ] [-SparkHiveCatalogDbName ] - [-SparkHiveCatalogDbPasswordSecretName ] [-SparkHiveCatalogDbServerName ] - [-SparkHiveCatalogDbUserName ] [-SparkHiveCatalogKeyVaultId ] [-SparkStorageUrl ] - [-SparkThriftUrl ] [-SshProfileCount ] [-StorageHivecatalogName ] - [-StorageHivecatalogSchema ] [-StoragePartitionRetentionInDay ] [-StoragePath ] - [-StubProfile ] [-Tag ] [-TaskManagerCpu ] [-TaskManagerMemory ] + [-AutoscaleProfileGracefulDecommissionTimeout ] [-ClusterAccessProfileEnableInternalIngress] + [-ClusterType ] [-ClusterVersion ] [-ComputeProfileNode ] + [-CoordinatorDebugEnable] [-CoordinatorDebugPort ] [-CoordinatorDebugSuspend] + [-CoordinatorHighAvailabilityEnabled] [-DatabaseHost ] [-DatabaseName ] + [-DatabasePasswordSecretRef ] [-DatabaseUsername ] [-DiskStorageDataDiskSize ] + [-DiskStorageDataDiskType ] [-EnableLogAnalytics] [-FlinkHiveCatalogDbConnectionUrl ] + [-FlinkHiveCatalogDbPasswordSecretName ] [-FlinkHiveCatalogDbUserName ] + [-FlinkProfileDeploymentMode ] [-FlinkStorageUrl ] [-FlinkTaskManagerReplicaCount ] + [-HistoryServerCpu ] [-HistoryServerMemory ] + [-HiveMetastoreDbConnectionAuthenticationMode ] [-JobManagerCpu ] [-JobManagerMemory ] + [-JobSpecArg ] [-JobSpecEntryClass ] [-JobSpecJarName ] + [-JobSpecJobJarDirectory ] [-JobSpecSavePointName ] [-JobSpecUpgradeMode ] + [-KafkaProfileEnableKRaft] [-KafkaProfileEnablePublicEndpoint] [-KafkaProfileRemoteStorageUri ] + [-KeyVaultResourceId ] [-LlapProfile ] [-LoadBasedConfigCooldownPeriod ] + [-LoadBasedConfigMaxNode ] [-LoadBasedConfigMinNode ] [-LoadBasedConfigPollInterval ] + [-LoadBasedConfigScalingRule ] [-LogAnalyticProfileMetricsEnabled] + [-MetastoreSpecDbConnectionAuthenticationMode ] [-OssVersion ] [-PrometheuProfileEnabled] + [-RangerAdmin ] [-RangerAuditStorageAccount ] [-RangerPluginProfileEnabled] + [-RangerUsersyncEnabled] [-RangerUsersyncGroup ] [-RangerUsersyncMode ] + [-RangerUsersyncUser ] [-RangerUsersyncUserMappingLocation ] + [-ScheduleBasedConfigDefaultCount ] [-ScheduleBasedConfigSchedule ] + [-ScheduleBasedConfigTimeZone ] [-ScriptActionProfile ] + [-SecretReference ] [-ServiceConfigsProfile ] + [-SparkHiveCatalogDbName ] [-SparkHiveCatalogDbPasswordSecretName ] + [-SparkHiveCatalogDbServerName ] [-SparkHiveCatalogDbUserName ] + [-SparkHiveCatalogKeyVaultId ] [-SparkStorageUrl ] [-SparkThriftUrl ] + [-SshProfileCount ] [-StorageHivecatalogName ] [-StorageHivecatalogSchema ] + [-StoragePartitionRetentionInDay ] [-StoragePath ] [-StubProfile ] + [-Tag ] [-TaskManagerCpu ] [-TaskManagerMemory ] [-TrinoHiveCatalog ] [-TrinoProfileUserPluginsSpecPlugin ] [-WorkerDebugEnable] [-WorkerDebugPort ] [-WorkerDebugSuspend] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### Create +### CreateViaJsonString ``` New-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName - -HdInsightOnAksCluster [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-Confirm] [-WhatIf] [] + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### CreateViaIdentity +### CreateViaJsonFilePath ``` -New-AzHdInsightOnAksCluster -InputObject -HdInsightOnAksCluster - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +New-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityClusterpoolExpanded +``` +New-AzHdInsightOnAksCluster -Name -ClusterpoolInputObject -Location + [-ApplicationLogStdErrorEnabled] [-ApplicationLogStdOutEnabled] [-AssignedIdentityClientId ] + [-AssignedIdentityObjectId ] [-AssignedIdentityResourceId ] [-AuthorizationGroupId ] + [-AuthorizationUserId ] [-AutoscaleProfileAutoscaleType ] [-AutoscaleProfileEnabled] + [-AutoscaleProfileGracefulDecommissionTimeout ] [-ClusterAccessProfileEnableInternalIngress] + [-ClusterType ] [-ClusterVersion ] [-ComputeProfileNode ] + [-CoordinatorDebugEnable] [-CoordinatorDebugPort ] [-CoordinatorDebugSuspend] + [-CoordinatorHighAvailabilityEnabled] [-DatabaseHost ] [-DatabaseName ] + [-DatabasePasswordSecretRef ] [-DatabaseUsername ] [-DiskStorageDataDiskSize ] + [-DiskStorageDataDiskType ] [-EnableLogAnalytics] [-FlinkHiveCatalogDbConnectionUrl ] + [-FlinkHiveCatalogDbPasswordSecretName ] [-FlinkHiveCatalogDbUserName ] + [-FlinkProfileDeploymentMode ] [-FlinkStorageUrl ] [-FlinkTaskManagerReplicaCount ] + [-HistoryServerCpu ] [-HistoryServerMemory ] + [-HiveMetastoreDbConnectionAuthenticationMode ] [-JobManagerCpu ] [-JobManagerMemory ] + [-JobSpecArg ] [-JobSpecEntryClass ] [-JobSpecJarName ] + [-JobSpecJobJarDirectory ] [-JobSpecSavePointName ] [-JobSpecUpgradeMode ] + [-KafkaProfileEnableKRaft] [-KafkaProfileEnablePublicEndpoint] [-KafkaProfileRemoteStorageUri ] + [-KeyVaultResourceId ] [-LlapProfile ] [-LoadBasedConfigCooldownPeriod ] + [-LoadBasedConfigMaxNode ] [-LoadBasedConfigMinNode ] [-LoadBasedConfigPollInterval ] + [-LoadBasedConfigScalingRule ] [-LogAnalyticProfileMetricsEnabled] + [-MetastoreSpecDbConnectionAuthenticationMode ] [-OssVersion ] [-PrometheuProfileEnabled] + [-RangerAdmin ] [-RangerAuditStorageAccount ] [-RangerPluginProfileEnabled] + [-RangerUsersyncEnabled] [-RangerUsersyncGroup ] [-RangerUsersyncMode ] + [-RangerUsersyncUser ] [-RangerUsersyncUserMappingLocation ] + [-ScheduleBasedConfigDefaultCount ] [-ScheduleBasedConfigSchedule ] + [-ScheduleBasedConfigTimeZone ] [-ScriptActionProfile ] + [-SecretReference ] [-ServiceConfigsProfile ] + [-SparkHiveCatalogDbName ] [-SparkHiveCatalogDbPasswordSecretName ] + [-SparkHiveCatalogDbServerName ] [-SparkHiveCatalogDbUserName ] + [-SparkHiveCatalogKeyVaultId ] [-SparkStorageUrl ] [-SparkThriftUrl ] + [-SshProfileCount ] [-StorageHivecatalogName ] [-StorageHivecatalogSchema ] + [-StoragePartitionRetentionInDay ] [-StoragePath ] [-StubProfile ] + [-Tag ] [-TaskManagerCpu ] [-TaskManagerMemory ] + [-TrinoHiveCatalog ] [-TrinoProfileUserPluginsSpecPlugin ] + [-WorkerDebugEnable] [-WorkerDebugPort ] [-WorkerDebugSuspend] [-DefaultProfile ] [-AsJob] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### CreateViaIdentityClusterpool ``` -New-AzHdInsightOnAksCluster -ClusterpoolInputObject -Name - -HdInsightOnAksCluster [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] +New-AzHdInsightOnAksCluster -Name -ClusterpoolInputObject + -HdInsightOnAksCluster [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### CreateViaIdentityClusterpoolExpanded +### Create ``` -New-AzHdInsightOnAksCluster -ClusterpoolInputObject -Name - -Location [-ApplicationLogStdErrorEnabled] [-ApplicationLogStdOutEnabled] - [-AssignedIdentityClientId ] [-AssignedIdentityObjectId ] - [-AssignedIdentityResourceId ] [-AuthorizationGroupId ] [-AuthorizationUserId ] - [-AutoscaleProfileAutoscaleType ] [-AutoscaleProfileEnabled] - [-AutoscaleProfileGracefulDecommissionTimeout ] [-ClusterType ] [-ClusterVersion ] - [-ComputeProfileNode ] [-CoordinatorDebugEnable] [-CoordinatorDebugPort ] - [-CoordinatorDebugSuspend] [-CoordinatorHighAvailabilityEnabled] [-EnableLogAnalytics] - [-FlinkHiveCatalogDbConnectionUrl ] [-FlinkHiveCatalogDbPasswordSecretName ] - [-FlinkHiveCatalogDbUserName ] [-FlinkStorageUrl ] [-FlinkTaskManagerReplicaCount ] - [-HistoryServerCpu ] [-HistoryServerMemory ] [-JobManagerCpu ] - [-JobManagerMemory ] [-KafkaProfile ] [-KeyVaultResourceId ] - [-LlapProfile ] [-LoadBasedConfigCooldownPeriod ] [-LoadBasedConfigMaxNode ] - [-LoadBasedConfigMinNode ] [-LoadBasedConfigPollInterval ] - [-LoadBasedConfigScalingRule ] [-LogAnalyticProfileMetricsEnabled] [-OssVersion ] - [-PrometheuProfileEnabled] [-ScheduleBasedConfigDefaultCount ] - [-ScheduleBasedConfigSchedule ] [-ScheduleBasedConfigTimeZone ] - [-ScriptActionProfile ] [-SecretReference ] - [-ServiceConfigsProfile ] [-SparkHiveCatalogDbName ] - [-SparkHiveCatalogDbPasswordSecretName ] [-SparkHiveCatalogDbServerName ] - [-SparkHiveCatalogDbUserName ] [-SparkHiveCatalogKeyVaultId ] [-SparkStorageUrl ] - [-SparkThriftUrl ] [-SshProfileCount ] [-StorageHivecatalogName ] - [-StorageHivecatalogSchema ] [-StoragePartitionRetentionInDay ] [-StoragePath ] - [-StubProfile ] [-Tag ] [-TaskManagerCpu ] [-TaskManagerMemory ] - [-TrinoHiveCatalog ] [-TrinoProfileUserPluginsSpecPlugin ] - [-WorkerDebugEnable] [-WorkerDebugPort ] [-WorkerDebugSuspend] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] +New-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + [-SubscriptionId ] -HdInsightOnAksCluster [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### CreateViaIdentityExpanded ``` New-AzHdInsightOnAksCluster -InputObject -Location [-ApplicationLogStdErrorEnabled] [-ApplicationLogStdOutEnabled] [-AssignedIdentityClientId ] - [-AssignedIdentityObjectId ] [-AssignedIdentityResourceId ] - [-AuthorizationGroupId ] [-AuthorizationUserId ] - [-AutoscaleProfileAutoscaleType ] [-AutoscaleProfileEnabled] - [-AutoscaleProfileGracefulDecommissionTimeout ] [-ClusterType ] [-ClusterVersion ] - [-ComputeProfileNode ] [-CoordinatorDebugEnable] [-CoordinatorDebugPort ] - [-CoordinatorDebugSuspend] [-CoordinatorHighAvailabilityEnabled] [-EnableLogAnalytics] - [-FlinkHiveCatalogDbConnectionUrl ] [-FlinkHiveCatalogDbPasswordSecretName ] - [-FlinkHiveCatalogDbUserName ] [-FlinkStorageUrl ] [-FlinkTaskManagerReplicaCount ] - [-HistoryServerCpu ] [-HistoryServerMemory ] [-JobManagerCpu ] - [-JobManagerMemory ] [-KafkaProfile ] [-KeyVaultResourceId ] - [-LlapProfile ] [-LoadBasedConfigCooldownPeriod ] [-LoadBasedConfigMaxNode ] - [-LoadBasedConfigMinNode ] [-LoadBasedConfigPollInterval ] - [-LoadBasedConfigScalingRule ] [-LogAnalyticProfileMetricsEnabled] [-OssVersion ] - [-PrometheuProfileEnabled] [-ScheduleBasedConfigDefaultCount ] - [-ScheduleBasedConfigSchedule ] [-ScheduleBasedConfigTimeZone ] - [-ScriptActionProfile ] [-SecretReference ] - [-ServiceConfigsProfile ] [-SparkHiveCatalogDbName ] - [-SparkHiveCatalogDbPasswordSecretName ] [-SparkHiveCatalogDbServerName ] - [-SparkHiveCatalogDbUserName ] [-SparkHiveCatalogKeyVaultId ] [-SparkStorageUrl ] - [-SparkThriftUrl ] [-SshProfileCount ] [-StorageHivecatalogName ] - [-StorageHivecatalogSchema ] [-StoragePartitionRetentionInDay ] [-StoragePath ] - [-StubProfile ] [-Tag ] [-TaskManagerCpu ] [-TaskManagerMemory ] + [-AssignedIdentityObjectId ] [-AssignedIdentityResourceId ] [-AuthorizationGroupId ] + [-AuthorizationUserId ] [-AutoscaleProfileAutoscaleType ] [-AutoscaleProfileEnabled] + [-AutoscaleProfileGracefulDecommissionTimeout ] [-ClusterAccessProfileEnableInternalIngress] + [-ClusterType ] [-ClusterVersion ] [-ComputeProfileNode ] + [-CoordinatorDebugEnable] [-CoordinatorDebugPort ] [-CoordinatorDebugSuspend] + [-CoordinatorHighAvailabilityEnabled] [-DatabaseHost ] [-DatabaseName ] + [-DatabasePasswordSecretRef ] [-DatabaseUsername ] [-DiskStorageDataDiskSize ] + [-DiskStorageDataDiskType ] [-EnableLogAnalytics] [-FlinkHiveCatalogDbConnectionUrl ] + [-FlinkHiveCatalogDbPasswordSecretName ] [-FlinkHiveCatalogDbUserName ] + [-FlinkProfileDeploymentMode ] [-FlinkStorageUrl ] [-FlinkTaskManagerReplicaCount ] + [-HistoryServerCpu ] [-HistoryServerMemory ] + [-HiveMetastoreDbConnectionAuthenticationMode ] [-JobManagerCpu ] [-JobManagerMemory ] + [-JobSpecArg ] [-JobSpecEntryClass ] [-JobSpecJarName ] + [-JobSpecJobJarDirectory ] [-JobSpecSavePointName ] [-JobSpecUpgradeMode ] + [-KafkaProfileEnableKRaft] [-KafkaProfileEnablePublicEndpoint] [-KafkaProfileRemoteStorageUri ] + [-KeyVaultResourceId ] [-LlapProfile ] [-LoadBasedConfigCooldownPeriod ] + [-LoadBasedConfigMaxNode ] [-LoadBasedConfigMinNode ] [-LoadBasedConfigPollInterval ] + [-LoadBasedConfigScalingRule ] [-LogAnalyticProfileMetricsEnabled] + [-MetastoreSpecDbConnectionAuthenticationMode ] [-OssVersion ] [-PrometheuProfileEnabled] + [-RangerAdmin ] [-RangerAuditStorageAccount ] [-RangerPluginProfileEnabled] + [-RangerUsersyncEnabled] [-RangerUsersyncGroup ] [-RangerUsersyncMode ] + [-RangerUsersyncUser ] [-RangerUsersyncUserMappingLocation ] + [-ScheduleBasedConfigDefaultCount ] [-ScheduleBasedConfigSchedule ] + [-ScheduleBasedConfigTimeZone ] [-ScriptActionProfile ] + [-SecretReference ] [-ServiceConfigsProfile ] + [-SparkHiveCatalogDbName ] [-SparkHiveCatalogDbPasswordSecretName ] + [-SparkHiveCatalogDbServerName ] [-SparkHiveCatalogDbUserName ] + [-SparkHiveCatalogKeyVaultId ] [-SparkStorageUrl ] [-SparkThriftUrl ] + [-SshProfileCount ] [-StorageHivecatalogName ] [-StorageHivecatalogSchema ] + [-StoragePartitionRetentionInDay ] [-StoragePath ] [-StubProfile ] + [-Tag ] [-TaskManagerCpu ] [-TaskManagerMemory ] [-TrinoHiveCatalog ] [-TrinoProfileUserPluginsSpecPlugin ] [-WorkerDebugEnable] [-WorkerDebugPort ] [-WorkerDebugSuspend] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### CreateViaJsonFilePath -``` -New-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName - -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] -``` - -### CreateViaJsonString +### CreateViaIdentity ``` -New-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName -JsonString - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] +New-AzHdInsightOnAksCluster -InputObject -HdInsightOnAksCluster + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -751,13 +780,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ClusterAccessProfileEnableInternalIngress +Whether to create cluster using private IP instead of public IP. +This property must be set at create time. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ClusterpoolInputObject Identity Parameter -To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity -Parameter Sets: CreateViaIdentityClusterpool, CreateViaIdentityClusterpoolExpanded +Parameter Sets: CreateViaIdentityClusterpoolExpanded, CreateViaIdentityClusterpool Aliases: Required: True @@ -799,7 +843,6 @@ Accept wildcard characters: False ### -ComputeProfileNode The nodes definitions. -To construct, see NOTES section for COMPUTEPROFILENODE properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INodeProfile[] @@ -874,6 +917,66 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -DatabaseHost +The database URL + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseName +The database name + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabasePasswordSecretRef +Reference for the database password + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseUsername +The name of the database user + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -DefaultProfile The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. @@ -890,6 +993,37 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -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. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DiskStorageDataDiskType +Managed Disk Type. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -EnableLogAnalytics True if log analytics is enabled for the cluster, otherwise false. @@ -950,6 +1084,23 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -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 + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -FlinkStorageUrl Storage account uri which is used for savepoint and checkpoint state. @@ -982,11 +1133,10 @@ Accept wildcard characters: False ### -HdInsightOnAksCluster The cluster. -To construct, see NOTES section for HDINSIGHTONAKSCLUSTER properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ICluster -Parameter Sets: Create, CreateViaIdentity, CreateViaIdentityClusterpool +Parameter Sets: CreateViaIdentityClusterpool, Create, CreateViaIdentity Aliases: Required: True @@ -1026,13 +1176,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -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-manageview=azuresql#authentication-and-authorization + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity -Parameter Sets: CreateViaIdentity, CreateViaIdentityExpanded +Parameter Sets: CreateViaIdentityExpanded, CreateViaIdentity Aliases: Required: True @@ -1072,6 +1237,99 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JobSpecArg +A string property representing additional JVM arguments for the Flink job. +It should be space separated value. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JobSpecJarName +A string property that represents the name of the job JAR. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JobSpecJobJarDirectory +A string property that specifies the directory where the job JAR is located. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JobSpecSavePointName +A string property that represents the name of the savepoint for the Flink job + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -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. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -JsonFilePath Path of Json file supplied to the Create operation @@ -1102,11 +1360,41 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -KafkaProfile -Kafka cluster profile. +### -KafkaProfileEnableKRaft +Expose Kafka cluster in KRaft mode. ```yaml -Type: System.Collections.Hashtable +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KafkaProfileEnablePublicEndpoint +Expose worker nodes as public endpoints. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KafkaProfileRemoteStorageUri +Fully qualified path of Azure Storage container used for Tiered Storage. + +```yaml +Type: System.String Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded Aliases: @@ -1210,7 +1498,6 @@ Accept wildcard characters: False ### -LoadBasedConfigScalingRule The scaling rules. -To construct, see NOTES section for LOADBASEDCONFIGSCALINGRULE properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScalingRule[] @@ -1254,12 +1541,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -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-manageview=azuresql#authentication-and-authorization + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name The name of the HDInsight cluster. ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded, CreateViaIdentityClusterpool, CreateViaIdentityClusterpoolExpanded, CreateViaJsonFilePath, CreateViaJsonString +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityClusterpool, Create Aliases: ClusterName Required: True @@ -1304,7 +1607,7 @@ The name of the cluster pool. ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, Create Aliases: ClusterPoolName Required: True @@ -1314,6 +1617,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PrometheuProfileEnabled Enable Prometheus for cluster or not. @@ -1329,13 +1647,137 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RangerAdmin +List of usernames that should be marked as ranger admins. +These usernames should match the user principal name (UPN) of the respective AAD users. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerAuditStorageAccount +Azure storage location of the blobs. +MSI should have read/write access to this Storage account. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerPluginProfileEnabled +Enable Ranger for cluster or not. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerUsersyncEnabled +Denotes whether usersync service should be enabled + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerUsersyncGroup +List of groups that should be synced. +These group names should match the object id of the respective AAD groups. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerUsersyncMode +User & groups can be synced automatically or via a static list that's refreshed. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerUsersyncUser +List of user names that should be synced. +These usernames should match the User principal name of the respective AAD users. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerUsersyncUserMappingLocation +Azure storage location of a mapping file that lists user & group associations. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityClusterpoolExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, Create Aliases: Required: True @@ -1363,7 +1805,6 @@ Accept wildcard characters: False ### -ScheduleBasedConfigSchedule This specifies the schedules where scheduled based Autoscale to be enabled, the user has a choice to set multiple rules within the schedule across days and times (start/end). -To construct, see NOTES section for SCHEDULEBASEDCONFIGSCHEDULE properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISchedule[] @@ -1394,7 +1835,6 @@ Accept wildcard characters: False ### -ScriptActionProfile The script action profile list. -To construct, see NOTES section for SCRIPTACTIONPROFILE properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScriptActionProfile[] @@ -1410,7 +1850,6 @@ Accept wildcard characters: False ### -SecretReference Properties of Key Vault secret. -To construct, see NOTES section for SECRETREFERENCE properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISecretReference[] @@ -1426,7 +1865,6 @@ Accept wildcard characters: False ### -ServiceConfigsProfile The service configs profiles. -To construct, see NOTES section for SERVICECONFIGSPROFILE properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile[] @@ -1641,7 +2079,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, Create Aliases: Required: False @@ -1698,7 +2136,6 @@ Accept wildcard characters: False ### -TrinoHiveCatalog hive catalog options. -To construct, see NOTES section for TRINOHIVECATALOG properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHiveCatalogOption[] @@ -1714,7 +2151,6 @@ Accept wildcard characters: False ### -TrinoProfileUserPluginsSpecPlugin Trino user plugins. -To construct, see NOTES section for TRINOPROFILEUSERPLUGINSSPECPLUGIN properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITrinoUserPlugin[] @@ -1820,4 +2256,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterConfigFileObject.md b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterConfigFileObject.md index 3295f616bb06..86f68ddd9cfd 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterConfigFileObject.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterConfigFileObject.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksClusterConfigFileObject schema: 2.0.0 @@ -13,8 +13,8 @@ Create cluster config file. ## SYNTAX ``` -New-AzHdInsightOnAksClusterConfigFileObject -FileName -Value [-Confirm] [-WhatIf] - [] +New-AzHdInsightOnAksClusterConfigFileObject -FileName -Value + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -46,28 +46,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Value -List of key value pairs where key represents a valid service configuration name and value represents the value of the config. - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. +### -ProgressAction +{{ Fill ProgressAction Description }} ```yaml -Type: System.Management.Automation.SwitchParameter +Type: System.Management.Automation.ActionPreference Parameter Sets: (All) -Aliases: cf +Aliases: proga Required: False Position: Named @@ -76,16 +61,15 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. +### -Value +List of key value pairs where key represents a valid service configuration name and value represents the value of the config. ```yaml -Type: System.Management.Automation.SwitchParameter +Type: System.Collections.Hashtable Parameter Sets: (All) -Aliases: wi +Aliases: -Required: False +Required: True Position: Named Default value: None Accept pipeline input: False @@ -106,4 +90,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterHotfixUpgradeObject.md b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterHotfixUpgradeObject.md new file mode 100644 index 000000000000..cacbcffa500a --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterHotfixUpgradeObject.md @@ -0,0 +1,127 @@ +--- +external help file: Az.HdInsightOnAks-help.xml +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksClusterHotfixUpgradeObject +schema: 2.0.0 +--- + +# New-AzHdInsightOnAksClusterHotfixUpgradeObject + +## SYNOPSIS +Create an object to hold the cluster upgrade parameters. + +## SYNTAX + +``` +New-AzHdInsightOnAksClusterHotfixUpgradeObject [-ComponentName ] [-TargetBuildNumber ] + [-TargetClusterVersion ] [-TargetOssVersion ] [-ProgressAction ] + [] +``` + +## DESCRIPTION +Create an object to hold the cluster upgrade parameters. + +## EXAMPLES + +### Example 1: Create an object to hold the upgrade parameters. +```powershell +$hotfixObj = New-AzHdInsightOnAksClusterHotfixUpgradeObject -ComponentName Webssh -TargetBuildNumber 7 -TargetClusterVersion "1.1.1" -TargetOssVersion "0.4.2" +``` + +```output +Property UpgradeType +-------- ----------- +{… HotfixUpgrade +``` + +Create an object to hold the flink cluster HotfixUpgrade parameters. + +## PARAMETERS + +### -ComponentName +Name of component to be upgraded. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetBuildNumber +Target build number of component to be upgraded. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetClusterVersion +Target cluster version of component to be upgraded. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetOssVersion +Target OSS version of component to be upgraded. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade + +## NOTES + +## RELATED LINKS diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterPool.md b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterPool.md index 24b361e76953..15c6d44255ec 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterPool.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterPool.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/new-azhdinsightonaksclusterpool schema: 2.0.0 @@ -14,45 +14,50 @@ Create a cluster pool. ### CreateExpanded (Default) ``` -New-AzHdInsightOnAksClusterPool -Name -ResourceGroupName -Location - [-SubscriptionId ] [-ClusterPoolVersion ] [-EnableLogAnalytics] - [-LogAnalyticWorkspaceResourceId ] [-ManagedResourceGroupName ] [-SubnetId ] - [-Tag ] [-VmSize ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] +New-AzHdInsightOnAksClusterPool -Name -ResourceGroupName [-SubscriptionId ] + -Location [-ClusterPoolVersion ] [-EnableLogAnalytics] + [-LogAnalyticWorkspaceResourceId ] [-ManagedResourceGroupName ] + [-NetworkProfileApiServerAuthorizedIPRange ] [-NetworkProfileEnablePrivateApiServer] + [-NetworkProfileOutboundType ] [-SubnetId ] [-Tag ] [-VmSize ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### Create +### CreateViaJsonString ``` -New-AzHdInsightOnAksClusterPool -Name -ResourceGroupName -ClusterPool - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] +New-AzHdInsightOnAksClusterPool -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-WhatIf] [-Confirm] [] ``` -### CreateViaIdentity +### CreateViaJsonFilePath ``` -New-AzHdInsightOnAksClusterPool -InputObject -ClusterPool - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +New-AzHdInsightOnAksClusterPool -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-WhatIf] [-Confirm] [] ``` -### CreateViaIdentityExpanded +### Create ``` -New-AzHdInsightOnAksClusterPool -InputObject -Location - [-ClusterPoolVersion ] [-EnableLogAnalytics] [-LogAnalyticWorkspaceResourceId ] - [-ManagedResourceGroupName ] [-SubnetId ] [-Tag ] [-VmSize ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +New-AzHdInsightOnAksClusterPool -Name -ResourceGroupName [-SubscriptionId ] + -ClusterPool [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### CreateViaJsonFilePath +### CreateViaIdentityExpanded ``` -New-AzHdInsightOnAksClusterPool -Name -ResourceGroupName -JsonFilePath - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] +New-AzHdInsightOnAksClusterPool -InputObject -Location + [-ClusterPoolVersion ] [-EnableLogAnalytics] [-LogAnalyticWorkspaceResourceId ] + [-ManagedResourceGroupName ] [-NetworkProfileApiServerAuthorizedIPRange ] + [-NetworkProfileEnablePrivateApiServer] [-NetworkProfileOutboundType ] [-SubnetId ] + [-Tag ] [-VmSize ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### CreateViaJsonString +### CreateViaIdentity ``` -New-AzHdInsightOnAksClusterPool -Name -ResourceGroupName -JsonString - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] +New-AzHdInsightOnAksClusterPool -InputObject -ClusterPool + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -171,7 +176,6 @@ Accept wildcard characters: False ### -ClusterPool Cluster pool. -To construct, see NOTES section for CLUSTERPOOL properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool @@ -233,11 +237,10 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity -Parameter Sets: CreateViaIdentity, CreateViaIdentityExpanded +Parameter Sets: CreateViaIdentityExpanded, CreateViaIdentity Aliases: Required: True @@ -329,7 +332,7 @@ The name of the cluster pool. ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, Create Aliases: ClusterPoolName Required: True @@ -339,6 +342,56 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -NetworkProfileApiServerAuthorizedIPRange +IP ranges are specified in CIDR format, e.g. +137.117.106.88/29. +This feature is not compatible with private AKS clusters. +So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkProfileEnablePrivateApiServer +ClusterPool is based on AKS cluster. +AKS cluster exposes the API server to public internet by default. +If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkProfileOutboundType +This can only be set at cluster pool creation time and cannot be changed later. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -NoWait Run the command asynchronously @@ -354,13 +407,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, Create Aliases: Required: True @@ -391,7 +459,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: Create, CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, Create Aliases: Required: False @@ -478,4 +546,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.md b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.md new file mode 100644 index 000000000000..812de1c1cae2 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject.md @@ -0,0 +1,116 @@ +--- +external help file: Az.HdInsightOnAks-help.xml +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksClusterPoolAKSUpgradeObject +schema: 2.0.0 +--- + +# New-AzHdInsightOnAksClusterPoolAKSUpgradeObject + +## SYNOPSIS +Create an object to hold the cluster pool upgrade parameters. + +## SYNTAX + +``` +New-AzHdInsightOnAksClusterPoolAKSUpgradeObject [-TargetAksVersion ] [-UpgradeAllClusterNode ] + [-UpgradeClusterPool ] [-ProgressAction ] [] +``` + +## DESCRIPTION +Create an object to hold the cluster pool upgrade parameters. + +## EXAMPLES + +### Example 1: Create an object to hold the cluster pool upgrade parameters. +```powershell +New-AzHdInsightOnAksClusterPoolAKSUpgradeObject -TargetAksVersion "1.27.9" -UpgradeClusterPool $true +``` + +```output +Property UpgradeType +-------- ----------- +{… AKSPatchUpgrade +``` + +Create an object to hold the flink cluster AKSPatchUpgrade parameters. + +## PARAMETERS + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetAksVersion +Target AKS version. +When it's not set, latest version will be used. +When upgradeClusterPool is true and upgradeAllClusterNodes is false, target version should be greater or equal to current version. +When upgradeClusterPool is false and upgradeAllClusterNodes is true, target version should be equal to AKS version of cluster pool. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UpgradeAllClusterNode +whether upgrade all clusters' nodes. +If it's true, upgradeClusterPool should be false. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UpgradeClusterPool +whether upgrade cluster pool or not. +If it's true, upgradeAllClusterNodes should be false. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade + +## NOTES + +## RELATED LINKS diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterServiceConfigObject.md b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterServiceConfigObject.md index fa196f53395e..6528a5dbc5b4 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterServiceConfigObject.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterServiceConfigObject.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksClusterServiceConfigObject schema: 2.0.0 @@ -13,8 +13,8 @@ Create a component config. ## SYNTAX ``` -New-AzHdInsightOnAksClusterServiceConfigObject -ComponentName -File [-Confirm] - [-WhatIf] [] +New-AzHdInsightOnAksClusterServiceConfigObject -ComponentName -File + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -49,7 +49,6 @@ Accept wildcard characters: False ### -File List of Config Files. -To construct, see NOTES section for FILE properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterConfigFile[] @@ -63,29 +62,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Confirm -Prompts you for confirmation before running the cmdlet. +### -ProgressAction +{{ Fill ProgressAction Description }} ```yaml -Type: System.Management.Automation.SwitchParameter +Type: System.Management.Automation.ActionPreference Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi +Aliases: proga Required: False Position: Named @@ -108,4 +91,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterServiceConfigsProfileObject.md b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterServiceConfigsProfileObject.md index aa19bd20cf77..4665352d8fca 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterServiceConfigsProfileObject.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksClusterServiceConfigsProfileObject.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksClusterServiceConfigsProfileObject schema: 2.0.0 @@ -13,8 +13,8 @@ Create a service config profile. ## SYNTAX ``` -New-AzHdInsightOnAksClusterServiceConfigsProfileObject -Config -ServiceName - [-Confirm] [-WhatIf] [] +New-AzHdInsightOnAksClusterServiceConfigsProfileObject -ServiceName -Config + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -35,7 +35,6 @@ This cmdlet creates the service config profile of "yarn-service" with the compon ### -Config List of service configs. -To construct, see NOTES section for CONFIG properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfig[] @@ -49,28 +48,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ServiceName -Name of the service the configurations should apply to. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: Name - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. +### -ProgressAction +{{ Fill ProgressAction Description }} ```yaml -Type: System.Management.Automation.SwitchParameter +Type: System.Management.Automation.ActionPreference Parameter Sets: (All) -Aliases: cf +Aliases: proga Required: False Position: Named @@ -79,16 +63,15 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. +### -ServiceName +Name of the service the configurations should apply to. ```yaml -Type: System.Management.Automation.SwitchParameter +Type: System.String Parameter Sets: (All) -Aliases: wi +Aliases: Name -Required: False +Required: True Position: Named Default value: None Accept pipeline input: False @@ -111,4 +94,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksFlinkJobObject.md b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksFlinkJobObject.md index a96805cd4f0d..fe6c458e258e 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksFlinkJobObject.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksFlinkJobObject.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksFlinkJobObject schema: 2.0.0 @@ -13,9 +13,10 @@ Create an object as a parameter for submitting cluster work ## SYNTAX ``` -New-AzHdInsightOnAksFlinkJobObject -Action -JobName [-Arg ] [-EntryClass ] - [-FlinkConfiguration ] [-JarName ] [-JobJarDirectory ] - [-SavePointName ] [-Confirm] [-WhatIf] [] +New-AzHdInsightOnAksFlinkJobObject -Action -JobName [-JobJarDirectory ] + [-JarName ] [-EntryClass ] [-Arg ] [-SavePointName ] + [-FlinkConfiguration ] [-ProgressAction ] + [] ``` ## DESCRIPTION @@ -25,7 +26,7 @@ Create an object as a parameter for submitting cluster work ### Example 1: Create an object as a parameter for submitting cluster work. ```powershell - $flinkJobProperties = New-AzHdInsightOnAksFlinkJobObject -Action "NEW" -JobName "job1" ` +$flinkJobProperties = New-AzHdInsightOnAksFlinkJobObject -Action "NEW" -JobName "job1" ` -JarName "JarName" -EntryClass "com.microsoft.hilo.flink.job.streaming.SleepJob" ` -JobJarDirectory "abfs://flinkjob@hilosa.dfs.core.windows.net/jars" ` -FlinkConfiguration @{parallelism=1} @@ -34,7 +35,6 @@ Create an object as a parameter for submitting cluster work ```output Id Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType Type -- ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ---- - ``` Create an object as a parameter for submitting cluster work. @@ -91,7 +91,6 @@ Accept wildcard characters: False Additional properties used to configure Flink jobs. It allows users to set properties such as parallelism and jobSavePointDirectory. It accepts additional key-value pairs as properties, where the keys are strings and the values are strings as well. -To construct, see NOTES section for FLINKCONFIGURATION properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IFlinkJobPropertiesFlinkConfiguration @@ -150,13 +149,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -SavePointName -A string property that represents the name of the savepoint for the Flink job +### -ProgressAction +{{ Fill ProgressAction Description }} ```yaml -Type: System.String +Type: System.Management.Automation.ActionPreference Parameter Sets: (All) -Aliases: +Aliases: proga Required: False Position: Named @@ -165,29 +164,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. +### -SavePointName +A string property that represents the name of the savepoint for the Flink job ```yaml -Type: System.Management.Automation.SwitchParameter +Type: System.String Parameter Sets: (All) -Aliases: wi +Aliases: Required: False Position: Named @@ -208,4 +191,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksNodeProfileObject.md b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksNodeProfileObject.md index 8162d7e1ac09..d5186ff32113 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksNodeProfileObject.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksNodeProfileObject.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksNodeProfileObject schema: 2.0.0 @@ -13,8 +13,8 @@ Create a node profile with SKU and worker count. ## SYNTAX ``` -New-AzHdInsightOnAksNodeProfileObject -Count -Type -VMSize [-Confirm] [-WhatIf] - [] +New-AzHdInsightOnAksNodeProfileObject -Type -Count -VMSize + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -48,23 +48,23 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Type -The node type. +### -ProgressAction +{{ Fill ProgressAction Description }} ```yaml -Type: System.String +Type: System.Management.Automation.ActionPreference Parameter Sets: (All) -Aliases: +Aliases: proga -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` -### -VMSize -The number of virtual machines. +### -Type +The node type. ```yaml Type: System.String @@ -78,31 +78,15 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. +### -VMSize +The number of virtual machines. ```yaml -Type: System.Management.Automation.SwitchParameter +Type: System.String Parameter Sets: (All) -Aliases: wi +Aliases: -Required: False +Required: True Position: Named Default value: None Accept pipeline input: False @@ -121,4 +105,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksSecretReferenceObject.md b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksSecretReferenceObject.md index e8aca503e919..70a4e9ebca7a 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksSecretReferenceObject.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksSecretReferenceObject.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksSecretReferenceObject schema: 2.0.0 @@ -13,8 +13,8 @@ Create a reference to provide a secret to store the password for accessing the d ## SYNTAX ``` -New-AzHdInsightOnAksSecretReferenceObject -ReferenceName -SecretName [-Version ] - [-Confirm] [-WhatIf] [] +New-AzHdInsightOnAksSecretReferenceObject -SecretName -ReferenceName [-Version ] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -47,23 +47,23 @@ Create a reference to provide a secret to store the password for accessing the d ## PARAMETERS -### -ReferenceName -The reference name of the secret to be used in service configs. +### -ProgressAction +{{ Fill ProgressAction Description }} ```yaml -Type: System.String +Type: System.Management.Automation.ActionPreference Parameter Sets: (All) -Aliases: +Aliases: proga -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` -### -SecretName -The secret name in the key vault. +### -ReferenceName +The reference name of the secret to be used in service configs. ```yaml Type: System.String @@ -77,44 +77,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Version -The version of the secret in key vault. +### -SecretName +The secret name in the key vault. ```yaml Type: System.String Parameter Sets: (All) Aliases: -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False +Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. +### -Version +The version of the secret in key vault. ```yaml -Type: System.Management.Automation.SwitchParameter +Type: System.String Parameter Sets: (All) -Aliases: wi +Aliases: Required: False Position: Named @@ -135,4 +119,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksTrinoHiveCatalogObject.md b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksTrinoHiveCatalogObject.md index 545267250571..02c51ebb5ed9 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksTrinoHiveCatalogObject.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/New-AzHdInsightOnAksTrinoHiveCatalogObject.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/New-AzHdInsightOnAksTrinoHiveCatalogObject schema: 2.0.0 @@ -13,9 +13,9 @@ Create a hive catalog configured as a Trino cluster. ## SYNTAX ``` -New-AzHdInsightOnAksTrinoHiveCatalogObject -CatalogName -MetastoreDbConnectionPasswordSecret - -MetastoreDbConnectionUrl -MetastoreDbConnectionUserName [-MetastoreWarehouseDir ] - [-Confirm] [-WhatIf] [] +New-AzHdInsightOnAksTrinoHiveCatalogObject -CatalogName -MetastoreDbConnectionUrl + -MetastoreDbConnectionUserName -MetastoreDbConnectionPasswordSecret + [-MetastoreWarehouseDir ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -119,29 +119,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Confirm -Prompts you for confirmation before running the cmdlet. +### -ProgressAction +{{ Fill ProgressAction Description }} ```yaml -Type: System.Management.Automation.SwitchParameter +Type: System.Management.Automation.ActionPreference Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi +Aliases: proga Required: False Position: Named @@ -162,4 +146,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/Remove-AzHdInsightOnAksCluster.md b/src/HdInsightOnAks/HdInsightOnAks/help/Remove-AzHdInsightOnAksCluster.md index 3b42eb1e9f8c..11c5b15b5f58 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/Remove-AzHdInsightOnAksCluster.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/Remove-AzHdInsightOnAksCluster.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/remove-azhdinsightonakscluster schema: 2.0.0 @@ -15,20 +15,21 @@ Deletes a cluster. ### Delete (Default) ``` Remove-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] - [] + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### DeleteViaIdentity +### DeleteViaIdentityClusterpool ``` -Remove-AzHdInsightOnAksCluster -InputObject [-DefaultProfile ] [-AsJob] - [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +Remove-AzHdInsightOnAksCluster -Name -ClusterpoolInputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-Confirm] [] ``` -### DeleteViaIdentityClusterpool +### DeleteViaIdentity ``` -Remove-AzHdInsightOnAksCluster -ClusterpoolInputObject -Name - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +Remove-AzHdInsightOnAksCluster -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -68,7 +69,6 @@ Accept wildcard characters: False ### -ClusterpoolInputObject Identity Parameter -To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity @@ -100,7 +100,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity @@ -174,6 +173,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -251,4 +265,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/Remove-AzHdInsightOnAksClusterPool.md b/src/HdInsightOnAks/HdInsightOnAks/help/Remove-AzHdInsightOnAksClusterPool.md index abe4a9d42593..a9ea0d21d120 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/Remove-AzHdInsightOnAksClusterPool.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/Remove-AzHdInsightOnAksClusterPool.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/remove-azhdinsightonaksclusterpool schema: 2.0.0 @@ -15,13 +15,14 @@ Deletes a Cluster Pool. ### Delete (Default) ``` Remove-AzHdInsightOnAksClusterPool -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-Confirm] [] ``` ### DeleteViaIdentity ``` -Remove-AzHdInsightOnAksClusterPool -InputObject [-DefaultProfile ] - [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +Remove-AzHdInsightOnAksClusterPool -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -73,7 +74,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity @@ -132,6 +132,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -209,4 +224,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/Resize-AzHdInsightOnAksCluster.md b/src/HdInsightOnAks/HdInsightOnAks/help/Resize-AzHdInsightOnAksCluster.md index 6ca752edd6af..4a8c332ba4e9 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/Resize-AzHdInsightOnAksCluster.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/Resize-AzHdInsightOnAksCluster.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/resize-azhdinsightonakscluster schema: 2.0.0 @@ -15,57 +15,58 @@ Resize an existing Cluster. ### ResizeExpanded (Default) ``` Resize-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName - -Location [-SubscriptionId ] [-Tag ] [-TargetWorkerNodeCount ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-SubscriptionId ] -Location [-Tag ] [-TargetWorkerNodeCount ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] ``` -### Resize +### ResizeViaJsonString ``` Resize-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName - -ClusterResizeRequest [-SubscriptionId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### ResizeViaIdentity -``` -Resize-AzHdInsightOnAksCluster -InputObject - -ClusterResizeRequest [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### ResizeViaIdentityClusterpool +### ResizeViaJsonFilePath ``` -Resize-AzHdInsightOnAksCluster -ClusterpoolInputObject -Name - -ClusterResizeRequest [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] +Resize-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### ResizeViaIdentityClusterpoolExpanded ``` -Resize-AzHdInsightOnAksCluster -ClusterpoolInputObject -Name +Resize-AzHdInsightOnAksCluster -Name -ClusterpoolInputObject -Location [-Tag ] [-TargetWorkerNodeCount ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### ResizeViaIdentityExpanded +### ResizeViaIdentityClusterpool ``` -Resize-AzHdInsightOnAksCluster -InputObject -Location [-Tag ] - [-TargetWorkerNodeCount ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] +Resize-AzHdInsightOnAksCluster -Name -ClusterpoolInputObject + -ClusterResizeRequest [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### ResizeViaJsonFilePath +### Resize ``` Resize-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName - -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] + [-SubscriptionId ] -ClusterResizeRequest [-DefaultProfile ] [-AsJob] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### ResizeViaJsonString +### ResizeViaIdentityExpanded ``` -Resize-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName - -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] +Resize-AzHdInsightOnAksCluster -InputObject -Location [-Tag ] + [-TargetWorkerNodeCount ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### ResizeViaIdentity +``` +Resize-AzHdInsightOnAksCluster -InputObject + -ClusterResizeRequest [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -132,11 +133,10 @@ Accept wildcard characters: False ### -ClusterpoolInputObject Identity Parameter -To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity -Parameter Sets: ResizeViaIdentityClusterpool, ResizeViaIdentityClusterpoolExpanded +Parameter Sets: ResizeViaIdentityClusterpoolExpanded, ResizeViaIdentityClusterpool Aliases: Required: True @@ -148,11 +148,10 @@ Accept wildcard characters: False ### -ClusterResizeRequest The parameters for resizing a cluster. -To construct, see NOTES section for CLUSTERRESIZEREQUEST properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterResizeData -Parameter Sets: Resize, ResizeViaIdentity, ResizeViaIdentityClusterpool +Parameter Sets: ResizeViaIdentityClusterpool, Resize, ResizeViaIdentity Aliases: Required: True @@ -180,11 +179,10 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity -Parameter Sets: ResizeViaIdentity, ResizeViaIdentityExpanded +Parameter Sets: ResizeViaIdentityExpanded, ResizeViaIdentity Aliases: Required: True @@ -244,7 +242,7 @@ The name of the HDInsight cluster. ```yaml Type: System.String -Parameter Sets: Resize, ResizeExpanded, ResizeViaIdentityClusterpool, ResizeViaIdentityClusterpoolExpanded, ResizeViaJsonFilePath, ResizeViaJsonString +Parameter Sets: ResizeExpanded, ResizeViaJsonString, ResizeViaJsonFilePath, ResizeViaIdentityClusterpoolExpanded, ResizeViaIdentityClusterpool, Resize Aliases: ClusterName Required: True @@ -274,7 +272,7 @@ The name of the cluster pool. ```yaml Type: System.String -Parameter Sets: Resize, ResizeExpanded, ResizeViaJsonFilePath, ResizeViaJsonString +Parameter Sets: ResizeExpanded, ResizeViaJsonString, ResizeViaJsonFilePath, Resize Aliases: ClusterPoolName Required: True @@ -284,13 +282,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Resize, ResizeExpanded, ResizeViaJsonFilePath, ResizeViaJsonString +Parameter Sets: ResizeExpanded, ResizeViaJsonString, ResizeViaJsonFilePath, Resize Aliases: Required: True @@ -306,7 +319,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: Resize, ResizeExpanded, ResizeViaJsonFilePath, ResizeViaJsonString +Parameter Sets: ResizeExpanded, ResizeViaJsonString, ResizeViaJsonFilePath, Resize Aliases: Required: False @@ -393,4 +406,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/Set-AzHdInsightOnAksClusterPool.md b/src/HdInsightOnAks/HdInsightOnAks/help/Set-AzHdInsightOnAksClusterPool.md index 42b99e061acb..0c9e087f8626 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/Set-AzHdInsightOnAksClusterPool.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/Set-AzHdInsightOnAksClusterPool.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/set-azhdinsightonaksclusterpool schema: 2.0.0 @@ -14,32 +14,34 @@ Create a cluster pool. ### UpdateExpanded (Default) ``` -Set-AzHdInsightOnAksClusterPool -Name -ResourceGroupName -Location - [-SubscriptionId ] [-ClusterPoolVersion ] [-EnableLogAnalytics] - [-LogAnalyticWorkspaceResourceId ] [-ManagedResourceGroupName ] [-SubnetId ] - [-Tag ] [-VmSize ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] +Set-AzHdInsightOnAksClusterPool -Name -ResourceGroupName [-SubscriptionId ] + -Location [-ClusterPoolVersion ] [-EnableLogAnalytics] + [-LogAnalyticWorkspaceResourceId ] [-ManagedResourceGroupName ] + [-NetworkProfileApiServerAuthorizedIPRange ] [-NetworkProfileEnablePrivateApiServer] + [-NetworkProfileOutboundType ] [-SubnetId ] [-Tag ] [-VmSize ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### Update ``` -Set-AzHdInsightOnAksClusterPool -Name -ResourceGroupName -ClusterPool - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] +Set-AzHdInsightOnAksClusterPool -Name -ResourceGroupName [-SubscriptionId ] + -ClusterPool [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaJsonFilePath ``` -Set-AzHdInsightOnAksClusterPool -Name -ResourceGroupName -JsonFilePath - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] +Set-AzHdInsightOnAksClusterPool -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-WhatIf] [-Confirm] [] ``` ### UpdateViaJsonString ``` -Set-AzHdInsightOnAksClusterPool -Name -ResourceGroupName -JsonString - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] +Set-AzHdInsightOnAksClusterPool -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -116,7 +118,6 @@ Accept wildcard characters: False ### -ClusterPool Cluster pool. -To construct, see NOTES section for CLUSTERPOOL properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool @@ -268,6 +269,56 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -NetworkProfileApiServerAuthorizedIPRange +IP ranges are specified in CIDR format, e.g. +137.117.106.88/29. +This feature is not compatible with private AKS clusters. +So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkProfileEnablePrivateApiServer +ClusterPool is based on AKS cluster. +AKS cluster exposes the API server to public internet by default. +If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkProfileOutboundType +This can only be set at cluster pool creation time and cannot be changed later. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -NoWait Run the command asynchronously @@ -283,6 +334,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -405,4 +471,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/Start-AzHdInsightOnAksClusterJob.md b/src/HdInsightOnAks/HdInsightOnAks/help/Start-AzHdInsightOnAksClusterJob.md index 9bc348bf0391..cb4fea014e7c 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/Start-AzHdInsightOnAksClusterJob.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/Start-AzHdInsightOnAksClusterJob.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/start-azhdinsightonaksclusterjob schema: 2.0.0 @@ -15,54 +15,56 @@ Operations on jobs of HDInsight on AKS cluster. ### RunExpanded (Default) ``` Start-AzHdInsightOnAksClusterJob -ClusterName -ClusterPoolName -ResourceGroupName - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### Run +### RunViaJsonString ``` Start-AzHdInsightOnAksClusterJob -ClusterName -ClusterPoolName -ResourceGroupName - -ClusterJob [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-Confirm] [-WhatIf] [] + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### RunViaIdentity +### RunViaJsonFilePath ``` -Start-AzHdInsightOnAksClusterJob -InputObject -ClusterJob - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +Start-AzHdInsightOnAksClusterJob -ClusterName -ClusterPoolName -ResourceGroupName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### RunViaIdentityClusterpool +### RunViaIdentityClusterpoolExpanded ``` Start-AzHdInsightOnAksClusterJob -ClusterName -ClusterpoolInputObject - -ClusterJob [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### RunViaIdentityClusterpoolExpanded +### RunViaIdentityClusterpool ``` Start-AzHdInsightOnAksClusterJob -ClusterName -ClusterpoolInputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + -ClusterJob [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-WhatIf] [-Confirm] [] ``` -### RunViaIdentityExpanded +### Run ``` -Start-AzHdInsightOnAksClusterJob -InputObject [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] +Start-AzHdInsightOnAksClusterJob -ClusterName -ClusterPoolName -ResourceGroupName + [-SubscriptionId ] -ClusterJob [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### RunViaJsonFilePath +### RunViaIdentityExpanded ``` -Start-AzHdInsightOnAksClusterJob -ClusterName -ClusterPoolName -ResourceGroupName - -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] +Start-AzHdInsightOnAksClusterJob -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### RunViaJsonString +### RunViaIdentity ``` -Start-AzHdInsightOnAksClusterJob -ClusterName -ClusterPoolName -ResourceGroupName - -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] +Start-AzHdInsightOnAksClusterJob -InputObject -ClusterJob + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -125,7 +127,7 @@ Cluster job. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterJob -Parameter Sets: Run, RunViaIdentity, RunViaIdentityClusterpool +Parameter Sets: RunViaIdentityClusterpool, Run, RunViaIdentity Aliases: Required: True @@ -140,7 +142,7 @@ The name of the HDInsight cluster. ```yaml Type: System.String -Parameter Sets: Run, RunExpanded, RunViaIdentityClusterpool, RunViaIdentityClusterpoolExpanded, RunViaJsonFilePath, RunViaJsonString +Parameter Sets: RunExpanded, RunViaJsonString, RunViaJsonFilePath, RunViaIdentityClusterpoolExpanded, RunViaIdentityClusterpool, Run Aliases: Required: True @@ -152,11 +154,10 @@ Accept wildcard characters: False ### -ClusterpoolInputObject Identity Parameter -To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity -Parameter Sets: RunViaIdentityClusterpool, RunViaIdentityClusterpoolExpanded +Parameter Sets: RunViaIdentityClusterpoolExpanded, RunViaIdentityClusterpool Aliases: Required: True @@ -171,7 +172,7 @@ The name of the cluster pool. ```yaml Type: System.String -Parameter Sets: Run, RunExpanded, RunViaJsonFilePath, RunViaJsonString +Parameter Sets: RunExpanded, RunViaJsonString, RunViaJsonFilePath, Run Aliases: Required: True @@ -199,11 +200,10 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity -Parameter Sets: RunViaIdentity, RunViaIdentityExpanded +Parameter Sets: RunViaIdentityExpanded, RunViaIdentity Aliases: Required: True @@ -258,13 +258,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Run, RunExpanded, RunViaJsonFilePath, RunViaJsonString +Parameter Sets: RunExpanded, RunViaJsonString, RunViaJsonFilePath, Run Aliases: Required: True @@ -280,7 +295,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: Run, RunExpanded, RunViaJsonFilePath, RunViaJsonString +Parameter Sets: RunExpanded, RunViaJsonString, RunViaJsonFilePath, Run Aliases: Required: False @@ -337,4 +352,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/Test-AzHdInsightOnAksLocationNameAvailability.md b/src/HdInsightOnAks/HdInsightOnAks/help/Test-AzHdInsightOnAksLocationNameAvailability.md index d78b0e532cc0..88fcbe14cb53 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/Test-AzHdInsightOnAksLocationNameAvailability.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/Test-AzHdInsightOnAksLocationNameAvailability.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/test-azhdinsightonakslocationnameavailability schema: 2.0.0 @@ -15,39 +15,43 @@ Check the availability of the resource name. ### CheckExpanded (Default) ``` Test-AzHdInsightOnAksLocationNameAvailability -Location [-SubscriptionId ] [-Name ] - [-Type ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] + [-Type ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] + [] ``` -### Check +### CheckViaJsonString ``` -Test-AzHdInsightOnAksLocationNameAvailability -Location - -NameAvailabilityParameter [-SubscriptionId ] - [-DefaultProfile ] [-Confirm] [-WhatIf] [] +Test-AzHdInsightOnAksLocationNameAvailability -Location [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] + [] ``` -### CheckViaIdentity +### CheckViaJsonFilePath ``` -Test-AzHdInsightOnAksLocationNameAvailability -InputObject - -NameAvailabilityParameter [-DefaultProfile ] [-Confirm] [-WhatIf] +Test-AzHdInsightOnAksLocationNameAvailability -Location [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### CheckViaIdentityExpanded +### Check ``` -Test-AzHdInsightOnAksLocationNameAvailability -InputObject [-Name ] - [-Type ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +Test-AzHdInsightOnAksLocationNameAvailability -Location [-SubscriptionId ] + -NameAvailabilityParameter [-DefaultProfile ] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### CheckViaJsonFilePath +### CheckViaIdentityExpanded ``` -Test-AzHdInsightOnAksLocationNameAvailability -Location -JsonFilePath - [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +Test-AzHdInsightOnAksLocationNameAvailability -InputObject [-Name ] + [-Type ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] + [] ``` -### CheckViaJsonString +### CheckViaIdentity ``` -Test-AzHdInsightOnAksLocationNameAvailability -Location -JsonString - [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +Test-AzHdInsightOnAksLocationNameAvailability -InputObject + -NameAvailabilityParameter [-DefaultProfile ] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -90,11 +94,10 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity -Parameter Sets: CheckViaIdentity, CheckViaIdentityExpanded +Parameter Sets: CheckViaIdentityExpanded, CheckViaIdentity Aliases: Required: True @@ -139,7 +142,7 @@ The name of the Azure region. ```yaml Type: System.String -Parameter Sets: Check, CheckExpanded, CheckViaJsonFilePath, CheckViaJsonString +Parameter Sets: CheckExpanded, CheckViaJsonString, CheckViaJsonFilePath, Check Aliases: Required: True @@ -166,7 +169,6 @@ Accept wildcard characters: False ### -NameAvailabilityParameter Details of check name availability request body. -To construct, see NOTES section for NAMEAVAILABILITYPARAMETER properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.INameAvailabilityParameters @@ -180,13 +182,28 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SubscriptionId The ID of the target subscription. The value must be an UUID. ```yaml Type: System.String -Parameter Sets: Check, CheckExpanded, CheckViaJsonFilePath, CheckViaJsonString +Parameter Sets: CheckExpanded, CheckViaJsonString, CheckViaJsonFilePath, Check Aliases: Required: False @@ -258,4 +275,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/Update-AzHdInsightOnAksCluster.md b/src/HdInsightOnAks/HdInsightOnAks/help/Update-AzHdInsightOnAksCluster.md index 2e0e463a1e7f..ec2aa1abb1fb 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/Update-AzHdInsightOnAksCluster.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/Update-AzHdInsightOnAksCluster.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/update-azhdinsightonakscluster schema: 2.0.0 @@ -20,49 +20,123 @@ Update-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupN [-AutoscaleProfileAutoscaleType ] [-AutoscaleProfileEnabled] [-AutoscaleProfileGracefulDecommissionTimeout ] [-ClusterProfileScriptActionProfile ] - [-ClusterProfileServiceConfigsProfile ] + [-ClusterProfileServiceConfigsProfile ] [-DatabaseHost ] + [-DatabaseName ] [-DatabasePasswordSecretRef ] [-DatabaseUsername ] [-LoadBasedConfigCooldownPeriod ] [-LoadBasedConfigMaxNode ] [-LoadBasedConfigMinNode ] [-LoadBasedConfigPollInterval ] [-LoadBasedConfigScalingRule ] [-LogAnalyticProfileEnabled] [-LogAnalyticProfileMetricsEnabled] [-PrometheuProfileEnabled] + [-RangerAdmin ] [-RangerAuditStorageAccount ] [-RangerPluginProfileEnabled] + [-RangerUsersyncEnabled] [-RangerUsersyncGroup ] [-RangerUsersyncMode ] + [-RangerUsersyncUser ] [-RangerUsersyncUserMappingLocation ] [-ScheduleBasedConfigDefaultCount ] [-ScheduleBasedConfigSchedule ] [-ScheduleBasedConfigTimeZone ] [-SshProfileCount ] [-Tag ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] ``` -### Update +### UpgradeViaJsonString ``` Update-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName - -ClusterPatchRequest [-SubscriptionId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### UpdateViaIdentity +### UpgradeViaJsonFilePath ``` -Update-AzHdInsightOnAksCluster -InputObject -ClusterPatchRequest - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +Update-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### UpdateViaIdentityClusterpool +### UpgradeViaIdentityClusterpoolExpanded ``` -Update-AzHdInsightOnAksCluster -ClusterpoolInputObject -Name - -ClusterPatchRequest [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] +Update-AzHdInsightOnAksCluster -Name -ClusterpoolInputObject + -UpgradeType [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### UpgradeViaIdentityClusterpool +``` +Update-AzHdInsightOnAksCluster -Name -ClusterpoolInputObject + -ClusterUpgradeRequest [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### UpgradeExpanded +``` +Update-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + [-SubscriptionId ] -UpgradeType [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### Upgrade +``` +Update-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + [-SubscriptionId ] -ClusterUpgradeRequest [-DefaultProfile ] [-AsJob] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonString +``` +Update-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityClusterpoolExpanded ``` -Update-AzHdInsightOnAksCluster -ClusterpoolInputObject -Name +Update-AzHdInsightOnAksCluster -Name -ClusterpoolInputObject [-ApplicationLogStdErrorEnabled] [-ApplicationLogStdOutEnabled] [-AuthorizationProfileGroupId ] [-AuthorizationProfileUserId ] [-AutoscaleProfileAutoscaleType ] [-AutoscaleProfileEnabled] [-AutoscaleProfileGracefulDecommissionTimeout ] [-ClusterProfileScriptActionProfile ] - [-ClusterProfileServiceConfigsProfile ] + [-ClusterProfileServiceConfigsProfile ] [-DatabaseHost ] + [-DatabaseName ] [-DatabasePasswordSecretRef ] [-DatabaseUsername ] [-LoadBasedConfigCooldownPeriod ] [-LoadBasedConfigMaxNode ] [-LoadBasedConfigMinNode ] [-LoadBasedConfigPollInterval ] [-LoadBasedConfigScalingRule ] [-LogAnalyticProfileEnabled] [-LogAnalyticProfileMetricsEnabled] [-PrometheuProfileEnabled] + [-RangerAdmin ] [-RangerAuditStorageAccount ] [-RangerPluginProfileEnabled] + [-RangerUsersyncEnabled] [-RangerUsersyncGroup ] [-RangerUsersyncMode ] + [-RangerUsersyncUser ] [-RangerUsersyncUserMappingLocation ] [-ScheduleBasedConfigDefaultCount ] [-ScheduleBasedConfigSchedule ] [-ScheduleBasedConfigTimeZone ] [-SshProfileCount ] [-Tag ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### UpdateViaIdentityClusterpool +``` +Update-AzHdInsightOnAksCluster -Name -ClusterpoolInputObject + -ClusterPatchRequest [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### Update +``` +Update-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName + [-SubscriptionId ] -ClusterPatchRequest [-DefaultProfile ] [-AsJob] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### UpgradeViaIdentityExpanded +``` +Update-AzHdInsightOnAksCluster -InputObject -UpgradeType + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### UpgradeViaIdentity +``` +Update-AzHdInsightOnAksCluster -InputObject -ClusterUpgradeRequest + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] ``` ### UpdateViaIdentityExpanded @@ -72,27 +146,25 @@ Update-AzHdInsightOnAksCluster -InputObject [-Applicat [-AuthorizationProfileUserId ] [-AutoscaleProfileAutoscaleType ] [-AutoscaleProfileEnabled] [-AutoscaleProfileGracefulDecommissionTimeout ] [-ClusterProfileScriptActionProfile ] - [-ClusterProfileServiceConfigsProfile ] + [-ClusterProfileServiceConfigsProfile ] [-DatabaseHost ] + [-DatabaseName ] [-DatabasePasswordSecretRef ] [-DatabaseUsername ] [-LoadBasedConfigCooldownPeriod ] [-LoadBasedConfigMaxNode ] [-LoadBasedConfigMinNode ] [-LoadBasedConfigPollInterval ] [-LoadBasedConfigScalingRule ] [-LogAnalyticProfileEnabled] [-LogAnalyticProfileMetricsEnabled] [-PrometheuProfileEnabled] + [-RangerAdmin ] [-RangerAuditStorageAccount ] [-RangerPluginProfileEnabled] + [-RangerUsersyncEnabled] [-RangerUsersyncGroup ] [-RangerUsersyncMode ] + [-RangerUsersyncUser ] [-RangerUsersyncUserMappingLocation ] [-ScheduleBasedConfigDefaultCount ] [-ScheduleBasedConfigSchedule ] [-ScheduleBasedConfigTimeZone ] [-SshProfileCount ] [-Tag ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaJsonFilePath -``` -Update-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName - -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] ``` -### UpdateViaJsonString +### UpdateViaIdentity ``` -Update-AzHdInsightOnAksCluster -Name -PoolName -ResourceGroupName - -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] +Update-AzHdInsightOnAksCluster -InputObject -ClusterPatchRequest + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -129,6 +201,45 @@ CoordinatorDebugEnable : Add a key-value `"testvalue1"="111"` to the cluster config file `core-site.xml`. +### Example 2: Upgrade a cluster. +```powershell +$clusterResourceGroupName = "Group" +$clusterpoolName = "ps-test-pool" +$clusterName = "flinkcluster" +$hotfixObj = New-AzHdInsightOnAksClusterHotfixUpgradeObject -ComponentName Webssh -TargetBuildNumber 7 -TargetClusterVersion "1.1.1" -TargetOssVersion "0.4.2" +Update-AzHdInsightOnAksCluster -ResourceGroupName $clusterResourceGroupName -ClusterName $clusterName -ClusterPoolName $clusterpoolName -ClusterUpgradeRequest $hotfixObj +``` + +```output +AccessProfileEnableInternalIngress : False +AccessProfilePrivateLinkServiceId : +ApplicationLogStdErrorEnabled : +ApplicationLogStdOutEnabled : +AuthorizationProfileGroupId : +AuthorizationProfileUserId : +AutoscaleProfileAutoscaleType : +AutoscaleProfileEnabled : False +AutoscaleProfileGracefulDecommissionTimeout : +ClusterType : +ComputeProfileNode : +ConnectivityEndpointBootstrapServerEndpoint : +ConnectivityEndpointBrokerEndpoint : +ConnectivityProfileSsh : +CoordinatorDebugEnable : +CoordinatorDebugPort : +CoordinatorDebugSuspend : +CoordinatorHighAvailabilityEnabled : +DatabaseHost : +DatabaseName : +DatabasePasswordSecretRef : +DatabaseUsername : +DeploymentId : +DiskStorageDataDiskSize : 0 +... +``` + +Upgrade a cluster with type HotFix. + ## PARAMETERS ### -ApplicationLogStdErrorEnabled @@ -256,11 +367,10 @@ Accept wildcard characters: False ### -ClusterPatchRequest The patch for a cluster. -To construct, see NOTES section for CLUSTERPATCHREQUEST properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatch -Parameter Sets: Update, UpdateViaIdentity, UpdateViaIdentityClusterpool +Parameter Sets: UpdateViaIdentityClusterpool, Update, UpdateViaIdentity Aliases: Required: True @@ -272,11 +382,10 @@ Accept wildcard characters: False ### -ClusterpoolInputObject Identity Parameter -To construct, see NOTES section for CLUSTERPOOLINPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity -Parameter Sets: UpdateViaIdentityClusterpool, UpdateViaIdentityClusterpoolExpanded +Parameter Sets: UpgradeViaIdentityClusterpoolExpanded, UpgradeViaIdentityClusterpool, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityClusterpool Aliases: Required: True @@ -288,7 +397,6 @@ Accept wildcard characters: False ### -ClusterProfileScriptActionProfile The script action profile list. -To construct, see NOTES section for CLUSTERPROFILESCRIPTACTIONPROFILE properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScriptActionProfile[] @@ -304,7 +412,6 @@ Accept wildcard characters: False ### -ClusterProfileServiceConfigsProfile The service configs profiles. -To construct, see NOTES section for CLUSTERPROFILESERVICECONFIGSPROFILE properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterServiceConfigsProfile[] @@ -318,6 +425,81 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ClusterUpgradeRequest +Cluster Upgrade. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade +Parameter Sets: UpgradeViaIdentityClusterpool, Upgrade, UpgradeViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DatabaseHost +The database URL + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseName +The database name + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabasePasswordSecretRef +Reference for the database password + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseUsername +The name of the database user + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -DefaultProfile The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. @@ -336,11 +518,10 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity -Parameter Sets: UpdateViaIdentity, UpdateViaIdentityExpanded +Parameter Sets: UpgradeViaIdentityExpanded, UpgradeViaIdentity, UpdateViaIdentityExpanded, UpdateViaIdentity Aliases: Required: True @@ -355,7 +536,7 @@ Path of Json file supplied to the Update operation ```yaml Type: System.String -Parameter Sets: UpdateViaJsonFilePath +Parameter Sets: UpgradeViaJsonFilePath, UpdateViaJsonFilePath Aliases: Required: True @@ -370,7 +551,7 @@ Json string supplied to the Update operation ```yaml Type: System.String -Parameter Sets: UpdateViaJsonString +Parameter Sets: UpgradeViaJsonString, UpdateViaJsonString Aliases: Required: True @@ -443,7 +624,6 @@ Accept wildcard characters: False ### -LoadBasedConfigScalingRule The scaling rules. -To construct, see NOTES section for LOADBASEDCONFIGSCALINGRULE properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IScalingRule[] @@ -492,7 +672,7 @@ The name of the HDInsight cluster. ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded, UpdateViaIdentityClusterpool, UpdateViaIdentityClusterpoolExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Parameter Sets: UpdateExpanded, UpgradeViaJsonString, UpgradeViaJsonFilePath, UpgradeViaIdentityClusterpoolExpanded, UpgradeViaIdentityClusterpool, UpgradeExpanded, Upgrade, UpdateViaJsonString, UpdateViaJsonFilePath, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityClusterpool, Update Aliases: ClusterName Required: True @@ -522,7 +702,7 @@ The name of the cluster pool. ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Parameter Sets: UpdateExpanded, UpgradeViaJsonString, UpgradeViaJsonFilePath, UpgradeExpanded, Upgrade, UpdateViaJsonString, UpdateViaJsonFilePath, Update Aliases: ClusterPoolName Required: True @@ -532,6 +712,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PrometheuProfileEnabled Enable Prometheus for cluster or not. @@ -547,13 +742,137 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RangerAdmin +List of usernames that should be marked as ranger admins. +These usernames should match the user principal name (UPN) of the respective AAD users. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerAuditStorageAccount +Azure storage location of the blobs. +MSI should have read/write access to this Storage account. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerPluginProfileEnabled +Enable Ranger for cluster or not. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerUsersyncEnabled +Denotes whether usersync service should be enabled + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerUsersyncGroup +List of groups that should be synced. +These group names should match the object id of the respective AAD groups. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerUsersyncMode +User & groups can be synced automatically or via a static list that's refreshed. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerUsersyncUser +List of user names that should be synced. +These usernames should match the User principal name of the respective AAD users. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RangerUsersyncUserMappingLocation +Azure storage location of a mapping file that lists user & group associations. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityClusterpoolExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Parameter Sets: UpdateExpanded, UpgradeViaJsonString, UpgradeViaJsonFilePath, UpgradeExpanded, Upgrade, UpdateViaJsonString, UpdateViaJsonFilePath, Update Aliases: Required: True @@ -581,7 +900,6 @@ Accept wildcard characters: False ### -ScheduleBasedConfigSchedule This specifies the schedules where scheduled based Autoscale to be enabled, the user has a choice to set multiple rules within the schedule across days and times (start/end). -To construct, see NOTES section for SCHEDULEBASEDCONFIGSCHEDULE properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ISchedule[] @@ -631,7 +949,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Parameter Sets: UpdateExpanded, UpgradeViaJsonString, UpgradeViaJsonFilePath, UpgradeExpanded, Upgrade, UpdateViaJsonString, UpdateViaJsonFilePath, Update Aliases: Required: False @@ -656,6 +974,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -UpgradeType +Type of upgrade. + +```yaml +Type: System.String +Parameter Sets: UpgradeViaIdentityClusterpoolExpanded, UpgradeExpanded, UpgradeViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. @@ -694,6 +1027,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPatch +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterUpgrade + ### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity ## OUTPUTS @@ -703,4 +1038,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/Update-AzHdInsightOnAksClusterPool.md b/src/HdInsightOnAks/HdInsightOnAks/help/Update-AzHdInsightOnAksClusterPool.md new file mode 100644 index 000000000000..e1a9146b93d1 --- /dev/null +++ b/src/HdInsightOnAks/HdInsightOnAks/help/Update-AzHdInsightOnAksClusterPool.md @@ -0,0 +1,373 @@ +--- +external help file: Az.HdInsightOnAks-help.xml +Module Name: Az.HdInsightOnAks +online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/update-azhdinsightonaksclusterpool +schema: 2.0.0 +--- + +# Update-AzHdInsightOnAksClusterPool + +## SYNOPSIS +Upgrade a cluster pool. + +## SYNTAX + +### UpgradeExpanded (Default) +``` +Update-AzHdInsightOnAksClusterPool -Name -ResourceGroupName [-SubscriptionId ] + -UpgradeType [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### UpgradeViaJsonString +``` +Update-AzHdInsightOnAksClusterPool -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### UpgradeViaJsonFilePath +``` +Update-AzHdInsightOnAksClusterPool -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### Upgrade +``` +Update-AzHdInsightOnAksClusterPool -Name -ResourceGroupName [-SubscriptionId ] + -ClusterPoolUpgradeRequest [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### UpgradeViaIdentityExpanded +``` +Update-AzHdInsightOnAksClusterPool -InputObject -UpgradeType + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### UpgradeViaIdentity +``` +Update-AzHdInsightOnAksClusterPool -InputObject + -ClusterPoolUpgradeRequest [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Upgrade a cluster pool. + +## EXAMPLES + +### Example 1: Upgrade a cluster pool(NodeOsUpgrade). +```powershell +$clusterResourceGroupName = "Group" +$clusterpoolName = "your-clusterpool" +Update-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName -ClusterPoolName $clusterpoolName -UpgradeType NodeOsUpgrade +``` + +```output +AkClusterProfileAkClusterAgentPoolIdentityProfileMsiClientId : +AkClusterProfileAkClusterAgentPoolIdentityProfileMsiObjectId : +AkClusterProfileAkClusterAgentPoolIdentityProfileMsiResourceId : +AkClusterProfileAksClusterResourceId : +AkClusterProfileAksVersion : +AksManagedResourceGroupName : +ComputeProfileCount : +ComputeProfileVMSize : +DeploymentId : +Id : /providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/29a21725-8fec-428a-911f-dccc6ec9a6d8*F7AC27D6EE8809127228CC9761587D363E49354C7A941A3D1D0AF885952AC245 +Location : +LogAnalyticProfileEnabled : False +LogAnalyticProfileWorkspaceId : +ManagedResourceGroupName : +Name : 29a21725-8fec-428a-911f-dccc6ec9a6d8*F7AC27D6EE8809127228CC9761587D363E49354C7A941A3D1D0AF885952AC245 +NetworkProfileApiServerAuthorizedIPRange : +NetworkProfileEnablePrivateApiServer : +NetworkProfileOutboundType : +NetworkProfileSubnetId : +ProfileClusterPoolVersion : +ProvisioningState : +ResourceGroupName : +Status : +SystemDataCreatedAt : +SystemDataCreatedBy : +SystemDataCreatedByType : +SystemDataLastModifiedAt : +SystemDataLastModifiedBy : +SystemDataLastModifiedByType : +Tag : {} +Type : +``` + +Upgrade a cluster pool and upgrade type is NodeOsUpgrade. + +### Example 2: Upgrade a cluster pool(AKSPatchUpgrade). +```powershell +$clusterResourceGroupName = "Group" +$clusterpoolName = "your-clusterpool" +$upgradeObj = New-AzHdInsightOnAksClusterPoolAKSUpgradeObject -TargetAksVersion "1.27.9" -UpgradeClusterPool $true +Update-AzHdInsightOnAksClusterPool -ResourceGroupName $clusterResourceGroupName -ClusterPoolName $clusterpoolName -ClusterPoolUpgradeRequest $upgradeObj +``` + +```output +AkClusterProfileAkClusterAgentPoolIdentityProfileMsiClientId : +AkClusterProfileAkClusterAgentPoolIdentityProfileMsiObjectId : +AkClusterProfileAkClusterAgentPoolIdentityProfileMsiResourceId : +AkClusterProfileAksClusterResourceId : +AkClusterProfileAksVersion : +AksManagedResourceGroupName : +ComputeProfileCount : +ComputeProfileVMSize : +DeploymentId : +Id : /providers/Microsoft.HDInsight/locations/WESTUS3/operationStatuses/0aea8755-7a43-4c4a-96ea-a2879b9cb820*F7AC27D6EE8809127228CC9761587D363E49354C7A941A3D1D0AF885952AC245 +Location : +LogAnalyticProfileEnabled : False +LogAnalyticProfileWorkspaceId : +ManagedResourceGroupName : +Name : 0aea8755-7a43-4c4a-96ea-a2879b9cb820*F7AC27D6EE8809127228CC9761587D363E49354C7A941A3D1D0AF885952AC245 +NetworkProfileApiServerAuthorizedIPRange : +NetworkProfileEnablePrivateApiServer : +NetworkProfileOutboundType : +NetworkProfileSubnetId : +ProfileClusterPoolVersion : +ProvisioningState : +ResourceGroupName : +Status : +... +``` + +Upgrade a cluster pool and upgrade type is NodeOsUpgrade. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterPoolUpgradeRequest +Cluster Pool Upgrade. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade +Parameter Sets: Upgrade, UpgradeViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity +Parameter Sets: UpgradeViaIdentityExpanded, UpgradeViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Upgrade operation + +```yaml +Type: System.String +Parameter Sets: UpgradeViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Upgrade operation + +```yaml +Type: System.String +Parameter Sets: UpgradeViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the cluster pool. + +```yaml +Type: System.String +Parameter Sets: UpgradeExpanded, UpgradeViaJsonString, UpgradeViaJsonFilePath, Upgrade +Aliases: ClusterPoolName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpgradeExpanded, UpgradeViaJsonString, UpgradeViaJsonFilePath, Upgrade +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpgradeExpanded, UpgradeViaJsonString, UpgradeViaJsonFilePath, Upgrade +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UpgradeType +Type of upgrade. + +```yaml +Type: System.String +Parameter Sets: UpgradeExpanded, UpgradeViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPoolUpgrade + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IClusterPool + +## NOTES + +## RELATED LINKS diff --git a/src/HdInsightOnAks/HdInsightOnAks/help/Update-AzHdInsightOnAksClusterPoolTag.md b/src/HdInsightOnAks/HdInsightOnAks/help/Update-AzHdInsightOnAksClusterPoolTag.md index 57639b7304d1..5e30880fb617 100644 --- a/src/HdInsightOnAks/HdInsightOnAks/help/Update-AzHdInsightOnAksClusterPoolTag.md +++ b/src/HdInsightOnAks/HdInsightOnAks/help/Update-AzHdInsightOnAksClusterPoolTag.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.HdInsightOnAks-help.xml Module Name: Az.HdInsightOnAks online version: https://learn.microsoft.com/powershell/module/az.hdinsightonaks/update-azhdinsightonaksclusterpooltag schema: 2.0.0 @@ -15,41 +15,43 @@ Updates an existing Cluster Pool Tags. ### UpdateExpanded (Default) ``` Update-AzHdInsightOnAksClusterPoolTag -ClusterPoolName -ResourceGroupName - [-SubscriptionId ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] + [-SubscriptionId ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### Update +### UpdateViaJsonString ``` Update-AzHdInsightOnAksClusterPoolTag -ClusterPoolName -ResourceGroupName - -ClusterPoolTag [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-Confirm] [-WhatIf] [] + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### UpdateViaIdentity +### UpdateViaJsonFilePath ``` -Update-AzHdInsightOnAksClusterPoolTag -InputObject -ClusterPoolTag - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +Update-AzHdInsightOnAksClusterPoolTag -ClusterPoolName -ResourceGroupName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### UpdateViaIdentityExpanded +### Update ``` -Update-AzHdInsightOnAksClusterPoolTag -InputObject [-Tag ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +Update-AzHdInsightOnAksClusterPoolTag -ClusterPoolName -ResourceGroupName + [-SubscriptionId ] -ClusterPoolTag [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` -### UpdateViaJsonFilePath +### UpdateViaIdentityExpanded ``` -Update-AzHdInsightOnAksClusterPoolTag -ClusterPoolName -ResourceGroupName - -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] +Update-AzHdInsightOnAksClusterPoolTag -InputObject [-Tag ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] ``` -### UpdateViaJsonString +### UpdateViaIdentity ``` -Update-AzHdInsightOnAksClusterPoolTag -ClusterPoolName -ResourceGroupName - -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] +Update-AzHdInsightOnAksClusterPoolTag -InputObject -ClusterPoolTag + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -121,7 +123,7 @@ The name of the cluster pool. ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath, Update Aliases: Required: True @@ -133,7 +135,6 @@ Accept wildcard characters: False ### -ClusterPoolTag Tags object for patch operations. -To construct, see NOTES section for CLUSTERPOOLTAG properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.ITagsObject @@ -165,11 +166,10 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.HdInsightOnAks.Models.IHdInsightOnAksIdentity -Parameter Sets: UpdateViaIdentity, UpdateViaIdentityExpanded +Parameter Sets: UpdateViaIdentityExpanded, UpdateViaIdentity Aliases: Required: True @@ -224,13 +224,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath, Update Aliases: Required: True @@ -246,7 +261,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath, Update Aliases: Required: False @@ -318,4 +333,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/tools/StaticAnalysis/Exceptions/Az.HdInsightOnAks/SignatureIssues.csv b/tools/StaticAnalysis/Exceptions/Az.HdInsightOnAks/SignatureIssues.csv index 19c4bd7cfa70..4f1f9ef43f5f 100644 --- a/tools/StaticAnalysis/Exceptions/Az.HdInsightOnAks/SignatureIssues.csv +++ b/tools/StaticAnalysis/Exceptions/Az.HdInsightOnAks/SignatureIssues.csv @@ -3,3 +3,5 @@ Module,ClassName,Target,Severity,ProblemId,Description,Remediation "Az.HdInsightOnAks","New-AzHdInsightOnAksClusterPool","New-AzHdInsightOnAksClusterPool","1","8410","Parameter EnableLogAnalytics of cmdlet New-AzHdInsightOnAksClusterPool does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name." "Az.HdInsightOnAks","Set-AzHdInsightOnAksClusterPool","Set-AzHdInsightOnAksClusterPool","1","8410","Parameter EnableLogAnalytics of cmdlet Set-AzHdInsightOnAksClusterPool does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name." "Az.HdInsightOnAks","New-AzHdInsightOnAksFlinkJobObject","New-AzHdInsightOnAksFlinkJobObject","1","8410","Parameter EntryClass of cmdlet New-AzHdInsightOnAksFlinkJobObject does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name." +"Az.HdInsightOnAks","New-AzHdInsightOnAksCluster","New-AzHdInsightOnAksCluster","1","8410","Parameter ClusterAccessProfileEnableInternalIngress of cmdlet New-AzHdInsightOnAksCluster does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name." +"Az.HdInsightOnAks","New-AzHdInsightOnAksCluster","New-AzHdInsightOnAksCluster","1","8410","Parameter JobSpecEntryClass of cmdlet New-AzHdInsightOnAksCluster does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name."