Skip to content

Commit 7e9ece1

Browse files
[SpringCloud] Move SpringCloud to main (#19132)
* Move SpringCloud to main * Update SignatureIssues.csv * Update Changelog.md Co-authored-by: azure-powershell-bot <[email protected]>
1 parent cf0b0df commit 7e9ece1

File tree

1,218 files changed

+178661
-25488
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,218 files changed

+178661
-25488
lines changed

src/SpringCloud/Az.SpringCloud.format.ps1xml

Lines changed: 2934 additions & 602 deletions
Large diffs are not rendered by default.

src/SpringCloud/Az.SpringCloud.psd1

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

99
@{
@@ -45,7 +45,7 @@ PowerShellVersion = '5.1'
4545
DotNetFrameworkVersion = '4.7.2'
4646

4747
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
48-
# CLRVersion = ''
48+
# ClrVersion = ''
4949

5050
# Processor architecture (None, X86, Amd64) required by this module
5151
# ProcessorArchitecture = ''
@@ -69,15 +69,65 @@ FormatsToProcess = './Az.SpringCloud.format.ps1xml'
6969
# NestedModules = @()
7070

7171
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
72-
FunctionsToExport = 'Deploy-AzSpringCloudApp', 'Get-AzSpringCloud',
73-
'Get-AzSpringCloudApp', 'Get-AzSpringCloudAppDeployment',
74-
'New-AzSpringCloud', 'New-AzSpringCloudApp',
75-
'New-AzSpringCloudAppDeployment', 'Remove-AzSpringCloud',
76-
'Remove-AzSpringCloudApp', 'Remove-AzSpringCloudAppDeployment',
72+
FunctionsToExport = 'Deploy-AzSpringCloudApp', 'Disable-AzSpringCloudTestEndpoint',
73+
'Enable-AzSpringCloudTestEndpoint', 'Get-AzSpringCloud',
74+
'Get-AzSpringCloudApp', 'Get-AzSpringCloudAppBinding',
75+
'Get-AzSpringCloudAppCustomDomain',
76+
'Get-AzSpringCloudAppDeployment',
77+
'Get-AzSpringCloudAppDeploymentLogFileUrl',
78+
'Get-AzSpringCloudBuildpackBinding',
79+
'Get-AzSpringCloudBuildService',
80+
'Get-AzSpringCloudBuildServiceAgentPool',
81+
'Get-AzSpringCloudBuildServiceBuilder',
82+
'Get-AzSpringCloudBuildServiceSupportedBuildpack',
83+
'Get-AzSpringCloudBuildServiceSupportedStack',
84+
'Get-AzSpringCloudCertificate', 'Get-AzSpringCloudConfigServer',
85+
'Get-AzSpringCloudConfigurationService',
86+
'Get-AzSpringCloudMonitoringSetting', 'Get-AzSpringCloudRegistry',
87+
'Get-AzSpringCloudRuntimeVersion', 'Get-AzSpringCloudSku',
88+
'Get-AzSpringCloudTestKey', 'New-AzSpringCloud',
89+
'New-AzSpringCloudApp', 'New-AzSpringCloudAppBinding',
90+
'New-AzSpringCloudAppCustomDomain',
91+
'New-AzSpringCloudAppDeployment',
92+
'New-AzSpringCloudAppDeploymentBuildResultObject',
93+
'New-AzSpringCloudAppDeploymentJarUploadedObject',
94+
'New-AzSpringCloudAppDeploymentNetCoreZipUploadedObject',
95+
'New-AzSpringCloudAppDeploymentSourceUploadedObject',
96+
'New-AzSpringCloudAppLoadedCertificateObject',
97+
'New-AzSpringCloudBuildpackBinding',
98+
'New-AzSpringCloudBuildpackObject',
99+
'New-AzSpringCloudBuildpacksGroupObject',
100+
'New-AzSpringCloudBuildServiceAgentPool',
101+
'New-AzSpringCloudBuildServiceBuilder',
102+
'New-AzSpringCloudCertificate',
103+
'New-AzSpringCloudConfigurationService',
104+
'New-AzSpringCloudConfigurationServiceGitRepositoryObject',
105+
'New-AzSpringCloudContentCertificateObject',
106+
'New-AzSpringCloudGitPatternRepositoryObject',
107+
'New-AzSpringCloudKeyVaultCertificateObject',
108+
'New-AzSpringCloudTestKey', 'Remove-AzSpringCloud',
109+
'Remove-AzSpringCloudApp', 'Remove-AzSpringCloudAppBinding',
110+
'Remove-AzSpringCloudAppCustomDomain',
111+
'Remove-AzSpringCloudAppDeployment',
112+
'Remove-AzSpringCloudBuildpackBinding',
113+
'Remove-AzSpringCloudBuildServiceBuilder',
114+
'Remove-AzSpringCloudCertificate',
115+
'Remove-AzSpringCloudConfigurationService',
77116
'Restart-AzSpringCloudAppDeployment',
78117
'Start-AzSpringCloudAppDeployment',
79-
'Stop-AzSpringCloudAppDeployment', 'Update-AzSpringCloud',
80-
'Update-AzSpringCloudApp', 'Update-AzSpringCloudAppDeployment'
118+
'Start-AzSpringCloudAppDeploymentJfr',
119+
'Stop-AzSpringCloudAppDeployment',
120+
'Test-AzSpringCloudAppCustomDomain',
121+
'Test-AzSpringCloudConfigServer',
122+
'Test-AzSpringCloudConfigurationService',
123+
'Test-AzSpringCloudNameAvailability', 'Update-AzSpringCloud',
124+
'Update-AzSpringCloudApp',
125+
'Update-AzSpringCloudAppActiveDeployment',
126+
'Update-AzSpringCloudAppBinding',
127+
'Update-AzSpringCloudAppCustomDomain',
128+
'Update-AzSpringCloudAppDeployment',
129+
'Update-AzSpringCloudConfigServer',
130+
'Update-AzSpringCloudMonitoringSetting'
81131

82132
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
83133
CmdletsToExport = @()
@@ -115,7 +165,7 @@ PrivateData = @{
115165
# IconUri = ''
116166

117167
# ReleaseNotes of this module
118-
ReleaseNotes = '* Updated API version to 2020-07-01.'
168+
# ReleaseNotes = ''
119169

120170
# Prerelease string of this module
121171
# Prerelease = ''

src/SpringCloud/Az.SpringCloud.psm1

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
# region Generated
22
# ----------------------------------------------------------------------------------
3-
#
4-
# Copyright Microsoft Corporation
5-
# Licensed under the Apache License, Version 2.0 (the "License");
6-
# you may not use this file except in compliance with the License.
7-
# You may obtain a copy of the License at
8-
# http://www.apache.org/licenses/LICENSE-2.0
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS,
10+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
# See the License for the specific language governing permissions and
12+
# limitations under the License.
13+
# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
14+
# is regenerated.
1415
# ----------------------------------------------------------------------------------
1516
# Load required Az.Accounts module
1617
$accountsName = 'Az.Accounts'
@@ -24,17 +25,17 @@
2425
}
2526
}
2627
if(-not $accountsModule) {
27-
$hasAdequateVersion = (Get-Module -Name $accountsName -ListAvailable | Where-Object { $_.Version -ge [System.Version]'1.7.4' } | Measure-Object).Count -gt 0
28+
$hasAdequateVersion = (Get-Module -Name $accountsName -ListAvailable | Where-Object { $_.Version -ge [System.Version]'2.7.5' } | Measure-Object).Count -gt 0
2829
if($hasAdequateVersion) {
29-
$accountsModule = Import-Module -Name $accountsName -MinimumVersion 1.7.4 -Scope Global -PassThru
30+
$accountsModule = Import-Module -Name $accountsName -MinimumVersion 2.7.5 -Scope Global -PassThru
3031
}
3132
}
3233
}
3334

3435
if(-not $accountsModule) {
35-
Write-Error "`nThis module requires $accountsName version 1.7.4 or greater. For installation instructions, please see: https://docs.microsoft.com/en-us/powershell/azure/install-az-ps" -ErrorAction Stop
36-
} elseif (($accountsModule.Version -lt [System.Version]'1.7.4') -and (-not $localAccounts)) {
37-
Write-Error "`nThis module requires $accountsName version 1.7.4 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to remove '.PSSharedModules' in your home directory. 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
36+
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
37+
} elseif (($accountsModule.Version -lt [System.Version]'2.7.5') -and (-not $localAccounts)) {
38+
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
3839
}
3940
Write-Information "Loaded Module '$($accountsModule.Name)'"
4041

@@ -49,7 +50,12 @@
4950

5051
# Tweaks the pipeline on module load
5152
$instance.OnModuleLoad = $VTable.OnModuleLoad
53+
54+
# Following two delegates are added for telemetry
55+
$instance.GetTelemetryId = $VTable.GetTelemetryId
56+
$instance.Telemetry = $VTable.Telemetry
5257

58+
5359
# Tweaks the pipeline per call
5460
$instance.OnNewRequest = $VTable.OnNewRequest
5561

src/SpringCloud/Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Updated API version to 2022-04-01.
2122

2223
## Version 0.2.0
2324
* Updated API version to 2020-07-01.

0 commit comments

Comments
 (0)