Skip to content

[Strorage] Merge Master to storage branch #11052

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 396 commits into from
Feb 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
396 commits
Select commit Hold shift + click to select a range
e28653b
Update ChangeLog.md
Skuldo Dec 11, 2019
ff3a90e
Update Remove-AzKeyVault.md
Skuldo Dec 14, 2019
8770220
Merge pull request #10909 from allegradomel/fixingGetNSGexamples
isra-fel Jan 16, 2020
72035aa
Merge remote-tracking branch 'Azure/master' into ADERecoveryService
ayfathim Jan 16, 2020
37edee4
add new sku to IotCentral
poanchen Jan 16, 2020
81f028c
Adding Scenario Test Recording
sobaner Jan 16, 2020
33524cc
Restore VaultName of Remove-AzKeyVault and update help file accordingly
Jan 16, 2020
0ab1360
Upgrade SDK to version 4.7
shawnxzq Jan 16, 2020
4dad5ca
Merge pull request #10676 from Skuldo/patch-1
isra-fel Jan 16, 2020
8f0cfd8
updating the test case
ayfathim Jan 16, 2020
0950fcf
updating the test case
ayfathim Jan 16, 2020
4acbc27
Merge pull request #10837 from AsrOneSdk/ADERecoveryService
isra-fel Jan 16, 2020
027dbcd
Update New-AzHDInsightCluster.md
dagiro Jan 16, 2020
2b585b3
Fixed Update Api to display pending updates by default
gautamd-ms Jan 16, 2020
8b01f94
Merge branch 'master' of https://github.com/Azure/azure-powershell in…
gautamd-ms Jan 16, 2020
17c8c7c
Added ValidateNotNullOrEmpty, wherever applicable
Jan 16, 2020
e99f8c6
minor fixes
Jan 16, 2020
9ff09ea
Merge branch 'master' of https://github.com/Azure/azure-powershell
ritwikbasu Jan 17, 2020
ef61e22
Merge pull request #10726 from MehaKaushik/20191216
msJinLei Jan 17, 2020
3b6b86f
Final after live testing
hofattahMicrosoft Jan 17, 2020
d5999cb
Fixing link redirect
raviten Jan 17, 2020
75c818e
add change log entry
Jan 17, 2020
7eca8bb
Added release notes
gautamd-ms Jan 17, 2020
f67e6f7
Fix value of TargetResourceUri in example
dingmeng-xue Jan 17, 2020
4afc9f8
Network SDK with API version 2019-11-01
anton-evseev Jan 15, 2020
367fc87
Recordings & fixes
anton-evseev Jan 17, 2020
b88ab56
CredScan suppression
anton-evseev Jan 17, 2020
6278232
Supressing CredScan
sobaner Jan 17, 2020
2fb8ed1
Add support for forced tunneling/management subnet and management IP …
iatodoro Dec 1, 2019
e46b83d
Reverting some merge issues
iatodoro Dec 1, 2019
3d61b1c
Updating tests for management IP changes
iatodoro Dec 1, 2019
32a78ae
Changing management IPconfig name
iatodoro Dec 2, 2019
7b7705a
Adding management IPconfig CRUD test recordings
iatodoro Dec 12, 2019
30a3b5d
Fixing typo in test script
KpaBap Dec 3, 2019
a4ddaff
Add missed command to help example
iatodoro Jan 17, 2020
17305ac
Bumping Management.Network package version to latest
iatodoro Jan 17, 2020
55cda7c
Add two more cmdlets for CMv2
hofattahMicrosoft Jan 18, 2020
072ec4b
Add two more cmdlets for CMv2 with minor fixes
hofattahMicrosoft Jan 18, 2020
a769377
CMK Test cases
ayfathim Jan 19, 2020
6a65a76
adding json file
ayfathim Jan 19, 2020
a77067a
Merge pull request #10916 from dagiro/patch-1
isra-fel Jan 19, 2020
ff162a0
Merge pull request #10897 from solankisamir/apim_fix_openapischema
isra-fel Jan 19, 2020
13abc02
After some testing
hofattahMicrosoft Jan 19, 2020
46af691
Merge pull request #10896 from ritwikbasu/master
isra-fel Jan 19, 2020
49a50af
After some testing again
hofattahMicrosoft Jan 19, 2020
c73efa3
Add help files
hofattahMicrosoft Jan 19, 2020
28f4851
Add more updates for CMv2
hofattahMicrosoft Jan 19, 2020
9a35616
Add more updates for CMv2:2
hofattahMicrosoft Jan 19, 2020
78d3527
Merge pull request #10935 from AsrOneSdk/ADERecoveryService
isra-fel Jan 20, 2020
14b5253
Merge pull request #10918 from Azure/raviten-patch-1-1
isra-fel Jan 20, 2020
cd29d6d
Update help files and other formatting
hofattahMicrosoft Jan 20, 2020
a333670
Disable context auto saving when AzureRmContext.json not available
Oct 23, 2019
8f40900
Disable context auto saving when AzureRmContext.json not available
Nov 4, 2019
5ea12c0
Disable context auto saving when AzureRmContext.json not available
Jan 13, 2020
5ec8e4e
Add resourced string as warning message
Jan 20, 2020
b133bc6
Merge pull request #10910 from poanchen/poanchen-new-sku-changes
isra-fel Jan 20, 2020
d378cc5
Merge pull request #10927 from shawnxzq/sdk4.7
isra-fel Jan 20, 2020
229d995
Skip unreliable tests
anton-evseev Jan 20, 2020
a74654a
NetApp tests
anton-evseev Jan 20, 2020
9dfee69
rebasing to network-december after squashing commits
abjai Jan 20, 2020
3785622
PR comments
abjai Jan 20, 2020
1d1ac83
adding changelog.md
abjai Jan 20, 2020
83be0e8
Merge pull request #10928 from number213/nrp-2019-11-01
isra-fel Jan 20, 2020
390725d
updating az.network sdk version to 19.18.0-preview
abjai Jan 20, 2020
621e11d
Merge branch 'network-december' into sobaner/wildcardlistener
sobaner Jan 20, 2020
2e47edf
Adding StaticAnalyzer Exceptions for ApplicationGatewayHttpListener O…
sobaner Jan 20, 2020
a8817b1
Adding ShouldProcess to fix staticanalysis
abjai Jan 20, 2020
cce166e
The example check is for contoso.westus...
alunmj Jan 20, 2020
107b681
Add some behaviour changes in cmdlets for CM2
hofattahMicrosoft Jan 20, 2020
f1c99b1
Limit the number of VM status to 100 to avoid throttling when Get-AzV…
hyonholee Jan 18, 2020
84e6aa2
Merge pull request #10355 from msJinLei/disableautosave
msJinLei Jan 21, 2020
02cc77b
Update help files
hofattahMicrosoft Jan 21, 2020
031e16c
Merge branch 'network-december' into urlrewrite
isra-fel Jan 21, 2020
70ead32
Merge pull request #10934 from hyonholee/vmstatus
isra-fel Jan 21, 2020
b923006
Merge branch 'release-2020-02-04' into fixupdateapi
isra-fel Jan 21, 2020
e02e789
Merge pull request #10919 from gautamd-ms/fixupdateapi
isra-fel Jan 21, 2020
6de3ec3
Feb 2020 RC1
isra-fel Jan 21, 2020
94bfab8
add mappings for cosmos db
isra-fel Jan 21, 2020
1c047cd
add mappings for cosmos db
isra-fel Jan 21, 2020
166835e
fix typo
isra-fel Jan 21, 2020
cb497a7
bump up az accounts reference in databoxedge
isra-fel Jan 21, 2020
d606111
Merge pull request #10937 from alunmj/patch-1
VeryEarly Jan 21, 2020
0c70c57
Merge pull request #10942 from isra-fel/master
VeryEarly Jan 21, 2020
92320e7
Fixed csv file
anton-evseev Jan 21, 2020
295cdcd
Merge pull request #10894 from abjai/urlrewrite
anton-evseev Jan 21, 2020
93da0e8
Merge pull request #10943 from Azure/yeliu-2020-02-04
isra-fel Jan 21, 2020
ac5bc9c
Merge branch 'network-december' into merge-network
anton-evseev Jan 21, 2020
90b1e2a
Fixes after merge
anton-evseev Jan 21, 2020
d7f0bc9
Merge branch 'release-2020-02-04' into merge-network
anton-evseev Jan 21, 2020
bf3f4c8
Test recording
anton-evseev Jan 21, 2020
40f7eee
Merge branch 'network-december' into wildcardlistener
anton-evseev Jan 21, 2020
172064b
CredScan suppression
anton-evseev Jan 21, 2020
72e0c58
Update tests after merge
anton-evseev Jan 21, 2020
5092bdf
Merge pull request #10945 from number213/merge-network
isra-fel Jan 21, 2020
5b41610
Merge branch 'release-2020-02-04' into sobaner/wildcardlistener
isra-fel Jan 21, 2020
2f81678
Updating recording for API 2019-11-01
iatodoro Jan 21, 2020
8c930c4
Merge branch 'release-2020-02-04' into azfw_managementIpConfig
iatodoro Jan 21, 2020
f141019
fix headers in help files
hofattahMicrosoft Jan 21, 2020
867ad56
Merge branch 'release-2020-02-04' into network-december
hofattahMicrosoft Jan 21, 2020
b9cbc8f
fix for static analyzer
hofattahMicrosoft Jan 21, 2020
af62b5b
fix for static analyzer
hofattahMicrosoft Jan 21, 2020
c411363
Merge pull request #7 from Azure/master
Khushboo-Baheti Jan 21, 2020
db5d324
fix static analyzer issues
hofattahMicrosoft Jan 21, 2020
c647e6e
fix static analyzer issues:3
hofattahMicrosoft Jan 21, 2020
f9b8e8b
fix static analyzer:4
hofattahMicrosoft Jan 21, 2020
3543912
Fix static analyzer:5
hofattahMicrosoft Jan 21, 2020
2d0cb7e
some fixes for CMv2
hofattahMicrosoft Jan 21, 2020
f08033e
FixingHelpDoc
Jan 22, 2020
a59fd6d
changelog
Jan 22, 2020
d0ca079
Merge pull request #10878 from sobaner/sobaner/wildcardlistener
isra-fel Jan 22, 2020
456e16e
Merge branch 'release-2020-02-04' into azfw_managementIpConfig
isra-fel Jan 22, 2020
ae1bf99
Merge pull request #10933 from iatodoro/azfw_managementIpConfig
isra-fel Jan 22, 2020
eacb1cc
Merge branch 'release-2020-02-04' into include-subfolders-in-blueprints
isra-fel Jan 22, 2020
096475b
Merge pull request #10902 from Azure/isra-fel-patch-1
VeryEarly Jan 22, 2020
84d9c0e
Merge pull request #10893 from tibor19/include-subfolders-in-blueprints
isra-fel Jan 22, 2020
406c5c3
Add a feature of pipelining in Set- cmdlet for CMv1/V2
hofattahMicrosoft Jan 22, 2020
51c806e
Suppress static analyzer errors
hofattahMicrosoft Jan 22, 2020
8d53e4b
Add paramterset for Set- and Get-
hofattahMicrosoft Jan 22, 2020
5fe7c91
CosmosDB Cassandra, Mongo, Table, Gremlin API with Management sdk 1.0.1
Jan 22, 2020
2c0b5fc
Update breaking.csv file for static analyzer
hofattahMicrosoft Jan 22, 2020
0d64f88
Update breaking.csv file for static analyzer:2
hofattahMicrosoft Jan 22, 2020
a9c29ab
Adding example for packet capture
Jan 23, 2020
8f7a4af
Add more help
hofattahMicrosoft Jan 23, 2020
b18406a
undo file
hofattahMicrosoft Jan 23, 2020
c9d9ad3
After Mark Review
hofattahMicrosoft Jan 23, 2020
45e95a5
After Mark Review:2
hofattahMicrosoft Jan 23, 2020
2b8e18b
Merge pull request #10950 from Khushboo-Baheti/PacketCaptureFix
VeryEarly Jan 23, 2020
171e93e
Address Mark comments: 3
hofattahMicrosoft Jan 23, 2020
0468886
Address Mark comments: 4
hofattahMicrosoft Jan 23, 2020
d1086ae
Changed SubscriptionId parameter to string.
alcolic Jan 23, 2020
1966829
Address Mark comments: 5
hofattahMicrosoft Jan 23, 2020
4d279d2
Merge remote-tracking branch 'Azure/master' into tiano-deployment-ref…
Tiano2017 Jan 23, 2020
b7ddf2e
Added help
Jan 24, 2020
ef2746d
fix in missing help
Jan 24, 2020
87da776
add help links.
Tiano2017 Jan 24, 2020
acc740e
Fixed test cases
vidyadharijami Jan 24, 2020
a8c4609
Fix Broken Example Code
JKeddo95 Jan 24, 2020
075bf3e
Merge pull request #10895 from alcolic/Cross-subscription-restore-mi
isra-fel Jan 25, 2020
037a014
Document Changes to Revoke-AzSnapshotAccess Sample Code
JKeddo95 Jan 25, 2020
d954d65
Update Grant-AzSnapshotAccess.md
JKeddo95 Jan 25, 2020
9d75308
Update ChangeLog.md
JKeddo95 Jan 25, 2020
e776e64
it1
irrogozh Jan 25, 2020
eacde00
Changes based on discussion after bug bush
irrogozh Jan 26, 2020
0fade91
Fixed merging conflicts and updated help files
irrogozh Jan 26, 2020
614830e
Added examples to help files
irrogozh Jan 26, 2020
f2c476d
Fixed New-AzNetworkWatcherConnectionMonitorTestGroupObject.md
irrogozh Jan 26, 2020
1ecf03c
Made some necessary clode clean up, added validation to endpoint cmdlet
irrogozh Jan 26, 2020
fbdfd7e
change "id" parameter to be mandatory.
Tiano2017 Jan 26, 2020
bd90eb1
Minor fixes based on CR
irrogozh Jan 27, 2020
e79fa47
reformat json
Jan 27, 2020
8172311
Fixed creating new connectionMonitor using connectionMonitorObject
irrogozh Jan 27, 2020
94070fa
Added error message strings to Resource.resx
irrogozh Jan 28, 2020
2b26fe5
Merge branch 'release-2020-02-04' into network-december
markcowl Jan 28, 2020
5fea2e5
Merge pull request #10973 from JKeddo95/patch-2
markcowl Jan 28, 2020
137daab
Fixes based on CR
irrogozh Jan 28, 2020
c9fa9a1
Fix for Vault credential file download and fix for initial replication
vidyadharijami Jan 24, 2020
44eb08f
Merge pull request #10979 from AsrOneSdk/origin/vijami/vaultCredChanges
VeryEarly Jan 28, 2020
642f1e8
Adding new recordings for three tests.
Jan 28, 2020
54a7579
Merge remote-tracking branch 'upstream/master' into nemanjas/mi_chang…
Jan 28, 2020
be37bf3
Create Parameters and Parameter Sets.
ranishan Jan 14, 2020
208aef8
Update display format and generate Help md files
ranishan Jan 28, 2020
11ab618
Merge branch 'master' of https://github.com/ranishan/azure-powershell…
ranishan Jan 28, 2020
238e5b0
Update Change Log
ranishan Jan 28, 2020
c8eada9
Fix New-AzSqlDatabaseSecondary existing database name check
bradrich-msft Jan 15, 2020
f99bd0e
Moving name check to method
bradrich-msft Jan 15, 2020
453872b
updated test recording
bradrich-msft Jan 16, 2020
3e71da6
Add bug fix message to changelog
bradrich-msft Jan 21, 2020
335e168
Merge pull request #10983 from bradrich-msft/retarget
markcowl Jan 28, 2020
4e40c23
Merge branch 'release-2020-02-04' into network-december
markcowl Jan 28, 2020
3064ba9
Merge pull request #10948 from hofattahMicrosoft/network-december
markcowl Jan 28, 2020
0d7df5e
Updating versions for Network and SQL Changes
markcowl Jan 29, 2020
42e6af3
Update changelog highlights
markcowl Jan 29, 2020
82e468f
Merge pull request #10993 from markcowl/release-2020-02-04
markcowl Jan 30, 2020
88f49e0
Merging release branch with new changes in master
markcowl Jan 30, 2020
cec61b6
Merge pull request #11002 from markcowl/rel-3.4.0-merge
markcowl Jan 31, 2020
db99dd0
initital commit for AFS-fix
Jan 23, 2020
b82c30a
Updated commandlets
Jan 23, 2020
2a7daed
added help files
Jan 24, 2020
fe6b1a5
added changelog
Jan 24, 2020
a9af6f6
added changes for test fix
Jan 24, 2020
f6d4e90
test fix
Jan 24, 2020
ea0899b
Updated help file
Jan 30, 2020
859f6b4
updated help text
Jan 30, 2020
322a129
updated markdown help
Jan 31, 2020
358d997
updated changelog into upcoming release
Jan 31, 2020
e221055
Merge remote-tracking branch 'upstream/master' into nemanjas/mi_chang…
Jan 31, 2020
87d0440
Removing SKU name
Jan 31, 2020
28afa1c
Removing System.Diagnostics.Debugger.Launch();
Jan 31, 2020
286d76e
Merge pull request #10971 from MabOneSdk/users/sarath/AFS-GA-Fix
markcowl Jan 31, 2020
d6195a4
Update for RecoveryServices Fix
markcowl Jan 31, 2020
5ce0d86
Merge remote-tracking branch 'Azure/master' into tiano-deployment-ref…
Tiano2017 Feb 1, 2020
f562db7
Tests for AvailabilityGroupListener
ranishan Feb 2, 2020
e0a0b67
updated md files with url and made ipaddress optional
ranishan Feb 2, 2020
a6f86da
Change log update
vidyadharijami Feb 3, 2020
b4e3569
Merge pull request #10855 from AsrOneSdk/origin/vijami/cmkTestcases
msJinLei Feb 3, 2020
8ec1931
Merge pull request #10900 from afedyashov/master
isra-fel Feb 3, 2020
485e99d
Merge pull request #11014 from AsrOneSdk/origin/vijami/changeLogUpdate
VeryEarly Feb 3, 2020
0fc850b
Merge pull request #11008 from markcowl/azback-afs-20200203
VeryEarly Feb 3, 2020
015599e
initial commit for restore as files
Jan 22, 2020
d707b9a
Added recoverymode parameter
Jan 30, 2020
bb61007
Added tests
Jan 31, 2020
8112700
re-recorded tests
Feb 3, 2020
f7a21ce
Updated markdown help
Feb 3, 2020
4108307
updated changelog
Feb 3, 2020
95cdc2e
updated restore-as-files test
Feb 3, 2020
5f95449
Updated test
Feb 3, 2020
136ffb0
Updated tests
Feb 3, 2020
7aa1970
Merge remote-tracking branch 'upstream/master' into nemanjas/mi_chang…
Feb 3, 2020
95456cb
Adding new session records
Feb 3, 2020
2f6f657
change "id" parameter to be mandatory.
Tiano2017 Feb 3, 2020
bcf4e58
fix typo
isra-fel Feb 4, 2020
3cf6204
Merge pull request #11019 from Azure/isra-fel-patch-2
isra-fel Feb 4, 2020
f904d89
Merge pull request #10798 from Tiano2017/tiano-deployment-refactor
isra-fel Feb 4, 2020
9fd3678
Merge remote-tracking branch 'upstream/master' into nemanjas/mi_chang…
Feb 4, 2020
2c77f92
Moving ChangeLog.md entry to Upcoming release.
Feb 4, 2020
5343943
set null if parameter AvailableToOtherTenants is not set
dingmeng-xue Feb 4, 2020
940d05c
Merge pull request #10892 from v-nestan/nemanjas/mi_change_hw_generation
isra-fel Feb 4, 2020
6b4f4a5
Merge pull request #10982 from ranishan/AgListnerCmdlet
VeryEarly Feb 4, 2020
1876ca2
Merge pull request #11017 from MabOneSdk/users/sarath/restoreas-files
VeryEarly Feb 4, 2020
5e77b92
Reverted breaking changes
Feb 4, 2020
1ee9e29
Merge branch 'master' into master
MehaKaushik Feb 4, 2020
9ef6444
Additions in ChangeLog.md
Feb 4, 2020
f968987
Additions in ChangeLog.md
Feb 4, 2020
5c97129
Fix typo
Feb 4, 2020
a1202b8
update code after review
dingmeng-xue Feb 5, 2020
cf0bff8
Merge pull request #11024 from dingmeng-xue/resource-fix
isra-fel Feb 5, 2020
a5a3f54
updating help + removing breaking changes
Feb 5, 2020
860bb01
Updated test records and help
Feb 5, 2020
d2baefe
Edit ChangeLog
Feb 5, 2020
3e9e95b
Allow empty value for ProximityPlacementGroupId during update
hyonholee Feb 4, 2020
68a75f2
Merge pull request #10958 from MehaKaushik/master
VeryEarly Feb 6, 2020
821b03f
Merge pull request #11033 from hyonholee/february
VeryEarly Feb 6, 2020
43eba32
Fix Test-AzureVmWorkloadRestoreAsFiles in RecoveryService
Feb 7, 2020
93f9f24
--Destination flag accepted values fix
Lutando Feb 7, 2020
f2ed28b
Merge pull request #11049 from msJinLei/recoverytestfailure
VeryEarly Feb 7, 2020
6577a1a
Fix "New-AzADServicePrincipal does not work with ApplicationObject pa…
Feb 5, 2020
c35dd96
Merge pull request #11051 from Lutando/patch-1
VeryEarly Feb 7, 2020
b2d5276
Correct Examples Parameter and Output Property
ps-gregg Feb 8, 2020
877c2dc
Merge pull request #1 from ps-gregg/ps-gregg-patch-1
ps-gregg Feb 8, 2020
aefff0c
Update ChangeLog.md
VeryEarly Feb 8, 2020
f2e1475
Correcting the parameter name from "-AzVMResourceId" to "-AzureVMReso…
craigriter Feb 8, 2020
bc7970d
Merge pull request #11065 from craigriter/master
VeryEarly Feb 8, 2020
1d460a1
Merge pull request #11035 from msJinLei/removeparamset
VeryEarly Feb 8, 2020
5ce2ef4
Update ChangeLog.md
ps-gregg Feb 8, 2020
2fae967
Added policy management cmdlets for Azure Attestation Service
gkostal Feb 9, 2020
67f839a
Updated ChangeLog.md file
gkostal Feb 9, 2020
4a3e876
Added Microsoft.Azure.Attestation.dll to RequiredAssemblies in Az.Att…
gkostal Feb 9, 2020
0c8bcf5
Merge pull request #11064 from ps-gregg/master
VeryEarly Feb 10, 2020
e4d64e5
Merge pull request #11072 from gkostal/policy-rc1
VeryEarly Feb 10, 2020
995d0ce
fix merge conflicts
blueww Feb 10, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
86 changes: 86 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,89 @@
## 3.4.0 - February 2020

