Skip to content

Migrate ServiceLinker from generation to main #20952

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1,220 changes: 1,045 additions & 175 deletions src/ServiceLinker/Az.ServiceLinker.format.ps1xml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions src/ServiceLinker/Az.ServiceLinker.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 5/19/2022
# Generated on: 2/17/2023
#

@{
Expand Down Expand Up @@ -72,6 +72,7 @@ FormatsToProcess = './Az.ServiceLinker.format.ps1xml'
FunctionsToExport = 'Get-AzServiceLinkerConfigurationForContainerApp',
'Get-AzServiceLinkerConfigurationForSpringCloud',
'Get-AzServiceLinkerConfigurationForWebApp',
'Get-AzServiceLinkerConfigurationName',
'Get-AzServiceLinkerForContainerApp',
'Get-AzServiceLinkerForSpringCloud', 'Get-AzServiceLinkerForWebApp',
'New-AzServiceLinkerAzureResourceObject',
Expand All @@ -84,7 +85,7 @@ FunctionsToExport = 'Get-AzServiceLinkerConfigurationForContainerApp',
'New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject',
'New-AzServiceLinkerUserAssignedIdentityAuthInfoObject',
'Remove-AzServiceLinkerForContainerApp',
'Remove-AzServiceLinkerForSpringcloud',
'Remove-AzServiceLinkerForSpringCloud',
'Remove-AzServiceLinkerForWebApp',
'Test-AzServiceLinkerForContainerApp',
'Test-AzServiceLinkerForSpringCloud',
Expand Down Expand Up @@ -129,7 +130,7 @@ PrivateData = @{
# IconUri = ''

# ReleaseNotes of this module
ReleaseNotes = '* First preview release for module Az.ServiceLinker'
# ReleaseNotes = ''

# Prerelease string of this module
# Prerelease = ''
Expand Down
2 changes: 1 addition & 1 deletion src/ServiceLinker/Az.ServiceLinker.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}

if(-not $accountsModule) {
Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. For installation instructions, please see: https://learn.microsoft.com/powershell/azure/install-az-ps" -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
}
Expand Down
1 change: 1 addition & 0 deletions src/ServiceLinker/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
* Updated API version to 2022-11-01-preview

## Version 0.1.0
* First preview release for module Az.ServiceLinker
Expand Down
14 changes: 10 additions & 4 deletions src/ServiceLinker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@ For information on how to develop for `Az.ServiceLinker`, see [how-to.md](how-to
> see https://aka.ms/autorest

``` yaml
branch: 3abdf3eaf45b42d78e242a2cca4a977e8dcf3103
branch: e7bf3adfa2d5e5cdbb804eec35279501794f461c
require:
# readme.azure.noprofile.md is the common configuration file
- $(this-folder)/../readme.azure.noprofile.md
input-file:
# You need to specify your swagger files here.
- $(repo)/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json
- $(repo)/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/preview/2022-11-01-preview/servicelinker.json
# If the swagger has not been put in the repo, you may uncomment the following line and refer to it locally
# - $(this-folder)/../APISpecs/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json

# For new RP, the version is 0.1.0
module-version: 0.1.0
module-version: 0.1.1
# Normally, title is the service name
title: ServiceLinker
# subject-prefix: "ServiceLinker"
Expand All @@ -61,6 +61,13 @@ directive:
- where:
verb: Set
remove: true
- where:
subject: ConnectorDryrun|Connector|ConnectorConfiguration
remove: true
- where:
verb: New|Update
parameter-name: (.*)DeleteOrUpdateBehavior$
hide: true
- from: swagger-document
where:
- $.paths["/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}"].put.parameters
Expand Down Expand Up @@ -104,5 +111,4 @@ directive:
set:
default:
script: '"none"'

```
122 changes: 38 additions & 84 deletions src/ServiceLinker/ServiceLinker.sln
Original file line number Diff line number Diff line change
@@ -1,104 +1,58 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30114.105
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{D07D54B4-486C-4449-BC4B-37D05DF23A72}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{B118959B-3419-435D-830A-3B59F43C7074}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{E35BE797-EFF1-4701-BBFD-D42AE3552272}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{30C368D7-E9DF-4DDB-92AB-5F57BAEFD9DB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{CEF2650C-91AF-4EED-9141-7188B70BC582}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{EA46BD77-E603-45E1-ABDE-A8D216F9A6C6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{B910AA7E-1720-4C71-8AF0-4D56B94E087D}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{A7BC163E-B756-44F0-A4B6-19835488AC80}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{69256F27-92A2-4AFA-A8D7-927DD1B35838}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{5E9CA0A4-4E3A-4B26-B475-3B5BE42B868E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ServiceLinker", "Az.ServiceLinker.csproj", "{16C48553-31E3-47C7-A477-DC2457672362}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{9E2AB3C0-1844-46E6-81E8-2EF6E245EEBA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ServiceLinker", "Az.ServiceLinker.csproj", "{D647B496-0E93-4A2D-B7E6-D66DA93F406B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D07D54B4-486C-4449-BC4B-37D05DF23A72}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D07D54B4-486C-4449-BC4B-37D05DF23A72}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D07D54B4-486C-4449-BC4B-37D05DF23A72}.Debug|x64.ActiveCfg = Debug|Any CPU
{D07D54B4-486C-4449-BC4B-37D05DF23A72}.Debug|x64.Build.0 = Debug|Any CPU
{D07D54B4-486C-4449-BC4B-37D05DF23A72}.Debug|x86.ActiveCfg = Debug|Any CPU
{D07D54B4-486C-4449-BC4B-37D05DF23A72}.Debug|x86.Build.0 = Debug|Any CPU
{D07D54B4-486C-4449-BC4B-37D05DF23A72}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D07D54B4-486C-4449-BC4B-37D05DF23A72}.Release|Any CPU.Build.0 = Release|Any CPU
{D07D54B4-486C-4449-BC4B-37D05DF23A72}.Release|x64.ActiveCfg = Release|Any CPU
{D07D54B4-486C-4449-BC4B-37D05DF23A72}.Release|x64.Build.0 = Release|Any CPU
{D07D54B4-486C-4449-BC4B-37D05DF23A72}.Release|x86.ActiveCfg = Release|Any CPU
{D07D54B4-486C-4449-BC4B-37D05DF23A72}.Release|x86.Build.0 = Release|Any CPU
{E35BE797-EFF1-4701-BBFD-D42AE3552272}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E35BE797-EFF1-4701-BBFD-D42AE3552272}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E35BE797-EFF1-4701-BBFD-D42AE3552272}.Debug|x64.ActiveCfg = Debug|Any CPU
{E35BE797-EFF1-4701-BBFD-D42AE3552272}.Debug|x64.Build.0 = Debug|Any CPU
{E35BE797-EFF1-4701-BBFD-D42AE3552272}.Debug|x86.ActiveCfg = Debug|Any CPU
{E35BE797-EFF1-4701-BBFD-D42AE3552272}.Debug|x86.Build.0 = Debug|Any CPU
{E35BE797-EFF1-4701-BBFD-D42AE3552272}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E35BE797-EFF1-4701-BBFD-D42AE3552272}.Release|Any CPU.Build.0 = Release|Any CPU
{E35BE797-EFF1-4701-BBFD-D42AE3552272}.Release|x64.ActiveCfg = Release|Any CPU
{E35BE797-EFF1-4701-BBFD-D42AE3552272}.Release|x64.Build.0 = Release|Any CPU
{E35BE797-EFF1-4701-BBFD-D42AE3552272}.Release|x86.ActiveCfg = Release|Any CPU
{E35BE797-EFF1-4701-BBFD-D42AE3552272}.Release|x86.Build.0 = Release|Any CPU
{CEF2650C-91AF-4EED-9141-7188B70BC582}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CEF2650C-91AF-4EED-9141-7188B70BC582}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CEF2650C-91AF-4EED-9141-7188B70BC582}.Debug|x64.ActiveCfg = Debug|Any CPU
{CEF2650C-91AF-4EED-9141-7188B70BC582}.Debug|x64.Build.0 = Debug|Any CPU
{CEF2650C-91AF-4EED-9141-7188B70BC582}.Debug|x86.ActiveCfg = Debug|Any CPU
{CEF2650C-91AF-4EED-9141-7188B70BC582}.Debug|x86.Build.0 = Debug|Any CPU
{CEF2650C-91AF-4EED-9141-7188B70BC582}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CEF2650C-91AF-4EED-9141-7188B70BC582}.Release|Any CPU.Build.0 = Release|Any CPU
{CEF2650C-91AF-4EED-9141-7188B70BC582}.Release|x64.ActiveCfg = Release|Any CPU
{CEF2650C-91AF-4EED-9141-7188B70BC582}.Release|x64.Build.0 = Release|Any CPU
{CEF2650C-91AF-4EED-9141-7188B70BC582}.Release|x86.ActiveCfg = Release|Any CPU
{CEF2650C-91AF-4EED-9141-7188B70BC582}.Release|x86.Build.0 = Release|Any CPU
{B910AA7E-1720-4C71-8AF0-4D56B94E087D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B910AA7E-1720-4C71-8AF0-4D56B94E087D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B910AA7E-1720-4C71-8AF0-4D56B94E087D}.Debug|x64.ActiveCfg = Debug|Any CPU
{B910AA7E-1720-4C71-8AF0-4D56B94E087D}.Debug|x64.Build.0 = Debug|Any CPU
{B910AA7E-1720-4C71-8AF0-4D56B94E087D}.Debug|x86.ActiveCfg = Debug|Any CPU
{B910AA7E-1720-4C71-8AF0-4D56B94E087D}.Debug|x86.Build.0 = Debug|Any CPU
{B910AA7E-1720-4C71-8AF0-4D56B94E087D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B910AA7E-1720-4C71-8AF0-4D56B94E087D}.Release|Any CPU.Build.0 = Release|Any CPU
{B910AA7E-1720-4C71-8AF0-4D56B94E087D}.Release|x64.ActiveCfg = Release|Any CPU
{B910AA7E-1720-4C71-8AF0-4D56B94E087D}.Release|x64.Build.0 = Release|Any CPU
{B910AA7E-1720-4C71-8AF0-4D56B94E087D}.Release|x86.ActiveCfg = Release|Any CPU
{B910AA7E-1720-4C71-8AF0-4D56B94E087D}.Release|x86.Build.0 = Release|Any CPU
{69256F27-92A2-4AFA-A8D7-927DD1B35838}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{69256F27-92A2-4AFA-A8D7-927DD1B35838}.Debug|Any CPU.Build.0 = Debug|Any CPU
{69256F27-92A2-4AFA-A8D7-927DD1B35838}.Debug|x64.ActiveCfg = Debug|Any CPU
{69256F27-92A2-4AFA-A8D7-927DD1B35838}.Debug|x64.Build.0 = Debug|Any CPU
{69256F27-92A2-4AFA-A8D7-927DD1B35838}.Debug|x86.ActiveCfg = Debug|Any CPU
{69256F27-92A2-4AFA-A8D7-927DD1B35838}.Debug|x86.Build.0 = Debug|Any CPU
{69256F27-92A2-4AFA-A8D7-927DD1B35838}.Release|Any CPU.ActiveCfg = Release|Any CPU
{69256F27-92A2-4AFA-A8D7-927DD1B35838}.Release|Any CPU.Build.0 = Release|Any CPU
{69256F27-92A2-4AFA-A8D7-927DD1B35838}.Release|x64.ActiveCfg = Release|Any CPU
{69256F27-92A2-4AFA-A8D7-927DD1B35838}.Release|x64.Build.0 = Release|Any CPU
{69256F27-92A2-4AFA-A8D7-927DD1B35838}.Release|x86.ActiveCfg = Release|Any CPU
{69256F27-92A2-4AFA-A8D7-927DD1B35838}.Release|x86.Build.0 = Release|Any CPU
{16C48553-31E3-47C7-A477-DC2457672362}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{16C48553-31E3-47C7-A477-DC2457672362}.Debug|Any CPU.Build.0 = Debug|Any CPU
{16C48553-31E3-47C7-A477-DC2457672362}.Debug|x64.ActiveCfg = Debug|Any CPU
{16C48553-31E3-47C7-A477-DC2457672362}.Debug|x64.Build.0 = Debug|Any CPU
{16C48553-31E3-47C7-A477-DC2457672362}.Debug|x86.ActiveCfg = Debug|Any CPU
{16C48553-31E3-47C7-A477-DC2457672362}.Debug|x86.Build.0 = Debug|Any CPU
{16C48553-31E3-47C7-A477-DC2457672362}.Release|Any CPU.ActiveCfg = Release|Any CPU
{16C48553-31E3-47C7-A477-DC2457672362}.Release|Any CPU.Build.0 = Release|Any CPU
{16C48553-31E3-47C7-A477-DC2457672362}.Release|x64.ActiveCfg = Release|Any CPU
{16C48553-31E3-47C7-A477-DC2457672362}.Release|x64.Build.0 = Release|Any CPU
{16C48553-31E3-47C7-A477-DC2457672362}.Release|x86.ActiveCfg = Release|Any CPU
{16C48553-31E3-47C7-A477-DC2457672362}.Release|x86.Build.0 = Release|Any CPU
{B118959B-3419-435D-830A-3B59F43C7074}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B118959B-3419-435D-830A-3B59F43C7074}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B118959B-3419-435D-830A-3B59F43C7074}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B118959B-3419-435D-830A-3B59F43C7074}.Release|Any CPU.Build.0 = Release|Any CPU
{30C368D7-E9DF-4DDB-92AB-5F57BAEFD9DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{30C368D7-E9DF-4DDB-92AB-5F57BAEFD9DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{30C368D7-E9DF-4DDB-92AB-5F57BAEFD9DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{30C368D7-E9DF-4DDB-92AB-5F57BAEFD9DB}.Release|Any CPU.Build.0 = Release|Any CPU
{EA46BD77-E603-45E1-ABDE-A8D216F9A6C6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EA46BD77-E603-45E1-ABDE-A8D216F9A6C6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EA46BD77-E603-45E1-ABDE-A8D216F9A6C6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EA46BD77-E603-45E1-ABDE-A8D216F9A6C6}.Release|Any CPU.Build.0 = Release|Any CPU
{A7BC163E-B756-44F0-A4B6-19835488AC80}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A7BC163E-B756-44F0-A4B6-19835488AC80}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A7BC163E-B756-44F0-A4B6-19835488AC80}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A7BC163E-B756-44F0-A4B6-19835488AC80}.Release|Any CPU.Build.0 = Release|Any CPU
{5E9CA0A4-4E3A-4B26-B475-3B5BE42B868E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5E9CA0A4-4E3A-4B26-B475-3B5BE42B868E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5E9CA0A4-4E3A-4B26-B475-3B5BE42B868E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5E9CA0A4-4E3A-4B26-B475-3B5BE42B868E}.Release|Any CPU.Build.0 = Release|Any CPU
{9E2AB3C0-1844-46E6-81E8-2EF6E245EEBA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9E2AB3C0-1844-46E6-81E8-2EF6E245EEBA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9E2AB3C0-1844-46E6-81E8-2EF6E245EEBA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9E2AB3C0-1844-46E6-81E8-2EF6E245EEBA}.Release|Any CPU.Build.0 = Release|Any CPU
{D647B496-0E93-4A2D-B7E6-D66DA93F406B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D647B496-0E93-4A2D-B7E6-D66DA93F406B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D647B496-0E93-4A2D-B7E6-D66DA93F406B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D647B496-0E93-4A2D-B7E6-D66DA93F406B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ list source configurations for a linker in container app.
https://learn.microsoft.com/powershell/module/az.servicelinker/get-azservicelinkerconfigurationforcontainerapp
#>
function Get-AzServiceLinkerConfigurationForContainerApp {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ISourceConfiguration])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ISourceConfiguration])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ list source configurations for a linker in spring cloud.
https://learn.microsoft.com/powershell/module/az.servicelinker/get-azservicelinkerconfigurationforspringcloud
#>
function Get-AzServiceLinkerConfigurationForSpringCloud {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ISourceConfiguration])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ISourceConfiguration])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ list source configurations for a linker in webapp.
https://learn.microsoft.com/powershell/module/az.servicelinker/get-azservicelinkerconfigurationforwebapp
#>
function Get-AzServiceLinkerConfigurationForWebApp {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ISourceConfiguration])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ISourceConfiguration])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ INPUTOBJECT <IServiceLinkerIdentity>: Identity Parameter
https://learn.microsoft.com/powershell/module/az.servicelinker/get-azservicelinkerforcontainerapp
#>
function Get-AzServiceLinkerForContainerApp {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ INPUTOBJECT <IServiceLinkerIdentity>: Identity Parameter
https://learn.microsoft.com/powershell/module/az.servicelinker/get-azservicelinkerforspringcloud
#>
function Get-AzServiceLinkerForSpringCloud {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
Expand Down
2 changes: 1 addition & 1 deletion src/ServiceLinker/custom/Get-AzServiceLinkerForWebApp.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ INPUTOBJECT <IServiceLinkerIdentity>: Identity Parameter
https://learn.microsoft.com/powershell/module/az.servicelinker/get-azservicelinkerforwebapp
#>
function Get-AzServiceLinkerForWebApp {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
Expand Down
Loading