[CustomLocation] Update custom location api version#23598
[CustomLocation] Update custom location api version#23598dolauli merged 6 commits intogenerationfrom
Conversation
️✔️Az.Accounts
|
| Type | Cmdlet | Description | Remediation |
|---|---|---|---|
| Get-AzCustomLocation | Get-AzCustomLocation Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. | Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue | |
| Get-AzCustomLocation | Get-AzCustomLocation changes the confirm impact. Please ensure that the change in ConfirmImpact is justified | Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact. | |
| Get-AzCustomLocationEnabledResourceType | Get-AzCustomLocationEnabledResourceType Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. | Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue | |
| Get-AzCustomLocationEnabledResourceType | Get-AzCustomLocationEnabledResourceType changes the confirm impact. Please ensure that the change in ConfirmImpact is justified | Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact. | |
| Get-AzCustomLocationResourceSyncRule | Get-AzCustomLocationResourceSyncRule Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. | Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue | |
| Get-AzCustomLocationResourceSyncRule | Get-AzCustomLocationResourceSyncRule changes the confirm impact. Please ensure that the change in ConfirmImpact is justified | Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact. | |
| New-AzCustomLocationMatchExpressionsObject | New-AzCustomLocationMatchExpressionsObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified | Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact. |
️✔️Help Example Check
️✔️PowerShell Core - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
⚠️ File Change Check
⚠️ PowerShell Core - Windows
Type Cmdlet Description Remediation ⚠️ It is required to update ChangeLog.md if you want to release a new version for Az.CustomLocation. Add a changelog record under Upcoming Release section with past tense.
️✔️UX Metadata Check
️✔️PowerShell Core - Windows
️✔️Test
️✔️PowerShell Core - Linux
️✔️PowerShell Core - MacOS
️✔️PowerShell Core - Windows
|
|
|
Need service team feedback |
| # For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option | ||
| use-extension: | ||
| "@autorest/powershell": "3.x" | ||
| "@autorest/powershell": "4.x" |
There was a problem hiding this comment.
Use-extension is not needed here, since the default extension is 4.x
| subject-prefix: $(service-name) | ||
|
|
||
| identity-correction-for-post: true | ||
| resourcegroup-append: true |
There was a problem hiding this comment.
Please remove line 44 and line 45, since they are true by default in v4.
| identity-correction-for-post: true | ||
| resourcegroup-append: true | ||
| nested-object-to-string: true | ||
| auto-switch-view: false |
There was a problem hiding this comment.
Any special reason we add line 46, if not, please remove it.
| @@ -1,7 +1,6 @@ | |||
|
|
|||
There was a problem hiding this comment.
What are these two custom cmdlets for? It seems there are not any custom logic
There was a problem hiding this comment.
ClusterExtensionId, HostResourceId, Namespace
The service team believes that these three parameters should be mandatory.
|
This PR was labeled "needs-revision" because it has unresolved review comments or CI failures. |
Description
Swagger: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-08-31-preview/customlocations.json
Design: https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/1400
ChangeLog
Checklist
CONTRIBUTING.mdand reviewed the following information:generationbranch.ChangeLog.mdfile(s) appropriatelyChangeLog.mdfile can be found atsrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md## Upcoming Releaseheader in the past tense. Add changelog in description section if PR goes intogenerationbranch.ChangeLog.mdif no new release is required, such as fixing test case only.