#### Az.CosmosDB
* Added cmdlets for Gremlin, MongoDB, Cassandra and Table APIs.
* Updated .NET SDK Version to 1.0.1
* Added parameters ConflictResolutionPolicyMode, ConflictResolutionPolicyPath and ConflictResolutionPolicyPath in Set-AzCosmosDBSqlContainer.
* Added new cmdlets for Sql API : New-CosmosDBSqlSpatialSpec, New-CosmosDBSqlCompositePath, New-CosmosDBSqlIncludedPathIndex, New-CosmosDBSqlIncludedPath

### Highlights since the last major release
* Az.CosmosDB initial version 0.1.0 released
* Az.Network ConnectionMonitor V2 support added

#### Az.Accounts
* Disable context auto saving when AzureRmContext.json not available
* Update the reference to Azure Powershell Common to 1.3.5-preview

#### Az.ApiManagement
* **Get-AzApiManagementApiSchema** Fixed getting Open-Api Schema associated with an API
https://github.com/Azure/azure-powershell/issues/10626
* **New-AzApiManagementProduct*** and **Set-AzApiManagementProduct**
- Fix documentation for https://github.com/Azure/azure-powershell/issues/10472
* **Set-AzApiManagementApi**
Added example to show how to update the ServiceUrl using the cmdlet

