Skip to content

Commit 922c592

Browse files
authored
Merge pull request #2 from Azure/master
Syncing
2 parents fa49b02 + 00bc26d commit 922c592

File tree

1,193 files changed

+418124
-230868
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,193 files changed

+418124
-230868
lines changed

ChangeLog.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,73 @@
1+
## 4.6.1 - August 2020
2+
#### Az.Compute
3+
* Patched '-EncryptionAtHost' parameter in 'New-AzVm' to remove default value of false [#12776]
4+
5+
## 4.6.0 - August 2020
6+
#### Az.Accounts
7+
* Loaded all public cloud environments when discovery endpoint doesn't return default AzureCloud or other public environments [#12633]
8+
* Exposed SubscriptionPolicies in 'Get-AzSubscription' [#12551]
9+
10+
#### Az.Automation
11+
* Added '-RunOn' parameters to 'Set-AzAutomationWebhook' to specify a Hybrid Worker Group
12+
13+
#### Az.Compute
14+
* Added '-EncryptionAtHost' parameter to 'New-AzVm', 'New-AzVmss', 'New-AzVMConfig', 'New-AzVmssConfig', 'Update-AzVM', and 'Update-AzVmss'
15+
* Added 'SecurityProfile' to 'Get-AzVM' and 'Get-AzVmss' return object
16+
* Added '-InstanceView' switch as optional parameter to 'Get-AzHostGroup'
17+
* Added new cmdlet 'Invoke-AzVmPatchAssessment'
18+
19+
#### Az.DataFactory
20+
* Added missing properties to PSPipelineRun class.
21+
22+
#### Az.HDInsight
23+
* Supported creating cluster with encryption at host feature.
24+
25+
#### Az.KeyVault
26+
* Added warning messages for planning to disable soft delete
27+
* Added warning messages for planning to remove attribute SecretValueText
28+
29+
#### Az.Maintenance
30+
* Added optional schedule related fields to 'New-AzMaintenanceConfiguration'
31+
* Added new cmdlet for 'Get-AzMaintenancePublicConfiguration'
32+
33+
#### Az.ManagedServices
34+
* Added breaking change warnings on cmdlets of managed services assignment and definition
35+
36+
#### Az.Monitor
37+
* Extended the parameter set in 'Set-AzDiagnosticSetting' for separation of Logs and Metrics enablement [#12482]
38+
* Fixed bug for 'Add-AzMetricAlertRuleV2' when getting metric alert from pipeline
39+
40+
#### Az.Resources
41+
* Updated 'Get-AzPolicyAlias' response to include information indicating whether the alias is modifiable by Azure Policy.
42+
* Created new cmdlet 'Set-AzRoleAssignment'
43+
* Added 'Get-AzDeploymentManagementGroupWhatIfResult' for getting ARM template What-If results at management Group scope
44+
* Added 'Get-AzTenantWhatIfResult' new cmdlet for getting ARM template What-If results at tenant scope
45+
* Overrode '-WhatIf' and '-Confirm' for 'New-AzManagementGroupDeployment' and 'New-AzTenantDeployment' to use ARM template What-If results
46+
* Fixed the behaviors of '-WhatIf' and '-Confirm' for new deployment cmdlets so they comply with False and
47+
* Fixed serialization error for '-TemplateObject' and 'TemplateParameterObject' [#1528] [#6292]
48+
* Added breaking change attribute to 'Get-AzResourceGroupDeploymentOperation' for the upcoming output type change
49+
50+
#### Az.SignalR
51+
* Fixed 'Restart-AzSignalR' and 'Update-AzSignalR' help files errors
52+
* Added cmdlets 'Update-AzSignalRNetworkAcl', 'Set-AzSignalRUpstream'
53+
54+
#### Az.Storage
55+
* Supported blob query acceleration
56+
- 'Get-AzStorageBlobQueryResult'
57+
- 'New-AzStorageBlobQueryConfig'
58+
* Updated help file, added more description, and fixed typo
59+
- 'Start-AzStorageBlobCopy'
60+
- 'Get-AzDataLakeGen2Item'
61+
* Fixed download blob fail when related sub directory not exist [#12592]
62+
- 'Get-AzStorageBlobContent'
63+
* Supported Set/Get/Remove Object Replication Policy on Storage accounts
64+
- 'New-AzStorageObjectReplicationPolicyRule'
65+
- 'Set-AzStorageObjectReplicationPolicy'
66+
- 'Get-AzStorageObjectReplicationPolicy'
67+
- 'Remove-AzStorageObjectReplicationPolicy'
68+
* Supported enable/disable ChangeFeed on Blob Service of a Storage account
69+
- 'Update-AzStorageBlobServiceProperty'
70+
171
## 4.5.0 - August 2020
272
#### Az.Accounts
373
* Updated 'Connect-AzAccount' to accept parameter 'MaxContextPopulation' [#9865]

build.proj

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
/p:Scope
1919
'Subfolder under src': An individual cmdlet module
2020
By default, it builds everything
21+
/p:TargetModule
22+
Just focus on one module and its dependency such as Az.Account. Module name doesn't need to lead with Az.
2123
/p:SkipHelp=True
2224
Skips help generation, mainly for local builds to save time.
2325
-->
@@ -118,7 +120,7 @@
118120
</FilesChangedTask>
119121

120122
<!-- Get the list of modules changed -->
121-
<FilterTask FilesChanged="@(FilesChanged)" MapFilePath="./ModuleMappings.json">
123+
<FilterTask FilesChanged="@(FilesChanged)" MapFilePath="./ModuleMappings.json" TargetModule="$(TargetModule)">
122124
<Output TaskParameter="Output" ItemName="ModulesChanged" />
123125
</FilterTask>
124126
<Message Importance="high" Text="Filtering help generation and StaticAnalysis by the following modules:" />
@@ -127,7 +129,7 @@
127129
<Message Importance="high" Text="" />
128130

129131
<!-- Get the list of projects to build -->
130-
<FilterTask FilesChanged="@(FilesChanged)" MapFilePath="./CsprojMappings.json">
132+
<FilterTask FilesChanged="@(FilesChanged)" MapFilePath="./CsprojMappings.json" TargetModule="$(TargetModule)">
131133
<Output TaskParameter="Output" ItemName="ProjectsToBuild" />
132134
</FilterTask>
133135
<Message Importance="high" Text="Filtering projects to build by the following:" />
@@ -237,16 +239,16 @@
237239

238240
<Target Name="Publish" Condition="'$(Configuration)' == 'Release'">
239241
<Message Importance="high" Text="Publishing Cmdlets using $(Scope) scope" />
240-
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. $(RepoTools)/NewOutputTypeIndex.ps1 -OutputFile $(RepoArtifacts)/outputtypes.json -BuildConfig $(Configuration)&quot;" />
241-
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. $(RepoTools)/NewHelpIndex.ps1 -OutputFile $(RepoArtifacts)/index.json -BuildConfig $(Configuration)&quot;" />
242+
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. $(RepoTools)/NewOutputTypeIndex.ps1 -OutputFile $(RepoArtifacts)/outputtypes.json -BuildConfig $(Configuration)&quot;" Condition="'$(TargetModule)' == ''"/>
243+
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. $(RepoTools)/NewHelpIndex.ps1 -OutputFile $(RepoArtifacts)/index.json -BuildConfig $(Configuration)&quot;" Condition="'$(TargetModule)' == ''"/>
242244

243245
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. $(RepoTools)/CleanupBuild.ps1 -BuildConfig $(Configuration)&quot;" />
244246

245247
<Error Condition="'$(NuGetKey)' == ''" Text="You must provide the NuGetKey parameter to the build: /p:NuGetKey=YOUR_PUBLISHING_KEY" />
246248
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. $(RepoTools)/PublishModules.ps1 -IsNetCore:$$(NetCore) -BuildConfig $(Configuration) -Scope $(Scope) -ApiKey $(NuGetKey) -RepositoryLocation \&quot;$(NuGetPublishingSource)\&quot;&quot; -NugetExe $(NuGetCommand)" />
247249
</Target>
248250

249-
<Target Name="BuildInstaller" AfterTargets="Publish" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Latest' or '$(Scope)' == 'Netcore'">
251+
<Target Name="BuildInstaller" AfterTargets="Publish" Condition="('$(Scope)' == 'All' or '$(Scope)' == 'Latest' or '$(Scope)' == 'Netcore') and '$(TargetModule)' == ''">
250252
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. Register-PSRepository -Name MSIcreationrepository -SourceLocation $(RepoArtifacts) -InstallationPolicy Trusted &quot;" />
251253
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. $(RepoRoot)/setup/generate.ps1 -repository MSIcreationrepository &quot;" />
252254
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. Unregister-PSRepository -Name MSIcreationrepository &quot;" />

documentation/azure-powershell-modules.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ Security | `Az.Security`
9898
Service Bus | `Az.ServiceBus` | [![ServiceBus]][ServiceBusGallery]
9999
Service Fabric | `Az.ServiceFabric` | [![ServiceFabric]][ServiceFabricGallery]
100100
SignalR | `Az.SignalR` | [![SignalR]][SignalRGallery]
101+
SpringCloud | `Az.SpringCloud` | [![SpringCloud]][SpringCloudGallery]
101102
SQL | `Az.Sql` | [![Sql]][SqlGallery]
102103
SQL Server on Virtual Machines | `Az.SqlVirtualMachine` | [![SqlVirtualMachine]][SqlVirtualMachineGallery]
103104
Stack Edge | `Az.StackEdge` | [![StackEdge]][StackEdgeGallery]
@@ -204,10 +205,11 @@ Web App Service | `Az.Websites`
204205
[ServiceBus]: https://img.shields.io/powershellgallery/v/Az.ServiceBus.svg?style=flat-square&label=Az.ServiceBus
205206
[ServiceFabric]: https://img.shields.io/powershellgallery/v/Az.ServiceFabric.svg?style=flat-square&label=Az.ServiceFabric
206207
[SignalR]: https://img.shields.io/powershellgallery/v/Az.SignalR.svg?style=flat-square&label=Az.SignalR
208+
[SpringCloud]: https://img.shields.io/powershellgallery/v/Az.SpringCloud.svg?style=flat-square&label=Az.SpringCloud
207209
[Sql]: https://img.shields.io/powershellgallery/v/Az.Sql.svg?style=flat-square&label=Az.Sql
208210
[SqlVirtualMachine]: https://img.shields.io/powershellgallery/v/Az.SqlVirtualMachine.svg?style=flat-square&label=Az.SqlVirtualMachine
209211
[StackEdge]: https://img.shields.io/powershellgallery/v/Az.StackEdge.svg?style=flat-square&label=Az.StackEdge
210-
[StackHCI]: https://img.shields.io/powershellgallery/v/Az.StackHCI.svg?style=flat-square&label=Az.StackHCI
212+
[StackHCI]: https://img.shields.io/powershellgallery/v/Az.StackHCI.svg?style=flat-square&label=Az.StackHCI
211213
[Storage]: https://img.shields.io/powershellgallery/v/Az.Storage.svg?style=flat-square&label=Az.Storage
212214
[StorageSync]: https://img.shields.io/powershellgallery/v/Az.StorageSync.svg?style=flat-square&label=Az.StorageSync
213215
[StreamAnalytics]: https://img.shields.io/powershellgallery/v/Az.StreamAnalytics.svg?style=flat-square&label=Az.StreamAnalytics
@@ -308,6 +310,7 @@ Web App Service | `Az.Websites`
308310
[ServiceBusGallery]: https://www.powershellgallery.com/packages/Az.ServiceBus/
309311
[ServiceFabricGallery]: https://www.powershellgallery.com/packages/Az.ServiceFabric/
310312
[SignalRGallery]: https://www.powershellgallery.com/packages/Az.SignalR/
313+
[SpringCloudGallery]: https://www.powershellgallery.com/packages/Az.SpringCloud/
311314
[SqlGallery]: https://www.powershellgallery.com/packages/Az.Sql/
312315
[SqlVirtualMachineGallery]: https://www.powershellgallery.com/packages/Az.SqlVirtualMachine/
313316
[StackEdgeGallery]: https://www.powershellgallery.com/packages/Az.StackEdge/

documentation/development-docs/examples/remove-cmdlet-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ namespace Microsoft.Azure.Commands.Service
168168
if (this.ShouldProcess(this.Name, string.Format("Deleting ChildResource '{0}' in resource group '{1}' under parent TopLevelResource '{2}'.", this.Name, this.ResourceGroupName, this.TopLevelResourceName)))
169169
{
170170
this.MySDKClient.ChildResource.Delete(this.ResourceGroupName, this.TopLevelResourceName, this.Name);
171-
if (this.IsPassThru.IsPresent)
171+
if (this.PassThru.IsPresent)
172172
{
173173
WriteObject(true);
174174
}

src/Accounts/Accounts/Az.Accounts.psd1

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 7/30/2020
6+
# Generated on: 8/21/2020
77
#
88

99
@{
@@ -12,7 +12,7 @@
1212
# RootModule = ''
1313

1414
# Version number of this module.
15-
ModuleVersion = '1.9.2'
15+
ModuleVersion = '1.9.3'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -143,11 +143,8 @@ PrivateData = @{
143143
# IconUri = ''
144144

145145
# ReleaseNotes of this module
146-
ReleaseNotes = '* Updated ''Connect-AzAccount'' to accept parameter ''MaxContextPopulation'' [#9865]
147-
* Updated SubscriptionClient version to 2019-06-01 and display tenant domains [#9838]
148-
* Supported home tenant and managedBy tenant information of subscription
149-
* Corrected module name, version info in telemetry data
150-
* Adjusted SqlDatabaseDnsSuffix and ServiceManagementUrl if environment metadata endpoint returns incompatible value'
146+
ReleaseNotes = '* Loaded all public cloud environments when discovery endpoint doesn''t return default AzureCloud or other public environments [#12633]
147+
* Exposed SubscriptionPolicies in ''Get-AzSubscription'' [#12551]'
151148

152149
# Prerelease string of this module
153150
# Prerelease = ''

src/Accounts/Accounts/ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Formatted the breaking change messages
22+
* Updated Azure.Core to 1.4.1
23+
24+
## Version 1.9.3
2125
* Loaded all public cloud environments when discovery endpoint doesn't return default AzureCloud or other public environments [#12633]
2226
* Exposed SubscriptionPolicies in `Get-AzSubscription` [#12551]
2327

src/Accounts/Accounts/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
// You can specify all the values or you can default the Build and Revision Numbers
4444
// by using the '*' as shown below:
4545

46-
[assembly: AssemblyVersion("1.9.2")]
47-
[assembly: AssemblyFileVersion("1.9.2")]
46+
[assembly: AssemblyVersion("1.9.3")]
47+
[assembly: AssemblyFileVersion("1.9.3")]
4848
#if !SIGN
4949
[assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Cmdlets.Accounts.Test")]
5050
#endif

src/Accounts/Authentication/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@
4343
// You can specify all the values or you can default the Build and Revision Numbers
4444
// by using the '*' as shown below:
4545
// [assembly: AssemblyVersion("1.0.*")]
46-
[assembly: AssemblyVersion("1.9.2")]
47-
[assembly: AssemblyFileVersion("1.9.2")]
46+
[assembly: AssemblyVersion("1.9.3")]
47+
[assembly: AssemblyFileVersion("1.9.3")]

src/Accounts/Authentication/Utilities/CustomAssemblyResolver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public static class CustomAssemblyResolver
1010
private static IDictionary<string, Version> NetFxPreloadAssemblies =
1111
new Dictionary<string, Version>(StringComparer.InvariantCultureIgnoreCase)
1212
{
13-
{"Azure.Core", new Version("1.3.0.0")},
13+
{"Azure.Core", new Version("1.4.1.0")},
1414
{"Microsoft.Bcl.AsyncInterfaces", new Version("1.0.0.0")},
1515
{"Microsoft.IdentityModel.Clients.ActiveDirectory", new Version("3.19.2.6005")},
1616
{"Microsoft.IdentityModel.Clients.ActiveDirectory.Platform", new Version("3.19.2.6005")},

src/Advisor/Advisor/Az.Advisor.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2'
5151
# ProcessorArchitecture = ''
5252

5353
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.9.2'; })
54+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.9.3'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = 'Microsoft.Azure.Management.Advisor.dll'

src/Aks/Aks/Az.Aks.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2'
5353
# ProcessorArchitecture = ''
5454

5555
# Modules that must be imported into the global environment prior to importing this module
56-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.9.2'; })
56+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.9.3'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
5959
RequiredAssemblies = 'YamlDotNet.dll', 'AutoMapper.dll',

src/AlertsManagement/AlertsManagement/Az.AlertsManagement.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2'
5353
# ProcessorArchitecture = ''
5454

5555
# Modules that must be imported into the global environment prior to importing this module
56-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.9.2'; })
56+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.9.3'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
5959
RequiredAssemblies = 'Microsoft.Azure.Management.AlertsManagement.dll'

src/AlertsManagement/AlertsManagement/help/Get-AzAlert.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,15 @@ PS C:\> Get-AzAlert -AlertId "afbf1b3a-0a6c-4f19-9c9b-644ccd7b1529" | Format-Lis
5555

5656
Get Alert details by Id (GUID) or Resource Id (Complete ARM Id)
5757

58+
### Example 3
59+
60+
Get Alerts Information. (autogenerated)
61+
62+
<!-- Aladdin Generated Example -->
63+
```powershell
64+
Get-AzAlert -IncludeContext $true -TimeRange '1h'
65+
```
66+
5867
## PARAMETERS
5968

6069
### -AlertId

src/AnalysisServices/AnalysisServices/Az.AnalysisServices.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2'
5353
# ProcessorArchitecture = ''
5454

5555
# Modules that must be imported into the global environment prior to importing this module
56-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.9.2'; })
56+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.9.3'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
5959
RequiredAssemblies = 'Microsoft.Azure.Management.Analysis.dll'

src/ApiManagement/ApiManagement/Az.ApiManagement.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2'
5353
# ProcessorArchitecture = ''
5454

5555
# Modules that must be imported into the global environment prior to importing this module
56-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.9.2'; })
56+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.9.3'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
5959
RequiredAssemblies = 'AutoMapper.dll', 'Microsoft.Azure.Management.ApiManagement.dll',

src/AppConfiguration/Az.AppConfiguration.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2'
5151
# ProcessorArchitecture = ''
5252

5353
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.9.2'; })
54+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.9.3'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = './bin/Az.AppConfiguration.private.dll'

src/ApplicationInsights/ApplicationInsights/Az.ApplicationInsights.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2'
5353
# ProcessorArchitecture = ''
5454

5555
# Modules that must be imported into the global environment prior to importing this module
56-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.9.2'; })
56+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.9.3'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
5959
RequiredAssemblies = 'Microsoft.Azure.Management.ApplicationInsights.dll'

src/Attestation/Attestation/Az.Attestation.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2'
5353
# ProcessorArchitecture = ''
5454

5555
# Modules that must be imported into the global environment prior to importing this module
56-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.9.2'; })
56+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.9.3'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
5959
RequiredAssemblies = 'Microsoft.Azure.Management.Attestation.dll',

src/Attestation/Attestation/help/Reset-AzAttestationPolicy.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ PS C:\> Reset-AzAttestationPolicy -Name pshtest -ResourceGroupName psh-test-rg -
3636

3737
Reset the policy to the default for the Attestation Provider *pshtest* for Tee type *SgxEnclave*.
3838

39+
### Example 2
40+
```powershell
41+
PS C:\> $resetJwt = Get-Content -Path .\reset.policy.txt.signed.txt
42+
PS C:\> Reset-AzAttestationPolicy -Name pshtest -ResourceGroupName psh-test-rg -Tee SgxEnclave -Policy $resetJwt
43+
```
44+
45+
If the Attestation Provider *pshtest* is configured to use the isolated trust model, reset the policy to the default for Tee type *SgxEnclave* by including a signed policy.
46+
3947
## PARAMETERS
4048

4149
### -DefaultProfile

src/Automation/Automation/Az.Automation.psd1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 7/9/2020
6+
# Generated on: 8/21/2020
77
#
88

99
@{
@@ -12,7 +12,7 @@
1212
# RootModule = ''
1313

1414
# Version number of this module.
15-
ModuleVersion = '1.3.7'
15+
ModuleVersion = '1.4.0'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2'
5353
# ProcessorArchitecture = ''
5454

5555
# Modules that must be imported into the global environment prior to importing this module
56-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.9.2'; })
56+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.9.3'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
5959
RequiredAssemblies = 'Microsoft.Azure.Management.Automation.dll'
@@ -168,7 +168,7 @@ PrivateData = @{
168168
# IconUri = ''
169169

170170
# ReleaseNotes of this module
171-
ReleaseNotes = '* Fixed the issue that string with escape chars cannot be converted into json object.'
171+
ReleaseNotes = '* Added ''-RunOn'' parameters to ''Set-AzAutomationWebhook'' to specify a Hybrid Worker Group'
172172

173173
# Prerelease string of this module
174174
# Prerelease = ''

src/Automation/Automation/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
22+
## Version 1.4.0
2123
* Added `-RunOn` parameters to `Set-AzAutomationWebhook` to specify a Hybrid Worker Group
2224

2325
## Version 1.3.7

0 commit comments

Comments
 (0)