Skip to content

Commit e14e1c4

Browse files
Merge pull request #6 from Azure/master
merge
2 parents 09031e4 + f7382d9 commit e14e1c4

File tree

1,043 files changed

+618322
-399492
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,043 files changed

+618322
-399492
lines changed

.azure-pipelines/util/test-steps.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ steps:
1616
custom: msbuild
1717
arguments: 'build.proj /t:${{ parameters.testTarget }} /p:Configuration=${{ parameters.configuration }};TestFramework=${{ parameters.testFramework }};PullRequestNumber=$(System.PullRequest.PullRequestNumber)'
1818

19+
- task: PublishTestResults@2
20+
inputs:
21+
testRunner: VSTest
22+
testResultsFiles: '**/*.trx'
23+
1924
- template: publish-artifacts-steps.yml
2025
parameters:
2126
artifactName: test-${{ parameters.osName }}

.azure-pipelines/windows-powershell.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
vmImage: ${{ variables.WindowsImage }}
1414

1515
steps:
16+
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
17+
displayName: 'Component Detection'
18+
continueOnError: true
1619
- template: util/build-steps.yml
1720
parameters:
1821
osName: ${{ variables.WindowsName }}

ChangeLog.md

Lines changed: 224 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,227 @@
1+
## 3.0.0 - November 2019
2+
### General
3+
* Az.PrivateDns 1.0.0 released
4+
5+
#### Az.Accounts
6+
* Add a deprecation message for 'Resolve-Error' alias.
7+
8+
#### Az.Advisor
9+
* Added new category 'Operational Excellence' to Get-AzAdvisorRecommendation cmdlet.
10+
11+
#### Az.Batch
12+
* Renamed `CoreQuota` on `BatchAccountContext` to `DedicatedCoreQuota`. There is also a new `LowPriorityCoreQuota`.
13+
- This impacts **Get-AzBatchAccount**.
14+
* **New-AzBatchTask** `-ResourceFile` parameter now takes a collection of `PSResourceFile` objects, which can be constructed using the new **New-AzBatchResourceFile** cmdlet.
15+
* New **New-AzBatchResourceFile** cmdlet to help create `PSResourceFile` objects. These can be supplied to **New-AzBatchTask** on the `-ResourceFile` parameter.
16+
- This supports two new kinds of resource file in addition to the existing `HttpUrl` way:
17+
- `AutoStorageContainerName` based resource files download an entire auto-storage container to the Batch node.
18+
- `StorageContainerUrl` based resource files download the container specified in the URL to the Batch node.
19+
* Removed `ApplicationPackages` property of `PSApplication` returned by **Get-AzBatchApplication**.
20+
- The specific packages inside of an application now can be retrieved using **Get-AzBatchApplicationPackage**. For example: `Get-AzBatchApplication -AccountName myaccount -ResourceGroupName myresourcegroup -ApplicationId myapplication`.
21+
* Renamed `ApplicationId` to `ApplicationName` on **Get-AzBatchApplicationPackage**, **New-AzBatchApplicationPackage**, **Remove-AzBatchApplicationPackage**, **Get-AzBatchApplication**, **New-AzBatchApplication**, **Remove-AzBatchApplication**, and **Set-AzBatchApplication**.
22+
- `ApplicationId` now is an alias of `ApplicationName`.
23+
* Added new `PSWindowsUserConfiguration` property to `PSUserAccount`.
24+
* Renamed `Version` to `Name` on `PSApplicationPackage`.
25+
* Renamed `BlobSource` to `HttpUrl` on `PSResourceFile`.
26+
* Removed `OSDisk` property from `PSVirtualMachineConfiguration`.
27+
* Removed **Set-AzBatchPoolOSVersion**. This operation is no longer supported.
28+
* Removed `TargetOSVersion` from `PSCloudServiceConfiguration`.
29+
* Renamed `CurrentOSVersion` to `OSVersion` on `PSCloudServiceConfiguration`.
30+
* Removed `DataEgressGiB` and `DataIngressGiB` from `PSPoolUsageMetrics`.
31+
* Removed **Get-AzBatchNodeAgentSku** and replaced it with **Get-AzBatchSupportedImage**.
32+
- **Get-AzBatchSupportedImage** returns the same data as **Get-AzBatchNodeAgentSku** but in a more friendly format.
33+
- New non-verified images are also now returned. Additional information about `Capabilities` and `BatchSupportEndOfLife` for each image is also included.
34+
* Added ability to mount remote file-systems on each node of a pool via the new `MountConfiguration` parameter of **New-AzBatchPool**.
35+
* Now support network security rules blocking network access to a pool based on the source port of the traffic. This is done via the `SourcePortRanges` property on `PSNetworkSecurityGroupRule`.
36+
* When running a container, Batch now supports executing the task in the container working directory or in the Batch task working directory. This is controlled by the `WorkingDirectory` property on `PSTaskContainerSettings`.
37+
* Added ability to specify a collection of public IPs on `PSNetworkConfiguration` via the new `PublicIPs` property. This guarantees nodes in the Pool will have an IP from the list user provided IPs.
38+
* When not specified, the default value of `WaitForSuccess` on `PSSTartTask` is now `$True` (was `$False`).
39+
* When not specified, the default value of `Scope` on `PSAutoUserSpecification` is now `Pool` (was `Task` on Windows and `Pool` on Linux).
40+
41+
#### Az.Cdn
42+
* Introduced UrlRewriteAction and CacheKeyQueryStringAction to RulesEngine.
43+
* Fixed several bugs like missing 'Selector' Input in New-AzDeliveryRuleCondition cmdlet.
44+
45+
#### Az.Compute
46+
* Disk Encryption Set feature
47+
- New cmdlets:
48+
New-AzDiskEncryptionSetConfig
49+
New-AzDiskEncryptionSet
50+
Get-AzDiskEncryptionSet
51+
Remove-AzDiskEncryptionSet
52+
- DiskEncryptionSetId parameter is added to the following cmdlets:
53+
Set-AzImageOSDisk
54+
Set-AzVMOSDisk
55+
Set-AzVmssStorageProfile
56+
Add-AzImageDataDisk
57+
New-AzVMDataDisk
58+
Set-AzVMDataDisk
59+
Add-AzVMDataDisk
60+
Add-AzVmssDataDisk
61+
Add-AzVmssVMDataDisk
62+
- DiskEncryptionSetId and EncryptionType parameters are added to the following cmdlets:
63+
New-AzDiskConfig
64+
New-AzSnapshotConfig
65+
* Add PublicIPAddressVersion parameter to New-AzVmssIPConfig
66+
* Move FileUris of custom script extension from public setting to protected setting
67+
* Add ScaleInPolicy to New-AzVmss, New-AzVmssConfig and Update-AzVmss cmdlets
68+
* Breaking changes
69+
- UploadSizeInBytes parameter is used instead of DiskSizeGB for New-AzDiskConfig when CreateOption is Upload
70+
- PublishingProfile.Source.ManagedImage.Id is replaced with StorageProfile.Source.Id in GalleryImageVersion object
71+
72+
#### Az.DataFactory
73+
* Update ADF .Net SDK version to 4.3.0
74+
75+
#### Az.DataLakeStore
76+
* Update ADLS SDK version (https://github.com/Azure/azure-data-lake-store-net/blob/preview-alpha/CHANGELOG.md#version-123-alpha), brings following fixes
77+
* Avoid throwing exception while unable to deserialize the creationtime of the trash or directory entry.
78+
* Expose setting per request timeout in adlsclient
79+
* Fix passing the original syncflag for badoffset recovery
80+
* Fix EnumerateDirectory to retrieve continuation token once response is checked
81+
* Fix Concat Bug
82+
83+
#### Az.FrontDoor
84+
* Fixed miscellaneous typos across module
85+
86+
#### Az.HDInsight
87+
* Fixed the bug that customer will get 'Not a valid Base-64 string' error when using Get-AzHDInsightCluster to get the cluster with ADLSGen1 storage.
88+
* Add a parameter named 'ApplicationId' to three cmdlets Add-AzHDInsightClusterIdentity, New-AzHDInsightClusterConfig and New-AzHDInsightCluster so that customer can provide the service principal application id for accessing Azure Data Lake.
89+
* Changed Microsoft.Azure.Management.HDInsight from 2.1.0 to 5.1.0
90+
* Removed five cmdlets:
91+
- Get-AzHDInsightOMS
92+
- Enable-AzHDInsightOMS
93+
- Disable-AzHDInsightOMS
94+
- Grant-AzHDInsightRdpServicesAccess
95+
- Revoke-AzHDInsightRdpServicesAccess
96+
* Added three cmdlets:
97+
- Get-AzHDInsightMonitoring to replace Get-AzHDInsightOMS.
98+
- Enable-AzHDInsightMonitoring to replace Enable-AzHDInsightOMS.
99+
- Disable-AzHDInsightMonitoring to replace Disable-AzHDInsightOMS.
100+
* Fixed cmdlet Get-AzHDInsightProperties to support get capabilities information from a specific location.
101+
* Removed parameter sets('Spark1', 'Spark2') from Add-AzHDInsightConfigValue.
102+
* Add examples to the help documents of cmdlet Add-AzHDInsightSecurityProfile.
103+
* Changed output type of the following cmdlets:
104+
* - Changed the output type of Get-AzHDInsightProperties from CapabilitiesResponse to AzureHDInsightCapabilities.
105+
* - Changed the output type of Remove-AzHDInsightCluster from ClusterGetResponse to bool.
106+
* - Changed the output type of Set-AzHDInsightGatewaySettings HttpConnectivitySettings to GatewaySettings.
107+
* Added some scenario test cases.
108+
* Remove some alias: 'Add-AzHDInsightConfigValues', 'Get-AzHDInsightProperties'.
109+
110+
#### Az.IotHub
111+
* Breaking changes:
112+
- The cmdlet 'Add-AzIotHubEventHubConsumerGroup' no longer supports the parameter 'EventHubEndpointName' and no alias was found for the original parameter name.
113+
- The parameter set '__AllParameterSets' for cmdlet 'Add-AzIotHubEventHubConsumerGroup' has been removed.
114+
- The cmdlet 'Get-AzIotHubEventHubConsumerGroup' no longer supports the parameter 'EventHubEndpointName' and no alias was found for the original parameter name.
115+
- The parameter set '__AllParameterSets' for cmdlet 'Get-AzIotHubEventHubConsumerGroup' has been removed.
116+
- The property 'OperationsMonitoringProperties' of type 'Microsoft.Azure.Commands.Management.IotHub.Models.PSIotHubProperties' has been removed.
117+
- The property 'OperationsMonitoringProperties' of type 'Microsoft.Azure.Commands.Management.IotHub.Models.PSIotHubInputProperties' has been removed.
118+
- The cmdlet 'New-AzIotHubExportDevice' no longer supports the alias 'New-AzIotHubExportDevices'.
119+
- The cmdlet 'New-AzIotHubImportDevice' no longer supports the alias 'New-AzIotHubImportDevices'.
120+
- The cmdlet 'Remove-AzIotHubEventHubConsumerGroup' no longer supports the parameter 'EventHubEndpointName' and no alias was found for the original parameter name.
121+
- The parameter set '__AllParameterSets' for cmdlet 'Remove-AzIotHubEventHubConsumerGroup' has been removed.
122+
- The cmdlet 'Set-AzIotHub' no longer supports the parameter 'OperationsMonitoringProperties' and no alias was found for the original parameter name.
123+
- The parameter set 'UpdateOperationsMonitoringProperties' for cmdlet 'Set-AzIotHub' has been removed.
124+
125+
#### Az.RecoveryServices
126+
* Azure Site Recovery support to configure networking resources like NSG, public IP and internal load balancers for Azure to Azure.
127+
* Azure Site Recovery Support to write to managed disk for vMWare to Azure.
128+
* Azure Site Recovery Support to NIC reduction for vMWare to Azure.
129+
* Azure Site Recovery Support to accelerated networking for Azure to Azure.
130+
* Azure Site Recovery Support to agent auto update for Azure to Azure.
131+
* Azure Site Recovery Support to Standard SSD for Azure to Azure.
132+
* Azure Site Recovery Support to Azure Disk Encryption two pass for Azure to Azure.
133+
* Azure Site Recovery Support to protect newly added disk for Azure to Azure.
134+
* Added SoftDelete feature for VM and added tests for softdelete
135+
136+
#### Az.Resources
137+
* Update dependency assembly Microsoft.Extensions.Caching.Memory from 1.1.1 to 2.2
138+
139+
#### Az.Network
140+
* Change all cmdlets for PrivateEndpointConnection to support generic service provider.
141+
- Updated cmdlet:
142+
- Approve-AzPrivateEndpointConnection
143+
- Deny-AzPrivateEndpointConnection
144+
- Get-AzPrivateEndpointConnection
145+
- Remove-AzPrivateEndpointConnection
146+
- Set-AzPrivateEndpointConnection
147+
* Add new cmdlet for PrivateLinkResource and it also support generic service provider.
148+
- New cmdlet:
149+
- Get-AzPrivateLinkResource
150+
* Add new fields and parameter for the feature Proxy Protocol V2.
151+
- Add property EnableProxyProtocol in PrivateLinkService
152+
- Add property LinkIdentifier in PrivateEndpointConnection
153+
- Updated New-AzPrivateLinkService to add a new optional parameter EnableProxyProtocol.
154+
* Fix incorrect parameter description in 'New-AzApplicationGatewaySku' reference documentation
155+
* New cmdlets to support the azure firewall policy
156+
* Add support for child resource RouteTables of VirtualHub
157+
- New cmdlets added:
158+
- Add-AzVirtualHubRoute
159+
- Add-AzVirtualHubRouteTable
160+
- Get-AzVirtualHubRouteTable
161+
- Remove-AzVirtualHubRouteTable
162+
- Set-AzVirtualHub
163+
* Add support for new properties Sku of VirtualHub and VirtualWANType of VirtualWan
164+
- Cmdlets updated with optional parameters:
165+
- New-AzVirtualHub : added parameter Sku
166+
- Update-AzVirtualHub : added parameter Sku
167+
- New-AzVirtualWan : added parameter VirtualWANType
168+
- Update-AzVirtualWan : added parameter VirtualWANType
169+
* Add support for EnableInternetSecurity property for HubVnetConnection, VpnConnection and ExpressRouteConnection
170+
- New cmdlets added:
171+
- Update-AzureRmVirtualHubVnetConnection
172+
- Cmdlets updated with optional parameters:
173+
- New-AzureRmVirtualHubVnetConnection : added parameter EnableInternetSecurity
174+
- New-AzureRmVpnConnection : added parameter EnableInternetSecurity
175+
- Update-AzureRmVpnConnection : added parameter EnableInternetSecurity
176+
- New-AzureRmExpressRouteConnection : added parameter EnableInternetSecurity
177+
- Set-AzureRmExpressRouteConnection : added parameter EnableInternetSecurity
178+
* Add support for Configuring TopLevel WebApplicationFirewall Policy
179+
- New cmdlets added:
180+
- New-AzApplicationGatewayFirewallPolicySetting
181+
- New-AzApplicationGatewayFirewallPolicyExclusion
182+
- New-AzApplicationGatewayFirewallPolicyManagedRuleGroupOverride
183+
- New-AzApplicationGatewayFirewallPolicyManagedRuleOverride
184+
- New-AzApplicationGatewayFirewallPolicyManagedRule
185+
- New-AzApplicationGatewayFirewallPolicyManagedRuleSet
186+
- Cmdlets updated with optional parameters:
187+
- New-AzApplicationGatewayFirewallPolicy : added parameter PolicySetting, ManagedRule
188+
* Added support for Geo-Match operator on CustomRule
189+
- Added GeoMatch to the operator on the FirewallCondition
190+
* Added support for perListener and perSite Firewall policy
191+
- Cmdlets updated with optional parameters:
192+
- New-AzApplicationGatewayHttpListener : added parameter FirewallPolicy, FirewallPolicyId
193+
- New-AzApplicationGatewayPathRuleConfig : added parameter FirewallPolicy, FirewallPolicyId
194+
* Fix required subnet with name AzureBastionSubnet in 'PSBastion' can be case insensitive
195+
* Support for Destination FQDNs in Network Rules and Translated FQDN in NAT Rules for Azure Firewall
196+
* Add support for top level resource RouteTables of IpGroup
197+
- New cmdlets added:
198+
- New-AzIpGroup
199+
- Remove-AzIpGroup
200+
- Get-AzIpGroup
201+
- Set-AzIpGroup
202+
203+
#### Az.ServiceFabric
204+
* Remove Add-AzServiceFabricApplicationCertificate cmdlet as this scenario is covered by Add-AzVmssSecret.
205+
206+
#### Az.Sql
207+
* Added support for restore of dropped databases on Managed Instances.
208+
* Deprecated from code old auditing cmdlets.
209+
* Removed deprecated aliases:
210+
* Get-AzSqlDatabaseIndexRecommendations (use Get-AzSqlDatabaseIndexRecommendation instead)
211+
* Get-AzSqlDatabaseRestorePoints (use Get-AzSqlDatabaseRestorePoint instead)
212+
* Remove Get-AzSqlDatabaseSecureConnectionPolicy cmdlet
213+
* Remove aliases for deprecated Vulnerability Assessment Settings cmdlets
214+
* Deprecate Advanced Threat Detection Settings cmdlets
215+
* Adding cmdlets to Disable and enable sensitivity recommendations on columns in a database.
216+
217+
#### Az.Storage
218+
* Support enable Large File share when create or update Storage account
219+
- New-AzStorageAccount
220+
- Set-AzStorageAccount
221+
* When close/get File handle, skip check the input path is File directory or File, to avoid failure with object in DeletePending status
222+
- Get-AzStorageFileHandle
223+
- Close-AzStorageFileHandle
224+
1225
## 2.8.0 - October 2019
2226
### General
3227
* Az.HealthcareApis 1.0.0 release
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## PR Review Knowledge Share
2+
3+
### Dependency Assemlby Version Confliction
4+
If one assembly has been referenced by more than one module, we should let Az.Accounts to handle the dependency.
5+
6+
**RED** flag
7+
- Update assembly version for common Microsoft.Extensions.*
8+
- Add new dependency assemlby for one module, the assembly may be referenced by other module already.
9+
- Contains version update for dependency assembly in module other than Az.Accounts
10+
11+
### Resource ID **MUST** start with a slash
12+
*Correct*: "/subscriptions/18bxxxxxx-4d70-8b1e-937660bde798/resourceGroups/MNC-PowerShell/providers/Microsoft.Network/virtualnetworks/Mesh1"
13+
14+
*Wrong*: "subscriptions/18bxxxxxx-92e4-4d70-8b1e-937660bde798/resourceGroups/MNC-PowerShell/providers/Microsoft.Network/virtualnetworks/Mesh1"
15+

0 commit comments

Comments
 (0)