Skip to content

Commit 10fd342

Browse files
authored
[Service Connector]: update to API version 2022-11-01-preview (Azure#20795)
* update API version * remove dryrun * update local connector * remove local connector * remove connector configuration * fix readme * update * update example * update doc * Update New-AzServiceLinkerForContainerApp.ps1 * Update New-AzServiceLinkerForSpringCloud.ps1 * Update New-AzServiceLinkerForWebApp.ps1
1 parent 7bcf0c5 commit 10fd342

File tree

83 files changed

+2025
-1745
lines changed

Some content is hidden

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

83 files changed

+2025
-1745
lines changed

src/ServiceLinker/Az.ServiceLinker.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@{
22
GUID = '20a4a5d9-068c-43d8-b45a-7130dd33afe4'
33
RootModule = './Az.ServiceLinker.psm1'
4-
ModuleVersion = '0.1.0'
4+
ModuleVersion = '0.1.1'
55
CompatiblePSEditions = 'Core', 'Desktop'
66
Author = 'Microsoft Corporation'
77
CompanyName = 'Microsoft Corporation'
@@ -11,7 +11,7 @@
1111
DotNetFrameworkVersion = '4.7.2'
1212
RequiredAssemblies = './bin/Az.ServiceLinker.private.dll'
1313
FormatsToProcess = './Az.ServiceLinker.format.ps1xml'
14-
FunctionsToExport = 'Get-AzServiceLinkerConfigurationForContainerApp', 'Get-AzServiceLinkerConfigurationForSpringCloud', 'Get-AzServiceLinkerConfigurationForWebApp', 'Get-AzServiceLinkerForContainerApp', 'Get-AzServiceLinkerForSpringCloud', 'Get-AzServiceLinkerForWebApp', 'New-AzServiceLinkerAzureResourceObject', 'New-AzServiceLinkerConfluentBootstrapServerObject', 'New-AzServiceLinkerConfluentSchemaRegistryObject', 'New-AzServiceLinkerForContainerApp', 'New-AzServiceLinkerForSpringCloud', 'New-AzServiceLinkerForWebApp', 'New-AzServiceLinkerSecretAuthInfoObject', 'New-AzServiceLinkerServicePrincipalSecretAuthInfoObject', 'New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject', 'New-AzServiceLinkerUserAssignedIdentityAuthInfoObject', 'Remove-AzServiceLinkerForContainerApp', 'Remove-AzServiceLinkerForSpringcloud', 'Remove-AzServiceLinkerForWebApp', 'Test-AzServiceLinkerForContainerApp', 'Test-AzServiceLinkerForSpringCloud', 'Test-AzServiceLinkerForWebApp', 'Update-AzServiceLinkerForContainerApp', 'Update-AzServiceLinkerForSpringCloud', 'Update-AzServiceLinkerForWebApp', '*'
14+
FunctionsToExport = 'Get-AzServiceLinkerConfigurationForContainerApp', 'Get-AzServiceLinkerConfigurationForSpringCloud', 'Get-AzServiceLinkerConfigurationForWebApp', 'Get-AzServiceLinkerConfigurationName', 'Get-AzServiceLinkerForContainerApp', 'Get-AzServiceLinkerForSpringCloud', 'Get-AzServiceLinkerForWebApp', 'New-AzServiceLinkerAzureResourceObject', 'New-AzServiceLinkerConfluentBootstrapServerObject', 'New-AzServiceLinkerConfluentSchemaRegistryObject', 'New-AzServiceLinkerForContainerApp', 'New-AzServiceLinkerForSpringCloud', 'New-AzServiceLinkerForWebApp', 'New-AzServiceLinkerSecretAuthInfoObject', 'New-AzServiceLinkerServicePrincipalSecretAuthInfoObject', 'New-AzServiceLinkerSystemAssignedIdentityAuthInfoObject', 'New-AzServiceLinkerUserAssignedIdentityAuthInfoObject', 'Remove-AzServiceLinkerForContainerApp', 'Remove-AzServiceLinkerForSpringcloud', 'Remove-AzServiceLinkerForWebApp', 'Test-AzServiceLinkerForContainerApp', 'Test-AzServiceLinkerForSpringCloud', 'Test-AzServiceLinkerForWebApp', 'Update-AzServiceLinkerForContainerApp', 'Update-AzServiceLinkerForSpringCloud', 'Update-AzServiceLinkerForWebApp', '*'
1515
AliasesToExport = '*'
1616
PrivateData = @{
1717
PSData = @{

src/ServiceLinker/custom/Get-AzServiceLinkerConfigurationForContainerApp.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ list source configurations for a linker in container app.
2424
https://learn.microsoft.com/powershell/module/az.servicelinker/get-azservicelinkerconfigurationforcontainerapp
2525
#>
2626
function Get-AzServiceLinkerConfigurationForContainerApp {
27-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ISourceConfiguration])]
27+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ISourceConfiguration])]
2828
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
2929
param(
3030
[Parameter(Mandatory)]

src/ServiceLinker/custom/Get-AzServiceLinkerConfigurationForSpringCloud.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ list source configurations for a linker in spring cloud.
2323
https://learn.microsoft.com/powershell/module/az.servicelinker/get-azservicelinkerconfigurationforspringcloud
2424
#>
2525
function Get-AzServiceLinkerConfigurationForSpringCloud {
26-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ISourceConfiguration])]
26+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ISourceConfiguration])]
2727
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
2828
param(
2929
[Parameter(Mandatory)]

src/ServiceLinker/custom/Get-AzServiceLinkerConfigurationForWebApp.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ list source configurations for a linker in webapp.
2323
https://learn.microsoft.com/powershell/module/az.servicelinker/get-azservicelinkerconfigurationforwebapp
2424
#>
2525
function Get-AzServiceLinkerConfigurationForWebApp {
26-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ISourceConfiguration])]
26+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ISourceConfiguration])]
2727
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
2828
param(
2929
[Parameter(Mandatory)]

src/ServiceLinker/custom/Get-AzServiceLinkerForContainerApp.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ INPUTOBJECT <IServiceLinkerIdentity>: Identity Parameter
3434
https://learn.microsoft.com/powershell/module/az.servicelinker/get-azservicelinkerforcontainerapp
3535
#>
3636
function Get-AzServiceLinkerForContainerApp {
37-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
37+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
3838
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
3939
param(
4040
[Parameter(ParameterSetName='Get', Mandatory)]

src/ServiceLinker/custom/Get-AzServiceLinkerForSpringCloud.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ INPUTOBJECT <IServiceLinkerIdentity>: Identity Parameter
3535
https://learn.microsoft.com/powershell/module/az.servicelinker/get-azservicelinkerforspringcloud
3636
#>
3737
function Get-AzServiceLinkerForSpringCloud {
38-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
38+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
3939
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
4040
param(
4141
[Parameter(ParameterSetName='Get', Mandatory)]

src/ServiceLinker/custom/Get-AzServiceLinkerForWebApp.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ INPUTOBJECT <IServiceLinkerIdentity>: Identity Parameter
3535
https://learn.microsoft.com/powershell/module/az.servicelinker/get-azservicelinkerforwebapp
3636
#>
3737
function Get-AzServiceLinkerForWebApp {
38-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
38+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
3939
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
4040
param(
4141
[Parameter(ParameterSetName='Get', Mandatory)]

src/ServiceLinker/custom/New-AzServiceLinkerAzureResourceObject.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ Create an in-memory object for AzureResource.
2121
Create an in-memory object for AzureResource.
2222
2323
.Outputs
24-
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.AzureResource
24+
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.AzureResource
2525
.Link
2626
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkerazureresourceobject
2727
#>
2828
function New-AzServiceLinkerAzureResourceObject {
29-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.AzureResource')]
29+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.AzureResource')]
3030
[CmdletBinding(PositionalBinding=$false)]
3131
Param(
3232

3333
[Parameter(Mandatory, HelpMessage="The Id of azure resource.")]
3434
[string]
3535
$Id,
3636
# [Parameter(HelpMessage="The azure resource connection related properties.")]
37-
# [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IAzureResourcePropertiesBase]
37+
# [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAzureResourcePropertiesBase]
3838
# $ResourceProperty,
3939
[Parameter(HelpMessage="True if connect via Kubernetes CSI Driver. Source must be AKS and target must be KeyVault.")]
4040
[bool]
@@ -47,7 +47,7 @@ function New-AzServiceLinkerAzureResourceObject {
4747
)
4848

4949
process {
50-
$Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.AzureResource]::New()
50+
$Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.AzureResource]::New()
5151

5252
if ($PSBoundParameters.ContainsKey('Id')) {
5353
$Pattern = "/subscriptions/(?<subscriptionId>[^/]+)/resourceGroups/(?<resourceGroupName>[^/]+)/providers/(?<resourceProvider>[^/]+)(/(?<resourceType>[^/]+)/(?<resourceName>[^/]+))+"
@@ -57,7 +57,7 @@ function New-AzServiceLinkerAzureResourceObject {
5757
$Object.Id = $Id
5858
}
5959
if ($PSBoundParameters.ContainsKey('ConnectAsKubernetesCsiDriver')) {
60-
$ResourceProperty = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.AzureKeyVaultProperties]::New()
60+
$ResourceProperty = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.AzureKeyVaultProperties]::New()
6161
$ResourceProperty.ConnectAsKubernetesCsiDriver = $ConnectAsKubernetesCsiDriver
6262
$Object.ResourceProperty = $ResourceProperty
6363
}

src/ServiceLinker/custom/New-AzServiceLinkerConfluentBootstrapServerObject.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ Create an in-memory object for ConfluentBootstrapServer.
2121
Create an in-memory object for ConfluentBootstrapServer.
2222
2323
.Outputs
24-
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentBootstrapServer
24+
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentBootstrapServer
2525
.Link
2626
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkerconfluentbootstrapserverobject
2727
#>
2828
function New-AzServiceLinkerConfluentBootstrapServerObject {
29-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentBootstrapServer')]
29+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentBootstrapServer')]
3030
[CmdletBinding(PositionalBinding=$false)]
3131
Param(
3232

@@ -41,7 +41,7 @@ function New-AzServiceLinkerConfluentBootstrapServerObject {
4141
)
4242

4343
process {
44-
$Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentBootstrapServer]::New()
44+
$Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentBootstrapServer]::New()
4545

4646
if ($PSBoundParameters.ContainsKey('Endpoint')) {
4747
if($Endpoint -notmatch ".*confluent.cloud:[0-9]*") {

src/ServiceLinker/custom/New-AzServiceLinkerConfluentSchemaRegistryObject.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ Create an in-memory object for ConfluentSchemaRegistry.
2121
Create an in-memory object for ConfluentSchemaRegistry.
2222
2323
.Outputs
24-
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentSchemaRegistry
24+
Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentSchemaRegistry
2525
.Link
2626
https://learn.microsoft.com/powershell/module/az.ServiceLinker/new-azservicelinkerconfluentschemaregistryobject
2727
#>
2828
function New-AzServiceLinkerConfluentSchemaRegistryObject {
29-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentSchemaRegistry')]
29+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentSchemaRegistry')]
3030
[CmdletBinding(PositionalBinding=$false)]
3131
Param(
3232

@@ -41,7 +41,7 @@ function New-AzServiceLinkerConfluentSchemaRegistryObject {
4141
)
4242

4343
process {
44-
$Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ConfluentSchemaRegistry]::New()
44+
$Object = [Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ConfluentSchemaRegistry]::New()
4545

4646
if ($PSBoundParameters.ContainsKey('Endpoint')) {
4747
if($Endpoint -notmatch "https://.*\.confluent\.cloud"){

src/ServiceLinker/custom/New-AzServiceLinkerForContainerApp.ps1

Lines changed: 76 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ Create or update linker resource in container app.
2323
https://learn.microsoft.com/powershell/module/az.servicelinker/new-azservicelinkerforcontainerapp
2424
#>
2525
function New-AzServiceLinkerForContainerApp {
26-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ILinkerResource])]
27-
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
26+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ILinkerResource])]
27+
[CmdletBinding(DefaultParameterSetName = 'CreateExpanded', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
2828
param(
2929
[Parameter()]
3030
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Path')]
@@ -41,7 +41,7 @@ function New-AzServiceLinkerForContainerApp {
4141

4242
[Parameter()]
4343
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Runtime')]
44-
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
44+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script = '(Get-AzContext).Subscription.Id')]
4545
[System.String]
4646
# Gets subscription ID which uniquely identify the Microsoft Azure subscription.
4747
# The subscription ID forms part of the URI for every service call.
@@ -56,27 +56,87 @@ function New-AzServiceLinkerForContainerApp {
5656
[Parameter()]
5757
[Alias('LinkerName')]
5858
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Path')]
59-
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script='"connect_"+(-join ((65..90) + (97..122) | Get-Random -Count 5 | % {[char]$_}))')]
59+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script = '"connect_"+(-join ((65..90) + (97..122) | Get-Random -Count 5 | % {[char]$_}))')]
6060
[System.String]
6161
# The name Linker resource.
6262
${Name},
6363

6464
[Parameter(Mandatory)]
6565
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
66-
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.IAuthInfoBase]
66+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IAuthInfoBase]
6767
# The authentication type.
6868
# To construct, see NOTES section for AUTHINFO properties and create a hash table.
6969
${AuthInfo},
7070

7171
[Parameter()]
7272
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ClientType])]
7373
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
74-
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script='"none"')]
74+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.DefaultInfo(Script = '"none"')]
7575
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ClientType]
7676
# The application client type
7777
${ClientType},
7878

