Skip to content

Commit

Permalink
Move Functions to release-2022-05-24 (#18209)
Browse files Browse the repository at this point in the history
* Move Functions to release-2022-05-24

* remove meaningless help documents

* changelog

Co-authored-by: azure-powershell-bot <[email protected]>
  • Loading branch information
isra-fel and azure-powershell-bot authored May 18, 2022
1 parent bc6a5f6 commit 5fc3fa1
Show file tree
Hide file tree
Showing 2,156 changed files with 24,482 additions and 11,492 deletions.
144 changes: 144 additions & 0 deletions src/Functions/Az.Functions.format.ps1xml
Original file line number Diff line number Diff line change
Expand Up @@ -2059,6 +2059,12 @@
<TableColumnHeader>
<Label>AccessTier</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>AllowBlobPublicAccess</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>AllowSharedKeyAccess</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>CreationTime</Label>
</TableColumnHeader>
Expand All @@ -2077,6 +2083,9 @@
<TableColumnHeader>
<Label>LastGeoFailoverTime</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>MinimumTlsVersion</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>PrimaryLocation</Label>
</TableColumnHeader>
Expand All @@ -2099,6 +2108,12 @@
<TableColumnItem>
<PropertyName>AccessTier</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>AllowBlobPublicAccess</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>AllowSharedKeyAccess</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>CreationTime</PropertyName>
</TableColumnItem>
Expand All @@ -2117,6 +2132,9 @@
<TableColumnItem>
<PropertyName>LastGeoFailoverTime</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>MinimumTlsVersion</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>PrimaryLocation</PropertyName>
</TableColumnItem>
Expand Down Expand Up @@ -2147,6 +2165,12 @@
<TableColumnHeader>
<Label>AccessTier</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>AllowBlobPublicAccess</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>AllowSharedKeyAccess</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>EnableHttpsTrafficOnly</Label>
</TableColumnHeader>
Expand All @@ -2156,13 +2180,22 @@
<TableColumnHeader>
<Label>LargeFileSharesState</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>MinimumTlsVersion</Label>
</TableColumnHeader>
</TableHeaders>
<TableRowEntries>
<TableRowEntry>
<TableColumnItems>
<TableColumnItem>
<PropertyName>AccessTier</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>AllowBlobPublicAccess</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>AllowSharedKeyAccess</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>EnableHttpsTrafficOnly</PropertyName>
</TableColumnItem>
Expand All @@ -2172,6 +2205,9 @@
<TableColumnItem>
<PropertyName>LargeFileSharesState</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>MinimumTlsVersion</PropertyName>
</TableColumnItem>
</TableColumnItems>
</TableRowEntry>
</TableRowEntries>
Expand All @@ -2187,25 +2223,43 @@
<TableColumnHeader>
<Label>AccessTier</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>AllowBlobPublicAccess</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>AllowSharedKeyAccess</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>EnableHttpsTrafficOnly</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>LargeFileSharesState</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>MinimumTlsVersion</Label>
</TableColumnHeader>
</TableHeaders>
<TableRowEntries>
<TableRowEntry>
<TableColumnItems>
<TableColumnItem>
<PropertyName>AccessTier</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>AllowBlobPublicAccess</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>AllowSharedKeyAccess</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>EnableHttpsTrafficOnly</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>LargeFileSharesState</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>MinimumTlsVersion</PropertyName>
</TableColumnItem>
</TableColumnItems>
</TableRowEntry>
</TableRowEntries>
Expand Down Expand Up @@ -6695,6 +6749,84 @@
</TableRowEntries>
</TableControl>
</View>
<View>
<Name>Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesCollection</Name>
<ViewSelectedBy>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesCollection</TypeName>
</ViewSelectedBy>
<TableControl>
<TableHeaders>
<TableColumnHeader>
<Label>Kind</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>Name</Label>
</TableColumnHeader>
</TableHeaders>
<TableRowEntries>
<TableRowEntry>
<TableColumnItems>
<TableColumnItem>
<PropertyName>Kind</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>Name</PropertyName>
</TableColumnItem>
</TableColumnItems>
</TableRowEntry>
</TableRowEntries>
</TableControl>
</View>
<View>
<Name>Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntity</Name>
<ViewSelectedBy>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntity</TypeName>
</ViewSelectedBy>
<TableControl>
<TableHeaders>
<TableColumnHeader>
<Label>Kind</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>Name</Label>
</TableColumnHeader>
</TableHeaders>
<TableRowEntries>
<TableRowEntry>
<TableColumnItems>
<TableColumnItem>
<PropertyName>Kind</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>Name</PropertyName>
</TableColumnItem>
</TableColumnItems>
</TableRowEntry>
</TableRowEntries>
</TableControl>
</View>
<View>
<Name>Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityProperties</Name>
<ViewSelectedBy>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityProperties</TypeName>
</ViewSelectedBy>
<TableControl>
<TableHeaders>
<TableColumnHeader>
<Label>Allow</Label>
</TableColumnHeader>
</TableHeaders>
<TableRowEntries>
<TableRowEntry>
<TableColumnItems>
<TableColumnItem>
<PropertyName>Allow</PropertyName>
</TableColumnItem>
</TableColumnItems>
</TableRowEntry>
</TableRowEntries>
</TableControl>
</View>
<View>
<Name>Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingProfileOptions</Name>
<ViewSelectedBy>
Expand Down Expand Up @@ -13564,6 +13696,12 @@
</ViewSelectedBy>
<TableControl>
<TableHeaders>
<TableColumnHeader>
<Label>AcrUseManagedIdentityCred</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>AcrUserManagedIdentityId</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>AlwaysOn</Label>
</TableColumnHeader>
Expand Down Expand Up @@ -13691,6 +13829,12 @@
<TableRowEntries>
<TableRowEntry>
<TableColumnItems>
<TableColumnItem>
<PropertyName>AcrUseManagedIdentityCred</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>AcrUserManagedIdentityId</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>AlwaysOn</PropertyName>
</TableColumnItem>
Expand Down
4 changes: 2 additions & 2 deletions src/Functions/Az.Functions.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 3/31/2022
# Generated on: 5/17/2022
#

@{
Expand Down Expand Up @@ -115,7 +115,7 @@ PrivateData = @{
# IconUri = ''

# ReleaseNotes of this module
ReleaseNotes = '* Exposed PowerShell 7.2 stack definition for function app creation in Functions V4 only'
# ReleaseNotes = ''

# Prerelease string of this module
# Prerelease = ''
Expand Down
14 changes: 9 additions & 5 deletions src/Functions/Az.Functions.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@
}
}
if(-not $accountsModule) {
$hasAdequateVersion = (Get-Module -Name $accountsName -ListAvailable | Where-Object { $_.Version -ge [System.Version]'2.2.3' } | Measure-Object).Count -gt 0
$hasAdequateVersion = (Get-Module -Name $accountsName -ListAvailable | Where-Object { $_.Version -ge [System.Version]'2.7.5' } | Measure-Object).Count -gt 0
if($hasAdequateVersion) {
$accountsModule = Import-Module -Name $accountsName -MinimumVersion 2.2.3 -Scope Global -PassThru
$accountsModule = Import-Module -Name $accountsName -MinimumVersion 2.7.5 -Scope Global -PassThru
}
}
}

