azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

Added Delete Option for Set-AzVmssStorageProfile and Add-AzVmssDataD…

Open pselugar opened this issue 3 years ago • 8 comments
trafficstars

…isk cmdlets

Description

Please find the Design request here

  • https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/1176

Checklist

  • [x] Check this box to confirm: I have read the Submitting Changes section of CONTRIBUTING.md and reviewed the following information:
  • SHOULD select appropriate branch. Cmdlets from Autorest.PowerShell should go to generation branch.
  • SHOULD make the title of PR clear and informative, and in the present imperative tense.
  • SHOULD update ChangeLog.md file(s) appropriately
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense. Add changelog in description section if PR goes into generation branch.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD have approved design review for the changes in this repository (Microsoft internal only) with following situations
    • Create new module from the scratch
    • Create new resource types which are not easy to conform to Azure PowerShell Design Guidelines
    • Create new resource type which name doesn't use module name as prefix
    • Have design question before implementation
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT introduce breaking changes in Az minor release except preview version.
  • SHOULD NOT change version of module in pull request

pselugar avatar Jul 29 '22 18:07 pselugar

could you add powershell design to the description?

grizzlytheodore avatar Aug 04 '22 14:08 grizzlytheodore

please update description for this PR and add powershell design link

grizzlytheodore avatar Aug 05 '22 21:08 grizzlytheodore

could you add powershell design to the description?

Added powershell design to the description

pselugar avatar Aug 08 '22 13:08 pselugar

please update description for this PR and add powershell design link

Updated

pselugar avatar Aug 08 '22 13:08 pselugar

LGTM @isra-fel could you review/merge?

grizzlytheodore avatar Aug 08 '22 14:08 grizzlytheodore

Again, my question is about the inconsistency of parameter names: *Delete*Option vs. OsDisk*Deletion*Option. They may cause some confusion for customers. Which one is more formal? Can you use one word for both parameters?

Also please resolve the conflicts.

isra-fel avatar Aug 09 '22 06:08 isra-fel

I find it a little confusing that one parameter is called *Delete*Option while another is OsDisk*Deletion*Option. Is there any particular reason they are different?

Regarding this, the naming conventions *Delete*Option and OsDisk*Deletion*Option are defined in the PR design itself (https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/1176).

I followed the PR design in naming conventions, can you please have a look at design?

For clarity- DeleteOption- refers to Data Disk deletion OsDiskDeletionOption - Delete Os Disk profile

pselugar avatar Aug 09 '22 15:08 pselugar

@pselugar Hi, I checked the design and it read OsDiskDeleteOption (rather than "Deletion"). So please correct the name of this parameter. Don't forget to refresh the documents. Thanks.

isra-fel avatar Aug 10 '22 01:08 isra-fel

@pselugar Hi, I checked the design and it read OsDiskDeleteOption (rather than "Deletion"). So please correct the name of this parameter. Don't forget to refresh the documents. Thanks.

Thanks for the catch. Made the changes and generated corresponding .md files.

pselugar avatar Aug 10 '22 17:08 pselugar

/azp run azure-powershell - security-tools

isra-fel avatar Aug 11 '22 01:08 isra-fel

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Aug 11 '22 01:08 azure-pipelines[bot]