#### Az.Compute
* Limit the number of VM status to 100 to avoid throttling when Get-AzVM -Status is performed without VM name.
* Add Update-AzDiskEncryptionSet cmdlet
* Add EncryptionType and DiskEncryptionSetId parameters to the following cmdlets:
- New-AzDiskUpdateConfig, New-AzSnapshotUpdateConfig
* Add ColocationStatus parameter to Get-AzProximityPlacementGroup cmdlet.

#### Az.DataFactory
* Update ADF .Net SDK version to 4.7.0

#### Az.DeploymentManager
* Adds LIST operations for resources
* Adds capability for performing operations on Health Check steps

#### Az.HDInsight
* Fix document error of New-AzHDInsightCluster.

#### Az.KeyVault
* Add Name alias to VaultName attribute to make Remove-AzureKeyVault consistent with New-AzureKeyVault.

#### Az.Network
* New example added to Set-AzNetworkWatcherConfigFlowLog.md to demonstrate Traffic Analytics disable scenario.
* Add support for assigning management IP configuration to Azure Firewall - a dedicated subnet and Public IP that the firewall will use for its management traffic
- Updated New-AzFirewall cmdlet:
- Added parameter -ManagementPublicIpAddress (not mandatory) which accepts a Public IP Address object
- Added method SetManagementIpConfiguration on firewall object - requires a subnet and a Public IP address as input - subnet name must be 'AzureFirewallManagementSubnet'
* Corrected Get-AzNetworkSecurityGroup examples to show examples for NSG's instead of network interfaces.
* Fixed typo in New-AzVpnSite command that was preventing resource id completer from completing a parameter.
* Added support for Url Confiugration in Rewrite Rules Action Set in the Application Gateway
- New cmdlets added:
- New-AzApplicationGatewayRewriteRuleUrlConfiguration
- Cmdlets updated with optional parameter - UrlConfiguration
- New-AzApplicationGatewayRewriteRuleActionSet
* Add suppport for NetworkWatcher ConnectionMonitor version 2 resources