79-
[Parameter(Mandatory)]
79+
[Parameter()]
80+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType])]
81+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
82+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType]
83+
# Optional, indicate whether to apply configurations on source application.
84+
# If enable, generate configurations and applied to the source application.
85+
# Default is enable.
86+
# If optOut, no configuration change will be made on source.
87+
${ConfigurationInfoAction},
88+
89+
[Parameter()]
90+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
91+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Info(PossibleTypes = ([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationInfoAdditionalConfigurations]))]
92+
[System.Collections.Hashtable]
93+
# A dictionary of additional configurations to be added.
94+
# Service will auto generate a set of basic configurations and this property is to full fill more customized configurations
95+
${ConfigurationInfoAdditionalConfiguration},
96+
97+
[Parameter()]
98+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
99+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Info(PossibleTypes = ([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.IConfigurationInfoCustomizedKeys]))]
100+
[System.Collections.Hashtable]
101+
# Optional.
102+
# A dictionary of default key name and customized key name mapping.
103+
# If not specified, default key name will be used for generate configurations
104+
${ConfigurationInfoCustomizedKey},
105+
106+
[Parameter()]
107+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType])]
108+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
109+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType]
110+
# Allow Azure services to access the target service if true.
111+
${FirewallRuleAzureService},
112+
113+
[Parameter()]
114+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType])]
115+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
116+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.AllowType]
117+
# Allow caller client IP to access the target service if true.
118+
# the property is used when connecting local application to target service.
119+
${FirewallRuleCallerClientIP},
120+
121+
[Parameter()]
122+
[AllowEmptyCollection()]
123+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
124+
[System.String[]]
125+
# This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account.
126+
${FirewallRuleIPRange},
127+
128+
[Parameter()]
129+
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType])]
130+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
131+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.ActionType]
132+
# Optional.
133+
# Indicates public network solution.
134+
# If enable, enable public network access of target service with best try.
135+
# Default is enable.
136+
# If optOut, opt out public network access configuration.
137+
${PublicNetworkSolutionAction},
138+
139+
[Parameter()]
80140
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
81141
[System.String]
82142
# connection scope in source service.
@@ -88,13 +148,19 @@ function New-AzServiceLinkerForContainerApp {
88148
# The key vault id to store secret
89149
${SecretStoreKeyVaultId},
90150

151+
[Parameter()]
152+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
153+
[System.String]
154+
# The key vault secret name to store secret, only valid when storing one secret
155+
${SecretStoreKeyVaultSecretName},
156+
91157
[Parameter(Mandatory)]
92158
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
93-
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20220501.ITargetServiceBase]
159+
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase]
94160
# The target service properties
95161
# To construct, see NOTES section for TARGETSERVICE properties and create a hash table.
96162
${TargetService},
97-
163+
98164
[Parameter()]
99165
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Support.VNetSolutionType])]
100166
[Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Category('Body')]
@@ -175,4 +241,4 @@ function New-AzServiceLinkerForContainerApp {
175241
$PSBoundParameters = Set-Header -PSBoundParameters $PSBoundParameters
176242
Az.ServiceLinker.internal\New-AzServiceLinker @PSBoundParameters
177243
}
178-
}
244+
}

0 commit comments

Comments
 (0)