if(-not $accountsModule) {
Write-Error "`nThis module requires $accountsName version 2.2.3 or greater. For installation instructions, please see: https://docs.microsoft.com/powershell/azure/install-az-ps" -ErrorAction Stop
} elseif (($accountsModule.Version -lt [System.Version]'2.2.3') -and (-not $localAccounts)) {
Write-Error "`nThis module requires $accountsName version 2.2.3 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to add the switch '-RegenerateSupportModule' when executing 'test-module.ps1'. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. For installation instructions, please see: https://docs.microsoft.com/powershell/azure/install-az-ps" -ErrorAction Stop
} elseif (($accountsModule.Version -lt [System.Version]'2.7.5') -and (-not $localAccounts)) {
Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to add the switch '-RegenerateSupportModule' when executing 'test-module.ps1'. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
}
Write-Information "Loaded Module '$($accountsModule.Name)'"

Expand All @@ -50,6 +50,10 @@

# Tweaks the pipeline on module load
$instance.OnModuleLoad = $VTable.OnModuleLoad

# Following two delegates are added for telemetry
$instance.GetTelemetryId = $VTable.GetTelemetryId
$instance.Telemetry = $VTable.Telemetry


# Tweaks the pipeline per call
Expand Down
1 change: 1 addition & 0 deletions src/Functions/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
* Fixed an issue that New-AzFunctionApp cmdlet should write a warning message when setting default values for parameters that are not provided.

## Version 4.0.2
* Exposed PowerShell 7.2 stack definition for function app creation in Functions V4 only
Expand Down
Loading

0 comments on commit 5fc3fa1

Please sign in to comment.