#### Az.PolicyInsights
* Support evaluating compliance prior to determining what resource to remediate
- Add '-ResourceDiscoverMode' parameter to Start-AzPolicyRemediation
* Add Get-AzPolicyMetadata cmdlet for getting policy metadata resources
* Updated Get-AzPolicyState and Get-AzPolicyStateSummary for API version 2019-10-01

#### Az.RecoveryServices
* Azure Site Recovery support for removing a replicated disk.
* Azure Backup added support for adding tags while creating a Recovery Services Vault.

#### Az.Resources
* Make -Scope optional in *-AzPolicyAssignment cmdlets with default to context subscription
* Add examples of creating ADServicePrincipal with password and key credential

#### Az.Sql
Fix New-AzSqlDatabaseSecondary cmdlet to check for PartnerDatabaseName existence instead of DatabaseName existence.

#### Az.Storage
* Support set Table/Queue Encryption Keytype in Create Storage Account
- New-AzStorageAccount
* Show RequestId when StorageException don't have ExtendedErrorInformation
* Fix the Example 6 of cmdlet Start-AzStorageBlobCopy

#### Az.Websites
* Set-AzWebapp and Set-AzWebappSlot supports AlwaysOn, MinTls and FtpsState properties
* Fixing issue where setting HttpsOnly along with changing AppservicePlan at the same time using the single Set-AzWebApp Command, was resetting HttpsOnly to default value

