Skip to content
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

New api version/asr2021 02 10 #27

Merged
merged 38 commits into from
Apr 16, 2021

Conversation

nilgupta6
Copy link

Description


This checklist is used to make sure that common guidelines for a pull request are followed. You can find a more complete discussion of PowerShell cmdlet best practices here.

General Guidelines

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.
  • The pull request does not introduce breaking changes (unless a major version change occurs in the assembly and module).

Testing Guidelines

  • Pull request includes test coverage for the included changes.
  • PowerShell scripts used in tests should do any necessary setup as part of the test or suite setup, and should not use hard-coded values for locations or existing resources.

Cmdlet Signature Guidelines

  • New cmdlets that make changes or have side effects should implement ShouldProcess and have SupportShouldProcess=true specified in the cmdlet attribute. You can find more information on ShouldProcess here.
  • Cmdlet specifies OutputType attribute if any output is produced - if the cmdlet produces no output, it should implement a PassThru parameter.

Cmdlet Parameter Guidelines

  • Parameter types should not expose types from the management library - complex parameter types should be defined in the module.
  • Complex parameter types are discouraged - a parameter type should be simple types as often as possible. If complex types are used, they should be shallow and easily creatable from a constructor or another cmdlet.
  • Cmdlet parameter sets should be mutually exclusive - each parameter set must have at least one mandatory parameter not in other parameter sets.

nilgupta6 and others added 30 commits March 16, 2021 17:59
bringing Asr one sdk azure- master in sync with master branch for azure/azure-powershell
review changes

code review changes

moved validaton to nicConfig cmdlet and review changes

minor fix

handled review comments

parameter validation changes, logs

design review changes
subash's multiple IP per NIC PR changes
Fixing B2A, E2A and E2E Tests and added recording
VMSS powerShell changes to common branch
@nilgupta6 nilgupta6 closed this Apr 16, 2021
@nilgupta6 nilgupta6 reopened this Apr 16, 2021
@nilgupta6 nilgupta6 merged commit 54b5afa into newApiVersion/asr2021-02-10-v2 Apr 16, 2021
nilgupta6 added a commit that referenced this pull request Apr 19, 2021
* Fixing PFO/TFO/UFO build errors

* mulltiple ip per nic - cmdlet changes

* review changes

* code review changes

* moved validaton to nicConfig cmdlet and review changes

* minor fix

* handled review comments

* parameter validation changes, logs

* design review changes

* Fixing PFO/TFO/UFO build errors

* mulltiple ip per nic - cmdlet changes

review changes

code review changes

moved validaton to nicConfig cmdlet and review changes

minor fix

handled review comments

parameter validation changes, logs

design review changes
subash's multiple IP per NIC PR changes

* Fixing B2A, E2A and E2E Tests and added recording

* [ASR][V2A/H2A] TargetVmSize, AvSet, Sql RP and ResourceTagging changes for V2A and H2A

* Minor fix

* vmss changes -1

* 2) vmss changes - MD files

* Addressed review comments and added new tests and recordings for B2A

* vmss changes

* Addressed review comments

* Minor fixes

* Added V2A tests and recordings

* PR comments

* Update New-AzRecoveryServicesAsrReplicationProtectedItem.md

* Minor Fix

* Adding null for OdataQuery as its default value is also null.

* V2A test record json files

* Fix for Resource Tagging to clear off tags

* Minor fix in playback mode for v2a unit tests

Co-authored-by: Arpita Gupta <arpgup@microsoft.com>
Co-authored-by: subashchandra31 <subash.chandra@microsoft.com>
Co-authored-by: subashchandra31 <66659771+subashchandra31@users.noreply.github.com>
Co-authored-by: Arpitaji <78065343+Arpitaji@users.noreply.github.com>
Co-authored-by: Vidyadhari Jami <vijami@microsoft.com>
Co-authored-by: vidyadharijami <57709079+vidyadharijami@users.noreply.github.com>
Co-authored-by: prmyaka <prmyaka@microsoft.com>
imshashwataggarwal pushed a commit that referenced this pull request May 5, 2021
…2-10 (Azure#14768)

* New api version/asr2021 02 10 (#27)

* Fixing PFO/TFO/UFO build errors

* mulltiple ip per nic - cmdlet changes

* review changes

* code review changes

* moved validaton to nicConfig cmdlet and review changes

* minor fix

* handled review comments

* parameter validation changes, logs

* design review changes

* Fixing PFO/TFO/UFO build errors

* mulltiple ip per nic - cmdlet changes

review changes

code review changes

moved validaton to nicConfig cmdlet and review changes

minor fix

handled review comments

parameter validation changes, logs

design review changes
subash's multiple IP per NIC PR changes

* Fixing B2A, E2A and E2E Tests and added recording

* [ASR][V2A/H2A] TargetVmSize, AvSet, Sql RP and ResourceTagging changes for V2A and H2A

* Minor fix

* vmss changes -1

* 2) vmss changes - MD files

* Addressed review comments and added new tests and recordings for B2A

* vmss changes

* Addressed review comments

* Minor fixes

* Added V2A tests and recordings

* PR comments

* Update New-AzRecoveryServicesAsrReplicationProtectedItem.md

* Minor Fix

* Adding null for OdataQuery as its default value is also null.

* V2A test record json files

* Fix for Resource Tagging to clear off tags

* Minor fix in playback mode for v2a unit tests

Co-authored-by: Arpita Gupta <arpgup@microsoft.com>
Co-authored-by: subashchandra31 <subash.chandra@microsoft.com>
Co-authored-by: subashchandra31 <66659771+subashchandra31@users.noreply.github.com>
Co-authored-by: Arpitaji <78065343+Arpitaji@users.noreply.github.com>
Co-authored-by: Vidyadhari Jami <vijami@microsoft.com>
Co-authored-by: vidyadharijami <57709079+vidyadharijami@users.noreply.github.com>
Co-authored-by: prmyaka <prmyaka@microsoft.com>

* Tests tested in playback mode

TestNewA2AManagedDiskReplicationConfigWithCmk
A2AZoneToZoneRecoveryPlanReplication
A2ATestNewContainer
A2ARemoveReplicationProtectedItemDisk
A2ARecoveryPlanReplication
A2ANewAsrFabric
vmss test

Adding tests

TestNewA2AManagedDiskReplicationConfig
TestNewA2ADiskReplicationConfig

adding ppg test for a2a

* help file, PSObject and minor fixes

* review comments

* null check

* updated test and test json

* updated changeLog

* skip common: v2a event test

* updating SDK version

* updating tests

* adding comments

* update online version in help files

* update help file

* adding breaking change exceptions

* updated help file

* changing breaking changes in reovery

* adding recovery service changes

* remove nupkg file

* removing vaultcreds

* adding recovery service changes

* remove nupkg file

* removing vaultcreds

* V2A test update for linux

* update V2A test

Co-authored-by: Arpita Gupta <arpgup@microsoft.com>
Co-authored-by: subashchandra31 <subash.chandra@microsoft.com>
Co-authored-by: subashchandra31 <66659771+subashchandra31@users.noreply.github.com>
Co-authored-by: Arpitaji <78065343+Arpitaji@users.noreply.github.com>
Co-authored-by: Vidyadhari Jami <vijami@microsoft.com>
Co-authored-by: vidyadharijami <57709079+vidyadharijami@users.noreply.github.com>
Co-authored-by: prmyaka <prmyaka@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants