-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[HDInsight] Fix bug and add new parameter. #26133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
️✔️Az.Accounts
|
Type | Cmdlet | Example | Line | RuleName | Description | Extent | Remediation |
---|---|---|---|---|---|---|---|
Add-AzHDInsightClusterIdentity | 1 | 27 | Mismatched_Parameter_Value_Type | Add-AzHDInsightClusterIdentity -AadTenantId $tenantId is not an expected parameter value type. | -AadTenantId | Use correct parameter value type. Expected Type is guid. Now the type is .(Command). | |
Add-AzHDInsightClusterIdentity | 1 | 42 | Unassigned_Variable | New-AzHDInsightCluster -StorageContainer $storageAccountContainer is a null-valued parameter value. | -StorageContainer | Assign value for $storageAccountContainer. | |
Add-AzHDInsightComponentVersion | 1 | 36 | Unassigned_Variable | New-AzHDInsightCluster -SshCredential $sshCredentials is a null-valued parameter value. | -SshCredential | Assign value for $sshCredentials. | |
Add-AzHDInsightConfigValue | 1 | 37 | Unassigned_Variable | New-AzHDInsightCluster -StorageContainer $storageAccountContainer is a null-valued parameter value. | -StorageContainer | Assign value for $storageAccountContainer. | |
Add-AzHDInsightStorage | 1 | 30 | Unassigned_Variable | Add-AzHDInsightStorage -StorageAccountKey $key2 is a null-valued parameter value. | -StorageAccountKey | Assign value for $key2. | |
New-AzHDInsightCluster | 9 | 47 | Mismatched_Parameter_Value_Type | New-AzHDInsightCluster -SecurityProfile $config.SecurityProfile is not an expected parameter value type. | -SecurityProfile | Use correct parameter value type. Expected Type is Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightSecurityProfile. Now the type is .(Command). | |
New-AzHDInsightCluster | 11 | 27 | Unassigned_Variable | New-AzHDInsightIPConfiguration -SubnetId $subnetId is a null-valued parameter value. | -SubnetId | Assign value for $subnetId. | |
New-AzHDInsightCluster | 13 | 42 | Mismatched_Parameter_Value_Type | New-AzHDInsightCluster -SecurityProfile $config.SecurityProfile is not an expected parameter value type. | -SecurityProfile | Use correct parameter value type. Expected Type is Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightSecurityProfile. Now the type is .(Command). | |
New-AzHDInsightClusterConfig | 1 | 23 | Unassigned_Variable | Add-AzHDInsightStorage -StorageAccountKey $key2 is a null-valued parameter value. | -StorageAccountKey | Assign value for $key2. | |
New-AzHDInsightMapReduceJobDefinition | 1 | 5 | Unassigned_Variable | New-AzHDInsightMapReduceJobDefinition -StatusFolder $statusFolder is a null-valued parameter value. | -StatusFolder | Assign value for $statusFolder. | |
New-AzHDInsightMapReduceJobDefinition | 1 | 6 | Unassigned_Variable | New-AzHDInsightMapReduceJobDefinition -ClassName $className is a null-valued parameter value. | -ClassName | Assign value for $className. | |
New-AzHDInsightMapReduceJobDefinition | 1 | 7 | Unassigned_Variable | New-AzHDInsightMapReduceJobDefinition -JarFile $jarFilePath is a null-valued parameter value. | -JarFile | Assign value for $jarFilePath. | |
New-AzHDInsightSqoopJobDefinition | 1 | 5 | Unassigned_Variable | New-AzHDInsightSqoopJobDefinition -StatusFolder $statusFolder is a null-valued parameter value. | -StatusFolder | Assign value for $statusFolder. | |
New-AzHDInsightSqoopJobDefinition | 1 | 6 | Unassigned_Variable | New-AzHDInsightSqoopJobDefinition -Command $sqoopCommand is a null-valued parameter value. | -Command | Assign value for $sqoopCommand. | |
Set-AzHDInsightDefaultStorage | 1 | 23 | Unassigned_Variable | Set-AzHDInsightDefaultStorage -StorageAccountKey $key2 is a null-valued parameter value. | -StorageAccountKey | Assign value for $key2. | |
Set-AzHDInsightGatewayCredential | 2 | 3 | Unassigned_Variable | Set-AzHDInsightGatewayCredential -HttpCredential $clusterCreds is a null-valued parameter value. | -HttpCredential | Assign value for $clusterCreds. | |
Stop-AzHDInsightJob | 1 | 7 | Unassigned_Variable | Stop-AzHDInsightJob -JobId $jobId is a null-valued parameter value. | -JobId | Assign value for $jobId. |
⚠️ Windows PowerShell - Windows
Type | Cmdlet | Example | Line | RuleName | Description | Extent | Remediation |
---|---|---|---|---|---|---|---|
Add-AzHDInsightClusterIdentity | 1 | 27 | Mismatched_Parameter_Value_Type | Add-AzHDInsightClusterIdentity -AadTenantId $tenantId is not an expected parameter value type. | -AadTenantId | Use correct parameter value type. Expected Type is guid. Now the type is .(Command). | |
Add-AzHDInsightClusterIdentity | 1 | 42 | Unassigned_Variable | New-AzHDInsightCluster -StorageContainer $storageAccountContainer is a null-valued parameter value. | -StorageContainer | Assign value for $storageAccountContainer. | |
Add-AzHDInsightComponentVersion | 1 | 36 | Unassigned_Variable | New-AzHDInsightCluster -SshCredential $sshCredentials is a null-valued parameter value. | -SshCredential | Assign value for $sshCredentials. | |
Add-AzHDInsightConfigValue | 1 | 37 | Unassigned_Variable | New-AzHDInsightCluster -StorageContainer $storageAccountContainer is a null-valued parameter value. | -StorageContainer | Assign value for $storageAccountContainer. | |
Add-AzHDInsightStorage | 1 | 30 | Unassigned_Variable | Add-AzHDInsightStorage -StorageAccountKey $key2 is a null-valued parameter value. | -StorageAccountKey | Assign value for $key2. | |
New-AzHDInsightCluster | 9 | 47 | Mismatched_Parameter_Value_Type | New-AzHDInsightCluster -SecurityProfile $config.SecurityProfile is not an expected parameter value type. | -SecurityProfile | Use correct parameter value type. Expected Type is Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightSecurityProfile. Now the type is .(Command). | |
New-AzHDInsightCluster | 11 | 27 | Unassigned_Variable | New-AzHDInsightIPConfiguration -SubnetId $subnetId is a null-valued parameter value. | -SubnetId | Assign value for $subnetId. | |
New-AzHDInsightCluster | 13 | 42 | Mismatched_Parameter_Value_Type | New-AzHDInsightCluster -SecurityProfile $config.SecurityProfile is not an expected parameter value type. | -SecurityProfile | Use correct parameter value type. Expected Type is Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightSecurityProfile. Now the type is .(Command). | |
New-AzHDInsightClusterConfig | 1 | 23 | Unassigned_Variable | Add-AzHDInsightStorage -StorageAccountKey $key2 is a null-valued parameter value. | -StorageAccountKey | Assign value for $key2. | |
New-AzHDInsightMapReduceJobDefinition | 1 | 5 | Unassigned_Variable | New-AzHDInsightMapReduceJobDefinition -StatusFolder $statusFolder is a null-valued parameter value. | -StatusFolder | Assign value for $statusFolder. | |
New-AzHDInsightMapReduceJobDefinition | 1 | 6 | Unassigned_Variable | New-AzHDInsightMapReduceJobDefinition -ClassName $className is a null-valued parameter value. | -ClassName | Assign value for $className. | |
New-AzHDInsightMapReduceJobDefinition | 1 | 7 | Unassigned_Variable | New-AzHDInsightMapReduceJobDefinition -JarFile $jarFilePath is a null-valued parameter value. | -JarFile | Assign value for $jarFilePath. | |
New-AzHDInsightSqoopJobDefinition | 1 | 5 | Unassigned_Variable | New-AzHDInsightSqoopJobDefinition -StatusFolder $statusFolder is a null-valued parameter value. | -StatusFolder | Assign value for $statusFolder. | |
New-AzHDInsightSqoopJobDefinition | 1 | 6 | Unassigned_Variable | New-AzHDInsightSqoopJobDefinition -Command $sqoopCommand is a null-valued parameter value. | -Command | Assign value for $sqoopCommand. | |
Set-AzHDInsightDefaultStorage | 1 | 23 | Unassigned_Variable | Set-AzHDInsightDefaultStorage -StorageAccountKey $key2 is a null-valued parameter value. | -StorageAccountKey | Assign value for $key2. | |
Set-AzHDInsightGatewayCredential | 2 | 3 | Unassigned_Variable | Set-AzHDInsightGatewayCredential -HttpCredential $clusterCreds is a null-valued parameter value. | -HttpCredential | Assign value for $clusterCreds. | |
Stop-AzHDInsightJob | 1 | 7 | Unassigned_Variable | Stop-AzHDInsightJob -JobId $jobId is a null-valued parameter value. | -JobId | Assign value for $jobId. |
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️File Change Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️UX Metadata Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Generated Sdk Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️ Test
⚠️ - Linux
Type Title Current Coverage Description ⚠️ Test Coverage Less Than 50% 40.38 % Test coverage for the module cannot be lower than 50%.
⚠️ - MacOS
Type Title Current Coverage Description ⚠️ Test Coverage Less Than 50% 40.38% Test coverage for the module cannot be lower than 50%.
⚠️ PowerShell Core - Windows
Type Title Current Coverage Description ⚠️ Test Coverage Less Than 50% 40.38% Test coverage for the module cannot be lower than 50%.
⚠️ Windows PowerShell - Windows
Type Title Current Coverage Description ⚠️ Test Coverage Less Than 50% 40.38% Test coverage for the module cannot be lower than 50%.
️✔️Az.ManagedServiceIdentity
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.OperationalInsights
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
vidai-msft
approved these changes
Nov 1, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/azp run azure-powershell - security-tools |
Azure Pipelines successfully started running 1 pipeline(s). |
github-actions bot
pushed a commit
that referenced
this pull request
Nov 1, 2024
* 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 <[email protected]>
VeryEarly
added a commit
that referenced
this pull request
Nov 4, 2024
* 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: yuc-Li <[email protected]> Co-authored-by: v-yuchenli <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.md
and reviewed the following information:ChangeLog.md
file(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
.## Upcoming Release
header in the past tense.ChangeLog.md
if no new release is required, such as fixing test case only.