## 3.3.0 - January 2020
#### Az.Accounts
* Updated Add-AzEnvironment and Set-AzEnvironment to accept parameters AzureAttestationServiceEndpointResourceId and AzureAttestationServiceEndpointSuffix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Before submitting a design review, please be sure that you have read the documen

Please submit a design review here: https://github.com/Azure/azure-powershell-cmdlet-review-pr

_Note_: You will need to be part of the `GitHub Azure` org to see this repository. Please go to [this link](aka.ms/azuregithub) to become part of the `Azure` org.
_Note_: You will need to be part of the `GitHub Azure` org to see this repository. Please go to [this link](https://aka.ms/azuregithub) to become part of the `Azure` org.

We recommend using the `platyPS` module to easily generate markdown files that contains the above information and including the files in the design submission.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@

The following are naming conventions to keep in mind when coming up with a name for your parameters.

In addition, a recommended list of parameter names can be found [here](https://docs.microsoft.com/en-us/powershell/developer/cmdlet/standard-cmdlet-parameter-names-and-types).
In addition, a recommended list of parameter names can be found [here](https://docs.microsoft.com/en-us/powershell/scripting/developer/cmdlet/standard-cmdlet-parameter-names-and-types).

#### Standard Parameter Name

From the [_Strongly Encouraged Development Guidelines_](https://docs.microsoft.com/en-us/powershell/developer/cmdlet/strongly-encouraged-development-guidelines#use-standard-parameter-names):
From the [_Strongly Encouraged Development Guidelines_](https://docs.microsoft.com/en-us/powershell/scripting/developer/cmdlet/strongly-encouraged-development-guidelines#use-standard-parameter-names):

> _Your cmdlet should use standard parameter names so that the user can quickly determine what a particular parameter means. If a more specific name is required, use a standard parameter name, and then specify a more specific name as an alias. For example, the `Get-Service` cmdlet has a parameter that has a generic name (**Name**) and a more specific alias (**ServiceName**). Both terms can be used to specify the parameter._

#### Pascal Case

Similar to cmdlets, parameters should follow pascal casing.From the [_Strongly Encouraged Development Guidelines_](https://docs.microsoft.com/en-us/powershell/developer/cmdlet/strongly-encouraged-development-guidelines#use-pascal-case-for-parameter-names):
Similar to cmdlets, parameters should follow pascal casing.From the [_Strongly Encouraged Development Guidelines_](https://docs.microsoft.com/en-us/powershell/scripting/developer/cmdlet/strongly-encouraged-development-guidelines#use-pascal-case-for-parameter-names):

> _Use Pascal case for parameter names. In other words, capitalize the first letter of each word in the parameter name, including the first letter of the name._

#### Singularity

From the [_Strongly Encouraged Development Guidelines_](https://docs.microsoft.com/en-us/powershell/developer/cmdlet/strongly-encouraged-development-guidelines#use-singular-parameter-names):
From the [_Strongly Encouraged Development Guidelines_](https://docs.microsoft.com/en-us/powershell/scripting/developer/cmdlet/strongly-encouraged-development-guidelines#use-singular-parameter-names):

> _Avoid using plural names for parameters whose value is a single element. This includes parameters that take arrays or lists because the user might supply an array or list with only one element._
>
Expand All @@ -40,15 +40,15 @@ The type of parameters should always be defined; a parameter should never be of

#### Consistent Parameter Types

From the [_Strongly Encouraged Development Guidelines_](https://docs.microsoft.com/en-us/powershell/developer/cmdlet/strongly-encouraged-development-guidelines#use-consistent-parameter-types):
From the [_Strongly Encouraged Development Guidelines_](https://docs.microsoft.com/en-us/powershell/scripting/developer/cmdlet/strongly-encouraged-development-guidelines#use-consistent-parameter-types):

> _When the same parameter is used by multiple cmdlets, always use the same parameter type. For example, if the **Process** parameter is an **Int16** type for one cmdlet, do not make the **Process** parameter for another cmdlet a **UInt16** type._

#### Array vs. Enumerable Types

For parameters that require a collection of elements to be provided, use an array instead of any other enumerable type to represent this collection.

From the [_Strongly Encouraged Development Guidelines_](https://docs.microsoft.com/en-us/powershell/developer/cmdlet/strongly-encouraged-development-guidelines#support-arrays-for-parameters):
From the [_Strongly Encouraged Development Guidelines_](https://docs.microsoft.com/en-us/powershell/scripting/developer/cmdlet/strongly-encouraged-development-guidelines#support-arrays-for-parameters):

> _Frequently, users must perform the same operation against multiple arguments. For these users, a cmdlet should accept an array as parameter input so that a user can pass the arguments into the parameter as a Windows PowerShell variable. For example, the `Get-Process` cmdlet uses an array for the strings that identify the names of the processes to retrieve._

Expand Down Expand Up @@ -126,7 +126,7 @@ The following are naming conventions to keep in mind when coming up with a name

#### Pascal Case

Similar to parameters (mentioned above), parameter set names should follow pascal casing. From the [_Strongly Encouraged Development Guidelines_](https://docs.microsoft.com/en-us/powershell/developer/cmdlet/strongly-encouraged-development-guidelines#use-pascal-case-for-cmdlet-names-sd02):
Similar to parameters (mentioned above), parameter set names should follow pascal casing. From the [_Strongly Encouraged Development Guidelines_](https://docs.microsoft.com/en-us/powershell/scripting/developer/cmdlet/strongly-encouraged-development-guidelines#use-pascal-case-for-cmdlet-names-sd02):

> _Use Pascal case for cmdlet names. In other words, capitalize the first letter of the verb and all terms used in the noun. For example, "Clear-ItemProperty"._

Expand All @@ -136,22 +136,22 @@ The following are guidelines that should be followed when working with the attri

#### Mutually Exclusive Parameter Sets

For PowerShell to determine which parameter set a user is intending to use with a set of provided parameters, the parameter sets need to be designed in such a way that they are mutually exclusive. From the remarks section of [_Parameter Attribute Declaration_](https://docs.microsoft.com/en-us/powershell/developer/cmdlet/parameter-attribute-declaration#remarks):
For PowerShell to determine which parameter set a user is intending to use with a set of provided parameters, the parameter sets need to be designed in such a way that they are mutually exclusive. From the remarks section of [_Parameter Attribute Declaration_](https://docs.microsoft.com/en-us/powershell/scripting/developer/cmdlet/parameter-attribute-declaration#remarks):

> _Each parameter set must have at least one unique parameter. Good cmdlet design indicates this unique parameter should also be mandatory if possible. If your cmdlet is designed to be run without parameters, the unique parameter cannot be mandatory._

#### Positional Parameters Limit

It is possible to call a PowerShell cmdlet without providing the parameter names, but just the values you would like to pass through. This is done by specifying the position at which the value of each parameter should be provided by using the `Position` property for a parameter. However, when there are too many positional parameters in a single parameter set, it can be difficult for the user to remember the exact ordering in which the parameter values should be provided. From the remarks section of [_Parameter Attribute Declaration_](https://docs.microsoft.com/en-us/powershell/developer/cmdlet/parameter-attribute-declaration#remarks):
It is possible to call a PowerShell cmdlet without providing the parameter names, but just the values you would like to pass through. This is done by specifying the position at which the value of each parameter should be provided by using the `Position` property for a parameter. However, when there are too many positional parameters in a single parameter set, it can be difficult for the user to remember the exact ordering in which the parameter values should be provided. From the remarks section of [_Parameter Attribute Declaration_](https://docs.microsoft.com/en-us/powershell/scripting/developer/cmdlet/parameter-attribute-declaration#remarks):

> _When you specify positional parameters, limit the number of positional parameters in a parameter set to less than five. And, positional parameters do not have to be contiguous. Positions 5, 100, and 250 work the same as positions 0, 1, and 2._

In addition, there should be no two parameters with the same position in the same parameter set. From the remarks section of [_Parameter Attribute Declaration_](https://docs.microsoft.com/en-us/powershell/developer/cmdlet/parameter-attribute-declaration#remarks):
In addition, there should be no two parameters with the same position in the same parameter set. From the remarks section of [_Parameter Attribute Declaration_](https://docs.microsoft.com/en-us/powershell/scripting/developer/cmdlet/parameter-attribute-declaration#remarks):

> _No parameter set should contain more than one positional parameter with the same position._

#### ValueFromPipeline Limit

Allowing the user to pipe an object from one cmdlet to another is a major scenario in PowerShell, but allowing multiple parameters in the same parameter set to accept their value from the pipeline can cause issues. From the remarks section of [_Parameter Attribute Declaration_](https://docs.microsoft.com/en-us/powershell/developer/cmdlet/parameter-attribute-declaration#remarks):
Allowing the user to pipe an object from one cmdlet to another is a major scenario in PowerShell, but allowing multiple parameters in the same parameter set to accept their value from the pipeline can cause issues. From the remarks section of [_Parameter Attribute Declaration_](https://docs.microsoft.com/en-us/powershell/scripting/developer/cmdlet/parameter-attribute-declaration#remarks):

> _Only one parameter in a parameter set should declare ValueFromPipeline = true. Multiple parameters can define ValueFromPipelineByPropertyName = true._
> _Only one parameter in a parameter set should declare ValueFromPipeline = true. Multiple parameters can define ValueFromPipelineByPropertyName = true._
122 changes: 122 additions & 0 deletions src/Accounts/Accounts.Test/AutoSaveSettingOnLoadingTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// ---------------------------------------------------------------------------------

using Microsoft.Azure.Commands.Common.Authentication;
using Microsoft.Azure.Commands.Common.Authentication.Abstractions;
using Microsoft.Azure.Commands.Common.Authentication.Core;
using Microsoft.Azure.Commands.Common.Authentication.Models;
using Microsoft.Azure.Commands.Common.Authentication.Properties;
using Microsoft.Azure.Commands.ResourceManager.Common;
using Microsoft.WindowsAzure.Commands.ScenarioTest;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Newtonsoft.Json;
using System;
using System.IO;
using Xunit;
using Xunit.Abstractions;

namespace Microsoft.Azure.Commands.Profile.Test
{
public class AutoSaveSettingOnLoadingTests
{
private MemoryDataStore dataStore;
private string profileBasePath;
private string settingsPath;

public AutoSaveSettingOnLoadingTests(ITestOutputHelper output)
{
dataStore = new MemoryDataStore();
profileBasePath = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
settingsPath = Path.Combine(profileBasePath, Resources.AzureDirectoryName);
settingsPath = Path.Combine(settingsPath, ContextAutosaveSettings.AutoSaveSettingsFile);
}

internal string HookSettingFile(string hook)
{
var result = new ContextAutosaveSettings
{
CacheDirectory = hook,
ContextDirectory = hook,
Mode = ContextSaveMode.CurrentUser,
CacheFile = "TokenCache.dat",
ContextFile = "AzureRmContext.json"
};

var backupPath = String.Empty;
if (!dataStore.FileExists(settingsPath))
{
string directoryPath = Path.GetDirectoryName(settingsPath);
if (!dataStore.DirectoryExists(directoryPath))
{
dataStore.CreateDirectory(directoryPath);
}
}
else
{
backupPath = BackupSetting();
}
dataStore.WriteFile(settingsPath, JsonConvert.SerializeObject(result));
return backupPath;
}

internal string BackupSetting()
{
var backupPath = settingsPath + ".bak";
dataStore.CopyFile(settingsPath, backupPath);
return backupPath;
}

internal void RestoreSetting(string backupPath)
{
if(dataStore.FileExists(backupPath))
{
dataStore.DeleteFile(settingsPath);
dataStore.CopyFile(backupPath, settingsPath);
dataStore.DeleteFile(backupPath);
}
else
{
dataStore.DeleteFile(settingsPath);
}
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void DisableAutoSaveWhenSettingFileBreaks()
{
string faker = Path.Combine(Directory.GetParent(profileBasePath).ToString(), "faker");
faker = Path.Combine(faker,Resources.AzureDirectoryName);
var backupPath = HookSettingFile(faker);

try
{
AzureSessionInitializer.CreateOrReplaceSession(dataStore);
TestMockSupport.RunningMocked = true;
var cmdlet = new ConnectAzureRmAccountCommand();
cmdlet.OnImport();
Assert.Equal(ContextSaveMode.Process, AzureSession.Instance.ARMContextSaveMode);
Assert.Equal(typeof(ResourceManagerProfileProvider), AzureRmProfileProvider.Instance.GetType());
var afterModified = dataStore.ReadFileAsText(settingsPath);
var newSetting = JsonConvert.DeserializeObject<ContextAutosaveSettings>(afterModified) as ContextAutosaveSettings;
Assert.NotNull(newSetting);
Assert.Equal(ContextSaveMode.CurrentUser, newSetting.Mode);
Assert.Equal(typeof(AuthenticationStoreTokenCache), AzureSession.Instance.TokenCache.GetType());
}
finally
{
RestoreSetting(backupPath);
}
}
}
}
Loading