Skip to content

Commit bd3387d

Browse files
authored
Merge pull request #3 from Azure/preview
Sync from upstream
2 parents d9f619a + 9b78152 commit bd3387d

File tree

2,829 files changed

+3190521
-512924
lines changed

Some content is hidden

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

2,829 files changed

+3190521
-512924
lines changed

ChangeLog.md

Lines changed: 179 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,182 @@
1-
## 2017.10.12 - Version 4.4.1
1+
## 2017.11.10 Version 5.0.1
2+
* Fixed assembly loading issue that caused some cmdlets to fail when executing in the following modules:
3+
- AzureRM.ApiManagement
4+
- AzureRM.Backup
5+
- AzureRM.Batch
6+
- AzureRM.Compute
7+
- AzureRM.DataFactories
8+
- AzureRM.HDInsight
9+
- AzureRM.KeyVault
10+
- AzureRM.RecoveryServices
11+
- AzureRM.RecoveryServices.Backup
12+
- AzureRM.RecoveryServices.SiteRecovery
13+
- AzureRM.RedisCache
14+
- AzureRM.SiteRecovery
15+
- AzureRM.Sql
16+
- AzureRM.Storage
17+
- AzureRM.StreamAnalytics
18+
19+
## 2017.11.8 - Version 5.0.0
20+
* NOTE: This is a breaking change release. Please see the migration guide (https://aka.ms/azps-migration-guide) for a full list of introduced breaking changes.
21+
* All cmdlets in AzureRM now support online help
22+
- Run Get-Help with the -Online parameter to open the online help in your default Internet browser
23+
* AnalysisServices
24+
* Fixed Synchronize-AzureAsInstance command to work with new AsAzure REST API for sync
25+
* ApiManagement
26+
* Please see the migration guide for breaking changes made to ApiManagement this release
27+
* Updated Cmdlet Get-AzureRmApiManagementUser to fix issue https://github.com/Azure/azure-powershell/issues/4510
28+
* Updated Cmdlet New-AzureRmApiManagementApi to create Api with Empty Path https://github.com/Azure/azure-powershell/issues/4069
29+
* ApplicationInsights
30+
* Add commands to get/create/remove applicaiton insights resource
31+
- Get-AzureRmApplicationInsights
32+
- New-AzureRmApplicationInsights
33+
- Remove-AzureRmApplicationInsights
34+
* Add commands to get/update pricing/daily cap of applicaiton insights resource
35+
- Get-AzureRmApplicationInsights -IncludeDailyCap
36+
- Set-AzureRmApplicationInsightsPricingPlan
37+
- Set-AzureRmApplicationInsightsDailyCap
38+
* Add commands to get/create/update/remove continuous export of applicaiton insights resource
39+
- Get-AzureRmApplicationInsightsContinuousExport
40+
- Set-AzureRmApplicationInsightsContinuousExport
41+
- New-AzureRmApplicationInsightsContinuousExport
42+
- Remove-AzureRmApplicationInsightsContinuousExport
43+
* Add commands to get/create/remove api keys of applicaiton insights resoruce
44+
- Get-AzureRmApplicationInsightsApiKey
45+
- New-AzureRmApplicationInsightsApiKey
46+
- Remove-AzureRmApplicationInsightsApiKey
47+
* AzureBatch
48+
* Added new parameters to `New-AzureRmBatchAccount`.
49+
- `PoolAllocationMode`: The allocation mode to use for creating pools in the Batch account. To create a Batch account which allocates pool nodes in the user's subscription, set this to `UserSubscription`.
50+
- `KeyVaultId`: The resource ID of the Azure key vault associated with the Batch account.
51+
- `KeyVaultUrl`: The URL of the Azure key vault associated with the Batch account.
52+
* Updated parameters to `New-AzureBatchTask`.
53+
- Removed the `RunElevated` switch. The `UserIdentity` parameter has been added to replace `RunElevated`, and the equivalent behavior can be achieved by constructing a `PSUserIdentity` as shown below:
54+
- $autoUser = New-Object Microsoft.Azure.Commands.Batch.Models.PSAutoUserSpecification -ArgumentList @("Task", "Admin")
55+
- $userIdentity = New-Object Microsoft.Azure.Commands.Batch.Models.PSUserIdentity $autoUser
56+
- Added the `AuthenticationTokenSettings` parameter. This parameter allows you to request the Batch service provide an authentication token to the task when it runs, avoiding the need to pass Batch account keys to the task in order to issue requests to the Batch service.
57+
- Added the `ContainerSettings` parameter.
58+
- This parameter allows you to request the Batch service run the task inside a container.
59+
- Added the `OutputFiles` parameter.
60+
- This parameter allows you to configure the task to upload files to Azure Storage after it has finished.
61+
* Updated parameters to `New-AzureBatchPool`.
62+
- Added the `UserAccounts` parameter.
63+
- This parameter defines user accounts created on each node in the pool.
64+
- Added `TargetLowPriorityComputeNodes` and renamed `TargetDedicated` to `TargetDedicatedComputeNodes`.
65+
- A `TargetDedicated` alias was created for the `TargetDedicatedComputeNodes` parameter.
66+
- Added the `NetworkConfiguration` parameter.
67+
- This parameter allows you to configure the pools network settings.
68+
* Updated parameters to `New-AzureBatchCertificate`.
69+
- The `Password` parameter is now a `SecureString`.
70+
* Updated parameters to `New-AzureBatchComputeNodeUser`.
71+
- The `Password` parameter is now a `SecureString`.
72+
* Updated parameters to `Set-AzureBatchComputeNodeUser`.
73+
- The `Password` parameter is now a `SecureString`.
74+
* Renamed the `Name` parameter to `Path` on `Get-AzureBatchNodeFile`, `Get-AzureBatchNodeFileContent`, and `Remove-AzureBatchNodeFile`.
75+
- A `Name` alias was created for the `Path` parameter.
76+
* Changes to objects
77+
- Please see the Batch change log for the full list
78+
* Added support for Azure Active Directory based authentication.
79+
- To use Azure Active Directory authentication, retrieve a `BatchAccountContext` object using the `Get-AzureRmBatchAccount` cmdlet, and supply this `BatchAccountContext` to the `-BatchContext` parameter of a Batch service cmdlet. Azure Active Directory authentication is mandatory for accounts with `PoolAllocationMode = UserSubscription`.
80+
- For existing accounts or for new accounts created with `PoolAllocationMode = BatchService`, you may continue to use shared key authentication by retrieving a `BatchAccountContext` object using the `Get-AzureRmBatchAccoutKeys` cmdlet.
81+
* Compute
82+
* Azure Disk Encryption Extension Commands
83+
- New Parameter for 'Set-AzureRmVmDiskEncryptionExtension': '-EncryptFormatAll' encrypt formats data disks
84+
- New Parameters for 'Set-AzureRmVmDiskEncryptionExtension': '-ExtensionPublisherName' and '-ExtensionType' allow switching to other versions of the extension
85+
- New Parameters for 'Disable-AzureRmVmDiskEncryption': '-ExtensionPublisherName' and '-ExtensionType' allow switching to other versions of the extension
86+
- New Parameters for 'Get-AzureRmVmDiskEncryptionStatus': '-ExtensionPublisherName' and '-ExtensionType' allow switching to other versions of the extension
87+
* DataLakeAnalytics
88+
* Please see the migration guide for breaking changes made to DataLakeAnalytics this release
89+
* Changed one of the two OutputTypes of Get-AzureRmDataLakeAnalyticsAccount
90+
- List\<DataLakeAnalyticsAccount> to List\<PSDataLakeAnalyticsAccountBasic>
91+
- The properties of PSDataLakeAnalyticsAccountBasic is a strict subset of the properties of DataLakeAnalyticsAccount
92+
- The additional properties that are in DataLakeAnalyticsAccount are not returned by the service. Therefore, this change is to reflect this accurately. These additional properties are still in PSDataLakeAnalyticsAccountBasic, but they are tagged as Obsolete.
93+
* Changed one of the two OutputTypes of Get-AzureRmDataLakeAnalyticsJob
94+
- List\<JobInformation> to List\<PSJobInformationBasic>
95+
- The properties of PSJobInformationBasic is a strict subset of the properties of JobInformation
96+
- The additional properties that are in JobInformation are not returned by the service. Therefore, this change is to reflect this accurately. These additional properties are still in PSJobInformationBasic, but they are tagged as Obsolete.
97+
* DataLakeStore
98+
* Please see the migration guide for breaking changes made to DataLakeStore this release
99+
* Changed one of the two OutputTypes of Get-AzureRmDataLakeStoreAccount
100+
- List\<PSDataLakeStoreAccount> to List\<PSDataLakeStoreAccountBasic>
101+
- The properties of PSDataLakeStoreAccountBasic is a strict subset of the properties of PSDataLakeStoreAccount
102+
- The additional properties that are in PSDataLakeStoreAccount are not returned by the service. Therefore, this change is to reflect this accurately. These additional properties are still in PSDataLakeStoreAccountBasic, but they are tagged as Obsolete.
103+
* Dns
104+
* Support for CAA record types in Azure DNS
105+
- Supports all operations on CAA record type
106+
* EventHub
107+
* Please see the migration guide for breaking changes made to EventHub this release
108+
* Insights
109+
* Please see the migration guide for breaking changes made to Insights this release
110+
* Network
111+
* Please see the migration guide for breaking changes made to Network this release
112+
* Added cmdlet to list available internet service providers for a specified Azure region
113+
- Get-AzureRmNetworkWatcherReachabilityProvidersList
114+
* Added cmdlet to get the relative latency score for internet service providers from a specified location to Azure regions
115+
- Get-AzureRmNetworkWatcherReachabilityReport
116+
* Profile
117+
- Set-AzureRmDefault
118+
- Use this cmdlet to set a default resource group. This will make the -ResourceGroup parameter optional for some cmdlets, and will use the default when a resource group is not specified
119+
- ```Set-AzureRmDefault -ResourceGroupName "ExampleResourceGroup"```
120+
- If resource group specified exists in the subscription, this resource group will be set to default. Otherwise, the resource group will be created and then set to default.
121+
- Get-AzureRmDefault
122+
- Use this cmdlet to get the current default resource group (and other defaults in the future).
123+
- ```Get-AzureRmDefault -ResourceGroup```
124+
- Clear-AzureRmDefault
125+
- Use this cmdlet to remove the current default resource group
126+
- ```Clear-AzureRmDefault -ResourceGroup```
127+
- Add-AzureRmEnvironment and Set-AzureRmEnvironment
128+
- Add the BatchAudience parameter, which allows you to specify the Azure Batch Active Directory audience to use when acquiring authentication tokens for the Batch service.
129+
* RecoveryServices.Backup
130+
* Added cmdlets to perform instant file recovery.
131+
- Get-AzureRmRecoveryServicesBackupRPMountScript
132+
- Disable-AzureRmRecoveryServicesBackupRPMountScript
133+
* Updated RecoveryServices.Backup SDK version to the latest
134+
* Updated tests for the Azure VM workload so that, all setups needed for test runs are done by the tests themselves.
135+
* Fixes https://github.com/Azure/azure-powershell/issues/3164
136+
* RecoveryServices.SiteRecovery
137+
* Changes for ASR VMware to Azure Site Recovery (cmdlets are currently supporting operations for Enterprise to Enterprise, Enterprise to Azure, HyperV to Azure)
138+
- New-AzureRmRecoveryServicesAsrPolicy
139+
- New-AzureRmRecoveryServicesAsrProtectedItem
140+
- Update-AzureRmRecoveryServicesAsrPolicy
141+
- Update-AzureRmRecoveryServicesAsrProtectionDirection
142+
* Added support to AAD-based vault
143+
* Added cmdlets to manage VCenter resources
144+
- Get-AzureRmRecoveryServicesAsrVCenter
145+
- New-AzureRmRecoveryServicesAsrVCenter
146+
- Remove-AzureRmRecoveryServicesAsrVCenter
147+
- Update-AzureRmRecoveryServicesAsrVCenter
148+
* Added other cmdlets
149+
- Get-AzureRmRecoveryServicesAsrAlertSetting
150+
- Get-AzureRmRecoveryServicesAsrEvent
151+
- New-AzureRmRecoveryServicesAsrProtectableItem
152+
- Set-AzureRmRecoveryServicesAsrAlertSetting
153+
- Start-AzureRmRecoveryServicesAsrResynchronizeReplicationJob
154+
- Start-AzureRmRecoveryServicesAsrSwitchProcessServerJob
155+
- Start-AzureRmRecoveryServicesAsrTestFailoverCleanupJob
156+
- Update-AzureRmRecoveryServicesAsrMobilityService
157+
* ServiceBus
158+
- Please see the migration guide for breaking changes made to ServiceBus this release
159+
* Sql
160+
* Adding support for list and cancel the asynchronous updateslo operation on the database
161+
- update existing cmdlet Get-AzureRmSqlDatabaseActivity to return DB updateslo operation status.
162+
- add new cmdlet Stop-AzureRmSqlDatabaseActivity for cancel the asynchronous updateslo operation on the database.
163+
* Adding support for Zone Redundancy for databases and elastic pools
164+
- Adding ZoneRedundant switch parameter to New-AzureRmSqlDatabase
165+
- Adding ZoneRedundant switch parameter to Set-AzureRmSqlDatabase
166+
- Adding ZoneRedundant switch parameter to New-AzureRmSqlElasticPool
167+
- Adding ZoneRedundant switch parameter to Set-AzureRmSqlElasticPool
168+
* Adding support for Server DNS Aliases
169+
- Adding Get-AzureRmSqlServerDnsAlias cmdlet which gets server dns aliases by server and alias name or a list of server dns aliases for an azure Sql Server.
170+
- Adding New-AzureRmSqlServerDnsAlias cmdlet which creates new server dns alias for a given Azure Sql server
171+
- Adding Set-AzurermSqlServerDnsAlias cmlet which allows updating a Azure Sql Server to which server dns alias is pointing
172+
- Adding Remove-AzureRmSqlServerDnsAlias cmdlet which removes a server dns alias for a Azure Sql Server
173+
* Azure.Storage
174+
* Upgrade to Azure Storage Client Library 8.5.0 and Azure Storage DataMovement Library 0.6.3
175+
* Add File Share Snapshot Support Feature
176+
- Add 'SnapshotTime' parameter to Get-AzureStorageShare
177+
- Add 'IncludeAllSnapshot' parameter to Remove-AzureStorageShare
178+
179+
## 2017.10.12 - Version 4.4.1
2180
* AzureBatch
3181
- Marked cmdlet parameters and type properties obsolete in
4182
preparation for upcoming breaking change release (Version 4.0.0)

appveyor.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
clone_folder: c:\ps
12
branches:
23
only:
34
- master
@@ -7,6 +8,11 @@ environment:
78
secure: VMFbecLLHzDq/09YDPbcM0VDDSwwgY57vr5GXK6cZZ4Ti/Xs5RZoylzV8MMr1350
89

910
before_build:
11+
- ps: Install-Module -Name SplitPipeline -Force
12+
- ps: Install-Module -Name platyPS -Force
13+
- ps: Install-Module -Name Azure -Force
14+
- ps: Install-Module -Name AzureRM -Force
15+
- ps: Install-Module -Name AzureStack -Force
1016
- ps: Install-Product node $env:nodejs_version
1117
- git config --global credential.helper store
1218
- ps: ac "$env:USERPROFILE\.git-credentials" "https://$($env:github_access_token):x-oauth-basic@github.com`n"
@@ -25,6 +31,6 @@ test: off
2531
on_success:
2632
- git clone -q --branch=%target_branch% %content_repo% %TEMP%\Azure
2733
- cd %TEMP%\Azure
28-
- ps: ls c:\projects\_output -dir | % { copy $_.FullName (ls -dir | select -First 1) -Recurse -Force }
34+
- ps: ls c:\projects\_output -dir | % { copy $_.FullName . -Recurse -Force }
2935
- git add -A
3036
- git diff --quiet --exit-code --cached || git commit -m "Sync docs from source code repo to content repo." && git push origin %target_branch% && appveyor AddMessage "Content Updated"

build.proj

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,16 @@
7979
<UsingTask TaskName="VerifyAuthenticodeSignatureTask" AssemblyFile="$(BuildTasksPath)\Microsoft.Azure.Build.Tasks.dll" />
8080
<UsingTask TaskName="SmartTestingTask" AssemblyFile="$(BuildTasksPath)\Microsoft.Azure.Build.Tasks.dll" />
8181
<UsingTask TaskName="SetEnvVar" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll" >
82-
<ParameterGroup>
83-
<EnvName ParameterType="System.String" Required="true" />
84-
<EnvValue ParameterType="System.String" Required="true" />
82+
<ParameterGroup>
83+
<EnvName ParameterType="System.String" Required="true" />
84+
<EnvValue ParameterType="System.String" Required="true" />
8585
</ParameterGroup>
8686
<Task>
87-
<Using Namespace="System"/>
88-
<Code Type="Fragment" Language="cs">
89-
<![CDATA[System.Environment.SetEnvironmentVariable(EnvName, EnvValue);]]>
90-
</Code>
91-
</Task>
87+
<Using Namespace="System"/>
88+
<Code Type="Fragment" Language="cs">
89+
<![CDATA[System.Environment.SetEnvironmentVariable(EnvName, EnvValue);]]>
90+
</Code>
91+
</Task>
9292
</UsingTask> <!--
9393
CI build related
9494
-->
@@ -196,17 +196,17 @@
196196
<MakeDir Directories="$(PackageDirectory)" />
197197
<Exec ContinueOnError="false"
198198
Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot; . $(LibraryToolsFolder)\CreateMappings.ps1 -RootPath $(LibrarySourceFolder) -OutputFile $(PackageDirectory)\groupMapping.json -WarningFile $(PackageDirectory)\groupMappingWarnings.json -RulesFile $(LibraryToolsFolder)\CreateMappings_rules.json &quot;" Condition="'$(Latest)' == 'true'"/>
199-
199+
200200
<MSBuild
201201
Projects="@(CmdletSolutionsToBuild)"
202202
Targets="Build"
203203
Properties="Configuration=$(Configuration);Platform=Any CPU"
204204
BuildInParallel="$(BuildInParallel)"
205205
ContinueOnError="false" />
206206

207-
<Exec Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;. $(LibraryToolsFolder)\GenerateHelp.ps1 -ValidateMarkdownHelp -GenerateMamlHelp -BuildConfig $(Configuration) &quot;"
208-
ContinueOnError="false"
209-
Condition=" '$(SkipHelp)' == 'false' and '$(Latest)' == 'true'"/>
207+
<Exec Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;$ProgressPreference = 'SilentlyContinue';. $(LibraryToolsFolder)\GenerateHelp.ps1 -ValidateMarkdownHelp -GenerateMamlHelp -BuildConfig $(Configuration) &quot;"
208+
ContinueOnError="false"
209+
Condition=" '$(SkipHelp)' == 'false' and '$(Latest)' == 'true'"/>
210210
<CallTarget Targets="BuildSetupTest"/>
211211
<!-- moved copy tasks -->
212212

@@ -234,7 +234,7 @@
234234
DestinationFolder="$(LibrarySourceFolder)\Package\$(Configuration)"
235235
Condition=" '$(CodeSign)' == 'true' "/>
236236

237-
<CallTarget Targets="CodeSignBinaries" Condition=" '$(CodeSign)' == 'true' " />
237+
<CallTarget Targets="CodeSignBinaries" Condition=" '$(CodeSign)' == 'true' " />
238238

239239

240240
<Copy SourceFiles="$(LibrarySourceFolder)\Package\$(Configuration)\AzureRM.psd1"
@@ -535,4 +535,4 @@
535535
<Message Importance="high" Text="Running live tests..." />
536536
<CallTarget Targets="LiveTests"/>
537537
</Target>
538-
</Project>
538+
</Project>

0 commit comments

Comments
 (0)