From 02eeee02baf12fda03c2d2163068190285c6bc42 Mon Sep 17 00:00:00 2001 From: yuc-Li <58678302+yuc-Li@users.noreply.github.com> Date: Fri, 1 Nov 2024 14:41:27 +0800 Subject: [PATCH] [HDInsight] Fix bug and add new parameter. (#26133) * Regenerate * Update help doc * Update test * fix a bug and add a param -Tag * Update test * Update help doc * Update changelog. * Update changelog * update example * Update changelog * Update a example error * Remove some change * Update test * SignatureIssue * Update SignatureIssue * Update * Update * Update --------- Co-authored-by: v-yuchenli --- .../Generated/ClustersOperations.cs | 3 +- .../Generated/IClustersOperations.cs | 3 +- .../Models/ClusterPatchParameters.cs | 6 +- .../HDInsight.Management.Sdk/README.md | 2 +- .../ScenarioTests/HDInsightClusterTests.cs | 18 +- .../ScenarioTests/HDInsightClusterTests.ps1 | 75 +++- .../TestUpdateCluster.json | 359 ------------------ .../TestUpdateClusterSystemAssigned.json | 152 ++++++++ .../TestUpdateClusterTags.json | 158 ++++++++ .../TestUpdateClusterUserAssigned.json | 152 ++++++++ src/HDInsight/HDInsight/ChangeLog.md | 1 + .../NewAzureHDInsightClusterCommand.cs | 2 +- .../UpdateAzureHDInsightClusterCommand.cs | 10 +- .../help/Add-AzHDInsightClusterIdentity.md | 19 +- .../help/Add-AzHDInsightComponentVersion.md | 17 +- .../help/Add-AzHDInsightConfigValue.md | 17 +- .../help/Add-AzHDInsightMetastore.md | 17 +- .../help/Add-AzHDInsightScriptAction.md | 17 +- .../help/Add-AzHDInsightSecurityProfile.md | 17 +- .../HDInsight/help/Add-AzHDInsightStorage.md | 17 +- .../help/Disable-AzHDInsightAzureMonitor.md | 21 +- .../Disable-AzHDInsightAzureMonitorAgent.md | 21 +- .../help/Disable-AzHDInsightMonitoring.md | 17 +- .../help/Enable-AzHDInsightAzureMonitor.md | 21 +- .../Enable-AzHDInsightAzureMonitorAgent.md | 21 +- .../help/Enable-AzHDInsightMonitoring.md | 17 +- .../help/Get-AzHDInsightAzureMonitor.md | 21 +- .../help/Get-AzHDInsightAzureMonitorAgent.md | 21 +- .../HDInsight/help/Get-AzHDInsightCluster.md | 17 +- ...zHDInsightClusterAutoscaleConfiguration.md | 21 +- .../HDInsight/help/Get-AzHDInsightHost.md | 21 +- .../HDInsight/help/Get-AzHDInsightJob.md | 17 +- .../help/Get-AzHDInsightJobOutput.md | 17 +- .../help/Get-AzHDInsightMonitoring.md | 17 +- .../Get-AzHDInsightPersistedScriptAction.md | 17 +- .../HDInsight/help/Get-AzHDInsightProperty.md | 17 +- .../Get-AzHDInsightScriptActionHistory.md | 17 +- .../help/Invoke-AzHDInsightHiveJob.md | 17 +- .../HDInsight/help/New-AzHDInsightCluster.md | 41 +- ...zHDInsightClusterAutoscaleConfiguration.md | 19 +- ...nsightClusterAutoscaleScheduleCondition.md | 17 +- .../help/New-AzHDInsightClusterConfig.md | 17 +- .../help/New-AzHDInsightHiveJobDefinition.md | 17 +- .../help/New-AzHDInsightIPConfiguration.md | 17 +- .../New-AzHDInsightMapReduceJobDefinition.md | 17 +- .../help/New-AzHDInsightPigJobDefinition.md | 17 +- ...New-AzHDInsightPrivateLinkConfiguration.md | 17 +- .../help/New-AzHDInsightSqoopJobDefinition.md | 17 +- ...DInsightStreamingMapReduceJobDefinition.md | 17 +- .../help/Remove-AzHDInsightCluster.md | 17 +- ...zHDInsightClusterAutoscaleConfiguration.md | 21 +- ...Remove-AzHDInsightPersistedScriptAction.md | 17 +- .../HDInsight/help/Restart-AzHDInsightHost.md | 19 +- ...zHDInsightClusterAutoscaleConfiguration.md | 33 +- ...Set-AzHDInsightClusterDiskEncryptionKey.md | 21 +- .../help/Set-AzHDInsightClusterSize.md | 17 +- .../help/Set-AzHDInsightDefaultStorage.md | 17 +- .../help/Set-AzHDInsightGatewayCredential.md | 21 +- .../Set-AzHDInsightPersistedScriptAction.md | 17 +- .../HDInsight/help/Start-AzHDInsightJob.md | 17 +- .../HDInsight/help/Stop-AzHDInsightJob.md | 17 +- .../help/Submit-AzHDInsightScriptAction.md | 17 +- .../help/Update-AzHDInsightCluster.md | 61 ++- .../HDInsight/help/Use-AzHDInsightCluster.md | 17 +- .../HDInsight/help/Wait-AzHDInsightJob.md | 17 +- .../Az.HDInsight/BreakingChangeIssues.csv | 2 + .../Az.HDInsight/SignatureIssues.csv | 2 +- 67 files changed, 1482 insertions(+), 481 deletions(-) delete mode 100644 src/HDInsight/HDInsight.Test/SessionRecords/Commands.HDInsight.Test.ScenarioTests.HDInsightClusterTests/TestUpdateCluster.json create mode 100644 src/HDInsight/HDInsight.Test/SessionRecords/Commands.HDInsight.Test.ScenarioTests.HDInsightClusterTests/TestUpdateClusterSystemAssigned.json create mode 100644 src/HDInsight/HDInsight.Test/SessionRecords/Commands.HDInsight.Test.ScenarioTests.HDInsightClusterTests/TestUpdateClusterTags.json create mode 100644 src/HDInsight/HDInsight.Test/SessionRecords/Commands.HDInsight.Test.ScenarioTests.HDInsightClusterTests/TestUpdateClusterUserAssigned.json create mode 100644 tools/StaticAnalysis/Exceptions/Az.HDInsight/BreakingChangeIssues.csv diff --git a/src/HDInsight/HDInsight.Management.Sdk/Generated/ClustersOperations.cs b/src/HDInsight/HDInsight.Management.Sdk/Generated/ClustersOperations.cs index 4fedfdf1bfa3..763377e2fd0d 100644 --- a/src/HDInsight/HDInsight.Management.Sdk/Generated/ClustersOperations.cs +++ b/src/HDInsight/HDInsight.Management.Sdk/Generated/ClustersOperations.cs @@ -76,7 +76,8 @@ internal ClustersOperations (HDInsightManagementClient client) /// The resource tags. /// /// - /// The identity of the cluster, if configured. + /// The identity of the cluster, if configured. Setting this property will + /// override the existing identity configuration of the cluster. /// /// /// Headers that will be added to request. diff --git a/src/HDInsight/HDInsight.Management.Sdk/Generated/IClustersOperations.cs b/src/HDInsight/HDInsight.Management.Sdk/Generated/IClustersOperations.cs index fbc355fcfeda..9ce647fae7d0 100644 --- a/src/HDInsight/HDInsight.Management.Sdk/Generated/IClustersOperations.cs +++ b/src/HDInsight/HDInsight.Management.Sdk/Generated/IClustersOperations.cs @@ -58,7 +58,8 @@ public partial interface IClustersOperations /// The resource tags. /// /// - /// The identity of the cluster, if configured. + /// The identity of the cluster, if configured. Setting this property will + /// override the existing identity configuration of the cluster. /// /// /// The headers that will be added to request. diff --git a/src/HDInsight/HDInsight.Management.Sdk/Generated/Models/ClusterPatchParameters.cs b/src/HDInsight/HDInsight.Management.Sdk/Generated/Models/ClusterPatchParameters.cs index af4258aeb7df..5fbaccb79afb 100644 --- a/src/HDInsight/HDInsight.Management.Sdk/Generated/Models/ClusterPatchParameters.cs +++ b/src/HDInsight/HDInsight.Management.Sdk/Generated/Models/ClusterPatchParameters.cs @@ -27,7 +27,8 @@ public ClusterPatchParameters() /// The resource tags. /// - /// The identity of the cluster, if configured. + /// The identity of the cluster, if configured. Setting this property will + /// override the existing identity configuration of the cluster. /// public ClusterPatchParameters(System.Collections.Generic.IDictionary tags = default(System.Collections.Generic.IDictionary), ClusterIdentity identity = default(ClusterIdentity)) @@ -50,7 +51,8 @@ public ClusterPatchParameters() public System.Collections.Generic.IDictionary Tags {get; set; } /// - /// Gets or sets the identity of the cluster, if configured. + /// Gets or sets the identity of the cluster, if configured. Setting this + /// property will override the existing identity configuration of the cluster. /// [Newtonsoft.Json.JsonProperty(PropertyName = "identity")] public ClusterIdentity Identity {get; set; } diff --git a/src/HDInsight/HDInsight.Management.Sdk/README.md b/src/HDInsight/HDInsight.Management.Sdk/README.md index 40da6d570718..d5947c42b371 100644 --- a/src/HDInsight/HDInsight.Management.Sdk/README.md +++ b/src/HDInsight/HDInsight.Management.Sdk/README.md @@ -29,7 +29,7 @@ skip-csproj: true ### ``` yaml -commit: f22b814a1a30517cb6612c8fe071cfbcc64e3a2c +commit: 339220060c53b1f6c04cdfa10dc577a9a961572f input-file: - https://github.com/Azure/azure-rest-api-specs/blob/$(commit)/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/applications.json - https://github.com/Azure/azure-rest-api-specs/blob/$(commit)/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/cluster.json diff --git a/src/HDInsight/HDInsight.Test/ScenarioTests/HDInsightClusterTests.cs b/src/HDInsight/HDInsight.Test/ScenarioTests/HDInsightClusterTests.cs index 22207be9ba74..c08557dbb43e 100644 --- a/src/HDInsight/HDInsight.Test/ScenarioTests/HDInsightClusterTests.cs +++ b/src/HDInsight/HDInsight.Test/ScenarioTests/HDInsightClusterTests.cs @@ -118,9 +118,23 @@ public void TestCreateClusterWithPrivateLinkConfiguration() [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] - public void TestUpdateCluster() + public void TestUpdateClusterTags() { - TestRunner.RunTestScript("Test-UpdateClusterTagsAndIdentity"); + TestRunner.RunTestScript("Test-UpdateClusterTags"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestUpdateClusterSystemAssigned() + { + TestRunner.RunTestScript("Test-UpdateClusterSystemAssigned"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestUpdateClusterUserAssigned() + { + TestRunner.RunTestScript("Test-UpdateClusterUserAssigned"); } } } diff --git a/src/HDInsight/HDInsight.Test/ScenarioTests/HDInsightClusterTests.ps1 b/src/HDInsight/HDInsight.Test/ScenarioTests/HDInsightClusterTests.ps1 index 14074a7fc012..c365bdd85c78 100644 --- a/src/HDInsight/HDInsight.Test/ScenarioTests/HDInsightClusterTests.ps1 +++ b/src/HDInsight/HDInsight.Test/ScenarioTests/HDInsightClusterTests.ps1 @@ -534,32 +534,79 @@ function Test-CreateClusterWithPrivateLinkConfiguration{ <# .SYNOPSIS -Test Update clusterIdentity +Test Update cluster tags #> -function Test-UpdateClusterTagsAndIdentity{ - +function Test-UpdateClusterTags{ # Create some resources that will be used throughout test try { - $location = "East US" + # prepare parameter for creating parameter + #$params= Prepare-ClusterCreateParameter - # create cluster that will be used throughout test - $cluster = Get-AzHDInsightCluster -ResourceGroupName yuchen-ps-test -ClusterName spark51 - Assert-NotNull $cluster + $rg="yuchen-devrp" + $clusterName="yuchen-hadoop-002" # Update cluster tags - #$tags = @{"tag1"="value1";"tag2"="value2"} - #Update-AzHDInsightCluster -ResourceGroupName yuchen-ps-test -ClusterName spark51 -Tag @{"Tag1"="Value1"; "Tag2"="Value2"} + $tags = New-Object 'System.Collections.Generic.Dictionary[System.String,System.String]' + $tags.Add('Tag3', 'Value3') + + $cluster = Update-AzHDInsightCluster -ResourceGroupName $rg -ClusterName $clusterName -Tag $tags + } + finally + { + # Delete cluster and resource group + # Remove-AzResourceGroup -ResourceGroupName $params.resourceGroupName + } +} - # Update cluster identity - # Update-AzHDInsightCluster -ResourceGroupName yuchen-ps-test -ClusterName spark51 -IdentityType SystemAssigned +<# +.SYNOPSIS +Test Update cluster System Assigned Identity +#> +function Test-UpdateClusterSystemAssigned{ + try + { + $rg="yuchen-ps-test" + $clusterName="h1-spark" - # Update cluster identity - Update-AzHDInsightCluster -ResourceGroupName yuchen-ps-test -ClusterName spark51 -IdentityType UserAssigned -IdentityId "/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdi-msi" + $cluster = Update-AzHDInsightCluster -ResourceGroupName $rg -ClusterName $clusterName -IdentityType SystemAssigned + + Assert-NotNull $cluster + Assert-AreEqual $cluster.AssignedIdentity.Type SystemAssigned + } + finally + { + # Delete cluster and resource group + # Remove-AzResourceGroup -ResourceGroupName $params.resourceGroupName + } +} + +<# +.SYNOPSIS +Test Update cluster User Assigned Identity +#> +function Test-UpdateClusterUserAssigned{ + try + { + $rg="yuchen-ps-test" + $clusterName="h1-spark" + + # Define the list of Identity IDs + $identityIds = @( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/yuchen-ps-test/providers/microsoft.managedidentity/userassignedidentities/hdi-msi", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yuchen-devrp/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdiwasbmsi" + ) + + $cluster = Update-AzHDInsightCluster -ResourceGroupName $rg -ClusterName $clusterName -IdentityType UserAssigned -IdentityId $identityIds + + Assert-NotNull $cluster + Assert-AreEqual $cluster.AssignedIdentity.Type UserAssigned } finally { + # Delete cluster and resource group + # Remove-AzResourceGroup -ResourceGroupName $params.resourceGroupName } -} \ No newline at end of file +} diff --git a/src/HDInsight/HDInsight.Test/SessionRecords/Commands.HDInsight.Test.ScenarioTests.HDInsightClusterTests/TestUpdateCluster.json b/src/HDInsight/HDInsight.Test/SessionRecords/Commands.HDInsight.Test.ScenarioTests.HDInsightClusterTests/TestUpdateCluster.json deleted file mode 100644 index 557b53f87b1b..000000000000 --- a/src/HDInsight/HDInsight.Test/SessionRecords/Commands.HDInsight.Test.ScenarioTests.HDInsightClusterTests/TestUpdateCluster.json +++ /dev/null @@ -1,359 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.HDInsight/clusters/spark51?api-version=2024-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTY0YzEwYmItOGE2Yy00M2JjLTgzZDMtNmIzMThjNmM3MzA1L3Jlc291cmNlR3JvdXBzL3l1Y2hlbi1wcy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuSERJbnNpZ2h0L2NsdXN0ZXJzL3NwYXJrNTE/YXBpLXZlcnNpb249MjAyNC0wOC0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestHeaders": { - "x-ms-client-request-id": [ - "895bed1b-c84f-4aa2-a966-9ebc4265dc7f" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/6.0.3324.36610", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.22631", - "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/6.1.0" - ] - }, - "RequestBody": "", - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "327acf4a-8f7d-43ca-ad5d-8f317fb4eaab" - ], - "x-ms-hdi-served-by": [ - "eastus" - ], - "x-ms-correlation-request-id": [ - "a8623259-f582-4ece-ad36-9283c2864c14" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11999" - ], - "x-ms-routing-request-id": [ - "SOUTHINDIA:20240822T095551Z:a8623259-f582-4ece-ad36-9283c2864c14" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Cache": [ - "CONFIG_NOCACHE" - ], - "X-MSEdge-Ref": [ - "Ref A: CAF581E45FBC4C519BC28DAD25E75A6B Ref B: MAA201060515035 Ref C: 2024-08-22T09:55:49Z" - ], - "Date": [ - "Thu, 22 Aug 2024 09:55:50 GMT" - ], - "Content-Length": [ - "3292" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"clusterVersion\": \"5.1.3000.0\",\r\n \"clusterHdpVersion\": \"5.1.5.6\",\r\n \"osType\": \"Linux\",\r\n \"clusterDefinition\": {\r\n \"blueprint\": \"https://blueprints.azurehdinsight.net/spark-5.1.3000.0.2407260448.json\",\r\n \"kind\": \"SPARK\",\r\n \"componentVersion\": {\r\n \"Spark\": \"3.3\"\r\n }\r\n },\r\n \"clusterId\": \"7ce208572b3d4089abe86a38c548c831\",\r\n \"computeProfile\": {\r\n \"roles\": [\r\n {\r\n \"name\": \"headnode\",\r\n \"targetInstanceCount\": 2,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_e8_v3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"workernode\",\r\n \"targetInstanceCount\": 4,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_e8_v3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"zookeepernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_a2_v2\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"clusterState\": \"Running\",\r\n \"createdDate\": \"2024-08-20T05:09:58.45\",\r\n \"quotaInfo\": {\r\n \"coresUsed\": 48\r\n },\r\n \"connectivityEndpoints\": [\r\n {\r\n \"name\": \"SSH\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"spark51-ssh.azurehdinsight.net\",\r\n \"port\": 22\r\n },\r\n {\r\n \"name\": \"HTTPS\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"spark51.azurehdinsight.net\",\r\n \"port\": 443\r\n },\r\n {\r\n \"name\": \"HTTPS-INTERNAL\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"spark51-int.azurehdinsight.net\",\r\n \"port\": 443,\r\n \"privateIPAddress\": \"10.0.0.33\"\r\n }\r\n ],\r\n \"tier\": \"standard\",\r\n \"encryptionInTransitProperties\": {\r\n \"isEncryptionInTransitEnabled\": true\r\n },\r\n \"storageProfile\": {\r\n \"storageaccounts\": [\r\n {\r\n \"name\": \"spark51hdistorage.blob.core.windows.net\",\r\n \"resourceId\": \"\",\r\n \"msiResourceId\": null,\r\n \"key\": null,\r\n \"fileSystem\": null,\r\n \"container\": \"spark51-2024-08-20t05-08-35-915z\",\r\n \"saskey\": null,\r\n \"isDefault\": true,\r\n \"enableSecureChannel\": true,\r\n \"fileshare\": null\r\n }\r\n ]\r\n },\r\n \"minSupportedTlsVersion\": \"1.2\",\r\n \"excludedServicesConfig\": {\r\n \"excludedServicesConfigId\": \"default\",\r\n \"excludedServicesList\": \"\"\r\n },\r\n \"computeIsolationProperties\": {\r\n \"enableComputeIsolation\": false,\r\n \"hostSku\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.HDInsight/clusters/spark51\",\r\n \"name\": \"spark51\",\r\n \"type\": \"Microsoft.HDInsight/clusters\",\r\n \"location\": \"East US\",\r\n \"etag\": \"cdc4ae1e-599b-49be-be08-63a416a0ef12\",\r\n \"tags\": {},\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"4a3344ae-50a5-4b36-bed7-7fc95c429045\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n }\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.HDInsight/clusters/spark51?api-version=2024-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTY0YzEwYmItOGE2Yy00M2JjLTgzZDMtNmIzMThjNmM3MzA1L3Jlc291cmNlR3JvdXBzL3l1Y2hlbi1wcy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuSERJbnNpZ2h0L2NsdXN0ZXJzL3NwYXJrNTE/YXBpLXZlcnNpb249MjAyNC0wOC0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestHeaders": { - "x-ms-client-request-id": [ - "d2aff83e-f45d-4522-8b2d-b81b846635b2" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/6.0.3324.36610", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.22631", - "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/6.1.0" - ] - }, - "RequestBody": "", - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "d7f9bfa9-a58e-4a10-9b94-6f93dd64bc6e" - ], - "x-ms-hdi-served-by": [ - "eastus" - ], - "x-ms-correlation-request-id": [ - "16c103bd-426c-47a3-bc56-33ddfb4fa78a" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11995" - ], - "x-ms-routing-request-id": [ - "SOUTHINDIA:20240822T095604Z:16c103bd-426c-47a3-bc56-33ddfb4fa78a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Cache": [ - "CONFIG_NOCACHE" - ], - "X-MSEdge-Ref": [ - "Ref A: F8A7F37818B445F6A3714E93095A08AE Ref B: MAA201060515045 Ref C: 2024-08-22T09:56:03Z" - ], - "Date": [ - "Thu, 22 Aug 2024 09:56:03 GMT" - ], - "Content-Length": [ - "3383" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"clusterVersion\": \"5.1.3000.0\",\r\n \"clusterHdpVersion\": \"5.1.5.6\",\r\n \"osType\": \"Linux\",\r\n \"clusterDefinition\": {\r\n \"blueprint\": \"https://blueprints.azurehdinsight.net/spark-5.1.3000.0.2407260448.json\",\r\n \"kind\": \"SPARK\",\r\n \"componentVersion\": {\r\n \"Spark\": \"3.3\"\r\n }\r\n },\r\n \"clusterId\": \"7ce208572b3d4089abe86a38c548c831\",\r\n \"computeProfile\": {\r\n \"roles\": [\r\n {\r\n \"name\": \"headnode\",\r\n \"targetInstanceCount\": 2,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_e8_v3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"workernode\",\r\n \"targetInstanceCount\": 4,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_e8_v3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"zookeepernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_a2_v2\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"clusterState\": \"HdInsightConfiguration\",\r\n \"createdDate\": \"2024-08-20T05:09:58.45\",\r\n \"quotaInfo\": {\r\n \"coresUsed\": 48\r\n },\r\n \"connectivityEndpoints\": [\r\n {\r\n \"name\": \"SSH\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"spark51-ssh.azurehdinsight.net\",\r\n \"port\": 22\r\n },\r\n {\r\n \"name\": \"HTTPS\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"spark51.azurehdinsight.net\",\r\n \"port\": 443\r\n },\r\n {\r\n \"name\": \"HTTPS-INTERNAL\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"spark51-int.azurehdinsight.net\",\r\n \"port\": 443,\r\n \"privateIPAddress\": \"10.0.0.33\"\r\n }\r\n ],\r\n \"tier\": \"standard\",\r\n \"encryptionInTransitProperties\": {\r\n \"isEncryptionInTransitEnabled\": true\r\n },\r\n \"storageProfile\": {\r\n \"storageaccounts\": [\r\n {\r\n \"name\": \"spark51hdistorage.blob.core.windows.net\",\r\n \"resourceId\": \"\",\r\n \"msiResourceId\": null,\r\n \"key\": null,\r\n \"fileSystem\": null,\r\n \"container\": \"spark51-2024-08-20t05-08-35-915z\",\r\n \"saskey\": null,\r\n \"isDefault\": true,\r\n \"enableSecureChannel\": true,\r\n \"fileshare\": null\r\n }\r\n ]\r\n },\r\n \"minSupportedTlsVersion\": \"1.2\",\r\n \"excludedServicesConfig\": {\r\n \"excludedServicesConfigId\": \"default\",\r\n \"excludedServicesList\": \"\"\r\n },\r\n \"computeIsolationProperties\": {\r\n \"enableComputeIsolation\": false,\r\n \"hostSku\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.HDInsight/clusters/spark51\",\r\n \"name\": \"spark51\",\r\n \"type\": \"Microsoft.HDInsight/clusters\",\r\n \"location\": \"East US\",\r\n \"etag\": \"cdc4ae1e-599b-49be-be08-63a416a0ef12\",\r\n \"tags\": {},\r\n \"identity\": {\r\n \"type\": \"UserAssigned\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourcegroups/yuchen-ps-test/providers/microsoft.managedidentity/userassignedidentities/hdi-msi\": {}\r\n }\r\n }\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.HDInsight/clusters/spark51/configurations/core-site?api-version=2024-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTY0YzEwYmItOGE2Yy00M2JjLTgzZDMtNmIzMThjNmM3MzA1L3Jlc291cmNlR3JvdXBzL3l1Y2hlbi1wcy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuSERJbnNpZ2h0L2NsdXN0ZXJzL3NwYXJrNTEvY29uZmlndXJhdGlvbnMvY29yZS1zaXRlP2FwaS12ZXJzaW9uPTIwMjQtMDgtMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestHeaders": { - "x-ms-client-request-id": [ - "895bed1b-c84f-4aa2-a966-9ebc4265dc7f" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/6.0.3324.36610", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.22631", - "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/6.1.0" - ] - }, - "RequestBody": "", - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "ab496510-7ead-4822-9835-0b94bc5420fe" - ], - "x-ms-hdi-served-by": [ - "eastus" - ], - "x-ms-correlation-request-id": [ - "4d29e943-05ca-43fd-a330-81796914d362" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" - ], - "x-ms-routing-request-id": [ - "SOUTHINDIA:20240822T095553Z:4d29e943-05ca-43fd-a330-81796914d362" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Cache": [ - "CONFIG_NOCACHE" - ], - "X-MSEdge-Ref": [ - "Ref A: 9312EF0A308B4E34933901C542171AAE Ref B: MAA201060515035 Ref C: 2024-08-22T09:55:51Z" - ], - "Date": [ - "Thu, 22 Aug 2024 09:55:52 GMT" - ], - "Content-Length": [ - "170" - ], - "Content-Type": [ - "application/json; charset=Windows-1252" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"fs.defaultFS\": \"wasbs://spark51-2024-08-20t05-08-35-915z@spark51hdistorage.blob.core.windows.net\",\r\n \"fs.azure.account.key.spark51hdistorage.blob.core.windows.net\": \"*****\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.HDInsight/clusters/spark51/configurations/clusterIdentity?api-version=2024-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTY0YzEwYmItOGE2Yy00M2JjLTgzZDMtNmIzMThjNmM3MzA1L3Jlc291cmNlR3JvdXBzL3l1Y2hlbi1wcy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuSERJbnNpZ2h0L2NsdXN0ZXJzL3NwYXJrNTEvY29uZmlndXJhdGlvbnMvY2x1c3RlcklkZW50aXR5P2FwaS12ZXJzaW9uPTIwMjQtMDgtMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestHeaders": { - "x-ms-client-request-id": [ - "895bed1b-c84f-4aa2-a966-9ebc4265dc7f" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/6.0.3324.36610", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.22631", - "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/6.1.0" - ] - }, - "RequestBody": "", - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "338c1066-c94d-4221-99c8-cdd0806b827d" - ], - "x-ms-hdi-served-by": [ - "eastus" - ], - "x-ms-correlation-request-id": [ - "f9eb9711-0f24-43a1-84f2-f44077063dd9" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" - ], - "x-ms-routing-request-id": [ - "SOUTHINDIA:20240822T095554Z:f9eb9711-0f24-43a1-84f2-f44077063dd9" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Cache": [ - "CONFIG_NOCACHE" - ], - "X-MSEdge-Ref": [ - "Ref A: 028161AE54984CF6819BFE7824D213D5 Ref B: MAA201060515035 Ref C: 2024-08-22T09:55:53Z" - ], - "Date": [ - "Thu, 22 Aug 2024 09:55:54 GMT" - ], - "Content-Length": [ - "2" - ], - "Content-Type": [ - "application/json; charset=Windows-1252" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.HDInsight/clusters/spark51?api-version=2024-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTY0YzEwYmItOGE2Yy00M2JjLTgzZDMtNmIzMThjNmM3MzA1L3Jlc291cmNlR3JvdXBzL3l1Y2hlbi1wcy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuSERJbnNpZ2h0L2NsdXN0ZXJzL3NwYXJrNTE/YXBpLXZlcnNpb249MjAyNC0wOC0wMS1wcmV2aWV3", - "RequestMethod": "PATCH", - "RequestHeaders": { - "x-ms-client-request-id": [ - "d2aff83e-f45d-4522-8b2d-b81b846635b2" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/6.0.3324.36610", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.22631", - "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/6.1.0" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "257" - ] - }, - "RequestBody": "{\r\n \"identity\": {\r\n \"type\": \"UserAssigned\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdi-msi\": {}\r\n }\r\n }\r\n}", - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-request-id": [ - "a078c92f-9917-419b-aeff-7b411f4622cb" - ], - "x-ms-hdi-served-by": [ - "eastus" - ], - "x-ms-correlation-request-id": [ - "28af9431-ff8f-4c7a-8d55-f9044a88c42a" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" - ], - "x-ms-routing-request-id": [ - "SOUTHINDIA:20240822T095603Z:28af9431-ff8f-4c7a-8d55-f9044a88c42a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "X-Cache": [ - "CONFIG_NOCACHE" - ], - "X-MSEdge-Ref": [ - "Ref A: 266BA8E977D248608D7D583A4F270E97 Ref B: MAA201060515045 Ref C: 2024-08-22T09:55:55Z" - ], - "Date": [ - "Thu, 22 Aug 2024 09:56:02 GMT" - ], - "Content-Length": [ - "3369" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"clusterVersion\": \"5.1.3000.0\",\r\n \"clusterHdpVersion\": \"5.1.5.6\",\r\n \"osType\": \"Linux\",\r\n \"clusterDefinition\": {\r\n \"blueprint\": \"https://blueprints.azurehdinsight.net/spark-5.1.3000.0.2407260448.json\",\r\n \"kind\": \"SPARK\",\r\n \"componentVersion\": {\r\n \"Spark\": \"3.3\"\r\n }\r\n },\r\n \"clusterId\": \"7ce208572b3d4089abe86a38c548c831\",\r\n \"computeProfile\": {\r\n \"roles\": [\r\n {\r\n \"name\": \"headnode\",\r\n \"targetInstanceCount\": 2,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_e8_v3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"workernode\",\r\n \"targetInstanceCount\": 4,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_e8_v3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"zookeepernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_a2_v2\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"clusterState\": \"Accepted\",\r\n \"createdDate\": \"2024-08-20T05:09:58.45\",\r\n \"quotaInfo\": {\r\n \"coresUsed\": 48\r\n },\r\n \"connectivityEndpoints\": [\r\n {\r\n \"name\": \"SSH\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"spark51-ssh.azurehdinsight.net\",\r\n \"port\": 22\r\n },\r\n {\r\n \"name\": \"HTTPS\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"spark51.azurehdinsight.net\",\r\n \"port\": 443\r\n },\r\n {\r\n \"name\": \"HTTPS-INTERNAL\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"spark51-int.azurehdinsight.net\",\r\n \"port\": 443,\r\n \"privateIPAddress\": \"10.0.0.33\"\r\n }\r\n ],\r\n \"tier\": \"standard\",\r\n \"encryptionInTransitProperties\": {\r\n \"isEncryptionInTransitEnabled\": true\r\n },\r\n \"storageProfile\": {\r\n \"storageaccounts\": [\r\n {\r\n \"name\": \"spark51hdistorage.blob.core.windows.net\",\r\n \"resourceId\": \"\",\r\n \"msiResourceId\": null,\r\n \"key\": null,\r\n \"fileSystem\": null,\r\n \"container\": \"spark51-2024-08-20t05-08-35-915z\",\r\n \"saskey\": null,\r\n \"isDefault\": true,\r\n \"enableSecureChannel\": true,\r\n \"fileshare\": null\r\n }\r\n ]\r\n },\r\n \"minSupportedTlsVersion\": \"1.2\",\r\n \"excludedServicesConfig\": {\r\n \"excludedServicesConfigId\": \"default\",\r\n \"excludedServicesList\": \"\"\r\n },\r\n \"computeIsolationProperties\": {\r\n \"enableComputeIsolation\": false,\r\n \"hostSku\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.HDInsight/clusters/spark51\",\r\n \"name\": \"spark51\",\r\n \"type\": \"Microsoft.HDInsight/clusters\",\r\n \"location\": \"East US\",\r\n \"etag\": \"cdc4ae1e-599b-49be-be08-63a416a0ef12\",\r\n \"tags\": {},\r\n \"identity\": {\r\n \"type\": \"UserAssigned\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourcegroups/yuchen-ps-test/providers/microsoft.managedidentity/userassignedidentities/hdi-msi\": {}\r\n }\r\n }\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": { - "SubscriptionId": "964c10bb-8a6c-43bc-83d3-6b318c6c7305" - } -} \ No newline at end of file diff --git a/src/HDInsight/HDInsight.Test/SessionRecords/Commands.HDInsight.Test.ScenarioTests.HDInsightClusterTests/TestUpdateClusterSystemAssigned.json b/src/HDInsight/HDInsight.Test/SessionRecords/Commands.HDInsight.Test.ScenarioTests.HDInsightClusterTests/TestUpdateClusterSystemAssigned.json new file mode 100644 index 000000000000..49c867439acc --- /dev/null +++ b/src/HDInsight/HDInsight.Test/SessionRecords/Commands.HDInsight.Test.ScenarioTests.HDInsightClusterTests/TestUpdateClusterSystemAssigned.json @@ -0,0 +1,152 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.HDInsight/clusters/h1-spark?api-version=2024-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTY0YzEwYmItOGE2Yy00M2JjLTgzZDMtNmIzMThjNmM3MzA1L3Jlc291cmNlR3JvdXBzL3l1Y2hlbi1wcy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuSERJbnNpZ2h0L2NsdXN0ZXJzL2gxLXNwYXJrP2FwaS12ZXJzaW9uPTIwMjQtMDgtMDEtcHJldmlldw==", + "RequestMethod": "PATCH", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b381e422-9f20-469a-9eb3-e33d717d8604" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.3324.36610", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22631", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/6.2.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "56" + ] + }, + "RequestBody": "{\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n }\r\n}", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "660061cd-89b3-4b91-95da-e57bce586a25" + ], + "x-ms-hdi-served-by": [ + "eastus" + ], + "x-ms-correlation-request-id": [ + "f7caed41-3d3d-4254-bb92-466a55e2498c" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20240919T073157Z:f7caed41-3d3d-4254-bb92-466a55e2498c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Cache": [ + "CONFIG_NOCACHE" + ], + "X-MSEdge-Ref": [ + "Ref A: 9DF470E6D77747EA8354FB4AD05A17D6 Ref B: TYO201100115029 Ref C: 2024-09-19T07:31:48Z" + ], + "Date": [ + "Thu, 19 Sep 2024 07:31:56 GMT" + ], + "Content-Length": [ + "3570" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"clusterVersion\": \"5.1.3000.0\",\r\n \"clusterHdpVersion\": \"5.1.5.6\",\r\n \"osType\": \"Linux\",\r\n \"clusterDefinition\": {\r\n \"blueprint\": \"https://blueprints.azurehdinsight.net/spark-5.1.3000.0.2407260448.json\",\r\n \"kind\": \"spark\",\r\n \"componentVersion\": {\r\n \"spark\": \"3.3\"\r\n }\r\n },\r\n \"clusterId\": \"0ad55f21b3d64a16ad96097d285b029b\",\r\n \"computeProfile\": {\r\n \"roles\": [\r\n {\r\n \"name\": \"headnode\",\r\n \"targetInstanceCount\": 2,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_e8_v3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"workernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_e8_v3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"zookeepernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_a2_v2\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"clusterState\": \"Accepted\",\r\n \"createdDate\": \"2024-08-29T07:14:30.923\",\r\n \"quotaInfo\": {\r\n \"coresUsed\": 40\r\n },\r\n \"connectivityEndpoints\": [\r\n {\r\n \"name\": \"SSH\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"h1-spark-ssh.azurehdinsight.net\",\r\n \"port\": 22,\r\n \"privateIPAddress\": \"10.0.0.10\"\r\n },\r\n {\r\n \"name\": \"HTTPS\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"h1-spark.azurehdinsight.net\",\r\n \"port\": 443,\r\n \"privateIPAddress\": \"10.0.0.44\"\r\n },\r\n {\r\n \"name\": \"HTTPS-INTERNAL\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"h1-spark-int.azurehdinsight.net\",\r\n \"port\": 443,\r\n \"privateIPAddress\": \"10.0.0.44\"\r\n }\r\n ],\r\n \"tier\": \"standard\",\r\n \"encryptionInTransitProperties\": {\r\n \"isEncryptionInTransitEnabled\": false\r\n },\r\n \"storageProfile\": {\r\n \"storageaccounts\": [\r\n {\r\n \"name\": \"hdi819sparkhdistorage.blob.core.windows.net\",\r\n \"resourceId\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Storage/storageAccounts/hdi819sparkhdistorage\",\r\n \"msiResourceId\": null,\r\n \"key\": null,\r\n \"fileSystem\": null,\r\n \"container\": \"default\",\r\n \"saskey\": null,\r\n \"isDefault\": true,\r\n \"enableSecureChannel\": null,\r\n \"fileshare\": null\r\n }\r\n ]\r\n },\r\n \"excludedServicesConfig\": {\r\n \"excludedServicesConfigId\": \"default\",\r\n \"excludedServicesList\": \"\"\r\n },\r\n \"networkProperties\": {\r\n \"resourceProviderConnection\": \"Outbound\",\r\n \"privateLink\": \"Enabled\"\r\n },\r\n \"computeIsolationProperties\": {\r\n \"enableComputeIsolation\": false,\r\n \"hostSku\": null\r\n },\r\n \"privateEndpointConnections\": []\r\n },\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.HDInsight/clusters/h1-spark\",\r\n \"name\": \"h1-spark\",\r\n \"type\": \"Microsoft.HDInsight/clusters\",\r\n \"location\": \"East US\",\r\n \"etag\": \"4bddd888-3f8b-41da-9b1f-abed8b81790e\",\r\n \"tags\": {\r\n \"1\": \"1\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"749d3118-c65d-41b4-b4dd-f52cc94cbc53\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.HDInsight/clusters/h1-spark?api-version=2024-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTY0YzEwYmItOGE2Yy00M2JjLTgzZDMtNmIzMThjNmM3MzA1L3Jlc291cmNlR3JvdXBzL3l1Y2hlbi1wcy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuSERJbnNpZ2h0L2NsdXN0ZXJzL2gxLXNwYXJrP2FwaS12ZXJzaW9uPTIwMjQtMDgtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b381e422-9f20-469a-9eb3-e33d717d8604" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.3324.36610", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22631", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/6.2.0" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "deddf712-f83a-4298-8e4f-c4cb2bf28ce5" + ], + "x-ms-hdi-served-by": [ + "eastus" + ], + "x-ms-correlation-request-id": [ + "71445c84-92a4-46c0-840b-d192e5d03535" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20240919T073200Z:71445c84-92a4-46c0-840b-d192e5d03535" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Cache": [ + "CONFIG_NOCACHE" + ], + "X-MSEdge-Ref": [ + "Ref A: BE60B3EF5E5743BCBF0155C66300D564 Ref B: TYO201100115029 Ref C: 2024-09-19T07:31:57Z" + ], + "Date": [ + "Thu, 19 Sep 2024 07:31:59 GMT" + ], + "Content-Length": [ + "3584" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"clusterVersion\": \"5.1.3000.0\",\r\n \"clusterHdpVersion\": \"5.1.5.6\",\r\n \"osType\": \"Linux\",\r\n \"clusterDefinition\": {\r\n \"blueprint\": \"https://blueprints.azurehdinsight.net/spark-5.1.3000.0.2407260448.json\",\r\n \"kind\": \"spark\",\r\n \"componentVersion\": {\r\n \"spark\": \"3.3\"\r\n }\r\n },\r\n \"clusterId\": \"0ad55f21b3d64a16ad96097d285b029b\",\r\n \"computeProfile\": {\r\n \"roles\": [\r\n {\r\n \"name\": \"headnode\",\r\n \"targetInstanceCount\": 2,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_e8_v3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"workernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_e8_v3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"zookeepernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_a2_v2\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"clusterState\": \"HdInsightConfiguration\",\r\n \"createdDate\": \"2024-08-29T07:14:30.923\",\r\n \"quotaInfo\": {\r\n \"coresUsed\": 40\r\n },\r\n \"connectivityEndpoints\": [\r\n {\r\n \"name\": \"SSH\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"h1-spark-ssh.azurehdinsight.net\",\r\n \"port\": 22,\r\n \"privateIPAddress\": \"10.0.0.10\"\r\n },\r\n {\r\n \"name\": \"HTTPS\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"h1-spark.azurehdinsight.net\",\r\n \"port\": 443,\r\n \"privateIPAddress\": \"10.0.0.44\"\r\n },\r\n {\r\n \"name\": \"HTTPS-INTERNAL\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"h1-spark-int.azurehdinsight.net\",\r\n \"port\": 443,\r\n \"privateIPAddress\": \"10.0.0.44\"\r\n }\r\n ],\r\n \"tier\": \"standard\",\r\n \"encryptionInTransitProperties\": {\r\n \"isEncryptionInTransitEnabled\": false\r\n },\r\n \"storageProfile\": {\r\n \"storageaccounts\": [\r\n {\r\n \"name\": \"hdi819sparkhdistorage.blob.core.windows.net\",\r\n \"resourceId\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Storage/storageAccounts/hdi819sparkhdistorage\",\r\n \"msiResourceId\": null,\r\n \"key\": null,\r\n \"fileSystem\": null,\r\n \"container\": \"default\",\r\n \"saskey\": null,\r\n \"isDefault\": true,\r\n \"enableSecureChannel\": null,\r\n \"fileshare\": null\r\n }\r\n ]\r\n },\r\n \"excludedServicesConfig\": {\r\n \"excludedServicesConfigId\": \"default\",\r\n \"excludedServicesList\": \"\"\r\n },\r\n \"networkProperties\": {\r\n \"resourceProviderConnection\": \"Outbound\",\r\n \"privateLink\": \"Enabled\"\r\n },\r\n \"computeIsolationProperties\": {\r\n \"enableComputeIsolation\": false,\r\n \"hostSku\": null\r\n },\r\n \"privateEndpointConnections\": []\r\n },\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.HDInsight/clusters/h1-spark\",\r\n \"name\": \"h1-spark\",\r\n \"type\": \"Microsoft.HDInsight/clusters\",\r\n \"location\": \"East US\",\r\n \"etag\": \"4bddd888-3f8b-41da-9b1f-abed8b81790e\",\r\n \"tags\": {\r\n \"1\": \"1\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"749d3118-c65d-41b4-b4dd-f52cc94cbc53\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "964c10bb-8a6c-43bc-83d3-6b318c6c7305" + } +} \ No newline at end of file diff --git a/src/HDInsight/HDInsight.Test/SessionRecords/Commands.HDInsight.Test.ScenarioTests.HDInsightClusterTests/TestUpdateClusterTags.json b/src/HDInsight/HDInsight.Test/SessionRecords/Commands.HDInsight.Test.ScenarioTests.HDInsightClusterTests/TestUpdateClusterTags.json new file mode 100644 index 000000000000..b1f9ceeea3de --- /dev/null +++ b/src/HDInsight/HDInsight.Test/SessionRecords/Commands.HDInsight.Test.ScenarioTests.HDInsightClusterTests/TestUpdateClusterTags.json @@ -0,0 +1,158 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-devrp/providers/Microsoft.HDInsight/clusters/yuchen-hadoop-002?api-version=2024-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTY0YzEwYmItOGE2Yy00M2JjLTgzZDMtNmIzMThjNmM3MzA1L3Jlc291cmNlR3JvdXBzL3l1Y2hlbi1kZXZycC9wcm92aWRlcnMvTWljcm9zb2Z0LkhESW5zaWdodC9jbHVzdGVycy95dWNoZW4taGFkb29wLTAwMj9hcGktdmVyc2lvbj0yMDI0LTA4LTAxLXByZXZpZXc=", + "RequestMethod": "PATCH", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3552e34e-3a14-42c2-907c-71ac0e34de90" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.3524.45918", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.26100", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/6.2.1" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ] + }, + "RequestBody": "{\r\n \"tags\": {\r\n \"Tag3\": \"Value3\"\r\n }\r\n}", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a2e207ee-9469-4b20-9d7c-5e1ed3dc69cd" + ], + "x-ms-hdi-served-by": [ + "eastus" + ], + "x-ms-correlation-request-id": [ + "86e60c3b-e617-44ab-a643-85eef16f37a7" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "799" + ], + "x-ms-ratelimit-remaining-subscription-global-writes": [ + "11999" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20241028T064256Z:86e60c3b-e617-44ab-a643-85eef16f37a7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Cache": [ + "CONFIG_NOCACHE" + ], + "X-MSEdge-Ref": [ + "Ref A: 990D4F05216A41D386D6938EE0585728 Ref B: TYO201151006025 Ref C: 2024-10-28T06:42:51Z" + ], + "Date": [ + "Mon, 28 Oct 2024 06:42:56 GMT" + ], + "Content-Length": [ + "3565" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"clusterVersion\": \"4.0.3000.1\",\r\n \"clusterHdpVersion\": \"4.1.18.3\",\r\n \"osType\": \"Linux\",\r\n \"clusterDefinition\": {\r\n \"blueprint\": \"https://blueprints.azurehdinsight.net/hadoop-4.0.3000.1.2407260448.json\",\r\n \"kind\": \"Hadoop\",\r\n \"componentVersion\": {\r\n \"Hadoop\": \"3.1\"\r\n }\r\n },\r\n \"clusterId\": \"5384984093964aafbb18fff43fc8bd2b\",\r\n \"computeProfile\": {\r\n \"roles\": [\r\n {\r\n \"name\": \"headnode\",\r\n \"targetInstanceCount\": 2,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_e4_v3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"hdi\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"workernode\",\r\n \"targetInstanceCount\": 3,\r\n \"autoscale\": {\r\n \"capacity\": {\r\n \"minInstanceCount\": 3,\r\n \"maxInstanceCount\": 5\r\n }\r\n },\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_e8_v3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"hdi\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"zookeepernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_a2_v2\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"hdi\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"clusterState\": \"Running\",\r\n \"createdDate\": \"2024-10-22T08:26:10.413\",\r\n \"quotaInfo\": {\r\n \"coresUsed\": 32\r\n },\r\n \"errors\": [\r\n {\r\n \"code\": \"InvalidScriptLocation\",\r\n \"message\": \"Failed to validate script action at URI http://testurl.com/install.ssh. Exception message: Script URI cannot be retrieved correctly. HTTP Status code: NotFound.\"\r\n }\r\n ],\r\n \"connectivityEndpoints\": [\r\n {\r\n \"name\": \"SSH\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"yuchen-hadoop-002-ssh.azurehdinsight.net\",\r\n \"port\": 22\r\n },\r\n {\r\n \"name\": \"HTTPS\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"yuchen-hadoop-002.azurehdinsight.net\",\r\n \"port\": 443\r\n },\r\n {\r\n \"name\": \"HTTPS-INTERNAL\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"yuchen-hadoop-002-int.azurehdinsight.net\",\r\n \"port\": 443,\r\n \"privateIPAddress\": \"10.0.0.10\"\r\n }\r\n ],\r\n \"tier\": \"standard\",\r\n \"encryptionInTransitProperties\": {\r\n \"isEncryptionInTransitEnabled\": false\r\n },\r\n \"storageProfile\": {\r\n \"storageaccounts\": [\r\n {\r\n \"name\": \"hdiwasb.blob.core.windows.net\",\r\n \"resourceId\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-devrp/providers/Microsoft.Storage/storageAccounts/hdiwasb\",\r\n \"msiResourceId\": null,\r\n \"key\": null,\r\n \"fileSystem\": null,\r\n \"container\": \"container002\",\r\n \"saskey\": null,\r\n \"isDefault\": true,\r\n \"enableSecureChannel\": null,\r\n \"fileshare\": null\r\n }\r\n ]\r\n },\r\n \"excludedServicesConfig\": {\r\n \"excludedServicesConfigId\": \"default\",\r\n \"excludedServicesList\": \"\"\r\n },\r\n \"computeIsolationProperties\": {\r\n \"enableComputeIsolation\": false,\r\n \"hostSku\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-devrp/providers/Microsoft.HDInsight/clusters/yuchen-hadoop-002\",\r\n \"name\": \"yuchen-hadoop-002\",\r\n \"type\": \"Microsoft.HDInsight/clusters\",\r\n \"location\": \"East US\",\r\n \"etag\": \"86f7a0f0-c775-437e-9c04-f78ac25b0279\",\r\n \"tags\": {\r\n \"Tag3\": \"Value3\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-devrp/providers/Microsoft.HDInsight/clusters/yuchen-hadoop-002?api-version=2024-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTY0YzEwYmItOGE2Yy00M2JjLTgzZDMtNmIzMThjNmM3MzA1L3Jlc291cmNlR3JvdXBzL3l1Y2hlbi1kZXZycC9wcm92aWRlcnMvTWljcm9zb2Z0LkhESW5zaWdodC9jbHVzdGVycy95dWNoZW4taGFkb29wLTAwMj9hcGktdmVyc2lvbj0yMDI0LTA4LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3552e34e-3a14-42c2-907c-71ac0e34de90" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.3524.45918", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.26100", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/6.2.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "801a5631-0166-4125-9271-c92640704ffc" + ], + "x-ms-hdi-served-by": [ + "eastus" + ], + "x-ms-correlation-request-id": [ + "72ca7dbc-4469-4527-bf98-57605a4012ea" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "1099" + ], + "x-ms-ratelimit-remaining-subscription-global-reads": [ + "16499" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20241028T064258Z:72ca7dbc-4469-4527-bf98-57605a4012ea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Cache": [ + "CONFIG_NOCACHE" + ], + "X-MSEdge-Ref": [ + "Ref A: 32B3F2AA4C0D414496E2DA976AB1D5B9 Ref B: TYO201151006025 Ref C: 2024-10-28T06:42:56Z" + ], + "Date": [ + "Mon, 28 Oct 2024 06:42:58 GMT" + ], + "Content-Length": [ + "3565" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"clusterVersion\": \"4.0.3000.1\",\r\n \"clusterHdpVersion\": \"4.1.18.3\",\r\n \"osType\": \"Linux\",\r\n \"clusterDefinition\": {\r\n \"blueprint\": \"https://blueprints.azurehdinsight.net/hadoop-4.0.3000.1.2407260448.json\",\r\n \"kind\": \"Hadoop\",\r\n \"componentVersion\": {\r\n \"Hadoop\": \"3.1\"\r\n }\r\n },\r\n \"clusterId\": \"5384984093964aafbb18fff43fc8bd2b\",\r\n \"computeProfile\": {\r\n \"roles\": [\r\n {\r\n \"name\": \"headnode\",\r\n \"targetInstanceCount\": 2,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_e4_v3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"hdi\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"workernode\",\r\n \"targetInstanceCount\": 3,\r\n \"autoscale\": {\r\n \"capacity\": {\r\n \"minInstanceCount\": 3,\r\n \"maxInstanceCount\": 5\r\n }\r\n },\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_e8_v3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"hdi\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"zookeepernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_a2_v2\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"hdi\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"clusterState\": \"Running\",\r\n \"createdDate\": \"2024-10-22T08:26:10.413\",\r\n \"quotaInfo\": {\r\n \"coresUsed\": 32\r\n },\r\n \"errors\": [\r\n {\r\n \"code\": \"InvalidScriptLocation\",\r\n \"message\": \"Failed to validate script action at URI http://testurl.com/install.ssh. Exception message: Script URI cannot be retrieved correctly. HTTP Status code: NotFound.\"\r\n }\r\n ],\r\n \"connectivityEndpoints\": [\r\n {\r\n \"name\": \"SSH\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"yuchen-hadoop-002-ssh.azurehdinsight.net\",\r\n \"port\": 22\r\n },\r\n {\r\n \"name\": \"HTTPS\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"yuchen-hadoop-002.azurehdinsight.net\",\r\n \"port\": 443\r\n },\r\n {\r\n \"name\": \"HTTPS-INTERNAL\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"yuchen-hadoop-002-int.azurehdinsight.net\",\r\n \"port\": 443,\r\n \"privateIPAddress\": \"10.0.0.10\"\r\n }\r\n ],\r\n \"tier\": \"standard\",\r\n \"encryptionInTransitProperties\": {\r\n \"isEncryptionInTransitEnabled\": false\r\n },\r\n \"storageProfile\": {\r\n \"storageaccounts\": [\r\n {\r\n \"name\": \"hdiwasb.blob.core.windows.net\",\r\n \"resourceId\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-devrp/providers/Microsoft.Storage/storageAccounts/hdiwasb\",\r\n \"msiResourceId\": null,\r\n \"key\": null,\r\n \"fileSystem\": null,\r\n \"container\": \"container002\",\r\n \"saskey\": null,\r\n \"isDefault\": true,\r\n \"enableSecureChannel\": null,\r\n \"fileshare\": null\r\n }\r\n ]\r\n },\r\n \"excludedServicesConfig\": {\r\n \"excludedServicesConfigId\": \"default\",\r\n \"excludedServicesList\": \"\"\r\n },\r\n \"computeIsolationProperties\": {\r\n \"enableComputeIsolation\": false,\r\n \"hostSku\": null\r\n }\r\n },\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-devrp/providers/Microsoft.HDInsight/clusters/yuchen-hadoop-002\",\r\n \"name\": \"yuchen-hadoop-002\",\r\n \"type\": \"Microsoft.HDInsight/clusters\",\r\n \"location\": \"East US\",\r\n \"etag\": \"86f7a0f0-c775-437e-9c04-f78ac25b0279\",\r\n \"tags\": {\r\n \"Tag3\": \"Value3\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "964c10bb-8a6c-43bc-83d3-6b318c6c7305" + } +} \ No newline at end of file diff --git a/src/HDInsight/HDInsight.Test/SessionRecords/Commands.HDInsight.Test.ScenarioTests.HDInsightClusterTests/TestUpdateClusterUserAssigned.json b/src/HDInsight/HDInsight.Test/SessionRecords/Commands.HDInsight.Test.ScenarioTests.HDInsightClusterTests/TestUpdateClusterUserAssigned.json new file mode 100644 index 000000000000..a41245409f75 --- /dev/null +++ b/src/HDInsight/HDInsight.Test/SessionRecords/Commands.HDInsight.Test.ScenarioTests.HDInsightClusterTests/TestUpdateClusterUserAssigned.json @@ -0,0 +1,152 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.HDInsight/clusters/h1-spark?api-version=2024-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTY0YzEwYmItOGE2Yy00M2JjLTgzZDMtNmIzMThjNmM3MzA1L3Jlc291cmNlR3JvdXBzL3l1Y2hlbi1wcy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuSERJbnNpZ2h0L2NsdXN0ZXJzL2gxLXNwYXJrP2FwaS12ZXJzaW9uPTIwMjQtMDgtMDEtcHJldmlldw==", + "RequestMethod": "PATCH", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1b79900e-1163-4b57-a570-8dbb4aa8a1f5" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.3324.36610", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22631", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/6.2.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "421" + ] + }, + "RequestBody": "{\r\n \"identity\": {\r\n \"type\": \"UserAssigned\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourcegroups/yuchen-ps-test/providers/microsoft.managedidentity/userassignedidentities/hdi-msi\": {},\r\n \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-devrp/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdiwasbmsi\": {}\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7d21c95d-c716-4007-9155-f217a4eb2942" + ], + "x-ms-hdi-served-by": [ + "eastus" + ], + "x-ms-correlation-request-id": [ + "2c9f3106-fcc1-4791-950f-5ab6fdc3935f" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20240919T065832Z:2c9f3106-fcc1-4791-950f-5ab6fdc3935f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Cache": [ + "CONFIG_NOCACHE" + ], + "X-MSEdge-Ref": [ + "Ref A: DF76782153484670B419966D4CFBE228 Ref B: TYO201100114025 Ref C: 2024-09-19T06:58:24Z" + ], + "Date": [ + "Thu, 19 Sep 2024 06:58:31 GMT" + ], + "Content-Length": [ + "3801" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"clusterVersion\": \"5.1.3000.0\",\r\n \"clusterHdpVersion\": \"5.1.5.6\",\r\n \"osType\": \"Linux\",\r\n \"clusterDefinition\": {\r\n \"blueprint\": \"https://blueprints.azurehdinsight.net/spark-5.1.3000.0.2407260448.json\",\r\n \"kind\": \"spark\",\r\n \"componentVersion\": {\r\n \"spark\": \"3.3\"\r\n }\r\n },\r\n \"clusterId\": \"0ad55f21b3d64a16ad96097d285b029b\",\r\n \"computeProfile\": {\r\n \"roles\": [\r\n {\r\n \"name\": \"headnode\",\r\n \"targetInstanceCount\": 2,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_e8_v3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"workernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_e8_v3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"zookeepernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_a2_v2\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"clusterState\": \"Accepted\",\r\n \"createdDate\": \"2024-08-29T07:14:30.923\",\r\n \"quotaInfo\": {\r\n \"coresUsed\": 40\r\n },\r\n \"connectivityEndpoints\": [\r\n {\r\n \"name\": \"SSH\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"h1-spark-ssh.azurehdinsight.net\",\r\n \"port\": 22,\r\n \"privateIPAddress\": \"10.0.0.10\"\r\n },\r\n {\r\n \"name\": \"HTTPS\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"h1-spark.azurehdinsight.net\",\r\n \"port\": 443,\r\n \"privateIPAddress\": \"10.0.0.44\"\r\n },\r\n {\r\n \"name\": \"HTTPS-INTERNAL\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"h1-spark-int.azurehdinsight.net\",\r\n \"port\": 443,\r\n \"privateIPAddress\": \"10.0.0.44\"\r\n }\r\n ],\r\n \"tier\": \"standard\",\r\n \"encryptionInTransitProperties\": {\r\n \"isEncryptionInTransitEnabled\": false\r\n },\r\n \"storageProfile\": {\r\n \"storageaccounts\": [\r\n {\r\n \"name\": \"hdi819sparkhdistorage.blob.core.windows.net\",\r\n \"resourceId\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Storage/storageAccounts/hdi819sparkhdistorage\",\r\n \"msiResourceId\": null,\r\n \"key\": null,\r\n \"fileSystem\": null,\r\n \"container\": \"default\",\r\n \"saskey\": null,\r\n \"isDefault\": true,\r\n \"enableSecureChannel\": null,\r\n \"fileshare\": null\r\n }\r\n ]\r\n },\r\n \"excludedServicesConfig\": {\r\n \"excludedServicesConfigId\": \"default\",\r\n \"excludedServicesList\": \"\"\r\n },\r\n \"networkProperties\": {\r\n \"resourceProviderConnection\": \"Outbound\",\r\n \"privateLink\": \"Enabled\"\r\n },\r\n \"computeIsolationProperties\": {\r\n \"enableComputeIsolation\": false,\r\n \"hostSku\": null\r\n },\r\n \"privateEndpointConnections\": []\r\n },\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.HDInsight/clusters/h1-spark\",\r\n \"name\": \"h1-spark\",\r\n \"type\": \"Microsoft.HDInsight/clusters\",\r\n \"location\": \"East US\",\r\n \"etag\": \"4bddd888-3f8b-41da-9b1f-abed8b81790e\",\r\n \"tags\": {\r\n \"1\": \"1\"\r\n },\r\n \"identity\": {\r\n \"type\": \"UserAssigned\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourcegroups/yuchen-ps-test/providers/microsoft.managedidentity/userassignedidentities/hdi-msi\": {},\r\n \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourcegroups/yuchen-devrp/providers/microsoft.managedidentity/userassignedidentities/hdiwasbmsi\": {}\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.HDInsight/clusters/h1-spark?api-version=2024-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTY0YzEwYmItOGE2Yy00M2JjLTgzZDMtNmIzMThjNmM3MzA1L3Jlc291cmNlR3JvdXBzL3l1Y2hlbi1wcy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuSERJbnNpZ2h0L2NsdXN0ZXJzL2gxLXNwYXJrP2FwaS12ZXJzaW9uPTIwMjQtMDgtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1b79900e-1163-4b57-a570-8dbb4aa8a1f5" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.3324.36610", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22631", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/6.2.0" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9a42146d-9a6c-437e-a04c-3fb59088a7af" + ], + "x-ms-hdi-served-by": [ + "eastus" + ], + "x-ms-correlation-request-id": [ + "2e53e20c-f655-42d8-8420-7d9ec14a10dd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20240919T065834Z:2e53e20c-f655-42d8-8420-7d9ec14a10dd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-Cache": [ + "CONFIG_NOCACHE" + ], + "X-MSEdge-Ref": [ + "Ref A: B998B8DA1C1049EE99BFFEE163497172 Ref B: TYO201100114025 Ref C: 2024-09-19T06:58:32Z" + ], + "Date": [ + "Thu, 19 Sep 2024 06:58:34 GMT" + ], + "Content-Length": [ + "3815" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"clusterVersion\": \"5.1.3000.0\",\r\n \"clusterHdpVersion\": \"5.1.5.6\",\r\n \"osType\": \"Linux\",\r\n \"clusterDefinition\": {\r\n \"blueprint\": \"https://blueprints.azurehdinsight.net/spark-5.1.3000.0.2407260448.json\",\r\n \"kind\": \"spark\",\r\n \"componentVersion\": {\r\n \"spark\": \"3.3\"\r\n }\r\n },\r\n \"clusterId\": \"0ad55f21b3d64a16ad96097d285b029b\",\r\n \"computeProfile\": {\r\n \"roles\": [\r\n {\r\n \"name\": \"headnode\",\r\n \"targetInstanceCount\": 2,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_e8_v3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"workernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_e8_v3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"zookeepernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_a2_v2\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn/subnets/default\"\r\n },\r\n \"encryptDataDisks\": false\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"clusterState\": \"HdInsightConfiguration\",\r\n \"createdDate\": \"2024-08-29T07:14:30.923\",\r\n \"quotaInfo\": {\r\n \"coresUsed\": 40\r\n },\r\n \"connectivityEndpoints\": [\r\n {\r\n \"name\": \"SSH\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"h1-spark-ssh.azurehdinsight.net\",\r\n \"port\": 22,\r\n \"privateIPAddress\": \"10.0.0.10\"\r\n },\r\n {\r\n \"name\": \"HTTPS\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"h1-spark.azurehdinsight.net\",\r\n \"port\": 443,\r\n \"privateIPAddress\": \"10.0.0.44\"\r\n },\r\n {\r\n \"name\": \"HTTPS-INTERNAL\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"h1-spark-int.azurehdinsight.net\",\r\n \"port\": 443,\r\n \"privateIPAddress\": \"10.0.0.44\"\r\n }\r\n ],\r\n \"tier\": \"standard\",\r\n \"encryptionInTransitProperties\": {\r\n \"isEncryptionInTransitEnabled\": false\r\n },\r\n \"storageProfile\": {\r\n \"storageaccounts\": [\r\n {\r\n \"name\": \"hdi819sparkhdistorage.blob.core.windows.net\",\r\n \"resourceId\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Storage/storageAccounts/hdi819sparkhdistorage\",\r\n \"msiResourceId\": null,\r\n \"key\": null,\r\n \"fileSystem\": null,\r\n \"container\": \"default\",\r\n \"saskey\": null,\r\n \"isDefault\": true,\r\n \"enableSecureChannel\": null,\r\n \"fileshare\": null\r\n }\r\n ]\r\n },\r\n \"excludedServicesConfig\": {\r\n \"excludedServicesConfigId\": \"default\",\r\n \"excludedServicesList\": \"\"\r\n },\r\n \"networkProperties\": {\r\n \"resourceProviderConnection\": \"Outbound\",\r\n \"privateLink\": \"Enabled\"\r\n },\r\n \"computeIsolationProperties\": {\r\n \"enableComputeIsolation\": false,\r\n \"hostSku\": null\r\n },\r\n \"privateEndpointConnections\": []\r\n },\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.HDInsight/clusters/h1-spark\",\r\n \"name\": \"h1-spark\",\r\n \"type\": \"Microsoft.HDInsight/clusters\",\r\n \"location\": \"East US\",\r\n \"etag\": \"4bddd888-3f8b-41da-9b1f-abed8b81790e\",\r\n \"tags\": {\r\n \"1\": \"1\"\r\n },\r\n \"identity\": {\r\n \"type\": \"UserAssigned\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourcegroups/yuchen-ps-test/providers/microsoft.managedidentity/userassignedidentities/hdi-msi\": {},\r\n \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourcegroups/yuchen-devrp/providers/microsoft.managedidentity/userassignedidentities/hdiwasbmsi\": {}\r\n }\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "964c10bb-8a6c-43bc-83d3-6b318c6c7305" + } +} \ No newline at end of file diff --git a/src/HDInsight/HDInsight/ChangeLog.md b/src/HDInsight/HDInsight/ChangeLog.md index 938d7d19a6e5..b556a274e5b0 100644 --- a/src/HDInsight/HDInsight/ChangeLog.md +++ b/src/HDInsight/HDInsight/ChangeLog.md @@ -19,6 +19,7 @@ --> ## Upcoming Release +* Changed the type of parameter `-IdentityId` in command `Update-AzHDInsightCluster` from `string` to `string[]`. ## Version 6.2.1 * Fixed a bug: Error occurs when setting the same assigned identity for storage and esp configurations. diff --git a/src/HDInsight/HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs b/src/HDInsight/HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs index b8506df2cf62..04a3bc74cb3a 100644 --- a/src/HDInsight/HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs +++ b/src/HDInsight/HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs @@ -615,7 +615,7 @@ var storageAccount in ClusterCreateParametersExtended createParams = new ClusterCreateParametersExtended { Location = Location, - //Tags = Tags, //To Do add this Tags parameter + //Tags = Tags, //To Do add this Tags parameter Zones = Zone, Properties = new ClusterCreateProperties { diff --git a/src/HDInsight/HDInsight/ManagementCommands/UpdateAzureHDInsightClusterCommand.cs b/src/HDInsight/HDInsight/ManagementCommands/UpdateAzureHDInsightClusterCommand.cs index 9765095c6cbc..c38f070a7d6d 100644 --- a/src/HDInsight/HDInsight/ManagementCommands/UpdateAzureHDInsightClusterCommand.cs +++ b/src/HDInsight/HDInsight/ManagementCommands/UpdateAzureHDInsightClusterCommand.cs @@ -41,7 +41,7 @@ public class UpdateAzureHDInsightClusterCommand : HDInsightCmdletBase [Parameter( HelpMessage = "Gets or sets the list of user identities associated with the cluster.")] - public string IdentityId { get; set; } + public string[] IdentityId { get; set; } [Parameter( HelpMessage = "The resource tags.")] @@ -71,7 +71,13 @@ public override void ExecuteCmdlet() if (IdentityId != null) { clusterIdentity.UserAssignedIdentities = new Dictionary(); - clusterIdentity.UserAssignedIdentities[IdentityId] = new UserAssignedIdentity(); + for (int i = 0; i < IdentityId.Length; i++) + { + if (!clusterIdentity.UserAssignedIdentities.ContainsKey(IdentityId[i])) + { + clusterIdentity.UserAssignedIdentities.Add(IdentityId[i], new UserAssignedIdentity()); + } + } } HDInsightManagementClient.UpdateCluster(ResourceGroupName, ClusterName, Tag, clusterIdentity); diff --git a/src/HDInsight/HDInsight/help/Add-AzHDInsightClusterIdentity.md b/src/HDInsight/HDInsight/help/Add-AzHDInsightClusterIdentity.md index 6fc3d4a35374..ef8866058928 100644 --- a/src/HDInsight/HDInsight/help/Add-AzHDInsightClusterIdentity.md +++ b/src/HDInsight/HDInsight/help/Add-AzHDInsightClusterIdentity.md @@ -17,7 +17,7 @@ Adds a cluster identity to a cluster configuration object. ``` Add-AzHDInsightClusterIdentity [-Config] [-ObjectId] [-CertificateFilePath] [-CertificatePassword] [[-AadTenantId] ] - [[-ApplicationId] ] [-DefaultProfile ] + [[-ApplicationId] ] [-DefaultProfile ] [-ProgressAction ] [] ``` @@ -25,7 +25,7 @@ Add-AzHDInsightClusterIdentity [-Config] [-ObjectId] [-ObjectId] [-CertificateFileContents] [-CertificatePassword] [[-AadTenantId] ] - [[-ApplicationId] ] [-DefaultProfile ] + [[-ApplicationId] ] [-DefaultProfile ] [-ProgressAction ] [] ``` @@ -208,6 +208,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### 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). diff --git a/src/HDInsight/HDInsight/help/Add-AzHDInsightComponentVersion.md b/src/HDInsight/HDInsight/help/Add-AzHDInsightComponentVersion.md index 34aa5221fda1..268176af0861 100644 --- a/src/HDInsight/HDInsight/help/Add-AzHDInsightComponentVersion.md +++ b/src/HDInsight/HDInsight/help/Add-AzHDInsightComponentVersion.md @@ -15,7 +15,7 @@ Adds a version for a service running in a cluster to a cluster configuration obj ``` Add-AzHDInsightComponentVersion [-Config] [-ComponentName] - [-ComponentVersion] [-DefaultProfile ] + [-ComponentVersion] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -123,6 +123,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/HDInsight/HDInsight/help/Add-AzHDInsightConfigValue.md b/src/HDInsight/HDInsight/help/Add-AzHDInsightConfigValue.md index 106a70dfe8d1..05a7e539b05d 100644 --- a/src/HDInsight/HDInsight/help/Add-AzHDInsightConfigValue.md +++ b/src/HDInsight/HDInsight/help/Add-AzHDInsightConfigValue.md @@ -20,7 +20,7 @@ Add-AzHDInsightConfigValue [-Config] [-Core ] [-MapRed ] [-Tez ] [-Hdfs ] [-RServer ] [-SparkDefaults ] [-SparkThriftConf ] [-Spark2Defaults ] [-Spark2ThriftConf ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -239,6 +239,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### -RServer Specifies the RServer configurations. Valid only for RServer clusters. diff --git a/src/HDInsight/HDInsight/help/Add-AzHDInsightMetastore.md b/src/HDInsight/HDInsight/help/Add-AzHDInsightMetastore.md index 1b24f12b8433..6ebf07b67382 100644 --- a/src/HDInsight/HDInsight/help/Add-AzHDInsightMetastore.md +++ b/src/HDInsight/HDInsight/help/Add-AzHDInsightMetastore.md @@ -16,7 +16,7 @@ Adds a SQL Database to serve as a Hive or Oozie metastore to a cluster configura ``` Add-AzHDInsightMetastore [-Config] [-MetastoreType] [-SqlAzureServerName] [-DatabaseName] [-Credential] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -209,6 +209,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### -SqlAzureServerName Specifies the AzureSQL Server instance to use for this metastore. diff --git a/src/HDInsight/HDInsight/help/Add-AzHDInsightScriptAction.md b/src/HDInsight/HDInsight/help/Add-AzHDInsightScriptAction.md index bf9285f176e7..4f336b275b6f 100644 --- a/src/HDInsight/HDInsight/help/Add-AzHDInsightScriptAction.md +++ b/src/HDInsight/HDInsight/help/Add-AzHDInsightScriptAction.md @@ -16,7 +16,7 @@ Adds a script action to a cluster configuration object. ``` Add-AzHDInsightScriptAction [-Config] [-NodeType] [-Uri] [-Name] [[-Parameters] ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -163,6 +163,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### -Uri Specifies the public URI for the script action (a PowerShell or Bash script). diff --git a/src/HDInsight/HDInsight/help/Add-AzHDInsightSecurityProfile.md b/src/HDInsight/HDInsight/help/Add-AzHDInsightSecurityProfile.md index 5ebebf1e30af..94746e871ded 100644 --- a/src/HDInsight/HDInsight/help/Add-AzHDInsightSecurityProfile.md +++ b/src/HDInsight/HDInsight/help/Add-AzHDInsightSecurityProfile.md @@ -17,7 +17,7 @@ Adds a security profile to a cluster configuration object. Add-AzHDInsightSecurityProfile [-Config] -DomainResourceId -DomainUserCredential [-OrganizationalUnitDN ] -LdapsUrls [-ClusterUsersGroupDNs ] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -186,6 +186,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/HDInsight/HDInsight/help/Add-AzHDInsightStorage.md b/src/HDInsight/HDInsight/help/Add-AzHDInsightStorage.md index 49a339ef35d7..7e943f4490aa 100644 --- a/src/HDInsight/HDInsight/help/Add-AzHDInsightStorage.md +++ b/src/HDInsight/HDInsight/help/Add-AzHDInsightStorage.md @@ -15,7 +15,7 @@ Adds an Azure Storage key to a cluster configuration object. ``` Add-AzHDInsightStorage [-Config] [-StorageAccountName] - [-StorageAccountKey] [-DefaultProfile ] + [-StorageAccountKey] [-DefaultProfile ] [-ProgressAction ] [] ``` @@ -104,6 +104,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### -StorageAccountKey Specifies the storage account key for the storage account to be added to the new cluster. diff --git a/src/HDInsight/HDInsight/help/Disable-AzHDInsightAzureMonitor.md b/src/HDInsight/HDInsight/help/Disable-AzHDInsightAzureMonitor.md index c1201981fd21..4d2af9ea80d0 100644 --- a/src/HDInsight/HDInsight/help/Disable-AzHDInsightAzureMonitor.md +++ b/src/HDInsight/HDInsight/help/Disable-AzHDInsightAzureMonitor.md @@ -15,20 +15,20 @@ Disables Azure Monitor in a specified HDInsight cluster. ### DisableByNameParameterSet (Default) ``` Disable-AzHDInsightAzureMonitor [[-ResourceGroupName] ] [-ClusterName] - [-DefaultProfile ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DisableByResourceIdParameterSet ``` Disable-AzHDInsightAzureMonitor [-ResourceId] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DisableByInputObjectParameterSet ``` Disable-AzHDInsightAzureMonitor [-InputObject] - [-DefaultProfile ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -104,6 +104,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Gets or sets the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Disable-AzHDInsightAzureMonitorAgent.md b/src/HDInsight/HDInsight/help/Disable-AzHDInsightAzureMonitorAgent.md index a8d695b4b387..b764cc2e80da 100644 --- a/src/HDInsight/HDInsight/help/Disable-AzHDInsightAzureMonitorAgent.md +++ b/src/HDInsight/HDInsight/help/Disable-AzHDInsightAzureMonitorAgent.md @@ -15,21 +15,21 @@ Disables Azure Monitor Agent in a specified HDInsight cluster. ### DisableByNameParameterSet (Default) ``` Disable-AzHDInsightAzureMonitorAgent [-PassThru] [[-ResourceGroupName] ] [-ClusterName] - [-DefaultProfile ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DisableByResourceIdParameterSet ``` Disable-AzHDInsightAzureMonitorAgent [-PassThru] [-ResourceId] - [-DefaultProfile ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DisableByInputObjectParameterSet ``` Disable-AzHDInsightAzureMonitorAgent [-PassThru] [-InputObject] - [-DefaultProfile ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -120,6 +120,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Gets or sets the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Disable-AzHDInsightMonitoring.md b/src/HDInsight/HDInsight/help/Disable-AzHDInsightMonitoring.md index 38583e17309f..164d53875ae5 100644 --- a/src/HDInsight/HDInsight/help/Disable-AzHDInsightMonitoring.md +++ b/src/HDInsight/HDInsight/help/Disable-AzHDInsightMonitoring.md @@ -14,7 +14,7 @@ Disables the Classic Azure Monitor logs integration on an HDInsight cluster and ``` Disable-AzHDInsightMonitoring [-Name] [-ResourceGroupName ] - [-DefaultProfile ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -77,6 +77,21 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 resource group of the cluster. diff --git a/src/HDInsight/HDInsight/help/Enable-AzHDInsightAzureMonitor.md b/src/HDInsight/HDInsight/help/Enable-AzHDInsightAzureMonitor.md index ea76865d40e8..553904544651 100644 --- a/src/HDInsight/HDInsight/help/Enable-AzHDInsightAzureMonitor.md +++ b/src/HDInsight/HDInsight/help/Enable-AzHDInsightAzureMonitor.md @@ -15,21 +15,21 @@ Enables Azure Monitor in a specified HDInsight cluster. ### EnableByNameParameterSet (Default) ``` Enable-AzHDInsightAzureMonitor [[-ResourceGroupName] ] [-ClusterName] [-WorkspaceId] - [-PrimaryKey] [-DefaultProfile ] + [-PrimaryKey] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### EnableByResourceIdParameterSet ``` Enable-AzHDInsightAzureMonitor [-ResourceId] [-WorkspaceId] [-PrimaryKey] - [-DefaultProfile ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### EnableByInputObjectParameterSet ``` Enable-AzHDInsightAzureMonitor [-InputObject] [-WorkspaceId] - [-PrimaryKey] [-DefaultProfile ] + [-PrimaryKey] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -124,6 +124,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Gets or sets the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Enable-AzHDInsightAzureMonitorAgent.md b/src/HDInsight/HDInsight/help/Enable-AzHDInsightAzureMonitorAgent.md index 3f1d3af2cabb..5a89873ce16f 100644 --- a/src/HDInsight/HDInsight/help/Enable-AzHDInsightAzureMonitorAgent.md +++ b/src/HDInsight/HDInsight/help/Enable-AzHDInsightAzureMonitorAgent.md @@ -16,20 +16,20 @@ Enables Azure Monitor Agent in a specified HDInsight cluster. ``` Enable-AzHDInsightAzureMonitorAgent [-PassThru] [[-ResourceGroupName] ] [-ClusterName] [-WorkspaceId] [-PrimaryKey] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### EnableByResourceIdParameterSet ``` Enable-AzHDInsightAzureMonitorAgent [-PassThru] [-ResourceId] [-WorkspaceId] - [-PrimaryKey] [-DefaultProfile ] + [-PrimaryKey] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### EnableByInputObjectParameterSet ``` Enable-AzHDInsightAzureMonitorAgent [-PassThru] [-InputObject] [-WorkspaceId] - [-PrimaryKey] [-DefaultProfile ] + [-PrimaryKey] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -139,6 +139,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Gets or sets the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Enable-AzHDInsightMonitoring.md b/src/HDInsight/HDInsight/help/Enable-AzHDInsightMonitoring.md index 11a24415572c..3c28e22c5d61 100644 --- a/src/HDInsight/HDInsight/help/Enable-AzHDInsightMonitoring.md +++ b/src/HDInsight/HDInsight/help/Enable-AzHDInsightMonitoring.md @@ -14,7 +14,7 @@ Enables the Classic Azure Monitor logs integration on an HDInsight cluster and r ``` Enable-AzHDInsightMonitoring [-Name] [-WorkspaceId] [-PrimaryKey] - [-ResourceGroupName ] [-DefaultProfile ] + [-ResourceGroupName ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -92,6 +92,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 resource group of the cluster. diff --git a/src/HDInsight/HDInsight/help/Get-AzHDInsightAzureMonitor.md b/src/HDInsight/HDInsight/help/Get-AzHDInsightAzureMonitor.md index f0b339ce593c..61f23ed83141 100644 --- a/src/HDInsight/HDInsight/help/Get-AzHDInsightAzureMonitor.md +++ b/src/HDInsight/HDInsight/help/Get-AzHDInsightAzureMonitor.md @@ -15,19 +15,19 @@ Gets the azure monitor status of a specified HDInsight cluster. ### GetByNameParameterSet (Default) ``` Get-AzHDInsightAzureMonitor [[-ResourceGroupName] ] [-ClusterName] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetByResourceIdParameterSet ``` Get-AzHDInsightAzureMonitor [-ResourceId] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### GetByInputObjectParameterSet ``` Get-AzHDInsightAzureMonitor [-InputObject] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -102,6 +102,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Gets or sets the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Get-AzHDInsightAzureMonitorAgent.md b/src/HDInsight/HDInsight/help/Get-AzHDInsightAzureMonitorAgent.md index 0aba2a6d023f..ab43d0fdad0b 100644 --- a/src/HDInsight/HDInsight/help/Get-AzHDInsightAzureMonitorAgent.md +++ b/src/HDInsight/HDInsight/help/Get-AzHDInsightAzureMonitorAgent.md @@ -15,19 +15,19 @@ Gets the azure monitor agent status of a specified HDInsight cluster. ### GetByNameParameterSet (Default) ``` Get-AzHDInsightAzureMonitorAgent [[-ResourceGroupName] ] [-ClusterName] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetByResourceIdParameterSet ``` Get-AzHDInsightAzureMonitorAgent [-ResourceId] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### GetByInputObjectParameterSet ``` Get-AzHDInsightAzureMonitorAgent [-InputObject] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -102,6 +102,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Gets or sets the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Get-AzHDInsightCluster.md b/src/HDInsight/HDInsight/help/Get-AzHDInsightCluster.md index a4ba8b8fd2c7..213547dea2f1 100644 --- a/src/HDInsight/HDInsight/help/Get-AzHDInsightCluster.md +++ b/src/HDInsight/HDInsight/help/Get-AzHDInsightCluster.md @@ -15,7 +15,7 @@ Gets and lists all of the Azure HDInsight clusters associated with the current s ``` Get-AzHDInsightCluster [[-ResourceGroupName] ] [[-ClusterName] ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -63,6 +63,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Specifies the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Get-AzHDInsightClusterAutoscaleConfiguration.md b/src/HDInsight/HDInsight/help/Get-AzHDInsightClusterAutoscaleConfiguration.md index 403491a23173..8da617d52a75 100644 --- a/src/HDInsight/HDInsight/help/Get-AzHDInsightClusterAutoscaleConfiguration.md +++ b/src/HDInsight/HDInsight/help/Get-AzHDInsightClusterAutoscaleConfiguration.md @@ -16,19 +16,19 @@ Gets the autoscale configuration of HDInsight cluster. ### GetByNameParameterSet (Default) ``` Get-AzHDInsightClusterAutoscaleConfiguration [[-ResourceGroupName] ] [-ClusterName] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetByResourceIdParameterSet ``` Get-AzHDInsightClusterAutoscaleConfiguration [-ResourceId] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### GetByInputObjectParameterSet ``` Get-AzHDInsightClusterAutoscaleConfiguration [-InputObject] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -92,6 +92,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Gets or sets the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Get-AzHDInsightHost.md b/src/HDInsight/HDInsight/help/Get-AzHDInsightHost.md index e2724f18b8c6..5f86675e626d 100644 --- a/src/HDInsight/HDInsight/help/Get-AzHDInsightHost.md +++ b/src/HDInsight/HDInsight/help/Get-AzHDInsightHost.md @@ -15,19 +15,19 @@ Lists the hosts of the HDInsight cluster. ### SetByNameParameterSet (Default) ``` Get-AzHDInsightHost [[-ResourceGroupName] ] [-ClusterName] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### SetByResourceIdParameterSet ``` Get-AzHDInsightHost [-ResourceId] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### SetByInputObjectParameterSet ``` Get-AzHDInsightHost [-InputObject] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -101,6 +101,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Gets or sets the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Get-AzHDInsightJob.md b/src/HDInsight/HDInsight/help/Get-AzHDInsightJob.md index 4cbbadacd404..42cf360fbc87 100644 --- a/src/HDInsight/HDInsight/help/Get-AzHDInsightJob.md +++ b/src/HDInsight/HDInsight/help/Get-AzHDInsightJob.md @@ -16,7 +16,7 @@ Gets the list of jobs from a cluster and lists them in reverse chronological ord ``` Get-AzHDInsightJob [-ClusterName] [-HttpCredential] [[-JobId] ] [-NumOfJobs ] [-ResourceGroupName ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -122,6 +122,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Specifies the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Get-AzHDInsightJobOutput.md b/src/HDInsight/HDInsight/help/Get-AzHDInsightJobOutput.md index 3fb68fc08818..d16b325e7b83 100644 --- a/src/HDInsight/HDInsight/help/Get-AzHDInsightJobOutput.md +++ b/src/HDInsight/HDInsight/help/Get-AzHDInsightJobOutput.md @@ -17,7 +17,7 @@ Gets the log output for a job from the storage account associated with a specifi Get-AzHDInsightJobOutput [-ClusterName] [-JobId] [[-DefaultContainer] ] [[-DefaultStorageAccountName] ] [[-DefaultStorageAccountKey] ] [-HttpCredential] [-ResourceGroupName ] [-DisplayOutputType ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -173,6 +173,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Specifies the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Get-AzHDInsightMonitoring.md b/src/HDInsight/HDInsight/help/Get-AzHDInsightMonitoring.md index 25d9e3a7ae9b..ca8c3471a85d 100644 --- a/src/HDInsight/HDInsight/help/Get-AzHDInsightMonitoring.md +++ b/src/HDInsight/HDInsight/help/Get-AzHDInsightMonitoring.md @@ -14,7 +14,7 @@ Gets the status of the Classic Azure Monitor logs integration on an HDInsight cl ``` Get-AzHDInsightMonitoring [-Name] [-ResourceGroupName ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -98,6 +98,21 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 resource group of the cluster. diff --git a/src/HDInsight/HDInsight/help/Get-AzHDInsightPersistedScriptAction.md b/src/HDInsight/HDInsight/help/Get-AzHDInsightPersistedScriptAction.md index b65d3c4b43d9..e5e99b6eec25 100644 --- a/src/HDInsight/HDInsight/help/Get-AzHDInsightPersistedScriptAction.md +++ b/src/HDInsight/HDInsight/help/Get-AzHDInsightPersistedScriptAction.md @@ -15,7 +15,7 @@ Gets the persisted script actions for a cluster and lists them in chronological ``` Get-AzHDInsightPersistedScriptAction [-ClusterName] [[-Name] ] [-ResourceGroupName ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -77,6 +77,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Specifies the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Get-AzHDInsightProperty.md b/src/HDInsight/HDInsight/help/Get-AzHDInsightProperty.md index acd144d26484..b1b2e6a85015 100644 --- a/src/HDInsight/HDInsight/help/Get-AzHDInsightProperty.md +++ b/src/HDInsight/HDInsight/help/Get-AzHDInsightProperty.md @@ -15,7 +15,7 @@ Gets properties about the HDInsight service, such as available locations and cap ``` Get-AzHDInsightProperty [-Location] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -62,6 +62,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### 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). diff --git a/src/HDInsight/HDInsight/help/Get-AzHDInsightScriptActionHistory.md b/src/HDInsight/HDInsight/help/Get-AzHDInsightScriptActionHistory.md index ebdaebf33a40..ee8a9b7895c6 100644 --- a/src/HDInsight/HDInsight/help/Get-AzHDInsightScriptActionHistory.md +++ b/src/HDInsight/HDInsight/help/Get-AzHDInsightScriptActionHistory.md @@ -15,7 +15,7 @@ Gets the script action history for a cluster and lists it in reverse chronologic ``` Get-AzHDInsightScriptActionHistory [-ClusterName] [[-ScriptExecutionId] ] - [-ResourceGroupName ] [-DefaultProfile ] + [-ResourceGroupName ] [-DefaultProfile ] [-ProgressAction ] [] ``` @@ -63,6 +63,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Specifies the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Invoke-AzHDInsightHiveJob.md b/src/HDInsight/HDInsight/help/Invoke-AzHDInsightHiveJob.md index f34dd41db359..1d96f3e0576e 100644 --- a/src/HDInsight/HDInsight/help/Invoke-AzHDInsightHiveJob.md +++ b/src/HDInsight/HDInsight/help/Invoke-AzHDInsightHiveJob.md @@ -17,7 +17,7 @@ Submits a Hive query to an HDInsight cluster and retrieves query results in one Invoke-AzHDInsightHiveJob [-Arguments ] [-Files ] [-StatusFolder ] [-Defines ] [-File ] [-JobName ] [-Query ] [-RunAsFileJob] [-DefaultContainer ] [-DefaultStorageAccountName ] [-DefaultStorageAccountKey ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -197,6 +197,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### -Query Specifies the Hive query. diff --git a/src/HDInsight/HDInsight/help/New-AzHDInsightCluster.md b/src/HDInsight/HDInsight/help/New-AzHDInsightCluster.md index b5ae14a34cbc..43a4c7f00ff1 100644 --- a/src/HDInsight/HDInsight/help/New-AzHDInsightCluster.md +++ b/src/HDInsight/HDInsight/help/New-AzHDInsightCluster.md @@ -37,8 +37,9 @@ New-AzHDInsightCluster [-Location] [-ResourceGroupName] [-Clus [-KafkaClientGroupId ] [-KafkaClientGroupName ] [-ResourceProviderConnection ] [-PrivateLink ] [-PublicIpTagType ] [-PublicIpTag ] [-OutboundDependenciesManagedType ] [-EnableComputeIsolation] [-ComputeIsolationHostSku ] - [-Zone ] [-PrivateLinkConfiguration ] - [-DefaultProfile ] [] + [-Zone ] [-Tag ] + [-PrivateLinkConfiguration ] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### CertificateFilePath @@ -66,8 +67,9 @@ New-AzHDInsightCluster [-Location] [-ResourceGroupName] [-Clus [-KafkaClientGroupName ] [-ResourceProviderConnection ] [-PrivateLink ] [-PublicIpTagType ] [-PublicIpTag ] [-OutboundDependenciesManagedType ] [-EnableComputeIsolation] [-ComputeIsolationHostSku ] [-Zone ] + [-Tag ] [-PrivateLinkConfiguration ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### CertificateFileContents @@ -95,8 +97,9 @@ New-AzHDInsightCluster [-Location] [-ResourceGroupName] [-Clus [-KafkaClientGroupName ] [-ResourceProviderConnection ] [-PrivateLink ] [-PublicIpTagType ] [-PublicIpTag ] [-OutboundDependenciesManagedType ] [-EnableComputeIsolation] [-ComputeIsolationHostSku ] [-Zone ] + [-Tag ] [-PrivateLinkConfiguration ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -1326,6 +1329,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### -PublicIpTag Gets or sets value of the IpTag associated with the public IP. Example HDInsight, SQL, Storage etc @@ -1572,6 +1590,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Tag +Gets or sets the cluster tags. + +```yaml +Type: System.Collections.Generic.Dictionary`2[System.String,System.String] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Version Specifies the HDI version of the HDInsight cluster. diff --git a/src/HDInsight/HDInsight/help/New-AzHDInsightClusterAutoscaleConfiguration.md b/src/HDInsight/HDInsight/help/New-AzHDInsightClusterAutoscaleConfiguration.md index 93bf681fb7b7..5aea30263cc7 100644 --- a/src/HDInsight/HDInsight/help/New-AzHDInsightClusterAutoscaleConfiguration.md +++ b/src/HDInsight/HDInsight/help/New-AzHDInsightClusterAutoscaleConfiguration.md @@ -16,14 +16,14 @@ Creates a non-persisted object that describes the autoscale configuration of an ### LoadAutoscaleParameterSet (Default) ``` New-AzHDInsightClusterAutoscaleConfiguration -MinWorkerNodeCount -MaxWorkerNodeCount - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### ScheduleAutoscaleParameterSet ``` New-AzHDInsightClusterAutoscaleConfiguration -TimeZone -Condition - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -110,6 +110,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### -TimeZone Gets or sets the time zone of schedule-based autoscale. diff --git a/src/HDInsight/HDInsight/help/New-AzHDInsightClusterAutoscaleScheduleCondition.md b/src/HDInsight/HDInsight/help/New-AzHDInsightClusterAutoscaleScheduleCondition.md index 3f2636ad3653..306dc8d9fd2e 100644 --- a/src/HDInsight/HDInsight/help/New-AzHDInsightClusterAutoscaleScheduleCondition.md +++ b/src/HDInsight/HDInsight/help/New-AzHDInsightClusterAutoscaleScheduleCondition.md @@ -16,7 +16,7 @@ Creates Schedule-based autoscale condition. ``` New-AzHDInsightClusterAutoscaleScheduleCondition -Time -WorkerNodeCount -Day [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -77,6 +77,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### -Time Gets or sets the time of Autoscale schedule condition. diff --git a/src/HDInsight/HDInsight/help/New-AzHDInsightClusterConfig.md b/src/HDInsight/HDInsight/help/New-AzHDInsightClusterConfig.md index 2e5c17135cd1..288e1d3cb506 100644 --- a/src/HDInsight/HDInsight/help/New-AzHDInsightClusterConfig.md +++ b/src/HDInsight/HDInsight/help/New-AzHDInsightClusterConfig.md @@ -22,7 +22,7 @@ New-AzHDInsightClusterConfig [-StorageAccountResourceId ] [-StorageAccou [-CertificatePassword ] [-AadTenantId ] [-MinSupportedTlsVersion ] [-AssignedIdentity ] [-EncryptionAlgorithm ] [-EncryptionKeyName ] [-EncryptionKeyVersion ] [-EncryptionVaultUri ] [-EncryptionInTransit ] - [-EncryptionAtHost ] [-DefaultProfile ] + [-EncryptionAtHost ] [-DefaultProfile ] [-ProgressAction ] [] ``` @@ -407,6 +407,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### -StorageAccountKey Gets or sets the storage account access key. diff --git a/src/HDInsight/HDInsight/help/New-AzHDInsightHiveJobDefinition.md b/src/HDInsight/HDInsight/help/New-AzHDInsightHiveJobDefinition.md index 9034860ccaf2..35e64e7cd213 100644 --- a/src/HDInsight/HDInsight/help/New-AzHDInsightHiveJobDefinition.md +++ b/src/HDInsight/HDInsight/help/New-AzHDInsightHiveJobDefinition.md @@ -16,7 +16,7 @@ Creates a Hive job object. ``` New-AzHDInsightHiveJobDefinition [-Arguments ] [-Files ] [-StatusFolder ] [-Defines ] [-File ] [-JobName ] [-Query ] [-RunAsFileJob] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -138,6 +138,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### -Query Specifies the Hive query. diff --git a/src/HDInsight/HDInsight/help/New-AzHDInsightIPConfiguration.md b/src/HDInsight/HDInsight/help/New-AzHDInsightIPConfiguration.md index 4bd508d751ed..af1ce6bf9fdf 100644 --- a/src/HDInsight/HDInsight/help/New-AzHDInsightIPConfiguration.md +++ b/src/HDInsight/HDInsight/help/New-AzHDInsightIPConfiguration.md @@ -15,7 +15,7 @@ Creates the IP configuration of private link configuration. ``` New-AzHDInsightIPConfiguration [-Name ] [-Primary] [-PrivateIPAddress ] [-PrivateIPAllocationMethod ] [-SubnetId ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -113,6 +113,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### -SubnetId Gets or sets the subnet resource id. diff --git a/src/HDInsight/HDInsight/help/New-AzHDInsightMapReduceJobDefinition.md b/src/HDInsight/HDInsight/help/New-AzHDInsightMapReduceJobDefinition.md index 68f7a3759bba..9f4b0ba6752b 100644 --- a/src/HDInsight/HDInsight/help/New-AzHDInsightMapReduceJobDefinition.md +++ b/src/HDInsight/HDInsight/help/New-AzHDInsightMapReduceJobDefinition.md @@ -16,7 +16,7 @@ Creates a MapReduce job object. ``` New-AzHDInsightMapReduceJobDefinition [-Arguments ] [-Files ] [-StatusFolder ] -ClassName [-Defines ] -JarFile [-JobName ] [-LibJars ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -163,6 +163,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### -StatusFolder Specifies the location of the folder that contains standard outputs and error outputs for a job. diff --git a/src/HDInsight/HDInsight/help/New-AzHDInsightPigJobDefinition.md b/src/HDInsight/HDInsight/help/New-AzHDInsightPigJobDefinition.md index b895ddd1da58..10fb11b5f204 100644 --- a/src/HDInsight/HDInsight/help/New-AzHDInsightPigJobDefinition.md +++ b/src/HDInsight/HDInsight/help/New-AzHDInsightPigJobDefinition.md @@ -16,7 +16,7 @@ Creates a Pig job object. ``` New-AzHDInsightPigJobDefinition [-Arguments ] [-Files ] [-StatusFolder ] [-File ] [-Query ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -108,6 +108,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### -Query Specifies the Pig query. diff --git a/src/HDInsight/HDInsight/help/New-AzHDInsightPrivateLinkConfiguration.md b/src/HDInsight/HDInsight/help/New-AzHDInsightPrivateLinkConfiguration.md index c5cb2dd9a3bc..ce078b12af19 100644 --- a/src/HDInsight/HDInsight/help/New-AzHDInsightPrivateLinkConfiguration.md +++ b/src/HDInsight/HDInsight/help/New-AzHDInsightPrivateLinkConfiguration.md @@ -15,7 +15,7 @@ Creates the private link configuration of the HDInsight cluster. ``` New-AzHDInsightPrivateLinkConfiguration [-Name ] [-GroupId ] [-IpConfiguration ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -103,6 +103,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### 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). diff --git a/src/HDInsight/HDInsight/help/New-AzHDInsightSqoopJobDefinition.md b/src/HDInsight/HDInsight/help/New-AzHDInsightSqoopJobDefinition.md index d1c31aa61503..d49cdbbbf286 100644 --- a/src/HDInsight/HDInsight/help/New-AzHDInsightSqoopJobDefinition.md +++ b/src/HDInsight/HDInsight/help/New-AzHDInsightSqoopJobDefinition.md @@ -16,7 +16,7 @@ Creates a Sqoop job object. ``` New-AzHDInsightSqoopJobDefinition [-Files ] [-StatusFolder ] [-File ] [-Command ] [-LibDir ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -117,6 +117,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### -StatusFolder Specifies the location of the folder that contains standard outputs and error outputs for a job. diff --git a/src/HDInsight/HDInsight/help/New-AzHDInsightStreamingMapReduceJobDefinition.md b/src/HDInsight/HDInsight/help/New-AzHDInsightStreamingMapReduceJobDefinition.md index 3bee37b9682a..f251714464de 100644 --- a/src/HDInsight/HDInsight/help/New-AzHDInsightStreamingMapReduceJobDefinition.md +++ b/src/HDInsight/HDInsight/help/New-AzHDInsightStreamingMapReduceJobDefinition.md @@ -17,7 +17,7 @@ Creates a Streaming MapReduce job object. New-AzHDInsightStreamingMapReduceJobDefinition [-Arguments ] [-File ] [-Files ] [-StatusFolder ] [-CommandEnvironment ] [-Defines ] -InputPath [-Mapper ] [-OutputPath ] [-Reducer ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -182,6 +182,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### -Reducer Specifies a Reducer file name. diff --git a/src/HDInsight/HDInsight/help/Remove-AzHDInsightCluster.md b/src/HDInsight/HDInsight/help/Remove-AzHDInsightCluster.md index 71386df2840e..dca66f1ac931 100644 --- a/src/HDInsight/HDInsight/help/Remove-AzHDInsightCluster.md +++ b/src/HDInsight/HDInsight/help/Remove-AzHDInsightCluster.md @@ -15,7 +15,7 @@ Removes the specified HDInsight cluster from the current subscription. ``` Remove-AzHDInsightCluster [-ClusterName] [-ResourceGroupName ] [-PassThru] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -80,6 +80,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Specifies the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Remove-AzHDInsightClusterAutoscaleConfiguration.md b/src/HDInsight/HDInsight/help/Remove-AzHDInsightClusterAutoscaleConfiguration.md index 0f8cd13d460c..211e9c070879 100644 --- a/src/HDInsight/HDInsight/help/Remove-AzHDInsightClusterAutoscaleConfiguration.md +++ b/src/HDInsight/HDInsight/help/Remove-AzHDInsightClusterAutoscaleConfiguration.md @@ -16,21 +16,21 @@ Removes the autoscale configuration of the HDInsight cluster. ### RemoveByNameParameterSet (Default) ``` Remove-AzHDInsightClusterAutoscaleConfiguration [[-ResourceGroupName] ] [-ClusterName] - [-AsJob] [-DefaultProfile ] [-WhatIf] [-Confirm] + [-AsJob] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### RemoveByResourceIdParameterSet ``` Remove-AzHDInsightClusterAutoscaleConfiguration [-ResourceId] [-AsJob] - [-DefaultProfile ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### RemoveByInputObjectParameterSet ``` Remove-AzHDInsightClusterAutoscaleConfiguration [-InputObject] [-AsJob] - [-DefaultProfile ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -110,6 +110,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Gets or sets the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Remove-AzHDInsightPersistedScriptAction.md b/src/HDInsight/HDInsight/help/Remove-AzHDInsightPersistedScriptAction.md index 90e735622853..810549e72d22 100644 --- a/src/HDInsight/HDInsight/help/Remove-AzHDInsightPersistedScriptAction.md +++ b/src/HDInsight/HDInsight/help/Remove-AzHDInsightPersistedScriptAction.md @@ -15,7 +15,7 @@ Removes an persisted script action from an HDInsight cluster. ``` Remove-AzHDInsightPersistedScriptAction [-ClusterName] [-Name] [-ResourceGroupName ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -80,6 +80,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Specifies the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Restart-AzHDInsightHost.md b/src/HDInsight/HDInsight/help/Restart-AzHDInsightHost.md index a38eccc2ec9d..7701f28c5b4b 100644 --- a/src/HDInsight/HDInsight/help/Restart-AzHDInsightHost.md +++ b/src/HDInsight/HDInsight/help/Restart-AzHDInsightHost.md @@ -15,7 +15,7 @@ Restarts the specific hosts of HDInsight cluster. ### SetByNameParameterSet (Default) ``` Restart-AzHDInsightHost [[-ResourceGroupName] ] [-ClusterName] [-Name] [-AsJob] - [-DefaultProfile ] [-PassThru] [-WhatIf] + [-DefaultProfile ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -23,7 +23,7 @@ Restart-AzHDInsightHost [[-ResourceGroupName] ] [-ClusterName] ``` Restart-AzHDInsightHost [[-ResourceGroupName] ] [-ClusterName] [-AzureHDInsightHostInfo] [-AsJob] [-DefaultProfile ] - [-PassThru] [-WhatIf] [-Confirm] [] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -142,6 +142,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Gets or sets the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Set-AzHDInsightClusterAutoscaleConfiguration.md b/src/HDInsight/HDInsight/help/Set-AzHDInsightClusterAutoscaleConfiguration.md index 1eba0d0285e0..5e52ddbc9af0 100644 --- a/src/HDInsight/HDInsight/help/Set-AzHDInsightClusterAutoscaleConfiguration.md +++ b/src/HDInsight/HDInsight/help/Set-AzHDInsightClusterAutoscaleConfiguration.md @@ -17,7 +17,7 @@ Sets the autoscale configuration of an Azure HDInsight cluster. ``` Set-AzHDInsightClusterAutoscaleConfiguration [[-ResourceGroupName] ] [-ClusterName] [-MinWorkerNodeCount ] [-MaxWorkerNodeCount ] [-AsJob] - [-DefaultProfile ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -26,7 +26,7 @@ Set-AzHDInsightClusterAutoscaleConfiguration [[-ResourceGroupName] ] [-C Set-AzHDInsightClusterAutoscaleConfiguration [[-ResourceGroupName] ] [-ClusterName] [-TimeZone ] [-Condition ] - [-Schedule] [-AsJob] [-DefaultProfile ] [-WhatIf] + [-Schedule] [-AsJob] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -34,21 +34,21 @@ Set-AzHDInsightClusterAutoscaleConfiguration [[-ResourceGroupName] ] [-C ``` Set-AzHDInsightClusterAutoscaleConfiguration [[-ResourceGroupName] ] [-ClusterName] -AutoscaleConfiguration [-AsJob] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### LoadAutoscaleByResourceIdParameterSet ``` Set-AzHDInsightClusterAutoscaleConfiguration [-ResourceId] [-MinWorkerNodeCount ] [-MaxWorkerNodeCount ] [-AsJob] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### ScheduleAutoscaleByResourceIdParameterSet ``` Set-AzHDInsightClusterAutoscaleConfiguration [-ResourceId] [-TimeZone ] [-Condition ] - [-Schedule] [-AsJob] [-DefaultProfile ] [-WhatIf] + [-Schedule] [-AsJob] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -56,14 +56,14 @@ Set-AzHDInsightClusterAutoscaleConfiguration [-ResourceId] [-TimeZone < ``` Set-AzHDInsightClusterAutoscaleConfiguration [-ResourceId] -AutoscaleConfiguration [-AsJob] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### LoadAutoscaleByInputObjectParameterSet ``` Set-AzHDInsightClusterAutoscaleConfiguration [-InputObject] [-MinWorkerNodeCount ] [-MaxWorkerNodeCount ] [-AsJob] - [-DefaultProfile ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -71,7 +71,7 @@ Set-AzHDInsightClusterAutoscaleConfiguration [-InputObject] [-TimeZone ] [-Condition ] - [-Schedule] [-AsJob] [-DefaultProfile ] [-WhatIf] + [-Schedule] [-AsJob] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -79,7 +79,7 @@ Set-AzHDInsightClusterAutoscaleConfiguration [-InputObject] -AutoscaleConfiguration [-AsJob] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -249,6 +249,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Gets or sets the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Set-AzHDInsightClusterDiskEncryptionKey.md b/src/HDInsight/HDInsight/help/Set-AzHDInsightClusterDiskEncryptionKey.md index a59c1716046b..a9c4e88f9c71 100644 --- a/src/HDInsight/HDInsight/help/Set-AzHDInsightClusterDiskEncryptionKey.md +++ b/src/HDInsight/HDInsight/help/Set-AzHDInsightClusterDiskEncryptionKey.md @@ -17,7 +17,7 @@ Rotates the disk encryption key of the specified HDInsight cluster. ``` Set-AzHDInsightClusterDiskEncryptionKey [-ResourceGroupName] [-Name] -EncryptionKeyName -EncryptionKeyVersion -EncryptionVaultUri - [-DefaultProfile ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -25,14 +25,14 @@ Set-AzHDInsightClusterDiskEncryptionKey [-ResourceGroupName] [-Name] -EncryptionKeyName -EncryptionKeyVersion -EncryptionVaultUri [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### SetByInputObjectParameterSet ``` Set-AzHDInsightClusterDiskEncryptionKey [-InputObject] -EncryptionKeyName -EncryptionKeyVersion -EncryptionVaultUri [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -158,6 +158,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Gets or sets the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Set-AzHDInsightClusterSize.md b/src/HDInsight/HDInsight/help/Set-AzHDInsightClusterSize.md index 3d478785ef6d..55e0c459b376 100644 --- a/src/HDInsight/HDInsight/help/Set-AzHDInsightClusterSize.md +++ b/src/HDInsight/HDInsight/help/Set-AzHDInsightClusterSize.md @@ -15,7 +15,7 @@ Sets the number of Worker nodes in a specified cluster. ``` Set-AzHDInsightClusterSize [-ClusterName] [-TargetInstanceCount] [-ResourceGroupName ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -62,6 +62,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Specifies the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Set-AzHDInsightDefaultStorage.md b/src/HDInsight/HDInsight/help/Set-AzHDInsightDefaultStorage.md index e1fd3e7ea1ad..f5082543aa57 100644 --- a/src/HDInsight/HDInsight/help/Set-AzHDInsightDefaultStorage.md +++ b/src/HDInsight/HDInsight/help/Set-AzHDInsightDefaultStorage.md @@ -16,7 +16,7 @@ Sets the default Storage account setting in a cluster configuration object. ``` Set-AzHDInsightDefaultStorage [-Config] [-StorageAccountResourceId] [[-StorageAccountKey] ] [-StorageAccountType ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -95,6 +95,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 +``` + ### -StorageAccountKey Specifies the account key for the default Azure Storage account that the HDInsight cluster will use. diff --git a/src/HDInsight/HDInsight/help/Set-AzHDInsightGatewayCredential.md b/src/HDInsight/HDInsight/help/Set-AzHDInsightGatewayCredential.md index 023f7e733016..4b65c5acb799 100644 --- a/src/HDInsight/HDInsight/help/Set-AzHDInsightGatewayCredential.md +++ b/src/HDInsight/HDInsight/help/Set-AzHDInsightGatewayCredential.md @@ -16,20 +16,20 @@ Sets the gateway HTTP credentials of an Azure HDInsight cluster. ``` Set-AzHDInsightGatewayCredential [-Name] [-HttpCredential] [-ResourceGroupName ] [-AsJob] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### SetByInputObjectParameterSet ``` Set-AzHDInsightGatewayCredential [-HttpCredential] [-AsJob] [-DefaultProfile ] -InputObject - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### SetByResourceIdParameterSet ``` Set-AzHDInsightGatewayCredential [-HttpCredential] [-AsJob] - [-DefaultProfile ] -ResourceId [-WhatIf] + [-DefaultProfile ] -ResourceId [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -149,6 +149,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Gets or sets the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Set-AzHDInsightPersistedScriptAction.md b/src/HDInsight/HDInsight/help/Set-AzHDInsightPersistedScriptAction.md index a42ce7c448e3..dd799afa8c98 100644 --- a/src/HDInsight/HDInsight/help/Set-AzHDInsightPersistedScriptAction.md +++ b/src/HDInsight/HDInsight/help/Set-AzHDInsightPersistedScriptAction.md @@ -15,7 +15,7 @@ Sets a previously executed script action to be a persisted script action. ``` Set-AzHDInsightPersistedScriptAction [-ClusterName] [-ScriptExecutionId] - [-ResourceGroupName ] [-DefaultProfile ] + [-ResourceGroupName ] [-DefaultProfile ] [-ProgressAction ] [] ``` @@ -67,6 +67,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Specifies the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Start-AzHDInsightJob.md b/src/HDInsight/HDInsight/help/Start-AzHDInsightJob.md index 04f7e3dc9441..67357c04d74a 100644 --- a/src/HDInsight/HDInsight/help/Start-AzHDInsightJob.md +++ b/src/HDInsight/HDInsight/help/Start-AzHDInsightJob.md @@ -16,7 +16,7 @@ Starts a defined Azure HDInsight job on a specified cluster. ``` Start-AzHDInsightJob [-ClusterName] [-JobDefinition] [-HttpCredential] [-ResourceGroupName ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -106,6 +106,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Specifies the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Stop-AzHDInsightJob.md b/src/HDInsight/HDInsight/help/Stop-AzHDInsightJob.md index 0d9f42b2c96e..5ee762d0bab4 100644 --- a/src/HDInsight/HDInsight/help/Stop-AzHDInsightJob.md +++ b/src/HDInsight/HDInsight/help/Stop-AzHDInsightJob.md @@ -15,7 +15,7 @@ Stops a specified running job on a cluster. ``` Stop-AzHDInsightJob [-ClusterName] [-JobId] [-HttpCredential] - [-ResourceGroupName ] [-DefaultProfile ] + [-ResourceGroupName ] [-DefaultProfile ] [-ProgressAction ] [] ``` @@ -99,6 +99,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Specifies the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Submit-AzHDInsightScriptAction.md b/src/HDInsight/HDInsight/help/Submit-AzHDInsightScriptAction.md index 52c8f261df6f..ae2236620466 100644 --- a/src/HDInsight/HDInsight/help/Submit-AzHDInsightScriptAction.md +++ b/src/HDInsight/HDInsight/help/Submit-AzHDInsightScriptAction.md @@ -17,7 +17,7 @@ Submits a new script action to an Azure HDInsight cluster. Submit-AzHDInsightScriptAction [-ClusterName] [-Name] [-Uri] [-NodeTypes] [[-Parameters] ] [[-ApplicationName] ] [-PersistOnSuccess] [-ResourceGroupName ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -147,6 +147,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Specifies the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Update-AzHDInsightCluster.md b/src/HDInsight/HDInsight/help/Update-AzHDInsightCluster.md index b55b33dca263..6eff90563290 100644 --- a/src/HDInsight/HDInsight/help/Update-AzHDInsightCluster.md +++ b/src/HDInsight/HDInsight/help/Update-AzHDInsightCluster.md @@ -13,9 +13,9 @@ Update tags or managed identities for a HDInsight cluster. ## SYNTAX ``` -Update-AzHDInsightCluster [-ClusterName] [-IdentityType ] [-IdentityId ] +Update-AzHDInsightCluster [-ClusterName] [-IdentityType ] [-IdentityId ] [-Tag ] [-ResourceGroupName ] - [-DefaultProfile ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -24,7 +24,7 @@ This **Update-AzHDInsightCluster** cmdlet update the tags or managed identity o ## EXAMPLES -### Example 1 +### Example 1: Update tags for the cluster. ```powershell $clusterName = "your-hadoop-001" $tags = New-Object 'System.Collections.Generic.Dictionary[System.String,System.String]' @@ -34,18 +34,44 @@ $tags.Add('Tag2', 'Value2') Update-AzHDInsightCluster -ClusterName $clusterName -Tag $tags ``` -Update tags for the cluster. +### Example 2: Update manage identity with single UserAssigned msi. +```powershell +$clusterName = "your-hadoop-001" +$identityType = "UserAssigned" +$identityId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft ManagedIdentity/userAssignedIdentities/hdi-msi" + +Update-AzHDInsightCluster -ClusterName $clusterName -IdentityType $identityType -IdentityId $identityId +``` -### Example 2 +### Example 3: Update manage identity with multiple UserAssigned msi. ```powershell $clusterName = "your-hadoop-001" -$identityId = "/subscriptions/00000000-0000-0000-0000-000000000000 -/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdi-msi" +$identityType = "UserAssigned" +$identityIds = @( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdi-msi", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdi-msi1" +) -Update-AzHDInsightCluster -ClusterName $clusterName -IdentityType UserAssigned -IdentityId $identityId +Update-AzHDInsightCluster -ClusterName $clusterName -IdentityType $identityType -IdentityId $identityIds ``` -Update UserAssigned identity for the cluster. +### Example 4: Update SystemAssigned manage identity. +```powershell +$clusterName = "your-hadoop-001" +$identityType = "SystemAssigned" +$identityId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdi-msi" + +Update-AzHDInsightCluster -ClusterName $clusterName -IdentityType $identityType +``` + +### Example 5: Update manage identity with SystemAssigned,UserAssigned msi. +```powershell +$clusterName = "your-hadoop-001" +$identityId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdi-msi" +$identityType = "SystemAssigned,UserAssigned" + +Update-AzHDInsightCluster -ClusterName $clusterName -IdentityType $identityType -IdentityId $identityId +``` ## PARAMETERS @@ -83,7 +109,7 @@ Accept wildcard characters: False Gets or sets the list of user identities associated with the cluster. ```yaml -Type: System.String +Type: System.String[] Parameter Sets: (All) Aliases: @@ -110,6 +136,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Gets or sets the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Use-AzHDInsightCluster.md b/src/HDInsight/HDInsight/help/Use-AzHDInsightCluster.md index 56e449d82b17..0930b34ccb6c 100644 --- a/src/HDInsight/HDInsight/help/Use-AzHDInsightCluster.md +++ b/src/HDInsight/HDInsight/help/Use-AzHDInsightCluster.md @@ -15,7 +15,7 @@ Selects a cluster to be used with the Invoke-RmAzureHDInsightHiveJob cmdlet. ``` Use-AzHDInsightCluster [-ClusterName] [-HttpCredential] [-ResourceGroupName ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -83,6 +83,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Specifies the name of the resource group. diff --git a/src/HDInsight/HDInsight/help/Wait-AzHDInsightJob.md b/src/HDInsight/HDInsight/help/Wait-AzHDInsightJob.md index e54c12c2e129..3145bde95f54 100644 --- a/src/HDInsight/HDInsight/help/Wait-AzHDInsightJob.md +++ b/src/HDInsight/HDInsight/help/Wait-AzHDInsightJob.md @@ -16,7 +16,7 @@ Waits for the completion or failure of a specified job. ``` Wait-AzHDInsightJob [-ClusterName] [-JobId] [-HttpCredential] [-ResourceGroupName ] [-TimeoutInSeconds ] [-WaitIntervalInSeconds ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ## DESCRIPTION @@ -109,6 +109,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -ProgressAction +Specifies how the cmdlet should handle progress updates. + +```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 Specifies the name of the resource group. diff --git a/tools/StaticAnalysis/Exceptions/Az.HDInsight/BreakingChangeIssues.csv b/tools/StaticAnalysis/Exceptions/Az.HDInsight/BreakingChangeIssues.csv new file mode 100644 index 000000000000..0c6e17413c69 --- /dev/null +++ b/tools/StaticAnalysis/Exceptions/Az.HDInsight/BreakingChangeIssues.csv @@ -0,0 +1,2 @@ +"Module","ClassName","Target","Severity","ProblemId","Description","Remediation" +"Az.HDInsight","Microsoft.Azure.Commands.HDInsight.UpdateAzureHDInsightClusterCommand","Update-AzHDInsightCluster","0","2020","The cmdlet 'Update-AzHDInsightCluster' no longer supports the type 'System.String' for parameter 'IdentityId'.","Change the type for parameter 'IdentityId' back to 'System.String'." \ No newline at end of file diff --git a/tools/StaticAnalysis/Exceptions/Az.HDInsight/SignatureIssues.csv b/tools/StaticAnalysis/Exceptions/Az.HDInsight/SignatureIssues.csv index 2b626762adbc..4841e2963434 100644 --- a/tools/StaticAnalysis/Exceptions/Az.HDInsight/SignatureIssues.csv +++ b/tools/StaticAnalysis/Exceptions/Az.HDInsight/SignatureIssues.csv @@ -71,4 +71,4 @@ "Microsoft.Azure.PowerShell.Cmdlets.HDInsight.dll","Microsoft.Azure.Commands.HDInsight.NewAzureHDInsightClusterAutoscaleScheduleConditionCommand","New-AzHDInsightClusterAutoscaleScheduleCondition","1","8100","New-AzHDInsightClusterAutoscaleScheduleCondition Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" "Microsoft.Azure.PowerShell.Cmdlets.HDInsight.dll","Microsoft.Azure.Commands.HDInsight.NewAzureHDInsightIPConfigurationCommand","New-AzHDInsightIPConfiguration","1","8100","New-AzHDInsightIPConfiguration Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" "Microsoft.Azure.PowerShell.Cmdlets.HDInsight.dll","Microsoft.Azure.Commands.HDInsight.NewAzureHDInsightPrivateLinkConfiguration","New-AzHDInsightPrivateLinkConfiguration","1","8100","New-AzHDInsightPrivateLinkConfiguration Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" -"Microsoft.Azure.PowerShell.Cmdlets.HDInsight.dll","Microsoft.Azure.Commands.HDInsight.NewAzureHDInsightClusterAutoscaleConfiguration","New-AzHDInsightClusterAutoscaleConfiguration","1","8100","New-AzHDInsightClusterAutoscaleConfiguration Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" +"Microsoft.Azure.PowerShell.Cmdlets.HDInsight.dll","Microsoft.Azure.Commands.HDInsight.NewAzureHDInsightClusterAutoscaleConfiguration","New-AzHDInsightClusterAutoscaleConfiguration","1","8100","New-AzHDInsightClusterAutoscaleConfiguration Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue" \ No newline at end of file